SAP RPY_DYNPRO_INSERT_NATIVE Function Module for









RPY_DYNPRO_INSERT_NATIVE is a standard rpy dynpro insert native 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 rpy dynpro insert native FM, simply by entering the name RPY_DYNPRO_INSERT_NATIVE into the relevant SAP transaction such as SE37 or SE38.

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



Function RPY_DYNPRO_INSERT_NATIVE 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 'RPY_DYNPRO_INSERT_NATIVE'"
EXPORTING
* SUPPRESS_CORR_CHECKS = ' ' "
* CORRNUM = ' ' "Correction Number
HEADER = "
DYNPROTEXT = "
* SUPPRESS_EXIST_CHECKS = ' ' "
* USE_CORRNUM_IMMEDIATEDLY = ' ' "
* SUPPRESS_COMMIT_WORK = ' ' "

TABLES
FIELDLIST = "
FLOWLOGIC = "
PARAMS = "

EXCEPTIONS
CANCELLED = 1 ALREADY_EXISTS = 2 PROGRAM_NOT_EXISTS = 3 NOT_EXECUTED = 4
.



IMPORTING Parameters details for RPY_DYNPRO_INSERT_NATIVE

SUPPRESS_CORR_CHECKS -

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

CORRNUM - Correction Number

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

HEADER -

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

DYNPROTEXT -

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

SUPPRESS_EXIST_CHECKS -

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

USE_CORRNUM_IMMEDIATEDLY -

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

SUPPRESS_COMMIT_WORK -

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

TABLES Parameters details for RPY_DYNPRO_INSERT_NATIVE

FIELDLIST -

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

FLOWLOGIC -

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

PARAMS -

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

EXCEPTIONS details

CANCELLED - Canceled by user in correction dialog box

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

ALREADY_EXISTS - Screen already exists

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

PROGRAM_NOT_EXISTS -

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)

Copy and paste ABAP code example for RPY_DYNPRO_INSERT_NATIVE 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_cancelled  TYPE STRING, "   
lt_fieldlist  TYPE STANDARD TABLE OF D021S, "   
lv_suppress_corr_checks  TYPE C, "   ' '
lv_corrnum  TYPE E071-TRKORR, "   SPACE
lt_flowlogic  TYPE STANDARD TABLE OF DYN_FLOWLIST, "   
lv_already_exists  TYPE DYN_FLOWLIST, "   
lv_header  TYPE D020S, "   
lt_params  TYPE STANDARD TABLE OF D023S, "   
lv_program_not_exists  TYPE D023S, "   
lv_dynprotext  TYPE D020T-DTXT, "   
lv_not_executed  TYPE D020T, "   
lv_suppress_exist_checks  TYPE C, "   ' '
lv_use_corrnum_immediatedly  TYPE C, "   ' '
lv_suppress_commit_work  TYPE C. "   ' '

  CALL FUNCTION 'RPY_DYNPRO_INSERT_NATIVE'  "
    EXPORTING
         SUPPRESS_CORR_CHECKS = lv_suppress_corr_checks
         CORRNUM = lv_corrnum
         HEADER = lv_header
         DYNPROTEXT = lv_dynprotext
         SUPPRESS_EXIST_CHECKS = lv_suppress_exist_checks
         USE_CORRNUM_IMMEDIATEDLY = lv_use_corrnum_immediatedly
         SUPPRESS_COMMIT_WORK = lv_suppress_commit_work
    TABLES
         FIELDLIST = lt_fieldlist
         FLOWLOGIC = lt_flowlogic
         PARAMS = lt_params
    EXCEPTIONS
        CANCELLED = 1
        ALREADY_EXISTS = 2
        PROGRAM_NOT_EXISTS = 3
        NOT_EXECUTED = 4
. " RPY_DYNPRO_INSERT_NATIVE




ABAP code using 7.40 inline data declarations to call FM RPY_DYNPRO_INSERT_NATIVE

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_suppress_corr_checks) = ' '.
 
"SELECT single TRKORR FROM E071 INTO @DATA(ld_corrnum).
DATA(ld_corrnum) = ' '.
 
 
 
 
 
 
"SELECT single DTXT FROM D020T INTO @DATA(ld_dynprotext).
 
 
DATA(ld_suppress_exist_checks) = ' '.
 
DATA(ld_use_corrnum_immediatedly) = ' '.
 
DATA(ld_suppress_commit_work) = ' '.
 


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!