BAPI_PO_HEADER_D SAP (Header Data Purchase Order (BUS2201- GetDetail)) Structure details

Dictionary Type: Structure
Description: Header Data Purchase Order (BUS2201- GetDetail)




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




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

BAPI_PO_HEADER_D is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Header Data Purchase Order (BUS2201- GetDetail)" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_BAPI_PO_HEADER_D TYPE BAPI_PO_HEADER_D.

The BAPI_PO_HEADER_D table consists of various fields, each holding specific information or linking keys about Header Data Purchase Order (BUS2201- GetDetail) data available in SAP. These include PROCESS_TYPE (Business Transaction Type), DOC_NUMBER (Document Number), DOC_DATE (Document Date), DESCRIPTION (Purchase Order Description).. 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP BAPI_PO_HEADER_D structure 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
BUSINESSPROCESSTechnical Key of Business Transaction (Char32-GUID) BAPI_BUSINESSPROCESSCHAR32SYSUUID_C
PROCESS_TYPEBusiness Transaction Type CRMT_PROCESS_TYPE_DBCHAR4Assigned to domainCRM_PROCESS_TYPE
DOC_NUMBERDocument Number BBP_DOC_NUMBERCHAR10ALPHACRM_OBJECT_ID
DOC_DATEDocument Date BBP_DOC_DATEDATS8DATUM
DESCRIPTIONPurchase Order Description BBP_PO_DESCRIPTIONCHAR40CRM_PROCESS_DESCRIPTION
LOGICAL_SYSTEMLogical System CRMT_LOGSYSCHAR10Assigned to domainALPHALOGSYS
LOGSYS_FILogical System of FI System BBP_LOGSYS_FICHAR10Assigned to domainALPHALOGSYSBBP_BACKEND_DESTINATION_F4
CURRENCYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
CURRENCY_ISOISO Currency Code BBP_ISOCDCHAR3ISOCD
PMNTTRMSTerms of Payment Key DZTERMCHAR4ZTERM
DSCNT1_TOCash discount days 1 BBP_BDET1BAPIDEC3ZBDXT
DSCNT2_TOCash discount days 2 BBP_BDET2BAPIDEC3ZBDXT
DSCNT3_TOCash discount days 3 BBP_BDET3BAPIDEC3ZBDXT
CASH_DISC1Cash Discount Percentage 1 DZBD1PDEC5(3) PRZ23
CASH_DISC2Cash Discount Percentage 2 DZBD2PDEC5(3) PRZ23
PCINSProcurement card company BBPPCINSCHAR4Assigned to domainBBPPCINSPCI
PCNUMProcurement card number BBPPCNUMCHAR25Assigned to domainBBPPCNUMPCCBBP_PCMAS
PCNAMEName of procurement cardholder BBPPCNAMECHAR40CHAR40
PCDAT_TOProcurement Card Validity Date BBPPCDAT_TODATS8DATUM
CO_CODECompany Code in FI System BBP_CO_CODECHAR4Assigned to domainBUKRS
VPER_STARTTimeframe From BBP_VPER_STARTDATS8DATUM
VPER_ENDTimeframe To BBP_VPER_ENDDATS8DATUM
CREATED_BYName of Person who Created the Object ERNAMCHAR12USNAM
CREATED_ATCreation Date of Document BAPI_CREATED_ATDATS8DATUM
CHANGED_BYName of Person Responsible for Changing Object BBP_CHNAMCHAR12USNAM
CHANGED_ATDate of Last Change to Document BAPI_CHANGED_ATDATS8DATUM
EXT_DEM_LOGSYSLogical System from where an External Requirement Comes BBP_EXT_DEM_LOGSYSCHAR10Assigned to domainALPHALOGSYS
GR_INDGoods Receipt Indicator WEPOSCHAR1XFELD
IR_INDInvoice Receipt Indicator REPOSCHAR1XFELD
ERSEvaluated Receipt Settlement (ERS) BBP_XERSYCHAR1XFELD
LANGU_ISO2-Character SAP Language Code LAISOCHAR2LAISO

Key field Non-key field



How do I retrieve data from SAP structure BAPI_PO_HEADER_D using ABAP code?

As BAPI_PO_HEADER_D is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on BAPI_PO_HEADER_D as there is no data to select.

How to access SAP table BAPI_PO_HEADER_D

Within an ECC or HANA version of SAP you can also view further information about BAPI_PO_HEADER_D 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!