BAPI_INV_HEADER_D SAP (Header Data Invoice (GetDetail)) Structure details

Dictionary Type: Structure
Description: Header Data Invoice (GetDetail)




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




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

BAPI_INV_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 Invoice (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_INV_HEADER_D TYPE BAPI_INV_HEADER_D.

The BAPI_INV_HEADER_D table consists of various fields, each holding specific information or linking keys about Header Data Invoice (GetDetail) data available in SAP. These include PROCESS_TYPE (Business Transaction Type), DOC_NUMBER (Document Number), DOC_DATE (Document Date), POSTING_DATE_FI (Transaction Posting Date in Accounting).. 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_INV_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
POSTING_DATE_FITransaction Posting Date in Accounting POSTING_DATE_FIDATS8DATUM
DESCRIPTIONName of SRM Document BBP_DOCNAMECHAR40TEXT40
LOGICAL_SYSTEMLogical System CRMT_LOGSYSCHAR10Assigned to domainALPHALOGSYS
LOGSYS_FILogical System of FI System BBP_LOGSYS_FICHAR10Assigned to domainALPHALOGSYSBBP_BACKEND_DESTINATION_F4
CO_CODECompany Code in FI System BBP_CO_CODECHAR4Assigned to domainBUKRS
CURRENCYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
CURRENCY_ISOISO Currency Code BBP_ISOCDCHAR3ISOCD
REF_DOC_NOReference Document Number XBLNRCHAR16XBLNR
GROSS_AMOUNTInvoice Amount in Document Currency BBP_BAPI_IVAMNTDEC23(4) BAPICURR
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
INP_TYPECreation Indictaor (Dialog, XML and so on) BBP_INP_TYPECHAR1BBP_INP_TYPE
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
BE_LOG_SYSTEMLogical System of Logistic Back-End (for Non-Lean Invoices) BAPI_BE_LOGSYSCHAR10Assigned to domainALPHALOGSYS
REF_OBJECT_IDReference Transaction Number BBP_REF_OBJECT_IDCHAR10BBP_OBJECT_ID
SUBTYPESpecification of a Purchasing Doc.(e.g. Credit Memo/Invoice) BBP_H_SUBTYPECHAR2BBP_H_SUBTYPE
NF_TYPENota Fiscal Type BBP_NFTYPECHAR2Assigned to domainBBP_NFTYPE
PAYMENT_REF_NOCountry Specific Payment Reference BBP_PAYMENT_REF_NOCHAR30CHAR30
LANGU_ISO2-Character SAP Language Code LAISOCHAR2LAISO
REASON_CODEReason for Rejection BBP_PD_REASONCHAR4CHAR4

Key field Non-key field



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

As BAPI_INV_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_INV_HEADER_D as there is no data to select.

How to access SAP table BAPI_INV_HEADER_D

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