BAPI_CTRACPSINVDOC_H SAP (BAPI: Input Structure for Invoicing Document (Header)) Structure details

Dictionary Type: Structure
Description: BAPI: Input Structure for Invoicing Document (Header)




ABAP Code to SELECT data from BAPI_CTRACPSINVDOC_H
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_DOCNONumber of Invoicing Document INVDOCNO_KKNUMC12Assigned to domainINVDOCNO_KKFKKINV_INVDOCNO
APPL_AREAApplication area APPLK_KKCHAR1APPLK_KK
INV_PROCESSInvoicing Process INV_PROCESS_KKCHAR2TFK2602INV_PROCESS_KK
INV_TYPEInvoicing Type INV_TYPE_KKCHAR2TFK2603CHAR2
INV_CATEGORYInvoicing Category INV_CATEGORY_KKCHAR4TFK2604INV_CATEGORY_KK
BUSINESS_PARTNERBusiness Partner Number GPART_KKCHAR10BUT000ALPHABU_PARTNERBPA
CONT_ACCTContract Account Number VKONT_KKCHAR12FKKVKALPHAVKONT_KKKTOFKKVKP_F4
COLL_ACCTAlternative contract account for collective bills ABWVK_KKCHAR12FKKVKALPHAVKONT_KK
SUB_DOCNumber of the substitute FI-CA document ABWBL_KKCHAR12ALPHAABWBL_KK
CREATED_BYCreated By CRNAMCHAR12USNAM
CREATE_DATECreation date CRDATDATS8DATUM
CREATE_TIMETime at which the object was created ERTIM_KKTIMS6UZEIT
CREATE_MODECreation Mode of Invoicing Document INV_CRMODE_KKCHAR1INV_CRMODE_KK
RECONCILIATION_KEYReconciliation Key for General Ledger FIKEY_KKCHAR12Assigned to domainFIKEY_KKFKFI1
POST_DATEPosting Date in the Document BUDAT_KKDATS8DATUM
DOC_DATEDocument Date in Document BLDATDATS8DATUM
NET_DATEDue date for net payment FAEDN_KKDATS8DATUM
DISCOUNT_DUE_DATEDue Date for Cash Discount FAEDS_KKDATS8DATUM
DISCOUNT_RATECash discount rate SKTPZ_KKDEC5(3) PRZ23
TOTAL_CURRENCYTransaction Currency BLWAE_KKCUKY5TCURCWAERSFWS
TOTAL_CURRENCY_ISOISO currency code ISOCDCHAR3ISOCD
TOTAL_AMOUNTAmount in Transaction Currency with +/- Sign BETRW_KKCURR13(2) WRTV7
X_INVOICEDInvoicing Document Posted INV_POSTED_KKCHAR1XFELD
X_SIMULATEDInvoicing Document Is Simulated INV_SIMULATED_KKCHAR1XFELD
REVERSE_REASONReversal Reason of Invoicing Document REVREASON_KKCHAR2Assigned to domainREVREASON_KKFKKINV_REVREASON
REVERSAL_DOCNumber of Reversal Document for Invoicing Document INV_REVERSALDOC_KKNUMC12Assigned to domainINVDOCNO_KK
REVERSED_DOCNumber of Reversed Invoicing Document INV_REVERSEDDOC_KKNUMC12Assigned to domainINVDOCNO_KK
PRINT_DATEPrint Date of Invoicing Document PRINTDAT_KKDATS8DATUM
X_PRINTLOCKInvoicing Document Locked for Printing PRINTLOCK_KKCHAR1PRINTLOCK_KK
PAYMENT_METHODPayment Method PYMET_KKCHAR1Assigned to domainPYMET_KK
PAYMENT_FORMNOPayment Form Number NRZAS_KKCHAR12ALPHANRZAS_KK
FORM_KEYApplication form FORMKEYCHAR30Assigned to domainFORMKEYFOM
ATTACHED_FORMIDForm ID for Attached Payment Medium FIDZTCHAR1Assigned to domainFIDZT
DOC_TYPEDocument Type DOCTYPE_KKCHAR2TFK2600DOCTYPE_KK
EXT_KEYIDKey Identification EXKID_KKCHAR2EXKID_KK
EXT_DOCNOOfficial Document Number EXBEL_KKCHAR16ALPHAEXBEL_KK
INV_PERIOD_CATCategory of Invoicing Period INVPERCAT_KKCHAR2TFK2611INVPERCAT_KK
INV_PERIODInvoicing Period INVPERIOD_KKDATS8DATS
INV_PERIOD_FROMStart of Invoicing Period INVPERIOD_FROM_KKDATS8DATS
DUN_COUNTCounter for several dunning notices to a business partner MAZAE_KKNUMC6NUMC6
X_CHARGEDOCInvoicing Document Contains Charge/Discount Items CHGDOC_EX_KKCHAR1CHGDOC_EX_KK
X_CTRLDOCControl Document for Clarif. Case (Sim. Invoicing Document) INV_CFCSIMULATED_KKCHAR1XFELD
X_ARCHIVEDDocument Is Archived ARCHIVED_KKCHAR1XFELD

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 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!