PRC_PERFORMANCE_TEST is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name PRC_PERFORMANCE_TEST into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
PRC_TEST
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'PRC_PERFORMANCE_TEST' "Testmodule for Performance
EXPORTING
* iv_procedure_name = " prct_pric_proc Pricing Procedure
* is_testdata = " prct_testdata master data for test scenarios
* iv_delay = " prct_runtime Laufzeit eines Aufrufes in Millisekunden
* iv_wait_time = " num1 Numeric 1-character
* iv_statistical_items = " int2 2 byte integer (signed)
* iv_non_stat_items = " int2 2 byte integer (signed)
* iv_sim_events = " seoclsname Object Type Name
* iv_write_statistics = " xfeld Checkbox
* iv_write_conditions = " xfeld Checkbox
* iv_step_for_header = " numc2 Two digit number
* iv_step_for_item1 = " numc2 Natural number
* iv_step_for_item2 = " numc2 Natural number
* iv_step_for_item3 = " numc2 Natural number
* iv_step_for_item4 = " numc2 Natural number
* iv_step_for_item5 = " numc2 Natural number
iv_output_mode = " char1 Single-Character Flag
IMPORTING
ev_runtime = " prct_runtime Laufzeit eines Aufrufes in Millisekunden
ev_checks_successful = " int4 Natural number
ev_checks_faulty = " int4 Natural number
. " PRC_PERFORMANCE_TEST
The ABAP code below is a full code listing to execute function module PRC_PERFORMANCE_TEST including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_ev_runtime | TYPE PRCT_RUNTIME , |
| ld_ev_checks_successful | TYPE INT4 , |
| ld_ev_checks_faulty | TYPE INT4 . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_ev_runtime | TYPE PRCT_RUNTIME , |
| ld_iv_procedure_name | TYPE PRCT_PRIC_PROC , |
| ld_ev_checks_successful | TYPE INT4 , |
| ld_is_testdata | TYPE PRCT_TESTDATA , |
| ld_ev_checks_faulty | TYPE INT4 , |
| ld_iv_delay | TYPE PRCT_RUNTIME , |
| ld_iv_wait_time | TYPE NUM1 , |
| ld_iv_statistical_items | TYPE INT2 , |
| ld_iv_non_stat_items | TYPE INT2 , |
| ld_iv_sim_events | TYPE SEOCLSNAME , |
| ld_iv_write_statistics | TYPE XFELD , |
| ld_iv_write_conditions | TYPE XFELD , |
| ld_iv_step_for_header | TYPE NUMC2 , |
| ld_iv_step_for_item1 | TYPE NUMC2 , |
| ld_iv_step_for_item2 | TYPE NUMC2 , |
| ld_iv_step_for_item3 | TYPE NUMC2 , |
| ld_iv_step_for_item4 | TYPE NUMC2 , |
| ld_iv_step_for_item5 | TYPE NUMC2 , |
| ld_iv_output_mode | TYPE CHAR1 . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name PRC_PERFORMANCE_TEST or its description.
PRC_PERFORMANCE_TEST - Testmodule for Performance PRC_PD_UPDATE_MODE - liefert Info zurück, ob gesichert werden muss PRC_PD_UPDATE - Aktualisieren des gesamten Preisfindungsbeleges PRC_PD_SET_WRITE_MODE - Ändern des Schreib-/Lese-Modus PRC_PD_SAVE_MULTI - Sichern eines Preisfindungsbeleges PRC_PD_SAVE - Sichern eines Preisfindungsbeleges