SAP Reports / Programs

ROIALB02 SAP ABAP Report - Exchange Loading - Create MM Calloff







ROIALB02 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 ROIALB02 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 ROIALB02. "Basic submit
SUBMIT ROIALB02 AND RETURN. "Return to original report after report execution complete
SUBMIT ROIALB02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Exchange Loading - Create MM Calloff


INCLUDES used within this REPORT ROIALB02

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:

UNIT_CONVERSION_SIMPLE * CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' "SO6K008286 * EXPORTING "SO6K008286 * INPUT = XOIA11-MENGE "SO6K008286 * ROUND_SIGN = 'X' "SO6K008286 * UNIT_IN = XOIA11-MEINS "SO6K008286 * UNIT_OUT = L_EKPO_TAB-MEINS "SO6K008286 * IMPORTING "SO6K008286 * OUTPUT = L_EKET_TAB-MENGE "SO6K008286 * EXCEPTIONS "SO6K008286 * CONVERSION_NOT_FOUND = 01 "SO6K008286 * DIVISION_BY_ZERO = 02 "SO6K008286 * INPUT_INVALID = 03 "SO6K008286 * OVERFLOW = 04 "SO6K008286 * OUTPUT_INVALID = 05 "SO6K008286 * UNITS_MISSING = 06 "SO6K008286 * UNIT_IN_NOT_FOUND = 07 "SO6K008286 * UNIT_OUT_NOT_FOUND = 08. "SO6K008286

MB_UNIT_CONVERSION call function 'MB_UNIT_CONVERSION' "SO6K008286 exporting "SO6K008286 erfme = xoia11-meins "SO6K008286 erfmg = xoia11-menge "SO6K008286 matnr = ekpo-matnr "SO6K008286 importing "SO6K008286 o_menge = l_eket_tab-menge "SO6K008286 exceptions "SO6K008286 conversion_not_found = 1 "SO6K008286 different_dimension = 2 "SO6K008286 division_by_zero = 3 "SO6K008286 overflow = 4 "SO6K008286 t006d_entry_missing = 5 "SO6K008286 t006_entry_missing = 6 "SO6K008286 others = 7. "SO6K008286

MB_UNIT_CONVERSION call function 'MB_UNIT_CONVERSION' "SO6K008286 exporting "SO6K008286 erfme = l_ekpo_tab-meins "SO6K008286 matnr = ekpo-matnr "SO6K008286 menge = l_eket_tab-menge "SO6K008286 importing "SO6K008286 o_erfmg = l_eket_tab-menge "SO6K008286 exceptions "SO6K008286 conversion_not_found = 1 "SO6K008286 different_dimension = 2 "SO6K008286 division_by_zero = 3 "SO6K008286 overflow = 4 "SO6K008286 t006d_entry_missing = 5 "SO6K008286 t006_entry_missing = 6 "SO6K008286 others = 7. "SO6K008286

ME_CREATE_PO call function 'ME_CREATE_PO' exporting * I_BEDAT = SY-DATUM SOHK004011 MMW I_BEDAT = L_BEDAT "SOHK004011 MMW * i_bsart = 'NB' "SO4K004169 RFT I_BSART = L_BSART "SO4K004169 RFT i_bukrs = ekko-bukrs i_ekgrp = ekko-ekgrp i_ekorg = ekko-ekorg i_konnr = ekko-ebeln i_lifnr = ekko-lifnr i_new_item_number = 'X' i_no_commit = 'X' importing e_ebeln = g_bstnr e_ebelp = g_bstpo tables xeket = l_eket_tab xekkn = l_ekkn_tab xekpo = l_ekpo_tab xemsg = l_emsg_tab exceptions error_header = 2 no_items = 4. "S04k000371

MESSAGE_TEXT_BUILD call function 'MESSAGE_TEXT_BUILD' exporting msgid = l_emsg_tab-msgid msgnr = l_emsg_tab-msgty * MSGV1 = ' ' * MSGV2 = ' ' * MSGV3 = ' ' * MSGV4 = ' ' importing message_text_output = l_emsg_tab-msgtx exceptions others = 1.

MESSAGE_TEXT_BUILD call function 'MESSAGE_TEXT_BUILD' exporting msgid = l_emsg_tab1-msgid msgnr = l_emsg_tab1-msgty * MSGV1 = ' ' * MSGV2 = ' ' * MSGV3 = ' ' * MSGV4 = ' ' importing message_text_output = l_emsg_tab1-msgtx exceptions others = 1.

OIA_EXG_ASSIGNMENT_CHANGE call function 'OIA_EXG_ASSIGNMENT_CHANGE' in update task exporting i_oia06h = l_oia06h tables i_xoia11 = l_oia11_tab i_xoia06 = l_oia06_tab exceptions others = 1.



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 ROIALB02 or its description.