ROIU_CA_DRIVER is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for CA Driver This driver drives the entire CA process...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 ROIU_CA_DRIVER 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: P_UPDATE = Final run
Selection Text: P_SA_DT = Sales date
Selection Text: P_R_SEL = Selective Processing Results
Selection Text: P_R_RES = Residue Allocation Results
Selection Text: P_R_PRP = Primary Products Results
Selection Text: P_R_PHS = SPO Phased Allocation Results
Selection Text: P_R_NGL = NGL Allocation Results
Selection Text: P_R_FPF = FPF Phased Allocation Results
Selection Text: P_MAJPD = Major Product code
Selection Text: P_JOBNM = Appl. Log name
Selection Text: P_FREQ = Frequency code
Selection Text: P_DN_NO = Network
Title: CA Driver
Text Symbol: E10 = Error occured when calling message header function.
Text Symbol: BL1 = CA Process
Text Symbol: 028 = Func OIUBL01_FG1_CA_ADJUSTMENTS
Text Symbol: 027 = Residue
Text Symbol: 026 = Func OIUCA_RES_ALLOC_BASIS_VL
Text Symbol: 025 = Func OIUCA_RES_RLF_ENTL
Text Symbol: 024 = Func OIUCA_SEL_PROC
Text Symbol: 023 = Func OIUCA_FPF_NGL_LSE_PLNT_SPLIT
Text Symbol: 022 = Func OIUCA_FPF_NGL_ENTL
Text Symbol: 021 = network status.
Text Symbol: 020 = Error updating
Text Symbol: 019 = OIUCA
Text Symbol: 017 = Func OIU_CA_TEMP_TBL_DEL
Text Symbol: 015 = Rpt. ROIU_SB_RES_RPT1
Text Symbol: 014 = ROIU_SB_PRIMARY_PRD_NGL_RPT
Text Symbol: 013 = Rpt. ROIU_CA_CABS750
Text Symbol: 012 = Func OIU_CA_FINAL_PROC
Text Symbol: 011 = Func ROIU_CA_BALANCING
Text Symbol: 010 = Func OIU_CA_SPCL_ENTL
Text Symbol: 009 = Func OIU_CA_NGL_RES_ENTL
Text Symbol: 008 = Func OIU_CA_NGL_RES_ALLOC
Text Symbol: 007 = Func OIU_CA_WTGAS_OIL_OWN_ALLOC
Text Symbol: 006 = Func OIU_CA_MK_REP_OWN_PC
Text Symbol: 005 = Func OIU_CA_DIV_ORD_SALES_ALLOC
Text Symbol: 004 = Func OIU_CA_MAIN_ALLOC_DRIVER
INCLUDE OIU_CA_DRIVER_TOP.
INCLUDE ROIU_CA_SUBROUTINES.
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_E_OIU_BUS_KEY CALL FUNCTION 'ENQUEUE_E_OIU_BUS_KEY' EXPORTING MODE_OIU_CM_LOCK_OBJ = 'E' MANDT = SY-MANDT * OBJECT = 'CA_TAX_LOCK' "Note 1289170 AD OBJECT = 'CA_LOCK' "Note 1289170 AD BUS_KEY = w_bus_key * BUS_KEY2 = * X_OBJECT = ' ' * X_BUS_KEY = ' ' * X_BUS_KEY2 = ' ' * _SCOPE = '1' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.
DEQUEUE_E_OIU_BUS_KEY CALL FUNCTION 'DEQUEUE_E_OIU_BUS_KEY' EXPORTING MODE_OIU_CM_LOCK_OBJ = 'E' MANDT = SY-MANDT * OBJECT = 'CA_TAX_LOCK' "Note 1289170 AD OBJECT = 'CA_LOCK' "Note 1289170 AD BUS_KEY = w_BUS_KEY * BUS_KEY2 = * X_OBJECT = ' ' * X_BUS_KEY = ' ' * X_BUS_KEY2 = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .
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_CA_TEMP_TBL_DEL CALL FUNCTION 'OIU_CA_TEMP_TBL_DEL' EXPORTING i_dn_no = w_network_st-dn_no i_majpd_cd = w_network_st-majpd_cd i_sa_dt = w_network_st-prd_dt i_freq_cd = w_network_st-freq_cd.
OIUBL01_FG1_CA_ADJUSTMENTS CALL FUNCTION 'OIUBL01_FG1_CA_ADJUSTMENTS' EXPORTING I_DN_NO = w_network_st-dn_no I_MAJPD_CD = w_network_st-majpd_cd I_PRD_DT = w_network_st-prd_dt I_FREQ_CD = w_network_st-freq_cd * I_ONLY_UPD_FIN_RPTS = 'X' .
OIU_CA_FINAL_PROC CALL FUNCTION 'OIU_CA_FINAL_PROC' EXPORTING i_dn_no = w_network_st-dn_no i_majpd_cd = w_network_st-majpd_cd i_sa_dt = w_network_st-prd_dt i_freq_cd = w_network_st-freq_cd i_ppn_flg = w_network_st-gen_vl_ppn_fl i_alloc_method = w_network_st-ca_alloc_meth_cd TABLES i_mpvl_tb = w_mpvl_tb CHANGING w_rej_fg = w_network_st-rej_fl w_wrn_fg = w_network_st-wrn_fl.
OIU_CA_TEMP_TBL_DEL CALL FUNCTION 'OIU_CA_TEMP_TBL_DEL' EXPORTING i_dn_no = w_network_st-dn_no i_majpd_cd = w_network_st-majpd_cd i_sa_dt = w_network_st-prd_dt i_freq_cd = w_network_st-freq_cd * IMPORTING * SUCCESS = * ERROR = .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.