SAP HR_DK_POPUP_POSTAL_CODES Function Module for









HR_DK_POPUP_POSTAL_CODES is a standard hr dk popup postal codes 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 popup postal codes FM, simply by entering the name HR_DK_POPUP_POSTAL_CODES into the relevant SAP transaction such as SE37 or SE38.

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



Function HR_DK_POPUP_POSTAL_CODES 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_POPUP_POSTAL_CODES'"
EXPORTING
* SHOW_ORT = 'X' "
* SHOW_LOCAT = ' ' "
* SHOW_STRAS = ' ' "
* LIKE_PSTLZ = ' ' "
* LIKE_ORT = ' ' "
* LIKE_LOCAT = ' ' "
* LIKE_STRAS = ' ' "
* DISPLAY = '' "

IMPORTING
PSTLZ = "
ORT = "
STRAS = "
LOCAT = "

EXCEPTIONS
NO_PSTLZ_SEL = 1
.



IMPORTING Parameters details for HR_DK_POPUP_POSTAL_CODES

SHOW_ORT -

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SHOW_LOCAT -

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

SHOW_STRAS -

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

LIKE_PSTLZ -

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

LIKE_ORT -

Data type: T5M8T-ORT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

LIKE_LOCAT -

Data type: T5M8T-LOCAT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

LIKE_STRAS -

Data type: T5M8T-STRAS
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

DISPLAY -

Data type:
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for HR_DK_POPUP_POSTAL_CODES

PSTLZ -

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

ORT -

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

STRAS -

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

LOCAT -

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

EXCEPTIONS details

NO_PSTLZ_SEL -

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

Copy and paste ABAP code example for HR_DK_POPUP_POSTAL_CODES 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_pstlz  TYPE STRING, "   
lv_show_ort  TYPE XFELD, "   'X'
lv_no_pstlz_sel  TYPE XFELD, "   
lv_ort  TYPE T5M8T-ORT, "   
lv_show_locat  TYPE XFELD, "   ' '
lv_stras  TYPE T5M8T-STRAS, "   
lv_show_stras  TYPE XFELD, "   ' '
lv_locat  TYPE T5M8T-LOCAT, "   
lv_like_pstlz  TYPE T5M8T, "   ' '
lv_like_ort  TYPE T5M8T-ORT, "   ' '
lv_like_locat  TYPE T5M8T-LOCAT, "   ' '
lv_like_stras  TYPE T5M8T-STRAS, "   ' '
lv_display  TYPE T5M8T. "   ''

  CALL FUNCTION 'HR_DK_POPUP_POSTAL_CODES'  "
    EXPORTING
         SHOW_ORT = lv_show_ort
         SHOW_LOCAT = lv_show_locat
         SHOW_STRAS = lv_show_stras
         LIKE_PSTLZ = lv_like_pstlz
         LIKE_ORT = lv_like_ort
         LIKE_LOCAT = lv_like_locat
         LIKE_STRAS = lv_like_stras
         DISPLAY = lv_display
    IMPORTING
         PSTLZ = lv_pstlz
         ORT = lv_ort
         STRAS = lv_stras
         LOCAT = lv_locat
    EXCEPTIONS
        NO_PSTLZ_SEL = 1
. " HR_DK_POPUP_POSTAL_CODES




ABAP code using 7.40 inline data declarations to call FM HR_DK_POPUP_POSTAL_CODES

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.

 
DATA(ld_show_ort) = 'X'.
 
 
"SELECT single ORT FROM T5M8T INTO @DATA(ld_ort).
 
DATA(ld_show_locat) = ' '.
 
"SELECT single STRAS FROM T5M8T INTO @DATA(ld_stras).
 
DATA(ld_show_stras) = ' '.
 
"SELECT single LOCAT FROM T5M8T INTO @DATA(ld_locat).
 
DATA(ld_like_pstlz) = ' '.
 
"SELECT single ORT FROM T5M8T INTO @DATA(ld_like_ort).
DATA(ld_like_ort) = ' '.
 
"SELECT single LOCAT FROM T5M8T INTO @DATA(ld_like_locat).
DATA(ld_like_locat) = ' '.
 
"SELECT single STRAS FROM T5M8T INTO @DATA(ld_like_stras).
DATA(ld_like_stras) = ' '.
 
DATA(ld_display) = ''.
 


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!