RGUGLS12 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program RGUGLS12 is a sample program for outputting actual line items for summary table GLT1...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RGUGLS12 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: F_RDOCCT = D Document Type
Selection Text: F_RDOCLN = D Item
Selection Text: F_RDOCNR = D Document number
Selection Text: F_RRYEAR = D Fiscal year
Selection Text: P_LIVAR = D List variant
Selection Text: S_BUKRS = D Company code
Selection Text: S_DRCRK = D Debit/credit ind.
Selection Text: S_KOKRS = D Controlling area
Selection Text: S_OCLNT = D Original client
Selection Text: S_POPER = D Posting period
Selection Text: S_RACCT = D Account number
Selection Text: S_RACVT = D Activity type
Selection Text: S_RBUSA = D Business area
Selection Text: S_RCNTR = D Cost center
Selection Text: S_RLDNR = D Ledger
Selection Text: S_RMVCT = D Transaction type
Selection Text: S_RRCTY = D Record type
Selection Text: S_RTCUR = D Transaction currency
Selection Text: S_RUNIT = D Base unit of measure
Selection Text: S_RVERS = D Version
Selection Text: S_RYEAR = D Fiscal year
Selection Text: S_UMSKZ = D Special G/L indicator
Selection Text: F_DOCNR = D Document number
Selection Text: F_DOCLN = D Line item
Selection Text: F_DOCCT = D Document Type
Selection Text: F_AWTYP = Document origin
Selection Text: F_ACTIV = D Business transaction
Selection Text: DTINMSSG = Data sources
Selection Text: ARCHMSSG = Selected archives
Title: Actual Line Items for Table GLT1
Text Symbol: 001 = No line items were selected based on the specified criteria
Text Symbol: 002 = Authorization check
Text Symbol: 003 = Number of rejected records:
Text Symbol: 004 = Sum total
Text Symbol: B01 = List variant
Text Symbol: B02 = Selection conditions
Text Symbol: B03 = FI-SL document
Text Symbol: B04 = Reference document
INCLUDE DTINPSEL.
No SAP DATABASE tables are accessed within this REPORT code!
G_RW_SET_PFSTATUS CALL FUNCTION 'G_RW_SET_PFSTATUS' EXPORTING PF_STATUS = PFSTATUS TABLES EXCLUDED_FUNCTIONS = EXCLUDED.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.