SAP HR_BG_F4_ZAHLLAUF Function Module for F4 für das Laufdatum und die Laufidentifikation eines Zahllaufs









HR_BG_F4_ZAHLLAUF is a standard hr bg f4 zahllauf SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for F4 für das Laufdatum und die Laufidentifikation eines Zahllaufs 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 bg f4 zahllauf FM, simply by entering the name HR_BG_F4_ZAHLLAUF into the relevant SAP transaction such as SE37 or SE38.

Function Group: 3BG2
Program Name: SAPL3BG2
Main Program: SAPL3BG2
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HR_BG_F4_ZAHLLAUF 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_BG_F4_ZAHLLAUF'"F4 für das Laufdatum und die Laufidentifikation eines Zahllaufs
EXPORTING
* F1TYP = 'D' "
* F1NME = ' ' "
* F2NME = 'F110V-LAUFI' "
* DISPLAY_LAUFK = 'X' "
* EXPLAIN_LAUFK = ' ' "

IMPORTING
LAUFD = "Date on which the program is to be run
LAUFI = "Additional identification

TABLES
* LAUFK = "
.



IMPORTING Parameters details for HR_BG_F4_ZAHLLAUF

F1TYP -

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

F1NME -

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

F2NME -

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

DISPLAY_LAUFK -

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

EXPLAIN_LAUFK -

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

EXPORTING Parameters details for HR_BG_F4_ZAHLLAUF

LAUFD - Date on which the program is to be run

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

LAUFI - Additional identification

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

TABLES Parameters details for HR_BG_F4_ZAHLLAUF

LAUFK -

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

Copy and paste ABAP code example for HR_BG_F4_ZAHLLAUF 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_f1typ  TYPE C, "   'D'
lv_laufd  TYPE LAUFD, "   
lt_laufk  TYPE STANDARD TABLE OF ILAUFK, "   
lv_f1nme  TYPE C, "   SPACE
lv_laufi  TYPE LAUFI, "   
lv_f2nme  TYPE C, "   'F110V-LAUFI'
lv_display_laufk  TYPE C, "   'X'
lv_explain_laufk  TYPE C. "   SPACE

  CALL FUNCTION 'HR_BG_F4_ZAHLLAUF'  "F4 für das Laufdatum und die Laufidentifikation eines Zahllaufs
    EXPORTING
         F1TYP = lv_f1typ
         F1NME = lv_f1nme
         F2NME = lv_f2nme
         DISPLAY_LAUFK = lv_display_laufk
         EXPLAIN_LAUFK = lv_explain_laufk
    IMPORTING
         LAUFD = lv_laufd
         LAUFI = lv_laufi
    TABLES
         LAUFK = lt_laufk
. " HR_BG_F4_ZAHLLAUF




ABAP code using 7.40 inline data declarations to call FM HR_BG_F4_ZAHLLAUF

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_f1typ) = 'D'.
 
 
 
DATA(ld_f1nme) = ' '.
 
 
DATA(ld_f2nme) = 'F110V-LAUFI'.
 
DATA(ld_display_laufk) = 'X'.
 
DATA(ld_explain_laufk) = ' '.
 


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!