FKK_DME_ADMINDATA_FILL 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 FKK_DME_ADMINDATA_FILL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FKY3
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FKK_DME_ADMINDATA_FILL' "
EXPORTING
i_format = " tfk042f-formi
i_laufd = " payh-laufd
i_laufi = " payh-laufi
i_orign = " payh-orign
i_xvorl = " payh-xvorl
i_report = " sy-repid
i_org1r = " payh-org1r
i_ubnks = " payh-ubnks
i_sum_regut = " p
i_waers = " payh-waers
i_dtkey = " regut-dtkey
* i_usrex = " regut-usrex
* i_fsnam = " regut-fsnam File Name in the File System
* i_tsnam = " regut-tsnam TemSe file name
* i_renum = " regut-renum Reference Number
. " FKK_DME_ADMINDATA_FILL
The ABAP code below is a full code listing to execute function module FKK_DME_ADMINDATA_FILL 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).
SELECT single FORMI
FROM TFK042F
INTO @DATA(ld_i_format).
DATA(ld_i_laufd) = 20210129
DATA(ld_i_laufi) = some text here
DATA(ld_i_orign) = some text here
DATA(ld_i_xvorl) = some text here
DATA(ld_i_report) = 'Check type of data required'.
DATA(ld_i_org1r) = some text here
DATA(ld_i_ubnks) = some text here
DATA(ld_i_sum_regut) = 'some text here'.
DATA(ld_i_waers) = Check type of data required
SELECT single DTKEY
FROM REGUT
INTO @DATA(ld_i_dtkey).
SELECT single USREX
FROM REGUT
INTO @DATA(ld_i_usrex).
SELECT single FSNAM
FROM REGUT
INTO @DATA(ld_i_fsnam).
SELECT single TSNAM
FROM REGUT
INTO @DATA(ld_i_tsnam).
SELECT single RENUM
FROM REGUT
INTO @DATA(ld_i_renum).
. CALL FUNCTION 'FKK_DME_ADMINDATA_FILL' EXPORTING i_format = ld_i_format i_laufd = ld_i_laufd i_laufi = ld_i_laufi i_orign = ld_i_orign i_xvorl = ld_i_xvorl i_report = ld_i_report i_org1r = ld_i_org1r i_ubnks = ld_i_ubnks i_sum_regut = ld_i_sum_regut i_waers = ld_i_waers i_dtkey = ld_i_dtkey * i_usrex = ld_i_usrex * i_fsnam = ld_i_fsnam * i_tsnam = ld_i_tsnam * i_renum = ld_i_renum . " FKK_DME_ADMINDATA_FILL
IF SY-SUBRC EQ 0. "All OK ENDIF.
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_i_format | TYPE TFK042F-FORMI , |
| ld_i_laufd | TYPE PAYH-LAUFD , |
| ld_i_laufi | TYPE PAYH-LAUFI , |
| ld_i_orign | TYPE PAYH-ORIGN , |
| ld_i_xvorl | TYPE PAYH-XVORL , |
| ld_i_report | TYPE SY-REPID , |
| ld_i_org1r | TYPE PAYH-ORG1R , |
| ld_i_ubnks | TYPE PAYH-UBNKS , |
| ld_i_sum_regut | TYPE P , |
| ld_i_waers | TYPE PAYH-WAERS , |
| ld_i_dtkey | TYPE REGUT-DTKEY , |
| ld_i_usrex | TYPE REGUT-USREX , |
| ld_i_fsnam | TYPE REGUT-FSNAM , |
| ld_i_tsnam | TYPE REGUT-TSNAM , |
| ld_i_renum | TYPE REGUT-RENUM . |
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 FKK_DME_ADMINDATA_FILL or its description.