SAP RS_DD_APPEND_ADD Function Module for









RS_DD_APPEND_ADD is a standard rs dd append add 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 rs dd append add FM, simply by entering the name RS_DD_APPEND_ADD into the relevant SAP transaction such as SE37 or SE38.

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



Function RS_DD_APPEND_ADD 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 'RS_DD_APPEND_ADD'"
EXPORTING
* APPNAME = "
TABNAME = "Name of the Appending Tables
* POPUP = ' ' "
* DD02V_WA = "
* WITH_ACTIVATE = 'X' "
* DDIC_INST = "

IMPORTING
APPNAME = "
SAVED = "

TABLES
* DD03P_PAR = "
* DD05M_PAR = "
* DD08V_PAR = "
* DD35V_PAR = "Header of the search help assignments of the table
* DD36M_PAR = "Allocations of the search help assignments of the table

EXCEPTIONS
ALREADY_EXISTS = 1 NAME_NOT_VALID = 2 NOT_EXECUTED = 3 OBJECT_NOT_SPECIFIED = 4 PERMISSION_FAILURE = 5
.



IMPORTING Parameters details for RS_DD_APPEND_ADD

APPNAME -

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

TABNAME - Name of the Appending Tables

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

POPUP -

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

DD02V_WA -

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

WITH_ACTIVATE -

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

DDIC_INST -

Data type: CL_WB_DDIC
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RS_DD_APPEND_ADD

APPNAME -

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

SAVED -

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

TABLES Parameters details for RS_DD_APPEND_ADD

DD03P_PAR -

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

DD05M_PAR -

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

DD08V_PAR -

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

DD35V_PAR - Header of the search help assignments of the table

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

DD36M_PAR - Allocations of the search help assignments of the table

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

EXCEPTIONS details

ALREADY_EXISTS - Object Already Exists

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

NAME_NOT_VALID -

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

NOT_EXECUTED -

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

OBJECT_NOT_SPECIFIED -

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

PERMISSION_FAILURE - Access not possible

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

Copy and paste ABAP code example for RS_DD_APPEND_ADD 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_appname  TYPE DD02L-TABNAME, "   
lv_appname  TYPE DD02L-TABNAME, "   
lt_dd03p_par  TYPE STANDARD TABLE OF DD03P, "   
lv_already_exists  TYPE DD03P, "   
lv_saved  TYPE DD03P, "   
lv_tabname  TYPE DD02L-TABNAME, "   
lt_dd05m_par  TYPE STANDARD TABLE OF DD05M, "   
lv_name_not_valid  TYPE DD05M, "   
lv_popup  TYPE DD05M, "   SPACE
lt_dd08v_par  TYPE STANDARD TABLE OF DD08V, "   
lv_not_executed  TYPE DD08V, "   
lv_dd02v_wa  TYPE DD02V, "   
lt_dd35v_par  TYPE STANDARD TABLE OF DD35V, "   
lv_object_not_specified  TYPE DD35V, "   
lt_dd36m_par  TYPE STANDARD TABLE OF DD36M, "   
lv_with_activate  TYPE DD36M, "   'X'
lv_permission_failure  TYPE DD36M, "   
lv_ddic_inst  TYPE CL_WB_DDIC. "   

  CALL FUNCTION 'RS_DD_APPEND_ADD'  "
    EXPORTING
         APPNAME = lv_appname
         TABNAME = lv_tabname
         POPUP = lv_popup
         DD02V_WA = lv_dd02v_wa
         WITH_ACTIVATE = lv_with_activate
         DDIC_INST = lv_ddic_inst
    IMPORTING
         APPNAME = lv_appname
         SAVED = lv_saved
    TABLES
         DD03P_PAR = lt_dd03p_par
         DD05M_PAR = lt_dd05m_par
         DD08V_PAR = lt_dd08v_par
         DD35V_PAR = lt_dd35v_par
         DD36M_PAR = lt_dd36m_par
    EXCEPTIONS
        ALREADY_EXISTS = 1
        NAME_NOT_VALID = 2
        NOT_EXECUTED = 3
        OBJECT_NOT_SPECIFIED = 4
        PERMISSION_FAILURE = 5
. " RS_DD_APPEND_ADD




ABAP code using 7.40 inline data declarations to call FM RS_DD_APPEND_ADD

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 TABNAME FROM DD02L INTO @DATA(ld_appname).
 
"SELECT single TABNAME FROM DD02L INTO @DATA(ld_appname).
 
 
 
 
"SELECT single TABNAME FROM DD02L INTO @DATA(ld_tabname).
 
 
 
DATA(ld_popup) = ' '.
 
 
 
 
 
 
 
DATA(ld_with_activate) = 'X'.
 
 
 


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!