BAPI_SC_ACC_C SAP (Account Assignment (Create)) Structure details
Description: Account Assignment (Create)
Related tables to BAPI_SC_ACC_C
Access table BAPI_SC_ACC_C
Structure field list including key, data, relationships and ABAP select examples
BAPI_SC_ACC_C 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 "Account Assignment (Create)" 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_SC_ACC_C TYPE BAPI_SC_ACC_C.
The BAPI_SC_ACC_C table consists of various fields, each holding specific information or linking keys about Account Assignment (Create) data available in SAP. These include DISTR_PERC (Distribution Percentage in the Case of Multiple Acct Assgt), ACC_NO (Sequential Account Assignment No. in EBP Purchase Document), G_L_ACCT (G/L Account Number), BUS_AREA (Business Area).. 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_SC_ACC_C 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 |
PARENT_GUID | GUID of Higher-Level Record (Header or Item) | BAPI_PARENT_GUID | CHAR | 32 | SYSUUID_C | ||||
DISTR_PERC | Distribution Percentage in the Case of Multiple Acct Assgt | BBP_VPROZ | DEC | 5(2) | BBP_VPROZ | ||||
ACC_NO | Sequential Account Assignment No. in EBP Purchase Document | BBP_ACC_NO | NUMC | 4 | BBP_ACCNO | ||||
G_L_ACCT | G/L Account Number | SAKNR | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | SAK | C_SAKNR |
BUS_AREA | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
COST_CTR | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
SD_DOC | Sales and Distribution Document Number | BBP_VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
SDOC_ITEM | Sales Document Item | BBP_POSNR_VA | NUMC | 6 | Assigned to domain | POSNR | APO | ||
SCHED_LINE | Schedule Line Number | BBP_ETENR | NUMC | 4 | Assigned to domain | ETENR | |||
ASSET_NO | Main Asset Number | ANLN1 | CHAR | 12 | Assigned to domain | ALPHA | ANLN1 | AN1 | |
SUB_NUMBER | Asset Subnumber | ANLN2 | CHAR | 4 | Assigned to domain | ALPHA | ANLN2 | AN2 | |
ORDER_NO | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
CO_AREA | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
PROFIT_CTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
WBS_ELEM_E | Work Breakdown Structure Element (WBS element) | BBP_WBS_ELEM | CHAR | 24 | ABPSN | PS_POSID | |||
NETWORK | Network Number for Account Assignment | NPLNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | NET | |
ACTIVITY | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
CMMT_ITEM | Commitment Item | FIPOS | CHAR | 14 | Assigned to domain | FIPOS | FIP | ||
FUNDS_CTR | Funds Center | FISTL | CHAR | 16 | Assigned to domain | FISTL | FIS | ||
FUND | Fund | BP_GEBER | CHAR | 10 | Assigned to domain | BP_GEBER | FIC | ||
FUNC_AREA | Functional Area | FKBER | CHAR | 16 | Assigned to domain | FKBER | FBE | ||
COST_OBJ | Cost Object | BBP_KSTRG | CHAR | 12 | Assigned to domain | KSTRG | KTR | ||
ACC_CAT | Account Assignment Category in SRM | BBP_ACC_CAT | CHAR | 5 | BBP_ACCCAT | ||||
ACC_STR | Generic Account Assignment | BBP_ACC_GENERIC | CHAR | 64 | CHAR64 | ||||
GUID | Internal Key of Data Record (Global Unique Identifier) | BBP_BAPI_GUID | CHAR | 32 | SYSUUID_C | ||||
BUDGET_PERIOD | FM: Budget Period | FM_BUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPI_SC_ACC_C using ABAP code?
As BAPI_SC_ACC_C 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_SC_ACC_C as there is no data to select.How to access SAP table BAPI_SC_ACC_C
Within an ECC or HANA version of SAP you can also view further information about BAPI_SC_ACC_C 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