SAP Table BAPI1028_12

Transfer structure object 1028: GL GetDocItems

BAPI1028_12 (Transfer structure object 1028: GL GetDocItems) is a standard table in SAP R\3 ERP systems. Below you can find the technical details of the fields that make up this table. Key fields are marked in blue.

Additionally we provide an overview of foreign key relationships, if any, that link BAPI1028_12 to other SAP tables.

Source: BAPI1028_12 (Transfer structure object 1028: GL GetDocItems)

BAPI1028_12 table fields

Field Data element Checktable Datatype Length Decimals
NO Lines in parameter BAPI_LINE INT4 10 0
CLIENT Client MANDT T000 CLNT 3 0
FISC_YEAR Fiscal Year GJAHR NUMC 4 0
AC_DOC_NO Accounting Document Number BELNR_D CHAR 10 0
LINE_ITEM Six-Character Posting Item for Ledger DOCLN6 CHAR 6 0
TYPE Document Type DOCCT CHAR 1 0
A Documents with assigned document no. of receiver application
* Any document type
B Documents from accounting
C Documents from currency translation
K Documents from CO
G Documents from FI-SL for global postings
L Documents from FI-SL for local postings
T Reverse documents from FI-SL for global postings
U Reverse documents from FI-SL for local postings
S Documents for which FI-SL assigns document numbers
J Documents from Joint Venture
R Rollup documents
M Consolidation documents (EC-MC)
W Documents from the FI/CO doc
P Documents from manual planning
X Reversal for global postings in different fiscal year
Y Reversal for local postings in different fiscal year
DB_CR_IND Debit/Credit Indicator SHKZG CHAR 1 0
H Credit
S Debit
PERIOD Posting period POPER NUMC 3 0
LEDGER Ledger RLDNR T881 CHAR 2 0
COMP_CODE Company Code BUKRS T001 CHAR 4 0
REC_TYPE Record Type RRCTY CHAR 1 0
0 Actual
1 Plan
2 Actual assessment/distribution
3 Planned assessment/distribution
VERSION Version RVERS T894 CHAR 3 0
ACCOUNT Account Number RACCT SKA1 CHAR 10 0
COSTCENTER Cost Center KOSTL CSKS CHAR 10 0
PROFIT_CTR Profit Center PRCTR CEPC CHAR 10 0
FUNC_AREA Functional Area FKBER_SHORT CHAR 4 0
BUS_AREA Business Area GSBER TGSB CHAR 4 0
CO_AREA Controlling Area KOKRS TKA01 CHAR 4 0
PKONTO Partner account number SACCT SKA1 CHAR 10 0
SEND_CCTR Sender cost center SKOST CSKS CHAR 10 0
PART_PRCTR Partner Profit Center PPRCTR CEPC CHAR 10 0
PART_AREA Functional Area FKBER_SHORT CHAR 4 0
TR_PART_BA Trading partner's business area PARGB TGSB CHAR 4 0
TRADE_ID Company ID of trading partner RASSC T880 CHAR 6 0
BUS_ACT Business Transaction GLVOR CHAR 4 0
CS_TRANS_T Transaction Type RMVCT CHAR 3 0
LOG_SYSTEM Logical system LOGSYS CHAR 10 0
TCURR Value in transaction currency BAPITCUR DEC 23 4
CURRENCY Currency Key RTCUR CUKY 5 0
LCURR Value in second currency BAPILCUR DEC 23 4
CURRENCY_1 Currency key of the local currency LCURR TCURC CUKY 5 0
GCURR Value in third currency BAPIGCUR DEC 23 4
CURRENCY_2 Currency key of the ledger currency GCURR CUKY 5 0
OCURR Value in a different currency BAPIOCUR DEC 23 4
CURRENCY_3 Old currency key OCURR CUKY 5 0
GTY Quantity QUAN1_12 QUAN 23 3
UNIT Unit of measure RUNIT UNIT 3 0
ITEM_TEXT Item Text SGTXT CHAR 50 0
DOC_TYPE Document Type for General Ledger Accounting in ERP DOCTY_FLEX T003 CHAR 2 0
PSTNG_DATE Posting Date in the Document BUDAT DATS 8 0
VALUE_DATE Value Date for Currency Translation WSDAT DATS 8 0
REF_AC_DOC_NO Accounting Document Number BELNR_D CHAR 10 0
REF_FISC_YEAR Fiscal Year GJAHR NUMC 4 0
REF_ITEM Six-figure number of line item BUZEI6 NUMC 6 0
REF_TYPE Document Type DOCCT CHAR 1 0
A Documents with assigned document no. of receiver application
* Any document type
B Documents from accounting
C Documents from currency translation
K Documents from CO
G Documents from FI-SL for global postings
L Documents from FI-SL for local postings
T Reverse documents from FI-SL for global postings
U Reverse documents from FI-SL for local postings
S Documents for which FI-SL assigns document numbers
J Documents from Joint Venture
R Rollup documents
M Consolidation documents (EC-MC)
W Documents from the FI/CO doc
P Documents from manual planning
X Reversal for global postings in different fiscal year
Y Reversal for local postings in different fiscal year
REF_BUS_ACT Business Transaction GLVOR CHAR 4 0
ENTRY_DATE Day On Which Accounting Document Was Entered CPUDT DATS 8 0
ENTRY_TIME Time of Entry CPUTM TIMS 6 0
USERNAME User name USNAM USR02 CHAR 12 0
OBJ_TYPE Reference Transaction AWTYP TTYP CHAR 5 0
REF_ORG_UN Reference Organizational Units AWORG CHAR 10 0
FUNC_AREA_LONG Functional Area FKBER CHAR 16 0

BAPI1028_12 foreign key relationships

