SAP Function Modules

HR_PL_D_DE_HRPAYDESTT_XST SAP Function module







HR_PL_D_DE_HRPAYDESTT_XST 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_PL_D_DE_HRPAYDESTT_XST into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: 3101
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM HR_PL_D_DE_HRPAYDESTT_XST - HR PL D DE HRPAYDESTT XST





CALL FUNCTION 'HR_PL_D_DE_HRPAYDESTT_XST' "
  EXPORTING
    imp_intca =                 " t500l-intca
*   imp_marktab =               " hrplog_marktab
    imp_currency =              " waers
    imp_table =                 "
*   imp_look =                  " rpuxxxxx-kr_feld2
*   imp_detail = 'X'            " rpuxxxxx-kr_feld2
*   imp_process =               " rpuxxxxx-kr_feld2
*   imp_search =                " rpuxxxxx-kr_feld2
*   imp_level = 1               " plog_text-tlevel
*   imp_modif =                 " hrplog_modif
*   imp_begda =                 " d
*   imp_endda = '99991231'      " d
*   imp_psearch =               " sy-lisel
*   imp_offset = 1              " i
  IMPORTING
    exp_nodetail =              " rp_xfeld
* TABLES
*   imp_ptext =                 " plog_text
*   imp_hitlist =               " hrplog_hitlist
    .  "  HR_PL_D_DE_HRPAYDESTT_XST

ABAP code example for Function Module HR_PL_D_DE_HRPAYDESTT_XST





The ABAP code below is a full code listing to execute function module HR_PL_D_DE_HRPAYDESTT_XST 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).

DATA:
ld_exp_nodetail  TYPE RP_XFELD ,
it_imp_ptext  TYPE STANDARD TABLE OF PLOG_TEXT,"TABLES PARAM
wa_imp_ptext  LIKE LINE OF it_imp_ptext ,
it_imp_hitlist  TYPE STANDARD TABLE OF HRPLOG_HITLIST,"TABLES PARAM
wa_imp_hitlist  LIKE LINE OF it_imp_hitlist .


SELECT single INTCA
FROM T500L
INTO @DATA(ld_imp_intca).

DATA(ld_imp_marktab) = 'Check type of data required'.
DATA(ld_imp_currency) = 'Check type of data required'.
DATA(ld_imp_table) = 'some text here'.

DATA(ld_imp_look) = some text here

DATA(ld_imp_detail) = some text here

DATA(ld_imp_process) = some text here

DATA(ld_imp_search) = some text here

DATA(ld_imp_level) = Check type of data required
DATA(ld_imp_modif) = 'Check type of data required'.
DATA(ld_imp_begda) = 'Check type of data required'.
DATA(ld_imp_endda) = 'Check type of data required'.
DATA(ld_imp_psearch) = 'some text here'.
DATA(ld_imp_offset) = 'some text here'.

"populate fields of struture and append to itab
append wa_imp_ptext to it_imp_ptext.

"populate fields of struture and append to itab
append wa_imp_hitlist to it_imp_hitlist. . CALL FUNCTION 'HR_PL_D_DE_HRPAYDESTT_XST' EXPORTING imp_intca = ld_imp_intca * imp_marktab = ld_imp_marktab imp_currency = ld_imp_currency imp_table = ld_imp_table * imp_look = ld_imp_look * imp_detail = ld_imp_detail * imp_process = ld_imp_process * imp_search = ld_imp_search * imp_level = ld_imp_level * imp_modif = ld_imp_modif * imp_begda = ld_imp_begda * imp_endda = ld_imp_endda * imp_psearch = ld_imp_psearch * imp_offset = ld_imp_offset IMPORTING exp_nodetail = ld_exp_nodetail * TABLES * imp_ptext = it_imp_ptext * imp_hitlist = it_imp_hitlist . " HR_PL_D_DE_HRPAYDESTT_XST
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_imp_intca  TYPE T500L-INTCA ,
ld_imp_marktab  TYPE HRPLOG_MARKTAB ,
ld_imp_currency  TYPE WAERS ,
ld_imp_table  TYPE STRING ,
ld_imp_look  TYPE RPUXXXXX-KR_FELD2 ,
ld_imp_detail  TYPE RPUXXXXX-KR_FELD2 ,
ld_imp_process  TYPE RPUXXXXX-KR_FELD2 ,
ld_imp_search  TYPE RPUXXXXX-KR_FELD2 ,
ld_imp_level  TYPE PLOG_TEXT-TLEVEL ,
ld_imp_modif  TYPE HRPLOG_MODIF ,
ld_imp_begda  TYPE D ,
ld_imp_endda  TYPE D ,
ld_imp_psearch  TYPE SY-LISEL ,
ld_imp_offset  TYPE I ,
ld_exp_nodetail  TYPE RP_XFELD ,
it_imp_ptext  TYPE STANDARD TABLE OF PLOG_TEXT ,
wa_imp_ptext  LIKE LINE OF it_imp_ptext,
it_imp_hitlist  TYPE STANDARD TABLE OF HRPLOG_HITLIST ,
wa_imp_hitlist  LIKE LINE OF it_imp_hitlist.


SELECT single INTCA
FROM T500L
INTO ld_imp_intca.

ld_imp_marktab = 'some text here'.
ld_imp_currency = 'some text here'.
ld_imp_table = 'some text here'.

ld_imp_look = some text here

ld_imp_detail = some text here

ld_imp_process = some text here

ld_imp_search = some text here

ld_imp_level = Check type of data required
ld_imp_modif = 'some text here'.
ld_imp_begda = 'some text here'.
ld_imp_endda = 'some text here'.
ld_imp_psearch = 'some text here'.
ld_imp_offset = 'some text here'.

"populate fields of struture and append to itab
append wa_imp_ptext to it_imp_ptext.

"populate fields of struture and append to itab
append wa_imp_hitlist to it_imp_hitlist.

Contribute (Add Comments)

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_PL_D_DE_HRPAYDESTT_XST or its description.