HR_IT_CUD_SAPSCRIPT 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 HR_IT_CUD_SAPSCRIPT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRPAYIT_CUD
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'HR_IT_CUD_SAPSCRIPT' "
EXPORTING
pt_pernr = " pitud_pernr_table
p_typro = " p_99s_typro
p_stats = " p_99s_stats
* pt_stat_lines = " table
* p_n_pernr_per_spool = 0 " i
pr_error_log = " if_hrpayit_logger
p_batch = " sy-batch
pt_t5itub = " pitud_tab_t5itub
p_form = " p15_form
IMPORTING
p_error = " pitud_error
. " HR_IT_CUD_SAPSCRIPT
The ABAP code below is a full code listing to execute function module HR_IT_CUD_SAPSCRIPT 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_p_error | TYPE PITUD_ERROR . |
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_p_error | TYPE PITUD_ERROR , |
| ld_pt_pernr | TYPE PITUD_PERNR_TABLE , |
| ld_p_typro | TYPE P_99S_TYPRO , |
| ld_p_stats | TYPE P_99S_STATS , |
| ld_pt_stat_lines | TYPE TABLE , |
| ld_p_n_pernr_per_spool | TYPE I , |
| ld_pr_error_log | TYPE IF_HRPAYIT_LOGGER , |
| ld_p_batch | TYPE SY-BATCH , |
| ld_pt_t5itub | TYPE PITUD_TAB_T5ITUB , |
| ld_p_form | TYPE P15_FORM . |
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 HR_IT_CUD_SAPSCRIPT or its description.