SDEMO_PO SAP (Purchase Order Header) Table details

Dictionary Type: Table
Description: Purchase Order Header




ABAP Code to SELECT data from SDEMO_PO
Related tables to SDEMO_PO
Access table SDEMO_PO




Table field list including key, data, relationships and ABAP select examples

SDEMO_PO is a standard SAP Table which is used to store Purchase Order Header data and is available within R/3 SAP systems depending on the version and release level.

The SDEMO_PO table consists of various fields, each holding specific information or linking keys about Purchase Order Header data available in SAP. These include GUID (GUID in 'RAW' format), ID (Purchase Order ID), TYPE_CODE (Order Type), POSTED_AT (UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP SDEMO_PO table fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
CLIENTClient MANDTCLNT3Assigned to domainMANDT
GUIDGUID in 'RAW' format GUID_16RAW16SYSUUID
IDPurchase Order ID SDEMO_PO_IDCHAR10SDEMO_PO_ID
TYPE_CODEOrder Type SDEMO_TYPE_CODECHAR4CHAR4
POSTED_ATUTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) TIMESTAMPLDEC21(7) TZNTSTMPL
CREATED_BYUser Name SYUNAMECHAR12SYCHAR12
CREATED_ATUTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) TIMESTAMPLDEC21(7) TZNTSTMPL
CHANGED_BYUser Name SYUNAMECHAR12SYCHAR12
CHANGED_ATUTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) TIMESTAMPLDEC21(7) TZNTSTMPL
DESCRIPTION_GUIDDescription SDEMO_DESCRIPTION_GUIDRAW16SYSUUID
NOTE_GUIDPurchase Order Note SDEMO_PO_NOTE_GUIDRAW16SYSUUID
SELLER_GUIDGUID in 'RAW' format GUID_16RAW16SYSUUID
SELLER_PARTY_IDSeller ID SDEMO_SELLER_PARTY_IDCHAR10CHAR10
BUYER_GUIDGUID in 'RAW' format GUID_16RAW16SYSUUID
BUYER_PARTY_IDBuyer ID SDEMO_BUYER_PARTY_IDCHAR10CHAR10
GROSS_AMOUNTTotal Gross Amount SDEMO_TTL_GROSS_AMOUNTCURR15(2)
NET_AMOUNTTotal Net Amount SDEMO_TTL_NET_AMOUNTCURR15(2)
TAX_AMOUNTTotal Tax Amount SDEMO_TTL_TAX_AMOUNTCURR15(2)
CURRENCY_CODECurrency Code SDEMO_CURR_CODECUKY5
LIFECYCLE_STATUSPurchase Order Status Code SDEMO_PO_STATUS_CODECHAR2
APPROVAL_STATUSPurchase Order Status Code SDEMO_PO_STATUS_CODECHAR2
CONFIRM_STATUSPurchase Order Status Code SDEMO_PO_STATUS_CODECHAR2

Key field Non-key field



How do I retrieve data from SAP table SDEMO_PO using ABAP code

The following ABAP code Example will allow you to do a basic selection on SDEMO_PO to SELECT all data from the table
DATA: WA_SDEMO_PO TYPE SDEMO_PO.

SELECT SINGLE *
FROM SDEMO_PO
INTO CORRESPONDING FIELDS OF WA_SDEMO_PO
WHERE...

How to access SAP table SDEMO_PO

Within an ECC or HANA version of SAP you can also view further information about SDEMO_PO and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!