HR_FR_N4DS_BUILD_STMOD_SENTX 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_FR_N4DS_BUILD_STMOD_SENTX into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRPAYFR_N4DS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'HR_FR_N4DS_BUILD_STMOD_SENTX' "
EXPORTING
iv_service = " pfrds_emet-emsrv
iv_test = " pfrds_emet-emenv
iv_abkrs = " t549a-abkrs
iv_decl_nature = " pfrds_decl-denat
iv_percod = " pfrds_decl-deper
iv_fraction = " rpldadf0-fraction
iv_frac_tot = " rpldadf0-frac_tot
iv_decl_type = " pfrds_decl-detyp
* iv_perbeg = " rpldadf0-perbeg
* iv_perend = " rpldadf0-perend
iv_sbegda = " sy-datum
iv_sendda = " sy-datum
* iv_b2atext = " pc_b2a_vartx
* iv_tmtst = " rpl4dsf0-tmtst
* iv_siren = " p06_siren
* iv_numic = " p06_numic
IMPORTING
ev_stmod = " char25
ev_sentx = " pc_b2a_sentx
ev_vartx = " pc_b2a_vartx
. " HR_FR_N4DS_BUILD_STMOD_SENTX
The ABAP code below is a full code listing to execute function module HR_FR_N4DS_BUILD_STMOD_SENTX 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_stmod | TYPE CHAR25 , |
| ld_ev_sentx | TYPE PC_B2A_SENTX , |
| ld_ev_vartx | TYPE PC_B2A_VARTX . |
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_stmod | TYPE CHAR25 , |
| ld_iv_service | TYPE PFRDS_EMET-EMSRV , |
| ld_ev_sentx | TYPE PC_B2A_SENTX , |
| ld_iv_test | TYPE PFRDS_EMET-EMENV , |
| ld_ev_vartx | TYPE PC_B2A_VARTX , |
| ld_iv_abkrs | TYPE T549A-ABKRS , |
| ld_iv_decl_nature | TYPE PFRDS_DECL-DENAT , |
| ld_iv_percod | TYPE PFRDS_DECL-DEPER , |
| ld_iv_fraction | TYPE RPLDADF0-FRACTION , |
| ld_iv_frac_tot | TYPE RPLDADF0-FRAC_TOT , |
| ld_iv_decl_type | TYPE PFRDS_DECL-DETYP , |
| ld_iv_perbeg | TYPE RPLDADF0-PERBEG , |
| ld_iv_perend | TYPE RPLDADF0-PEREND , |
| ld_iv_sbegda | TYPE SY-DATUM , |
| ld_iv_sendda | TYPE SY-DATUM , |
| ld_iv_b2atext | TYPE PC_B2A_VARTX , |
| ld_iv_tmtst | TYPE RPL4DSF0-TMTST , |
| ld_iv_siren | TYPE P06_SIREN , |
| ld_iv_numic | TYPE P06_NUMIC . |
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_FR_N4DS_BUILD_STMOD_SENTX or its description.