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

ROIU_VA_DRIVER SAP ABAP Report - VA: Volume Allocation (the main program







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


Text pool values


Title: VA: Volume Allocation (the main program
Text Symbol: 001 = Func
Text Symbol: 002 = Rpt.
Text Symbol: 023 = MP Volume Source
Text Symbol: 024 = WC Disposition
Text Symbol: 026 = Theoretical Allocation Trace Report
Text Symbol: A01 = Msg. see "Display Message Log"
Text Symbol: E10 = Can not create LOG header
Text Symbol: E20 = process functions missing from table OIU_CM_FUPRO
Text Symbol: E30 = Could not save messages to LOG


INCLUDES used within this REPORT ROIU_VA_DRIVER

ROIU_VA_CONSTANTS,
ROIU_VA_MESSAGES.


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:

OIU_STORE_MESSAGE_HEADER CALL FUNCTION 'OIU_STORE_MESSAGE_HEADER' EXPORTING i_appl = c_sub_sys_va i_ext_name = w_log_name I_DOC_ID = 'OIU_ERROR_HDR' TABLES T_PARAMS = W_PARMS_TB EXCEPTIONS INVALID_APPL = 1 EXT_NAME_MISSING = 2 OTHERS = 3.

OIU_DN_EXPAND CALL FUNCTION 'OIU_DN_EXPAND' EXPORTING i_dn = p_dn_no i_eff_dt = p_prod_d i_starting_mp = space IMPORTING e_ref_no = w_request_tb-nwk_ref_no EXCEPTIONS dn_not_found = 1 no_fdn_found = 2 many_fdn_found = 3 loop_error = 4 OTHERS = 5.

OIU_VA_PROCESS_REQUEST_GROUP CALL FUNCTION 'OIU_VA_PROCESS_REQUEST_GROUP' TABLES t_request = w_request_tb " Request t_dnap = w_network_profile_tb " Network Profile t_dnvc = w_dnvc_tb " Valid Components EXCEPTIONS fatal_error = 1 OTHERS = 2.

RS_FUNCTION_ACTIVE_CHECK CALL FUNCTION 'RS_FUNCTION_ACTIVE_CHECK' EXPORTING funcname = w_fupro_tb-function IMPORTING ACTIVE = w_ACTIVE EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

OIUPR_WC_REALLOC CALL FUNCTION 'OIUPR_WC_REALLOC' TABLES T_WC_REALLOC = w_wc_realloc_tb EXCEPTIONS LIST_ERROR = 1 FATAL_ERROR = 2 OTHERS = 3.

OIUPR_WC_REALLOC CALL FUNCTION 'OIUPR_WC_REALLOC' "1148585 MS TABLES "1148585 MS T_WC_REALLOC = w_wc_realloc_tb "1148585 MS EXCEPTIONS "1148585 MS LIST_ERROR = 1 "1148585 MS FATAL_ERROR = 2 "1148585 MS OTHERS = 3. "1148585 MS

OIU_STORE_MESSAGE_WRITE CALL FUNCTION 'OIU_STORE_MESSAGE_WRITE' * EXPORTING * I_WRITE_HDR = * IMPORTING * E_LOGNUMBER = EXCEPTIONS NO_HEADER = 1 NO_MESSAGES = 2 APPL_LOG_ERROR = 3 OTHERS = 4.

OIU_VA_UPDATE_ALLOC_STATUS CALL FUNCTION 'OIU_VA_UPDATE_ALLOC_STATUS' EXPORTING i_alloc_result_cd = w_allc_rslt_cd TABLES t_request = w_request_tb EXCEPTIONS FATAL_ERROR = 1 OTHERS = 2.

OIU_STORE_MESSAGE CALL FUNCTION 'OIU_STORE_MESSAGE' EXPORTING i_msg = p_msg_s ** I_DOC_ID = 'OIU_ERROR_MSG' I_EXITP = 'SAPLOIU_VA_DETAILS' I_EXITF = 'DISPLAY_DETAILS' TABLES T_PARAMS = p_parms_tb EXCEPTIONS NO_HEADER = 0 APPL_LOG_ERROR = 0 DOC_EXIT_ERROR = 0 OTHERS = 0.

OIU_VA_FILL_ALLOC_TRACE CALL FUNCTION 'OIU_VA_FILL_ALLOC_TRACE' TABLES t_twcav = w_twcav_tb t_twctv = w_twctv_tb.

OIU_VA_DELETE_TWCDVH CALL FUNCTION 'OIU_VA_DELETE_TWCDVH' EXPORTING i_dn_no = w_request_tb-dn_no i_freq_cd = w_request_tb-freq_cd i_prd_dt = w_request_tb-prd_dt i_majpd_cd = w_request_tb-majpd_cd.



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