SAP BAPICMS_VBRK CMS BAPI str for Billing Header data from R/3 Table data and field list

BAPICMS_VBRK 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 "CMS BAPI str for Billing Header data from R/3" 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_BAPICMS_VBRK TYPE BAPICMS_VBRK.

The BAPICMS_VBRK table consists of various fields, each holding specific information or linking keys about CMS BAPI str for Billing Header data from R/3 data available in SAP. These include BILL_DOC (Billing Document), BILL_TYPE (Billing Type), BILL_CAT (Billing category), SD_DOC_CAT (SD document 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. .

BAPICMS_VBRK structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP BAPICMS_VBRK structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the BAPICMS_VBRK table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
OPERATIONFunction MSGFNCHAR3MSGFN
BILL_DOCBilling Document VBELN_VFCHAR10Assigned to domainALPHAVBELNVF
BILL_TYPEBilling Type FKARTCHAR4Assigned to domainFKART
BILL_CATBilling category FKTYPCHAR1FKTYP
SD_DOC_CATSD document category VBTYPCHAR1VBTYP
CURRENCYSD Document Currency WAERKCUKY5Assigned to domainWAERSFWS
CURRENCY_ISOISO code currency WAERS_ISOCHAR3ISOCD
SALESORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
DISTR_CHANDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
SD_PRICE_PRODSales and Distribution: Pricing Procedure in Pricing KALSMASDCHAR6Assigned to domainKALSM
NO_DOC_CONDNumber of the document condition KNUMVCHAR10KNUMV
SHIP_CONDShipping Conditions VSBEDCHAR2Assigned to domainVSBED
BILL_DATEBilling date for billing index and printout FKDATDATS8DATUM
AC_DOC_NOAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
FISC_YEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
POSTING_PERIODPosting period POPERNUMC3POPERPOPR
PRICE_GRPPrice group (customer) KONDACHAR2Assigned to domainKONDAVKA
CUST_GROUPCustomer group KDGRPCHAR2Assigned to domainKDGRPVKD
SALES_DISTSales district BZIRKCHAR6Assigned to domainBZIRKBZI
PRICE_LISTPrice list type PLTYPCHAR2Assigned to domainPLTYPVPL
INCOTERMS1Incoterms (Part 1) INCO1CHAR3Assigned to domainINCO1
INCOTERMS2Incoterms (Part 2) INCO2CHAR28INCO2
EXP_INDExport indicator EXPKZCHAR1EXPKZ
STAT_ACC_TRANStatus for transfer to accounting RFBSKCHAR1RFBSK
MN_INVOICEManual invoice maintenance MRNKZCHAR1XFELD
EX_RATE_FI_POSExchange rate for FI postings KURRFDEC9(5) KURRF
EX_RATE_SETID:Exchange rate setting (no new rate determ.in bill.doc.) CPKURCHAR1CPKUR
ADD_VAL_DYAdditional value days VALTGNUMC2TAGE2
FIX_VAL_DYFixed value date VALDTDATS8DATUM
PMNTTRMS Terms of payment key0
PAY_METHODPayment Method SCHZW_BSEGCHAR1Assigned to domainZLSCH
ACCNT_ASGNAccount assignment group for this customer KTGRDCHAR2Assigned to domainKTGRD
DEST_CNTRYCountry of Destination LLANDCHAR3Assigned to domainLAND1VLL
ISO_DEST_CNTRYCountry ISO code INTCACHAR2INTCAF4_INTCA
REGIONSTATE (State, Province, County) REGIOCHAR3Assigned to domainREGIO
COUNTY_CDECounty Code COUNCCHAR3Assigned to domainCOUNC
CITY_CODECity Code CITYCCHAR4Assigned to domainCITYC
COMP_CODECompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
TAX_CLASS1Tax classification 1 for customer TAXK1CHAR1Assigned to domainTAXKD
TAX_CLASS2Tax classification 2 for customer TAXK2CHAR1Assigned to domainTAXKD
TAX_CLASS3Tax classification 3 for customer TAXK3CHAR1Assigned to domainTAXKD
TAX_CLASS4Tax Classification 4 Customer TAXK4CHAR1Assigned to domainTAXKD
TAX_CLASS5Tax classification 5 for customer TAXK5CHAR1Assigned to domainTAXKD
TAX_CLASS6Tax classification 6 for customer TAXK6CHAR1Assigned to domainTAXKD
TAX_CLASS7Tax classification 7 for customer TAXK7CHAR1Assigned to domainTAXKD
TAX_CLASS8Tax classification 8 for customer TAXK8CHAR1Assigned to domainTAXKD
TAX_CLASS9Tax classification 9 for customer TAXK9CHAR1Assigned to domainTAXKD
NET_VALUENet Value in Document Currency NETWRCURR15(2) WERTV8
COMB_CRITERIA Combination criteria in the billing document0
CREATED_BYName of Person who Created the Object ERNAMCHAR12USNAM
REC_TIMEEntry time ERZETTIMS6UZEIT
CR_ONDate on Which Record Was Created ERDATDATS8DATUM
UPDATE_GRPUpdate group for statistics update STAFOCHAR6Assigned to domainALPHASTAFOMCF
PAYERPayer KUNRGCHAR10Assigned to domainALPHAKUNNR
SOLD_TOSold-to party KUNAGCHAR10Assigned to domainALPHAKUNNRVAG
DUNN_AREADunning Area MABERCHAR2Assigned to domainMABER
STAT_CURRStatistics currency STWAECUKY5Assigned to domainWAERS
ISO_STAT_CURRISO code currency WAERS_ISOCHAR3ISOCD
EXPORT_NONumber of foreign trade data in MM and SD documents EXNUMCHAR10Assigned to domainEXNUM
VAT_REG_NOVAT Registration Number STCEGCHAR20STCEG
CH_ONChanged On AEDATDATS8DATUM
CANC_BILL_DOC_NOCancelled billing document number SFAKNCHAR10Assigned to domainALPHAVBELNVF
AGG_COND_GRPAgreement (various conditions grouped together) KNUMACHAR10Assigned to domainALPHAKNUMAVMBO
BILL_DATE_INV_LISTInvoice list type FKART_RLCHAR4Assigned to domainFKART
EXCHG_RATE_TYPEBilling date for the invoice list FKDAT_RLDATS8DATUM
EXCHG_RATEExchange Rate Type KURSTCHAR4Assigned to domainKURSTKUT
DUNN_KEYDunning key MSCHLCHAR1Assigned to domainMSCHL
DUNN_BLOCKDunning block MANSPCHAR1Assigned to domainMANSP
DIVISIONDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
C_CTR_AREACredit control area KKBERCHAR4Assigned to domainKKBERKKB
CRED_ACCNTCustomer's account number with credit limit reference KNKLICHAR10Assigned to domainALPHAKUNNR
CURR_KEY_CC_AREACurrency key of credit control area WAERS_CMCUKY5Assigned to domainWAERS
ISO_CC_AREA_CURRISO code currency WAERS_ISOCHAR3ISOCD
CR_EXC_RATE_BILL_DOC_RATECredit data exchange rate at billing document rate CMKUFDEC9(5) KURRF
HIER_TYP_PRICHierarchy type for pricing HITYP_PRCHAR1Assigned to domainHITYP
PURCH_NO_CCustomer purchase order number BSTKDCHAR35BSTKD
TRADE_IDCompany ID of trading partner RASSCCHAR6Assigned to domainALPHARCOMPPGS
ACC_BILL_TYPEAccrual billing type FKART_ABCHAR4Assigned to domainFKART
APPL_CONDApplication KAPPLCHAR2Assigned to domainKAPPLKAP
TAX_DEPART_CTYTax departure country LANDTXCHAR3Assigned to domainLAND1LND
ISO_TAX_DEPACountry ISO code INTCACHAR2INTCAF4_INTCA
ORG_SALES_TAX_IDSTATE (State, Province, County) REGIOCHAR3Assigned to domainREGIO
SALES_TAX_CNTRYCountry of Sales Tax ID Number STCEG_LCHAR3Assigned to domainLAND1LND
ISO_SALES_TAX_CNTRYCountry ISO code INTCACHAR2INTCAF4_INTCA
REF_DOC_LReference Document Number XBLNR_VCHAR16XBLNR
ASS_NUMBERAssignment number ORDNR_VCHAR18ZUONR
TAX_AMT_DOC_CURRTax amount in document currency MWSBPCURR13(2) WERTV7
LOG_SYSTEMLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
FLAG_BILL_DOC_CANCBilling document is cancelled FKSTOCHAR1XFELD
EU_TRIANG_DEALIndicator: Triangular deal within the EU ? XEGDRCHAR1XFELD
NUM_PAY_CARD_PLANNumber of payment card plan type RPLNRCHAR10Assigned to domainFPLNR
INT_FIN_DOC_NOFinancial doc. processing: Internal financial doc. number LCNUMCHAR10Assigned to domainALPHALCNUMAKN
TAX_TYPETax type J_1AFITP_DCHAR2Assigned to domainJ_1AFITP
TRANS_DATETranslation Date WWERT_DDATS8DATUM
CURR_KEY_LET_CR_FTCurrency key for letter-of-credit procg in foreign trade AKWAECUKY5Assigned to domainWAERSFWS
ISO_LET_CR_FT_CURRISO code currency WAERS_ISOCHAR3ISOCD
EXCH_KEY_LET_CR_FTExchange rate for letter-of-credit procg in foreign trade AKKURDEC9(5) KURRF
PAYMENT_REFPayment Reference KIDNOCHAR30CHAR30
PARTNER_BKPartner Bank Type BVTYPCHAR4BVTYP
NUM_PG_INVOICENumber of pages of invoice J_1ANOPGNUMC3J_1ANOPG
BUSS_PLACE Business Place0
VKONT Character Field of Length 120
DOC_STAT_ACC_TRAN 0
NRZAS Character Field of Length 120

Key field Non-key field



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

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

How to access SAP table BAPICMS_VBRK

Within an ECC or HANA version of SAP you can also view further information about BAPICMS_VBRK and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).