SAP HR_PBS00MD_POPUP_TEXT Function Module for Popup text for display/edit
HR_PBS00MD_POPUP_TEXT is a standard hr pbs00md popup text SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Popup text for display/edit processing and below is the pattern details for this FM, 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 pbs00md popup text FM, simply by entering the name HR_PBS00MD_POPUP_TEXT into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRPBS00MD_POPUPS
Program Name: SAPLHRPBS00MD_POPUPS
Main Program: SAPLHRPBS00MD_POPUPS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function HR_PBS00MD_POPUP_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_PBS00MD_POPUP_TEXT'"Popup text for display/edit.
EXPORTING
* I_READONLY = ' ' "General Flag
IMPORTING
E_INPUT_DONE = "General Flag
CHANGING
C_TEXT1 = "Excerpt from infotype text module
C_TEXT2 = "Excerpt from infotype text module
C_TEXT3 = "Excerpt from infotype text module
IMPORTING Parameters details for HR_PBS00MD_POPUP_TEXT
I_READONLY - General Flag
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for HR_PBS00MD_POPUP_TEXT
E_INPUT_DONE - General Flag
Data type: FLAGOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for HR_PBS00MD_POPUP_TEXT
C_TEXT1 - Excerpt from infotype text module
Data type: RP50M-TEXT1Optional: No
Call by Reference: No ( called with pass by value option)
C_TEXT2 - Excerpt from infotype text module
Data type: RP50M-TEXT2Optional: No
Call by Reference: No ( called with pass by value option)
C_TEXT3 - Excerpt from infotype text module
Data type: RP50M-TEXT3Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HR_PBS00MD_POPUP_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_c_text1 | TYPE RP50M-TEXT1, " | |||
lv_i_readonly | TYPE FLAG, " SPACE | |||
lv_e_input_done | TYPE FLAG, " | |||
lv_c_text2 | TYPE RP50M-TEXT2, " | |||
lv_c_text3 | TYPE RP50M-TEXT3. " |
  CALL FUNCTION 'HR_PBS00MD_POPUP_TEXT' "Popup text for display/edit |
EXPORTING | ||
I_READONLY | = lv_i_readonly | |
IMPORTING | ||
E_INPUT_DONE | = lv_e_input_done | |
CHANGING | ||
C_TEXT1 | = lv_c_text1 | |
C_TEXT2 | = lv_c_text2 | |
C_TEXT3 | = lv_c_text3 | |
. " HR_PBS00MD_POPUP_TEXT |
ABAP code using 7.40 inline data declarations to call FM HR_PBS00MD_POPUP_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 TEXT1 FROM RP50M INTO @DATA(ld_c_text1). | ||||
DATA(ld_i_readonly) | = ' '. | |||
"SELECT single TEXT2 FROM RP50M INTO @DATA(ld_c_text2). | ||||
"SELECT single TEXT3 FROM RP50M INTO @DATA(ld_c_text3). | ||||
Search for further information about these or an SAP related objects