Table Field Foreign key table Foreign key field Check table Check field
BAPI1028_12 ACCOUNT BAPI1028_12 CLIENT SKA1 G/L Account Master (Chart of Accounts) MANDT
BAPI1028_12 ACCOUNT * SKA1 G/L Account Master (Chart of Accounts) KTOPL
BAPI1028_12 ACCOUNT BAPI1028_12 ACCOUNT SKA1 G/L Account Master (Chart of Accounts) SAKNR
BAPI1028_12 BUS_AREA BAPI1028_12 CLIENT TGSB Business Areas MANDT
BAPI1028_12 BUS_AREA BAPI1028_12 BUS_AREA TGSB Business Areas GSBER
BAPI1028_12 CLIENT BAPI1028_12 CLIENT T000 Clients MANDT
BAPI1028_12 COMP_CODE BAPI1028_12 COMP_CODE T001 Company Codes BUKRS
BAPI1028_12 COMP_CODE BAPI1028_12 CLIENT T001 Company Codes MANDT
BAPI1028_12 COSTCENTER BAPI1028_12 CLIENT CSKS Cost Center Master Data MANDT
BAPI1028_12 COSTCENTER BAPI1028_12 CO_AREA CSKS Cost Center Master Data KOKRS
BAPI1028_12 COSTCENTER BAPI1028_12 COSTCENTER CSKS Cost Center Master Data KOSTL
BAPI1028_12 COSTCENTER BAPI1028_12 PSTNG_DATE CSKS Cost Center Master Data DATBI
BAPI1028_12 CO_AREA BAPI1028_12 CLIENT TKA01 Controlling Areas MANDT
BAPI1028_12 CO_AREA BAPI1028_12 CO_AREA TKA01 Controlling Areas KOKRS
BAPI1028_12 CURRENCY_1 BAPI1028_12 CLIENT TCURC Currency Codes MANDT
BAPI1028_12 CURRENCY_1 BAPI1028_12 CURRENCY_1 TCURC Currency Codes WAERS
BAPI1028_12 DOC_TYPE BAPI1028_12 DOC_TYPE T003 Document Types BLART
BAPI1028_12 DOC_TYPE BAPI1028_12 CLIENT T003 Document Types MANDT
BAPI1028_12 LEDGER BAPI1028_12 CLIENT T881 Ledger Master MANDT
BAPI1028_12 LEDGER BAPI1028_12 LEDGER T881 Ledger Master RLDNR
BAPI1028_12 OBJ_TYPE BAPI1028_12 OBJ_TYPE TTYP Object Types for Accounting AWTYP
BAPI1028_12 PART_PRCTR BAPI1028_12 CO_AREA CEPC Profit Center Master Data Table KOKRS
BAPI1028_12 PART_PRCTR BAPI1028_12 PSTNG_DATE CEPC Profit Center Master Data Table DATBI
BAPI1028_12 PART_PRCTR BAPI1028_12 PART_PRCTR CEPC Profit Center Master Data Table PRCTR
BAPI1028_12 PART_PRCTR BAPI1028_12 CLIENT CEPC Profit Center Master Data Table MANDT
BAPI1028_12 PKONTO BAPI1028_12 CLIENT SKA1 G/L Account Master (Chart of Accounts) MANDT
BAPI1028_12 PKONTO * SKA1 G/L Account Master (Chart of Accounts) KTOPL
BAPI1028_12 PKONTO BAPI1028_12 PKONTO SKA1 G/L Account Master (Chart of Accounts) SAKNR
BAPI1028_12 PROFIT_CTR BAPI1028_12 CO_AREA CEPC Profit Center Master Data Table KOKRS
BAPI1028_12 PROFIT_CTR BAPI1028_12 PSTNG_DATE CEPC Profit Center Master Data Table DATBI
BAPI1028_12 PROFIT_CTR BAPI1028_12 PROFIT_CTR CEPC Profit Center Master Data Table PRCTR
BAPI1028_12 PROFIT_CTR BAPI1028_12 CLIENT CEPC Profit Center Master Data Table MANDT
BAPI1028_12 SEND_CCTR BAPI1028_12 SEND_CCTR CSKS Cost Center Master Data KOSTL
BAPI1028_12 SEND_CCTR BAPI1028_12 CLIENT CSKS Cost Center Master Data MANDT
BAPI1028_12 SEND_CCTR BAPI1028_12 CO_AREA CSKS Cost Center Master Data KOKRS
BAPI1028_12 SEND_CCTR BAPI1028_12 PSTNG_DATE CSKS Cost Center Master Data DATBI
BAPI1028_12 TRADE_ID BAPI1028_12 TRADE_ID T880 Global Company Data (for KONS Ledger) RCOMP
BAPI1028_12 TRADE_ID BAPI1028_12 CLIENT T880 Global Company Data (for KONS Ledger) MANDT
BAPI1028_12 TR_PART_BA BAPI1028_12 TR_PART_BA TGSB Business Areas GSBER
BAPI1028_12 TR_PART_BA BAPI1028_12 CLIENT TGSB Business Areas MANDT
BAPI1028_12 USERNAME BAPI1028_12 CLIENT USR02 Logon Data (Kernel-Side Use) MANDT
BAPI1028_12 USERNAME BAPI1028_12 USERNAME USR02 Logon Data (Kernel-Side Use) BNAME
BAPI1028_12 VERSION BAPI1028_12 CLIENT T894 FI-SL and FI-LC Versions MANDT
BAPI1028_12 VERSION BAPI1028_12 LEDGER T894 FI-SL and FI-LC Versions RLDNR
BAPI1028_12 VERSION BAPI1028_12 VERSION T894 FI-SL and FI-LC Versions RVERS