SAP Reports / Programs | Application Platform | Pricing & Condition Technique | Pricing(AP-PRC-PR) SAP AP

PRC_SCENARIO_TEST SAP ABAP Report - Test Program For Pricing API







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


Text pool values


Selection Text: P_0STP = show cond. for header in step
Selection Text: P_1STP = show cond. for item1 in step
Selection Text: P_2STP = show cond. for item2 in step
Selection Text: P_3STP = show cond. for item3 in step
Selection Text: P_4STP = show cond. for item4 in step
Selection Text: P_BCKVMC = delay ms for background tasks
Selection Text: P_BPGUID = use business partner GUID
Selection Text: P_IPCVMC = number of calls
Selection Text: P_NSTVMC = number of nonstatistical items
Selection Text: P_PROCED = pricing procedure
Selection Text: P_STAT = statistics of JAVA calls
Selection Text: P_STTVMC = number of statistical items
Selection Text: P_WAIVMC = wait time seconds for dialog
Selection Text: P_WRTCND = write conditions to screen
Title: Test Program For Pricing API
Text Symbol: 010 = Missing authority (S_DEVELOP for object type DEBUG)
Text Symbol: 100 = call VMC IPC
Text Symbol: 300 = Display Parameters


INCLUDES used within this REPORT PRC_SCENARIO_TEST

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:

DDIF_TABL_GET call function 'DDIF_TABL_GET' exporting name = 'T685' * STATE = 'A' * LANGU = ' ' importing * GOTSTATE = dd02v_wa = ls_dd02v_wa * DD09L_WA = * TABLES * DD03P_TAB = * DD05M_TAB = * DD08V_TAB = * DD12V_TAB = * DD17V_TAB = * DD35V_TAB = * DD36M_TAB = exceptions others = 1.

SUSR_CHECK_DEBUG_ABILITY call function 'SUSR_CHECK_DEBUG_ABILITY' exceptions user_not_authorized = 1 others = 2.

PRC_TEST_PREPARATION call function 'PRC_TEST_PREPARATION' exporting iv_output_mode = 'A' iv_partner_guid = p_bpguid importing es_testdata = gs_testdata.

PRC_TEST_SCENARIO1 call function 'PRC_TEST_SCENARIO1' exporting iv_procedure_name = p_proced is_testdata = gs_testdata iv_wait_time = p_waivmc iv_statistical_items = p_sttvmc iv_non_stat_items = p_nstvmc iv_sim_events = lv_sim_events iv_write_statistics = p_stat iv_write_conditions = p_wrtcnd iv_step_for_header = p_0stp iv_step_for_item1 = p_1stp iv_step_for_item2 = p_2stp iv_step_for_item3 = p_3stp iv_step_for_item4 = p_4stp iv_output_mode = 'A' importing ev_runtime = gv_runtime ev_checks_successful = gv_checks_successful ev_checks_faulty = gv_checks_faulty.

PRC_TEST_PREPARATION call function 'PRC_TEST_PREPARATION' importing es_testdata = gs_testdata.

PRC_TEST_SCENARIO1 call function 'PRC_TEST_SCENARIO1' exporting is_testdata = gs_testdata iv_output_mode = 'B'.

PRC_TEST_SCENARIO1 call function 'PRC_TEST_SCENARIO1' starting new task gv_taskname performing evaluate_background_result on end of task exporting is_testdata = gs_testdata iv_delay = gv_delay iv_output_mode = 'A' exceptions others = 0.



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