SAP RCP341_RCP_OBJ_BY_PPA_READ Function Module for NOTRANSL: RMS-RCP: (Intern) Objekt-Ermittlung via Prozessparamter (Kapsel)









RCP341_RCP_OBJ_BY_PPA_READ is a standard rcp341 rcp obj by ppa read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: RMS-RCP: (Intern) Objekt-Ermittlung via Prozessparamter (Kapsel) 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 rcp341 rcp obj by ppa read FM, simply by entering the name RCP341_RCP_OBJ_BY_PPA_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function RCP341_RCP_OBJ_BY_PPA_READ 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 'RCP341_RCP_OBJ_BY_PPA_READ'"NOTRANSL: RMS-RCP: (Intern) Objekt-Ermittlung via Prozessparamter (Kapsel)
EXPORTING
I_VALFROM = "Valid-From Date
I_VALTO = "Valid-To Date
IS_PPA = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_KEY_TYPE_PPA_MASTER = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IT_RESTRICTION_KEYS = "DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING
ET_RESULT_KEYS = "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
INTERNAL_ERROR = 1
.



IMPORTING Parameters details for RCP341_RCP_OBJ_BY_PPA_READ

I_VALFROM - Valid-From Date

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

I_VALTO - Valid-To Date

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

IS_PPA - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_KEY_TYPE_PPA_MASTER - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

IT_RESTRICTION_KEYS - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXPORTING Parameters details for RCP341_RCP_OBJ_BY_PPA_READ

ET_RESULT_KEYS - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXCEPTIONS details

INTERNAL_ERROR -

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

Copy and paste ABAP code example for RCP341_RCP_OBJ_BY_PPA_READ 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_i_valfrom  TYPE PVS_ADATUM, "   
lv_et_result_keys  TYPE RCPTY_SRCH_API_KEY, "   
lv_internal_error  TYPE RCPTY_SRCH_API_KEY, "   
lv_i_valto  TYPE PVS_BDATUM, "   
lv_is_ppa  TYPE RCPS_SRCH_ATT_PPA, "   
lv_i_key_type_ppa_master  TYPE RCPE_API_SRC_ENTITY_TYPE, "   
lv_it_restriction_keys  TYPE RCPTY_API_KEY. "   

  CALL FUNCTION 'RCP341_RCP_OBJ_BY_PPA_READ'  "NOTRANSL: RMS-RCP: (Intern) Objekt-Ermittlung via Prozessparamter (Kapsel)
    EXPORTING
         I_VALFROM = lv_i_valfrom
         I_VALTO = lv_i_valto
         IS_PPA = lv_is_ppa
         I_KEY_TYPE_PPA_MASTER = lv_i_key_type_ppa_master
         IT_RESTRICTION_KEYS = lv_it_restriction_keys
    IMPORTING
         ET_RESULT_KEYS = lv_et_result_keys
    EXCEPTIONS
        INTERNAL_ERROR = 1
. " RCP341_RCP_OBJ_BY_PPA_READ




ABAP code using 7.40 inline data declarations to call FM RCP341_RCP_OBJ_BY_PPA_READ

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!