BAPI1028_12 SAP (Transfer structure object 1028: GL GetDocItems) Structure details

Dictionary Type: Structure
Description: Transfer structure object 1028: GL GetDocItems




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




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

BAPI1028_12 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 1028: GL GetDocItems" 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_BAPI1028_12 TYPE BAPI1028_12.

The BAPI1028_12 table consists of various fields, each holding specific information or linking keys about Transfer structure object 1028: GL GetDocItems data available in SAP. These include CLIENT (Client), FISC_YEAR (Fiscal Year), AC_DOC_NO (Accounting Document Number), LINE_ITEM (Six-Character Posting Item for Ledger).. 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 BAPI1028_12 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
NOLines in parameter BAPI_LINEINT410INT4
CLIENTClient MANDTCLNT3T000MANDT
FISC_YEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
AC_DOC_NOAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
LINE_ITEMSix-Character Posting Item for Ledger DOCLN6CHAR6DOCLN6
TYPEDocument Type DOCCTCHAR1DOCCTGCT
DB_CR_INDDebit/Credit Indicator SHKZGCHAR1SHKZG
PERIODPosting period POPERNUMC3POPERPOPR
LEDGERLedger RLDNRCHAR2T881ALPHARLDNRGLNH_T881
COMP_CODECompany Code BUKRSCHAR4T001BUKRSBUKC_T001
REC_TYPERecord Type RRCTYCHAR1RRCTY
VERSIONVersion RVERSCHAR3T894ALPHARVERSGVS
ACCOUNTAccount Number RACCTCHAR10SKA1ALPHASAKNRACC
COSTCENTERCost Center KOSTLCHAR10CSKSALPHAKOSTLKOS
PROFIT_CTRProfit Center PRCTRCHAR10CEPCALPHAPRCTRPRCPRCTR_EMPTY
FUNC_AREAFunctional Area FKBER_SHORTCHAR4FKBER_SHORTFBE
BUS_AREABusiness Area GSBERCHAR4TGSBGSBERGSB
CO_AREAControlling Area KOKRSCHAR4TKA01CACCDCAC
PKONTOPartner account number SACCTCHAR10SKA1ALPHASAKNRACC
SEND_CCTRSender cost center SKOSTCHAR10CSKSALPHAKOSTLKSK
PART_PRCTRPartner Profit Center PPRCTRCHAR10CEPCALPHAPRCTRPPC
PART_AREAFunctional Area FKBER_SHORTCHAR4FKBER_SHORTFBE
TR_PART_BATrading partner's business area PARGBCHAR4TGSBGSBERGSB
TRADE_IDCompany ID of trading partner RASSCCHAR6T880ALPHARCOMPPGS
BUS_ACTBusiness Transaction GLVORCHAR4CHAR4
CS_TRANS_TTransaction Type RMVCTCHAR3Assigned to domainRMVCT
LOG_SYSTEMLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
TCURRValue in transaction currency BAPITCURDEC23(4) BAPICURR
CURRENCYCurrency Key RTCURCUKY5Assigned to domainWAERSFWS
LCURRValue in second currency BAPILCURDEC23(4) BAPICURR
CURRENCY_1Currency key of the local currency LCURRCUKY5TCURCWAERSGLC
GCURRValue in third currency BAPIGCURDEC23(4) BAPICURR
CURRENCY_2Currency key of the ledger currency GCURRCUKY5Assigned to domainWAERSFWS
OCURRValue in a different currency BAPIOCURDEC23(4) BAPICURR
CURRENCY_3Old currency key OCURRCUKY5Assigned to domainWAERS
GTYQuantity QUAN1_12QUAN23(3) MENGV12
UNITUnit of measure RUNITUNIT3CUNITEINHEIT
ITEM_TEXTItem Text SGTXTCHAR50TEXT50
DOC_TYPEDocument Type for General Ledger Accounting in ERP DOCTY_FLEXCHAR2T003BLARTBAR
PSTNG_DATEPosting Date in the Document BUDATDATS8DATUM
VALUE_DATEValue Date for Currency Translation WSDATDATS8DATUMWSD
REF_AC_DOC_NOAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
REF_FISC_YEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
REF_ITEMSix-figure number of line item BUZEI6NUMC6BUZEI6BUZ
REF_TYPEDocument Type DOCCTCHAR1DOCCTGCT
REF_BUS_ACTBusiness Transaction GLVORCHAR4CHAR4
ENTRY_DATEDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
ENTRY_TIMETime of Entry CPUTMTIMS6UZEIT
USERNAMEUser name USNAMCHAR12USR02XUBNAMEUSR
OBJ_TYPEReference Transaction AWTYPCHAR5TTYPAWTYP
REF_ORG_UNReference Organizational Units AWORGCHAR10AWORG
FUNC_AREA_LONGFunctional Area FKBERCHAR16Assigned to domainFKBERFBE

Key field Non-key field



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

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

How to access SAP table BAPI1028_12

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