SAP HR_CREATE_DDS_SCHLUSS_A Function Module for









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

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



Function HR_CREATE_DDS_SCHLUSS_A 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_CREATE_DDS_SCHLUSS_A'"
EXPORTING
* ACT_DATE = SY-DATUM "
S9_HEMA = "
TESTK = "
* ACT_USER = SY-UNAME "
* ACT_UZEIT = SY-UZEIT "
DTR_LFDNR = "
DTR_NR = "
DTR_ASVGR = "
DTR_AUSVA = "
S9_SANZ = "
S9_ELNR = "

IMPORTING
SCHLUSSATZ = "

EXCEPTIONS
LFD_NR_OVERFLOW = 1 T5A1K_ERROR = 2 T5A1M_ERROR = 3 T5A1O_ENQUE_FAILED = 4
.



IMPORTING Parameters details for HR_CREATE_DDS_SCHLUSS_A

ACT_DATE -

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

S9_HEMA -

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

TESTK -

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

ACT_USER -

Data type: T5A1O-UNAME
Default: SY-UNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

ACT_UZEIT -

Data type: T5A1O-UZEIT
Default: SY-UZEIT
Optional: Yes
Call by Reference: No ( called with pass by value option)

DTR_LFDNR -

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

DTR_NR -

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

DTR_ASVGR -

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

DTR_AUSVA -

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

S9_SANZ -

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

S9_ELNR -

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

EXPORTING Parameters details for HR_CREATE_DDS_SCHLUSS_A

SCHLUSSATZ -

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

EXCEPTIONS details

LFD_NR_OVERFLOW -

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

T5A1K_ERROR -

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

T5A1M_ERROR -

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

T5A1O_ENQUE_FAILED -

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

Copy and paste ABAP code example for HR_CREATE_DDS_SCHLUSS_A 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_act_date  TYPE T5A1O-DATUM, "   SY-DATUM
lv_schlussatz  TYPE T5A1O, "   
lv_lfd_nr_overflow  TYPE T5A1O, "   
lv_s9_hema  TYPE PC03_HEMA, "   
lv_testk  TYPE T5A1O-TESTK, "   
lv_act_user  TYPE T5A1O-UNAME, "   SY-UNAME
lv_t5a1k_error  TYPE T5A1O, "   
lv_act_uzeit  TYPE T5A1O-UZEIT, "   SY-UZEIT
lv_t5a1m_error  TYPE T5A1O, "   
lv_dtr_lfdnr  TYPE T5A1O-LFDNR, "   
lv_t5a1o_enque_failed  TYPE T5A1O, "   
lv_dtr_nr  TYPE T5A1P-DTRNR, "   
lv_dtr_asvgr  TYPE T5A1O-ASVGR, "   
lv_dtr_ausva  TYPE T5A1O-AUSVA, "   
lv_s9_sanz  TYPE T5A1O-LFDNR, "   
lv_s9_elnr  TYPE PC03_ELNR. "   

  CALL FUNCTION 'HR_CREATE_DDS_SCHLUSS_A'  "
    EXPORTING
         ACT_DATE = lv_act_date
         S9_HEMA = lv_s9_hema
         TESTK = lv_testk
         ACT_USER = lv_act_user
         ACT_UZEIT = lv_act_uzeit
         DTR_LFDNR = lv_dtr_lfdnr
         DTR_NR = lv_dtr_nr
         DTR_ASVGR = lv_dtr_asvgr
         DTR_AUSVA = lv_dtr_ausva
         S9_SANZ = lv_s9_sanz
         S9_ELNR = lv_s9_elnr
    IMPORTING
         SCHLUSSATZ = lv_schlussatz
    EXCEPTIONS
        LFD_NR_OVERFLOW = 1
        T5A1K_ERROR = 2
        T5A1M_ERROR = 3
        T5A1O_ENQUE_FAILED = 4
. " HR_CREATE_DDS_SCHLUSS_A




ABAP code using 7.40 inline data declarations to call FM HR_CREATE_DDS_SCHLUSS_A

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 DATUM FROM T5A1O INTO @DATA(ld_act_date).
DATA(ld_act_date) = SY-DATUM.
 
 
 
 
"SELECT single TESTK FROM T5A1O INTO @DATA(ld_testk).
 
"SELECT single UNAME FROM T5A1O INTO @DATA(ld_act_user).
DATA(ld_act_user) = SY-UNAME.
 
 
"SELECT single UZEIT FROM T5A1O INTO @DATA(ld_act_uzeit).
DATA(ld_act_uzeit) = SY-UZEIT.
 
 
"SELECT single LFDNR FROM T5A1O INTO @DATA(ld_dtr_lfdnr).
 
 
"SELECT single DTRNR FROM T5A1P INTO @DATA(ld_dtr_nr).
 
"SELECT single ASVGR FROM T5A1O INTO @DATA(ld_dtr_asvgr).
 
"SELECT single AUSVA FROM T5A1O INTO @DATA(ld_dtr_ausva).
 
"SELECT single LFDNR FROM T5A1O INTO @DATA(ld_s9_sanz).
 
 


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!