SAP Reports / Programs

ROIH_SPLIT_ST SAP ABAP Report - batch job template for Brazil tax re-posting (ST refinery) M.Pollak







ROIH_SPLIT_ST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter ROIH_SPLIT_ST into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT ROIH_SPLIT_ST. "Basic submit
SUBMIT ROIH_SPLIT_ST AND RETURN. "Return to original report after report execution complete
SUBMIT ROIH_SPLIT_ST VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: S_SIMUL = Simulate (no post)
Selection Text: NF_TYPE = NF Types
Selection Text: NF_NFNUM = NF numbers
Selection Text: NF_DATE = Notas fiscais posted between
Selection Text: NFTYPESP = Use reference NF for NF Types
Selection Text: NFDOCNUM = NF document numbers
Selection Text: NFBRANCH = Branches
Title: batch job template for Brazil tax re-posting (ST refinery) M.Pollak
Text Symbol: 031 = Purchase
Text Symbol: 032 = GR consignment
Text Symbol: 033 = GR future delivery
Text Symbol: 034 = ICMS Provision:
Text Symbol: 035 = ICMS Credit:
Text Symbol: 036 = Vendor:
Text Symbol: 037 = Sub. Trib. Type:
Text Symbol: 038 = Total ICMS:
Text Symbol: 040 = Incoming Transfer
Text Symbol: 041 = Purchase source not relevant for calculations
Text Symbol: 042 = Complement:
Text Symbol: 043 = ICMS ST In Transit:
Text Symbol: 044 = ICMS ST Transfer Incoming:
Text Symbol: 045 = Branch:
Text Symbol: 046 = Supplying Plant
Text Symbol: 047 = Accounting doc. number
Text Symbol: 048 = Total Documents processed:
Text Symbol: 049 = Docs posted successfully:
Text Symbol: 050 = Docs not posted or posted w/ errors:
Text Symbol: 051 = NF w/ problems:
Text Symbol: E01 = No Nota Fiscal with refinery S.T. was found
Text Symbol: E02 = Split accounting document already exist with references
Text Symbol: 001 = Doc. NF number:
Text Symbol: 002 = Item NF:
Text Symbol: 003 = Customer:
Text Symbol: 004 = Paid to refinery:
Text Symbol: 005 = Distribution amount:
Text Symbol: 006 = Reselling/Customer Amount:
Text Symbol: 007 = Reimbursement:
Text Symbol: 008 = Product:





Text Symbol: 009 = Quantity:
Text Symbol: 010 = NF Document date:
Text Symbol: 011 = From
Text Symbol: 012 = to
Text Symbol: 013 = Page:
Text Symbol: 014 = Intrastate Purchase
Text Symbol: 015 = Interstate Purchase
Text Symbol: 016 = Sale
Text Symbol: 017 = Transfer
Text Symbol: 018 = intrastate
Text Symbol: 019 = interstate
Text Symbol: 020 = to
Text Symbol: 021 = Passed on ICMS:
Text Symbol: 022 = Destination plant:
Text Symbol: 023 = Gen. via Split Batch job
Text Symbol: 024 = Date:
Text Symbol: 025 = Export
Text Symbol: 026 = E No accounting determination for the key
Text Symbol: 027 = NF Number:
Text Symbol: 028 = Base of ICMS paid to the refinery:
Text Symbol: 029 = Base of ICMS added to the price:
Text Symbol: 030 = ICMS added to the price:


INCLUDES used within this REPORT ROIH_SPLIT_ST

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

J_1B_PLANT_READ CALL FUNCTION 'J_1B_PLANT_READ' EXPORTING plant = nf_item-werks IMPORTING plant_record = plant_record.

J_1B_PLANT_READ * call function 'J_1B_PLANT_READ' * exporting * plant = nf_header-parid+4(4) * importing * plant_record = plant_record2.

BAPI_ACC_GL_POSTING_POST CALL FUNCTION 'BAPI_ACC_GL_POSTING_POST' EXPORTING documentheader = documentheader IMPORTING obj_type = obj_type obj_key = obj_key obj_sys = obj_sys TABLES accountgl = accountgl currencyamount = currencyamount return = return extension1 = extension1."Contains tax code and tax



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name ROIH_SPLIT_ST or its description.