BAPICCHEAD SAP (BAPI: Condition Contract Header) Structure details

Dictionary Type: Structure
Description: BAPI: Condition Contract Header




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




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

BAPICCHEAD 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: Condition Contract 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_BAPICCHEAD TYPE BAPICCHEAD.

The BAPICCHEAD table consists of various fields, each holding specific information or linking keys about BAPI: Condition Contract Header data available in SAP. These include VENDOR_OWNER (Condition Contract: Owner Vendor), CUSTOMER_OWNER (Condition Contract: Customer Owner), REFERENCE (Condition Contract: Reference), ASSIGNMENT (Condition Contract: Assignment).. 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 BAPICCHEAD 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
CONTRACT_TYPECondition Contract Type WCB_CONTRACT_TYPECHAR4TWCBCONTRTYPEWCB_CONTRACT_TYPE
VENDOR_OWNERCondition Contract: Owner Vendor WCB_VEND_OWNERCHAR10LFA1ALPHALIFNR
CUSTOMER_OWNERCondition Contract: Customer Owner WCB_CUST_OWNERCHAR10KNA1ALPHAKUNNR
REFERENCECondition Contract: Reference WCB_REFERENCECHAR16WCB_REFERENCE
ASSIGNMENTCondition Contract: Assignment WCB_ASSIGNMENTCHAR16WCB_ASSIGNMENT
EXTERNAL_PARTNERCondition Contract: External Partner WCB_EXTERNAL_PARTNERCHAR10WCB_EXTERNAL_PARTNER
PURCH_ORGPurchasing Organization EKORGCHAR4T024EEKORGEKO
PUR_GROUPPurchasing Group EKGRPCHAR3T024EKGRPEKG
SALESORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
DISTR_CHANDistribution Channel VTWEGCHAR2TVTWVTWEGVTWC_VTWEG
DIVISIONDivision SPARTCHAR2TSPASPARTSPAC_SPART
PMNTTRMSTerms of Payment Key DZTERMCHAR4ZTERM
DSCNT3_TOCash (Prompt Payment) Discount Days DZBDETDEC3ZBDXT
DSCT_PCT1Cash Discount Percentage 1 DZBD1PDEC5(3) PRZ23
DSCT_DAYS2Cash discount days 2 DZBD2TDEC3ZBDXT
DSCT_PCT2Cash Discount Percentage 2 DZBD2PDEC5(3) PRZ23
NETTERMSNet Payment Terms Period DZBD3TDEC3ZBDXT
PYMT_METHPayment Method DZLSCHCHAR1Assigned to domainZLSCH
DEACTIVATEDDeactivated WCB_DEACTIVATEDCHAR1WCB_DEACTIVATED
VALIDITY_DATE_FROMValid from WCB_DATE_FROMDATS8WCB_DATE_FROM
VALIDITY_DATE_TOValid to WCB_DATE_TODATS8WCB_DATE_TO
TESTRUNSwitch to Simulation Session for Write BAPIs TESTRUNCHAR1BAPIFLAG
CONDITION_CONTRACT_EXTERNALNUMExternal Number of Document WCB_EXTERNAL_NUMBERCHAR30WCB_EXTERNAL_NUMBER
COND_CONTRACT_CURRENCYCurrency of Condition Contract WCB_CC_CURRCUKY5Assigned to domainWAERS
COND_CONTRACT_CURRENCY_ISOISO currency code ISOCDCHAR3ISOCD
EXCH_RATEExchange Rate WKURSDEC9(5) EXCRTKURSP
TRANS_DATETranslation Date WWERT_DDATS8DATUM
EXCHG_RATEExchange Rate Type KURSTCHAR4Assigned to domainKURSTKUT
SALES_GRPSales Group VKGRPCHAR3Assigned to domainVKGRPVKG
SALES_OFFSales Office VKBURCHAR4Assigned to domainVKBURVKB
ACCESS_TYPEAccess Type WCB_ACCESS_TYPECHAR1WCB_ACCESS_TYPE
SETTL_MATERIALCCS: Settlement Material WB2_SETTLEMENT_MATNRCHAR18Assigned to domainMATN1MATNR
SETTL_TYPE_VENDORCondition Contract Settlement: Settlement Type Vendor WB2_SETTLEMENT_TYPE_VENDORCHAR1WB2_SETTLEMENT_TYPE_VENDOR
SETTL_CAL_FINALCondition Contract Settlement: Settlement Calendar WB2_SETTLEMENT_CALENDARCHAR2Assigned to domainWFCID
SETTL_CAL_PARTIALCondition Contract Settlement: Calendar Partial Settlement WB2_SETTLEMENT_CALENDAR_PARTCHAR2Assigned to domainWFCID
COMP_CODECompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
SETTL_TYPE_CUSTOMERCondition Contract Settlement: Settlement Type Customer WB2_SETTLEMENT_TYPE_CUSTOMERCHAR1WB2_SETTLEMENT_TYPE_CUSTOMER
EXTENSION_CALENDARCCS: Calendar for Contract Extension WB2_EXTENSION_CALENDARCHAR2TFACDWFCID
PRED_CONDITION_CONTRACT_NUMBERPredecessor Condition Contract number WCB_PRED_COCO_NUMCHAR10ALPHAWCB_COCO_NUM
CONDITION_CONTRACT_PURPOSECondition Contract Purpose WCB_CC_PURPOSECHAR2WCB_CC_PURPOSE
CONDITION_CONTRACT_EXTERNALCATExternal Reference Document Category WCB_REF_CATCHAR2WCB_REF_CAT
CONDITION_CONTRACT_EXTERNALREFExternal Reference WCB_EXTERNAL_NUMBER2CHAR32WCB_EXTERNAL_NUMBER2
PRE_VENDORPrior Vendor KOLIFCHAR10Assigned to domainALPHALIFNR
SETTL_CAL_DELTACondition Contract Settlement: Calendar Delta Settlement WB2_SETTLEMENT_CALENDAR_DELTACHAR2Assigned to domainWFCID

Key field Non-key field



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

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

How to access SAP table BAPICCHEAD

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