BAPI_CTRACPSINVDOC_H SAP (BAPI: Input Structure for Invoicing Document (Header)) Structure details
Description: BAPI: Input Structure for Invoicing Document (Header)
Related tables to BAPI_CTRACPSINVDOC_H
Access table BAPI_CTRACPSINVDOC_H
Structure field list including key, data, relationships and ABAP select examples
BAPI_CTRACPSINVDOC_H 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 "BAPI: Input Structure for Invoicing Document (Header)" 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_CTRACPSINVDOC_H TYPE BAPI_CTRACPSINVDOC_H.
The BAPI_CTRACPSINVDOC_H table consists of various fields, each holding specific information or linking keys about BAPI: Input Structure for Invoicing Document (Header) data available in SAP. These include APPL_AREA (Application area), INV_PROCESS (Invoicing Process), INV_TYPE (Invoicing Type), INV_CATEGORY (Invoicing Category).. 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: Cannot Be Enhanced
SAP BAPI_CTRACPSINVDOC_H 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 |
INV_DOCNO | Number of Invoicing Document | INVDOCNO_KK | NUMC | 12 | Assigned to domain | INVDOCNO_KK | FKKINV_INVDOCNO | ||
APPL_AREA | Application area | APPLK_KK | CHAR | 1 | APPLK_KK | ||||
INV_PROCESS | Invoicing Process | INV_PROCESS_KK | CHAR | 2 | TFK2602 | INV_PROCESS_KK | |||
INV_TYPE | Invoicing Type | INV_TYPE_KK | CHAR | 2 | TFK2603 | CHAR2 | |||
INV_CATEGORY | Invoicing Category | INV_CATEGORY_KK | CHAR | 4 | TFK2604 | INV_CATEGORY_KK | |||
BUSINESS_PARTNER | Business Partner Number | GPART_KK | CHAR | 10 | BUT000 | ALPHA | BU_PARTNER | BPA | |
CONT_ACCT | Contract Account Number | VKONT_KK | CHAR | 12 | FKKVK | ALPHA | VKONT_KK | KTO | FKKVKP_F4 |
COLL_ACCT | Alternative contract account for collective bills | ABWVK_KK | CHAR | 12 | FKKVK | ALPHA | VKONT_KK | ||
SUB_DOC | Number of the substitute FI-CA document | ABWBL_KK | CHAR | 12 | ALPHA | ABWBL_KK | |||
CREATED_BY | Created By | CRNAM | CHAR | 12 | USNAM | ||||
CREATE_DATE | Creation date | CRDAT | DATS | 8 | DATUM | ||||
CREATE_TIME | Time at which the object was created | ERTIM_KK | TIMS | 6 | UZEIT | ||||
CREATE_MODE | Creation Mode of Invoicing Document | INV_CRMODE_KK | CHAR | 1 | INV_CRMODE_KK | ||||
RECONCILIATION_KEY | Reconciliation Key for General Ledger | FIKEY_KK | CHAR | 12 | Assigned to domain | FIKEY_KK | FKFI1 | ||
POST_DATE | Posting Date in the Document | BUDAT_KK | DATS | 8 | DATUM | ||||
DOC_DATE | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
NET_DATE | Due date for net payment | FAEDN_KK | DATS | 8 | DATUM | ||||
DISCOUNT_DUE_DATE | Due Date for Cash Discount | FAEDS_KK | DATS | 8 | DATUM | ||||
DISCOUNT_RATE | Cash discount rate | SKTPZ_KK | DEC | 5(3) | PRZ23 | ||||
TOTAL_CURRENCY | Transaction Currency | BLWAE_KK | CUKY | 5 | TCURC | WAERS | FWS | ||
TOTAL_CURRENCY_ISO | ISO currency code | ISOCD | CHAR | 3 | ISOCD | ||||
TOTAL_AMOUNT | Amount in Transaction Currency with +/- Sign | BETRW_KK | CURR | 13(2) | WRTV7 | ||||
X_INVOICED | Invoicing Document Posted | INV_POSTED_KK | CHAR | 1 | XFELD | ||||
X_SIMULATED | Invoicing Document Is Simulated | INV_SIMULATED_KK | CHAR | 1 | XFELD | ||||
REVERSE_REASON | Reversal Reason of Invoicing Document | REVREASON_KK | CHAR | 2 | Assigned to domain | REVREASON_KK | FKKINV_REVREASON | ||
REVERSAL_DOC | Number of Reversal Document for Invoicing Document | INV_REVERSALDOC_KK | NUMC | 12 | Assigned to domain | INVDOCNO_KK | |||
REVERSED_DOC | Number of Reversed Invoicing Document | INV_REVERSEDDOC_KK | NUMC | 12 | Assigned to domain | INVDOCNO_KK | |||
PRINT_DATE | Print Date of Invoicing Document | PRINTDAT_KK | DATS | 8 | DATUM | ||||
X_PRINTLOCK | Invoicing Document Locked for Printing | PRINTLOCK_KK | CHAR | 1 | PRINTLOCK_KK | ||||
PAYMENT_METHOD | Payment Method | PYMET_KK | CHAR | 1 | Assigned to domain | PYMET_KK | |||
PAYMENT_FORMNO | Payment Form Number | NRZAS_KK | CHAR | 12 | ALPHA | NRZAS_KK | |||
FORM_KEY | Application form | FORMKEY | CHAR | 30 | Assigned to domain | FORMKEY | FOM | ||
ATTACHED_FORMID | Form ID for Attached Payment Medium | FIDZT | CHAR | 1 | Assigned to domain | FIDZT | |||
DOC_TYPE | Document Type | DOCTYPE_KK | CHAR | 2 | TFK2600 | DOCTYPE_KK | |||
EXT_KEYID | Key Identification | EXKID_KK | CHAR | 2 | EXKID_KK | ||||
EXT_DOCNO | Official Document Number | EXBEL_KK | CHAR | 16 | ALPHA | EXBEL_KK | |||
INV_PERIOD_CAT | Category of Invoicing Period | INVPERCAT_KK | CHAR | 2 | TFK2611 | INVPERCAT_KK | |||
INV_PERIOD | Invoicing Period | INVPERIOD_KK | DATS | 8 | DATS | ||||
INV_PERIOD_FROM | Start of Invoicing Period | INVPERIOD_FROM_KK | DATS | 8 | DATS | ||||
DUN_COUNT | Counter for several dunning notices to a business partner | MAZAE_KK | NUMC | 6 | NUMC6 | ||||
X_CHARGEDOC | Invoicing Document Contains Charge/Discount Items | CHGDOC_EX_KK | CHAR | 1 | CHGDOC_EX_KK | ||||
X_CTRLDOC | Control Document for Clarif. Case (Sim. Invoicing Document) | INV_CFCSIMULATED_KK | CHAR | 1 | XFELD | ||||
X_ARCHIVED | Document Is Archived | ARCHIVED_KK | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPI_CTRACPSINVDOC_H using ABAP code?
As BAPI_CTRACPSINVDOC_H 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_CTRACPSINVDOC_H as there is no data to select.How to access SAP table BAPI_CTRACPSINVDOC_H
Within an ECC or HANA version of SAP you can also view further information about BAPI_CTRACPSINVDOC_H and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects