CACS_PRC_FLAT_RATE_REV is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use report
If you would like to execute this report or see the full code listing simply enter CACS_PRC_FLAT_RATE_REV into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
CACSFR2 - Reset Flat Rate
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_TIME_C = Edit Time Control
Selection Text: PA_RUNID = D .
Selection Text: PA_SIMU = D .
Selection Text: SO_CTRT = D .
Selection Text: SO_REM = D .
Title: Reset Flat Rate
Text Symbol: B01 = Determine Time-Spots
Text Symbol: B02 = Log
Text Symbol: F01 = Selection
Text Symbol: F02 = Processing Mode
Text Symbol: F03 = Time Control
Text Symbol: F05 = Run ID
INCLUDE CACS_PRC_FLAT_RATE_REV_F01.
No SAP DATABASE tables are accessed within this REPORT code!
CACS_DETERMINE_PROPER_APPL CALL FUNCTION 'CACS_DETERMINE_PROPER_APPL' EXPORTING i_safety = abap_true IMPORTING e_appl = pa_appl EXCEPTIONS no_appl = 1 OTHERS = 2.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = space fieldname = space searchhelp = 'CACS_RUNID_FR' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'PA_RUNID'.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = space fieldname = space searchhelp = 'CACS_REM_FORM_FLAT_RATE' shlpparam = 'REMUNERATION' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'SO_REM-LOW'.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = space fieldname = space searchhelp = 'CACS_REM_FORM_FLAT_RATE' shlpparam = 'REMUNERATION' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'SO_REM-HIGH'.
CACS_PR_UI_0100_TOGGLE_VISIBLE CALL FUNCTION 'CACS_PR_UI_0100_TOGGLE_VISIBLE'.
CACS_PR_UI_2000_SHOW_RESULTS CALL FUNCTION 'CACS_PR_UI_2000_SHOW_RESULTS' EXPORTING id_appl = pa_appl id_prc_type = cl_cacs_prc_const=>gc_prctype_flat_rate id_prc_meth = cl_cacs_prc_const=>gc_prcmeth_reverse id_runid = gd_runid id_key_date = gd_keydate id_busitime = pa_busi id_techtime = pa_tech id_loghandle = ld_loghandle ib_simulation = pa_simu ir_result = gr_result.
CACS_PR_UI_0100_TOGGLE_VISIBLE call function 'CACS_PR_UI_0100_TOGGLE_VISIBLE' exporting ib_visible = p_time_c.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.