SAP RP_SAVE_FORM3 Function Module for Save form in Report Painter









RP_SAVE_FORM3 is a standard rp save form3 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Save form in Report Painter processing and below is the pattern details for this FM, 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 rp save form3 FM, simply by entering the name RP_SAVE_FORM3 into the relevant SAP transaction such as SE37 or SE38.

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



Function RP_SAVE_FORM3 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 'RP_SAVE_FORM3'"Save form in Report Painter
TABLES
PTKES1 = "
* PCEFORMF = "
* PCEFORMV = "
* PCEFORMW = "
* PCEPRINT = "
* PCESETS = "
PTKES2 = "
* PTKES4 = "
* PTKES5 = "
* PTKESK = "
* PTKEBS = "
* PCEFORMA = "
* PCEFORMS = "
* PCEFORMT = "
.



TABLES Parameters details for RP_SAVE_FORM3

PTKES1 -

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

PCEFORMF -

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

PCEFORMV -

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

PCEFORMW -

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

PCEPRINT -

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

PCESETS -

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

PTKES2 -

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

PTKES4 -

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

PTKES5 -

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

PTKESK -

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

PTKEBS -

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

PCEFORMA -

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

PCEFORMS -

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

PCEFORMT -

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

Copy and paste ABAP code example for RP_SAVE_FORM3 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:
lt_ptkes1  TYPE STANDARD TABLE OF TKES1, "   
lt_pceformf  TYPE STANDARD TABLE OF CEFORMF, "   
lt_pceformv  TYPE STANDARD TABLE OF CEFORMV, "   
lt_pceformw  TYPE STANDARD TABLE OF CEFORMW, "   
lt_pceprint  TYPE STANDARD TABLE OF CEPRINT, "   
lt_pcesets  TYPE STANDARD TABLE OF CESETS, "   
lt_ptkes2  TYPE STANDARD TABLE OF TKES2, "   
lt_ptkes4  TYPE STANDARD TABLE OF TKES4, "   
lt_ptkes5  TYPE STANDARD TABLE OF TKES5, "   
lt_ptkesk  TYPE STANDARD TABLE OF TKESK, "   
lt_ptkebs  TYPE STANDARD TABLE OF TKEBS, "   
lt_pceforma  TYPE STANDARD TABLE OF CEFORMA, "   
lt_pceforms  TYPE STANDARD TABLE OF CEFORMS, "   
lt_pceformt  TYPE STANDARD TABLE OF CEFORMT. "   

  CALL FUNCTION 'RP_SAVE_FORM3'  "Save form in Report Painter
    TABLES
         PTKES1 = lt_ptkes1
         PCEFORMF = lt_pceformf
         PCEFORMV = lt_pceformv
         PCEFORMW = lt_pceformw
         PCEPRINT = lt_pceprint
         PCESETS = lt_pcesets
         PTKES2 = lt_ptkes2
         PTKES4 = lt_ptkes4
         PTKES5 = lt_ptkes5
         PTKESK = lt_ptkesk
         PTKEBS = lt_ptkebs
         PCEFORMA = lt_pceforma
         PCEFORMS = lt_pceforms
         PCEFORMT = lt_pceformt
. " RP_SAVE_FORM3




ABAP code using 7.40 inline data declarations to call FM RP_SAVE_FORM3

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!