Functionality You can use this method to display detail data for a purchase order. Notes Transfer> You can use the input parameters to define whether, in addition to theheader data (document type, purchasing group etc.), you also want todisplay information, for example, on the items, release, accountassignment, texts and service items. The parameters for this additional information are not set by default,in other words, only the header data is returned. You can use these parameters you can scale both the volume of data andthe system performance. Return> The header data is returned in parameter PO_HEADER> and the address data for the vendor in parameter PO_ADRESS>. The data isreturned in the appropriate tables depending on the import parametersthat have been set. Return messages> INCLUDE BAPI_RETDescription The table contains the address data for the purchase order. INCLUDE BAPI_DATAELEMENT Description This parameter contains the purchase order header data. INCLUDE BAPI_DATAELEMENT Description If you set the indicator, account assignment data is also transferred,for example, the cost center. Description If you set the indicator, the texts for the purchase order header arereturned. Description If you set this indicator, the purchase order history is also returned. Description If you ste the indicator, the item data is also returned, for example,material, purchasing group and plant. Description If you set the indicator, the texts for the purchase order item arealso returned. Description INCLUDE BAPI_KEYFIELD Description If you set this indocator, the schedule line data is also returned, forexample, the delivery date. Description If you set this indicator, the service data and limits are alsoreturned (if they exist). Description If you set this indicator, long texts for service data are alsoreturned. If you have defined the customer fields in the table ESLL, you can readthe data in these fields with this parameter. Description The table contains the texts for the purchase order header. INCLUDE BAPI_DATAELEMENT Description The table contains the item data for the purchase order. INCLUDE BAPI_DATAELEMENT Description The table contains account assignment data for the purchase order item. INCLUDE BAPI_DATAELEMENT Description The table contains limits in the purchase order that refer to acontract. INCLUDE BAPI_DATAELEMENT Description The table cointains purchase order history data. INCLUDE BAPI_DATAELEMENT Description The table contains the totals for the purchase order history. INCLUDE BAPI_DATAELEMENT Description The table contains limits for the purchase order. INCLUDE BAPI_DATAELEMENT Description The table contains the schedule lines for the purchase order item. INCLUDE BAPI_DATAELEMENT Description The table contains the services and the outline layouts for thepurchase order. INCLUDE BAPI_DATAELEMENT Description The table contains the long text for the service line:
- text type LTXT for long text in field TEXT_ID
- the actual text lines in field TEXT_LINE
The package number (PCKG_NO) forms the link to the service line forwhich the text is to be read.Description The table contains the values for the account assignments on servicelevel and a link to the complete account assignemnt for the PO item(table PO_ITEM_ACCOUNT_ASSIGNMENT>). The actual accountassignment data (cost center etc.) is stored in the account assignemnttable PO_ITEM_ACCOUNT_ASSIGNMENT>.Description The table contains the item texts. INCLUDE BAPI_DATAELEMENT Description INCLUDE BAPI_TABLE Value range Type,,ID,,Number,,Message E,,W5,,033,,You do not have the authorization to display this ,,,,,,purchase order I,,W5,,034,,No texts exist for for PO item & & ,,,,,, I,,W5,,035,,No header texts exist for purchase order & E,,W5,,107,,Purchasing document & does not exist
|