SAP HR_DK_GET_T5M8P_FROM_TEXT Function Module for









HR_DK_GET_T5M8P_FROM_TEXT is a standard hr dk get t5m8p from text SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for hr dk get t5m8p from text FM, simply by entering the name HR_DK_GET_T5M8P_FROM_TEXT into the relevant SAP transaction such as SE37 or SE38.

Function Group: RPMB
Program Name: SAPLRPMB
Main Program:
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HR_DK_GET_T5M8P_FROM_TEXT pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'HR_DK_GET_T5M8P_FROM_TEXT'"
EXPORTING
LINE_OF_FILE = "

IMPORTING
HR_PERNR = "
LONNR = "
BEGDA = "
ENDDA = "
LGART = "
BETPE = "
ANZHL = "
BETRG = "
SPSTR = "
FIRM = "
.



IMPORTING Parameters details for HR_DK_GET_T5M8P_FROM_TEXT

LINE_OF_FILE -

Data type:
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for HR_DK_GET_T5M8P_FROM_TEXT

HR_PERNR -

Data type: PERNR-PERNR
Optional: No
Call by Reference: No ( called with pass by value option)

LONNR -

Data type: T5M8P-LONNR
Optional: No
Call by Reference: No ( called with pass by value option)

BEGDA -

Data type: SY-DATUM
Optional: No
Call by Reference: No ( called with pass by value option)

ENDDA -

Data type: SY-DATUM
Optional: No
Call by Reference: No ( called with pass by value option)

LGART -

Data type: T512W-LGART
Optional: No
Call by Reference: No ( called with pass by value option)

BETPE -

Data type: PC207-BETPE
Optional: No
Call by Reference: No ( called with pass by value option)

ANZHL -

Data type: PC207-ANZHL
Optional: No
Call by Reference: No ( called with pass by value option)

BETRG -

Data type: PC207-BETRG
Optional: No
Call by Reference: No ( called with pass by value option)

SPSTR -

Data type: T5M58-SPSTR
Optional: No
Call by Reference: No ( called with pass by value option)

FIRM -

Data type: T5M8P-FIRMA
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for HR_DK_GET_T5M8P_FROM_TEXT Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_hr_pernr  TYPE PERNR-PERNR, "   
lv_line_of_file  TYPE PERNR, "   
lv_lonnr  TYPE T5M8P-LONNR, "   
lv_begda  TYPE SY-DATUM, "   
lv_endda  TYPE SY-DATUM, "   
lv_lgart  TYPE T512W-LGART, "   
lv_betpe  TYPE PC207-BETPE, "   
lv_anzhl  TYPE PC207-ANZHL, "   
lv_betrg  TYPE PC207-BETRG, "   
lv_spstr  TYPE T5M58-SPSTR, "   
lv_firm  TYPE T5M8P-FIRMA. "   

  CALL FUNCTION 'HR_DK_GET_T5M8P_FROM_TEXT'  "
    EXPORTING
         LINE_OF_FILE = lv_line_of_file
    IMPORTING
         HR_PERNR = lv_hr_pernr
         LONNR = lv_lonnr
         BEGDA = lv_begda
         ENDDA = lv_endda
         LGART = lv_lgart
         BETPE = lv_betpe
         ANZHL = lv_anzhl
         BETRG = lv_betrg
         SPSTR = lv_spstr
         FIRM = lv_firm
. " HR_DK_GET_T5M8P_FROM_TEXT




ABAP code using 7.40 inline data declarations to call FM HR_DK_GET_T5M8P_FROM_TEXT

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single PERNR FROM PERNR INTO @DATA(ld_hr_pernr).
 
 
"SELECT single LONNR FROM T5M8P INTO @DATA(ld_lonnr).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_begda).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_endda).
 
"SELECT single LGART FROM T512W INTO @DATA(ld_lgart).
 
"SELECT single BETPE FROM PC207 INTO @DATA(ld_betpe).
 
"SELECT single ANZHL FROM PC207 INTO @DATA(ld_anzhl).
 
"SELECT single BETRG FROM PC207 INTO @DATA(ld_betrg).
 
"SELECT single SPSTR FROM T5M58 INTO @DATA(ld_spstr).
 
"SELECT single FIRMA FROM T5M8P INTO @DATA(ld_firm).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!