HR_PL_D_SG_RM 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_SG_RM into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
31SG
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'HR_PL_D_SG_RM' "Display results table RM
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_SG_RM
The ABAP code below is a full code listing to execute function module HR_PL_D_SG_RM 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_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 . |
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_exp_nodetail | TYPE RP_XFELD , |
| ld_imp_intca | TYPE T500L-INTCA , |
| it_imp_ptext | TYPE STANDARD TABLE OF PLOG_TEXT , |
| wa_imp_ptext | LIKE LINE OF it_imp_ptext, |
| ld_imp_marktab | TYPE HRPLOG_MARKTAB , |
| it_imp_hitlist | TYPE STANDARD TABLE OF HRPLOG_HITLIST , |
| wa_imp_hitlist | LIKE LINE OF it_imp_hitlist, |
| 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 . |
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_SG_RM or its description.