CPE_TEST_FORMULA_ASSEMBLY 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 CPE_TEST_FORMULA_ASSEMBLY into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CPE_TEST_FORMULA_ASSEMBLY
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'CPE_TEST_FORMULA_ASSEMBLY' "CPE: Ttest Formula Assembly
EXPORTING
iv_write_details = 'X' " char1 write the details of the results
iv_log_priority = '5' " cpet_log_priority CPE - Priority of Log Entry
* iv_run_test1 = 'X' " char1 Single-Character Flag
* iv_run_test2 = 'X' " char1 Single-Character Flag
* iv_run_test3 = 'X' " char1 Single-Character Flag
* iv_run_test4 = 'X' " char1 Single-Character Flag
* iv_run_test5 = 'X' " char1 Single-Character Flag
* iv_run_test6 = 'X' " char1 Single-Character Flag
* iv_run_test7 = 'X' " char1 Single-Character Flag
* iv_run_test8 = 'X' " char1 Single-Character Flag
* iv_run_test9 = 'X' " char1 Single-Character Flag
* iv_run_test10 = 'X' " char1 Single-Character Flag
* iv_run_test11 = 'X' " char1 Single-Character Flag
* iv_run_test12 = 'X' " char1 Single-Character Flag
IMPORTING
ev_test_error_occurred = " char1 Single-Character Flag
ev_rc_test_all = " char16 Field of length 16
ev_rc_test1 = " char16 Field of length 16
ev_rc_test2 = " char16 Field of length 16
ev_rc_test3 = " char16 Field of length 16
ev_rc_test4 = " char16 Field of length 16
ev_rc_test5 = " char16 Field of length 16
ev_rc_test6 = " char16 Field of length 16
ev_rc_test7 = " char16 Field of length 16
ev_rc_test8 = " char16 Field of length 16
ev_rc_test9 = " char16 Field of length 16
ev_rc_test10 = " char16 Field of length 16
ev_rc_test11 = " char16 Field of length 16
ev_rc_test12 = " char16 Field of length 16
. " CPE_TEST_FORMULA_ASSEMBLY
The ABAP code below is a full code listing to execute function module CPE_TEST_FORMULA_ASSEMBLY 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_test_error_occurred | TYPE CHAR1 , |
| ld_ev_rc_test_all | TYPE CHAR16 , |
| ld_ev_rc_test1 | TYPE CHAR16 , |
| ld_ev_rc_test2 | TYPE CHAR16 , |
| ld_ev_rc_test3 | TYPE CHAR16 , |
| ld_ev_rc_test4 | TYPE CHAR16 , |
| ld_ev_rc_test5 | TYPE CHAR16 , |
| ld_ev_rc_test6 | TYPE CHAR16 , |
| ld_ev_rc_test7 | TYPE CHAR16 , |
| ld_ev_rc_test8 | TYPE CHAR16 , |
| ld_ev_rc_test9 | TYPE CHAR16 , |
| ld_ev_rc_test10 | TYPE CHAR16 , |
| ld_ev_rc_test11 | TYPE CHAR16 , |
| ld_ev_rc_test12 | TYPE CHAR16 . |
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_test_error_occurred | TYPE CHAR1 , |
| ld_iv_write_details | TYPE CHAR1 , |
| ld_ev_rc_test_all | TYPE CHAR16 , |
| ld_iv_log_priority | TYPE CPET_LOG_PRIORITY , |
| ld_ev_rc_test1 | TYPE CHAR16 , |
| ld_iv_run_test1 | TYPE CHAR1 , |
| ld_ev_rc_test2 | TYPE CHAR16 , |
| ld_iv_run_test2 | TYPE CHAR1 , |
| ld_ev_rc_test3 | TYPE CHAR16 , |
| ld_iv_run_test3 | TYPE CHAR1 , |
| ld_ev_rc_test4 | TYPE CHAR16 , |
| ld_iv_run_test4 | TYPE CHAR1 , |
| ld_ev_rc_test5 | TYPE CHAR16 , |
| ld_iv_run_test5 | TYPE CHAR1 , |
| ld_ev_rc_test6 | TYPE CHAR16 , |
| ld_iv_run_test6 | TYPE CHAR1 , |
| ld_ev_rc_test7 | TYPE CHAR16 , |
| ld_iv_run_test7 | TYPE CHAR1 , |
| ld_ev_rc_test8 | TYPE CHAR16 , |
| ld_iv_run_test8 | TYPE CHAR1 , |
| ld_iv_run_test9 | TYPE CHAR1 , |
| ld_ev_rc_test9 | TYPE CHAR16 , |
| ld_iv_run_test10 | TYPE CHAR1 , |
| ld_ev_rc_test10 | TYPE CHAR16 , |
| ld_iv_run_test11 | TYPE CHAR1 , |
| ld_ev_rc_test11 | TYPE CHAR16 , |
| ld_iv_run_test12 | TYPE CHAR1 , |
| ld_ev_rc_test12 | TYPE CHAR16 . |
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 CPE_TEST_FORMULA_ASSEMBLY or its description.
CPE_TEST_FORMULA_ASSEMBLY - CPE: Ttest Formula Assembly CPE_TEST_FE_TERMTYPE - CPE: Test of Term Type Routine within Formula Evaluation CPE_TEST_FE_SURCHRULE - CPE: Test of Surcharge Rule within Formula Evaluation CPE_TEST_FE_ROUNDRULE - CPE: Test of Rounding Rule within Formula Evaluation CPE_TEST_FE_QUANSPLIT - CPE: Test of Quantity Split Routine within Formula Evaluation CPE_TEST_FE_PERDETRULE - CPE: Test of Period Determination Rule within Formula Evaluation