SAP HR_CREATE_DDS_DATASET_EXT_A Function Module for









HR_CREATE_DDS_DATASET_EXT_A is a standard hr create dds dataset ext 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 dataset ext a FM, simply by entering the name HR_CREATE_DDS_DATASET_EXT_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_DATASET_EXT_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_DATASET_EXT_A'"
EXPORTING
* DATUM = SY-DATUM "
* UNAME = SY-UNAME "
* UZEIT = SY-UZEIT "
* ETEST = 'X' "
* EPROT = ' ' "
* ESIMU = ' ' "

IMPORTING
CREATED = "
OVERFLOW = "
REF_I5A1O = "

TABLES
* DDS_FH = "
* DDS_I1 = "
* DDS_L1 = "
* DDS_W1 = "

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



IMPORTING Parameters details for HR_CREATE_DDS_DATASET_EXT_A

DATUM -

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

UNAME -

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

UZEIT -

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

ETEST -

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

EPROT -

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

ESIMU -

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

EXPORTING Parameters details for HR_CREATE_DDS_DATASET_EXT_A

CREATED -

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

OVERFLOW -

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

REF_I5A1O -

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

TABLES Parameters details for HR_CREATE_DDS_DATASET_EXT_A

DDS_FH -

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

DDS_I1 -

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

DDS_L1 -

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

DDS_W1 -

Data type:
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

LFD_NR_OVERFLOW -

Data type:
Optional: No
Call by Reference: Yes

T5A1K_ERROR -

Data type:
Optional: No
Call by Reference: Yes

T5A1M_ERROR -

Data type:
Optional: No
Call by Reference: Yes

IF_VIOLATED_CONDITION -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HR_CREATE_DDS_DATASET_EXT_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_datum  TYPE T5A1K-BEGDA, "   SY-DATUM
lt_dds_fh  TYPE STANDARD TABLE OF T5A1K, "   
lv_created  TYPE I, "   
lv_lfd_nr_overflow  TYPE I, "   
lv_uname  TYPE T5A1O-UNAME, "   SY-UNAME
lt_dds_i1  TYPE STANDARD TABLE OF T5A1O, "   
lv_overflow  TYPE I, "   
lv_t5a1k_error  TYPE I, "   
lv_uzeit  TYPE T5A1O-UZEIT, "   SY-UZEIT
lt_dds_l1  TYPE STANDARD TABLE OF T5A1O, "   
lv_ref_i5a1o  TYPE DATA, "   
lv_t5a1m_error  TYPE DATA, "   
lv_etest  TYPE T5A1O-TESTK, "   'X'
lt_dds_w1  TYPE STANDARD TABLE OF T5A1O, "   
lv_if_violated_condition  TYPE T5A1O, "   
lv_eprot  TYPE XFELD, "   ' '
lv_esimu  TYPE XFELD. "   ' '

  CALL FUNCTION 'HR_CREATE_DDS_DATASET_EXT_A'  "
    EXPORTING
         DATUM = lv_datum
         UNAME = lv_uname
         UZEIT = lv_uzeit
         ETEST = lv_etest
         EPROT = lv_eprot
         ESIMU = lv_esimu
    IMPORTING
         CREATED = lv_created
         OVERFLOW = lv_overflow
         REF_I5A1O = lv_ref_i5a1o
    TABLES
         DDS_FH = lt_dds_fh
         DDS_I1 = lt_dds_i1
         DDS_L1 = lt_dds_l1
         DDS_W1 = lt_dds_w1
    EXCEPTIONS
        LFD_NR_OVERFLOW = 1
        T5A1K_ERROR = 2
        T5A1M_ERROR = 3
        IF_VIOLATED_CONDITION = 4
. " HR_CREATE_DDS_DATASET_EXT_A




ABAP code using 7.40 inline data declarations to call FM HR_CREATE_DDS_DATASET_EXT_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 BEGDA FROM T5A1K INTO @DATA(ld_datum).
DATA(ld_datum) = SY-DATUM.
 
 
 
 
"SELECT single UNAME FROM T5A1O INTO @DATA(ld_uname).
DATA(ld_uname) = SY-UNAME.
 
 
 
 
"SELECT single UZEIT FROM T5A1O INTO @DATA(ld_uzeit).
DATA(ld_uzeit) = SY-UZEIT.
 
 
 
 
"SELECT single TESTK FROM T5A1O INTO @DATA(ld_etest).
DATA(ld_etest) = 'X'.
 
 
 
DATA(ld_eprot) = ' '.
 
DATA(ld_esimu) = ' '.
 


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!