SAP HR_FILL_DSKO Function Module for









HR_FILL_DSKO is a standard hr fill dsko 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 fill dsko FM, simply by entering the name HR_FILL_DSKO into the relevant SAP transaction such as SE37 or SE38.

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



Function HR_FILL_DSKO 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_FILL_DSKO'"
EXPORTING
APPL = "
VF = "
WERKS = "
BTRTL = "
LABTR = "
WLBTR = "
DATUM = "
ERDAT = "
ERZEIT = "

IMPORTING
DSKO = "
ERRORTAB = "

EXCEPTIONS
NO_NAME1 = 1 NO_ORT = 2 NO_STR = 3 NO_CLERK = 4 NO_EMAIL = 5 DATA_ERROR = 6
.



IMPORTING Parameters details for HR_FILL_DSKO

APPL -

Data type: P_APPL
Optional: No
Call by Reference: Yes

VF -

Data type: D3VF
Optional: No
Call by Reference: Yes

WERKS -

Data type: PERSA
Optional: No
Call by Reference: Yes

BTRTL -

Data type: BTRTL
Optional: No
Call by Reference: Yes

LABTR -

Data type: BTRNR
Optional: No
Call by Reference: Yes

WLBTR -

Data type: BTRNR
Optional: No
Call by Reference: Yes

DATUM -

Data type: DATS
Optional: No
Call by Reference: Yes

ERDAT -

Data type: DATS
Optional: No
Call by Reference: Yes

ERZEIT -

Data type: TIMS
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for HR_FILL_DSKO

DSKO -

Data type: HRD3DSKO
Optional: No
Call by Reference: Yes

ERRORTAB -

Data type: HRERROR_TAB
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NO_NAME1 -

Data type:
Optional: No
Call by Reference: Yes

NO_ORT -

Data type:
Optional: No
Call by Reference: Yes

NO_STR -

Data type:
Optional: No
Call by Reference: Yes

NO_CLERK -

Data type:
Optional: No
Call by Reference: Yes

NO_EMAIL -

Data type:
Optional: No
Call by Reference: Yes

DATA_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HR_FILL_DSKO 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_appl  TYPE P_APPL, "   
lv_dsko  TYPE HRD3DSKO, "   
lv_no_name1  TYPE HRD3DSKO, "   
lv_vf  TYPE D3VF, "   
lv_no_ort  TYPE D3VF, "   
lv_errortab  TYPE HRERROR_TAB, "   
lv_werks  TYPE PERSA, "   
lv_no_str  TYPE PERSA, "   
lv_btrtl  TYPE BTRTL, "   
lv_no_clerk  TYPE BTRTL, "   
lv_labtr  TYPE BTRNR, "   
lv_no_email  TYPE BTRNR, "   
lv_wlbtr  TYPE BTRNR, "   
lv_data_error  TYPE BTRNR, "   
lv_datum  TYPE DATS, "   
lv_erdat  TYPE DATS, "   
lv_erzeit  TYPE TIMS. "   

  CALL FUNCTION 'HR_FILL_DSKO'  "
    EXPORTING
         APPL = lv_appl
         VF = lv_vf
         WERKS = lv_werks
         BTRTL = lv_btrtl
         LABTR = lv_labtr
         WLBTR = lv_wlbtr
         DATUM = lv_datum
         ERDAT = lv_erdat
         ERZEIT = lv_erzeit
    IMPORTING
         DSKO = lv_dsko
         ERRORTAB = lv_errortab
    EXCEPTIONS
        NO_NAME1 = 1
        NO_ORT = 2
        NO_STR = 3
        NO_CLERK = 4
        NO_EMAIL = 5
        DATA_ERROR = 6
. " HR_FILL_DSKO




ABAP code using 7.40 inline data declarations to call FM HR_FILL_DSKO

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!