SAP Reports / Programs | Production and Revenue Accounting | Industry Solution Oil | Production and Revenue Accounting(IS-OIL-PRA) SAP IS

ROIUX2_TRANS_LOG SAP ABAP Report - Program to migrate master from old log tables







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


Text pool values


Title: Program to migrate master from old log tables
Text Symbol: 001 = RPT
Text Symbol: 002 = RSG
Text Symbol: 003 = LNK
Text Symbol: 004 = PUID
Text Symbol: 007 = There is no log data to convert for this combination of parameters you entered


INCLUDES used within this REPORT ROIUX2_TRANS_LOG

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:

ENQUEUE_E_OIUX1_RPT_LOG CALL FUNCTION 'ENQUEUE_E_OIUX1_RPT_LOG' EXPORTING mode_oiux1_rpt_log = 'X' mandt = sy-mandt agency = agency ogind = ogind EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_OIUX1_RPT_LOG CALL FUNCTION 'DEQUEUE_E_OIUX1_RPT_LOG' EXPORTING mode_oiux1_rpt_log = 'X' mandt = sy-mandt agency = agency ogind = ogind.

OIUX1_GET_RPT_OLD CALL FUNCTION 'OIUX1_GET_RPT_OLD' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES rpt = lt_rpt EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

OIUX1_GET_RPT CALL FUNCTION 'OIUX1_GET_RPT' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES rpt = lt_pre_rpt EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

OIUX1_UPDATE_RPT CALL FUNCTION 'OIUX1_UPDATE_RPT' EXPORTING exec_param = ls_ep eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES rpt = lt_rpt_u EXCEPTIONS future_log_exists = 1 checking_error = 2 db_error = 3 invalid_request = 4 log_error = 5 OTHERS = 6.

OIUX1_GET_RPT CALL FUNCTION 'OIUX1_GET_RPT' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES rpt = lt_new_rpt EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

OIUX1_GET_RSG_OLD CALL FUNCTION 'OIUX1_GET_RSG_OLD' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES rsg = lt_rsg EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

OIUX1_GET_RSG CALL FUNCTION 'OIUX1_GET_RSG' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES rsg = lt_pre_rsg EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

OIUX1_UPDATE_RSG CALL FUNCTION 'OIUX1_UPDATE_RSG' EXPORTING exec_param = ls_ep eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES rsg = lt_rsg_u EXCEPTIONS future_log_exists = 1 checking_error = 2 db_error = 3 invalid_request = 4 log_error = 5 OTHERS = 6.

OIUX1_GET_RSG CALL FUNCTION 'OIUX1_GET_RSG' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES rsg = lt_new_rsg EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

ENQUEUE_E_OIUX2_RSG_LOG CALL FUNCTION 'ENQUEUE_E_OIUX2_RSG_LOG' EXPORTING mode_oiux2_rsg_log = 'X' mandt = sy-mandt agency = agency ogind = ogind EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_OIUX2_RSG_LOG CALL FUNCTION 'DEQUEUE_E_OIUX2_RSG_LOG' EXPORTING mode_oiux2_rsg_log = 'X' mandt = sy-mandt agency = agency ogind = ogind.

OIUX1_GET_LNK_OLD CALL FUNCTION 'OIUX1_GET_LNK_OLD' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES lnk = lt_lnk EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

OIUX1_GET_LNK CALL FUNCTION 'OIUX1_GET_LNK' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES lnk = lt_pre_lnk EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

OIUX1_UPDATE_LNK CALL FUNCTION 'OIUX1_UPDATE_LNK' EXPORTING exec_param = ls_ep eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES lnk = lt_lnk_u EXCEPTIONS future_log_exists = 1 checking_error = 2 db_error = 3 invalid_request = 4 log_error = 5 OTHERS = 6.

OIUX1_GET_LNK CALL FUNCTION 'OIUX1_GET_LNK' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES lnk = lt_new_lnk EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

ENQUEUE_E_OIUX2_LNK_LOG CALL FUNCTION 'ENQUEUE_E_OIUX2_LNK_LOG' EXPORTING mode_oiux2_lnk_log = 'X' mandt = sy-mandt rsg = rsg agency = agency ogind = ogind EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_OIUX2_LNK_LOG CALL FUNCTION 'DEQUEUE_E_OIUX2_LNK_LOG' EXPORTING mode_oiux2_lnk_log = 'X' mandt = sy-mandt rsg = rsg agency = agency ogind = ogind.

OIUX1_GET_PUID_OLD





CALL FUNCTION 'OIUX1_GET_PUID_OLD' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES puid = lt_puid EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

OIUX1_GET_PUID CALL FUNCTION 'OIUX1_GET_PUID' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES puid = lt_pre_puid EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

OIUX1_UPDATE_PUID CALL FUNCTION 'OIUX1_UPDATE_PUID' EXPORTING exec_param = ls_ep eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES puid = lt_puid_u EXCEPTIONS future_log_exists = 1 checking_error = 2 db_error = 3 invalid_request = 4 log_error = 5 OTHERS = 6.

OIUX1_GET_PUID CALL FUNCTION 'OIUX1_GET_PUID' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES puid = lt_new_puid EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

ENQUEUE_E_OIUX2_PUIDLOG CALL FUNCTION 'ENQUEUE_E_OIUX2_PUIDLOG' EXPORTING mode_oiux2_puidlog = 'X' mandt = sy-mandt rsg = rsg agency = agency ogind = ogind EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_OIUX2_PUIDLOG CALL FUNCTION 'DEQUEUE_E_OIUX2_PUIDLOG' EXPORTING mode_oiux2_puidlog = 'X' mandt = sy-mandt rsg = rsg agency = agency ogind = ogind.

OIUX1_GET_RE_OLD CALL FUNCTION 'OIUX1_GET_RE_OLD' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES re = lt_re EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

OIUX1_GET_RE CALL FUNCTION 'OIUX1_GET_RE' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES re = lt_pre_re EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

OIUX1_UPDATE_RE CALL FUNCTION 'OIUX1_UPDATE_RE' EXPORTING exec_param = ls_ep eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES re = lt_re_u EXCEPTIONS future_log_exists = 1 checking_error = 2 db_error = 3 invalid_request = 4 log_error = 5 OTHERS = 6.

OIUX1_GET_RE CALL FUNCTION 'OIUX1_GET_RE' EXPORTING exec_param = ls_ep * RPT_KEY = eff_yyyymm = lt_yyyymm-sales_yyyymm TABLES re = lt_new_re EXCEPTIONS duplicate_insert = 1 invalid_delete = 2 invalid_update = 3 OTHERS = 4 .

ENQUEUE_E_OIUX2_RE_LOG CALL FUNCTION 'ENQUEUE_E_OIUX2_RE_LOG' EXPORTING mode_oiux2_re_log = 'X' mandt = sy-mandt rsg = rsg agency = agency ogind = ogind EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_OIUX2_RE_LOG CALL FUNCTION 'DEQUEUE_E_OIUX2_RE_LOG' EXPORTING mode_oiux2_re_log = 'X' mandt = sy-mandt rsg = rsg agency = agency.



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