BAPI1021_1 SAP (Transfer structure object 1021: Importstructure1) Structure details
Description: Transfer structure object 1021: Importstructure1
Structure field list including key, data, relationships and ABAP select examples
BAPI1021_1 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 "Transfer structure object 1021: Importstructure1" 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_BAPI1021_1 TYPE BAPI1021_1.
The BAPI1021_1 table consists of various fields, each holding specific information or linking keys about Transfer structure object 1021: Importstructure1 data available in SAP. These include REC_TYPE (Record Type), VERSION (Version), FISC_YEAR (Fiscal Year), COMP_CODE (Company Code).. 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 BAPI1021_1 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 |
LEDGER | Ledger | RLDNR | CHAR | 2 | Assigned to domain | ALPHA | RLDNR | GLN | H_T881 |
REC_TYPE | Record Type | RRCTY | CHAR | 1 | RRCTY | ||||
VERSION | Version | RVERS | CHAR | 3 | Assigned to domain | ALPHA | RVERS | GVS | |
FISC_YEAR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
COMP_CODE | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
COMPANY | Company | RCOMP_D | CHAR | 6 | Assigned to domain | ALPHA | RCOMP | GCC | |
GL_ACCOUNT | Account Number | RACCT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ACC | |
BUS_AREA | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
COSTCENTER | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
PROFIT_CTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
FUNC_AREA | Functional Area | FKBER_SHORT | CHAR | 4 | FKBER_SHORT | FBE | |||
CO_AREA | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
CURRENCY | Currency Key | RTCUR | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
DB_CR_IND | Maintain debits/credits indicator | SHKZ | CHAR | 1 | XFELD | ||||
PERIOD | Period | PERI1_F42B | CHAR | 3 | CHAR3 | ||||
PER_AGG | Boolean | BAVLD | CHAR | 1 | BVALD | ||||
GRANT_NBR | Grant | GM_GRANT_NBR | CHAR | 20 | ALPHA | GM_GRANT_NBR | GM_GRANT_NBR | GRANTS_GENERIC | |
FUNC_AREA_LONG | Functional Area | FKBER | CHAR | 16 | Assigned to domain | FKBER | FBE | ||
USE_ALT_C_STRUC | Structure Selection | G_STRUCT_SELECT | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPI1021_1 using ABAP code?
As BAPI1021_1 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 BAPI1021_1 as there is no data to select.How to access SAP table BAPI1021_1
Within an ECC or HANA version of SAP you can also view further information about BAPI1021_1 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