SAP RCP341_OBJ_VIA_VALU_READ Function Module for NOTRANSL: RMS-RCP: Objekt-Ermittlung via Prozessparamter-Merkmalwerte









RCP341_OBJ_VIA_VALU_READ is a standard rcp341 obj via valu 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: Objekt-Ermittlung via Prozessparamter-Merkmalwerte 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 obj via valu read FM, simply by entering the name RCP341_OBJ_VIA_VALU_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_OBJ_VIA_VALU_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_OBJ_VIA_VALU_READ'"NOTRANSL: RMS-RCP: Objekt-Ermittlung via Prozessparamter-Merkmalwerte
EXPORTING
I_VALFROM = "Valid-From Date
I_VALTO = "Valid-To Date
I_KEY_TYPE_PPA_MASTER = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_KEY_TYPE_EQR_MASTER = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_FLG_POB_ONLY = ESP1_FALSE "DE-EN-LANG-SWITCH-NO-TRANSLATION
IS_PPA_HEADER = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IT_VALUAT = "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_OBJ_VIA_VALU_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)

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

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

I_KEY_TYPE_EQR_MASTER - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_FLG_POB_ONLY - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

IS_PPA_HEADER - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

IT_VALUAT - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: RCPTY_SRCH_ATT_PPA_VAL
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_OBJ_VIA_VALU_READ

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

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

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_OBJ_VIA_VALU_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_i_key_type_ppa_master  TYPE PVS_PNODE_TYPE, "   
lv_i_key_type_eqr_master  TYPE PVS_PNODE_TYPE, "   
lv_i_flg_pob_only  TYPE ESP1_BOOLEAN, "   ESP1_FALSE
lv_is_ppa_header  TYPE RCPS_SRCH_ATT_PPA_H, "   
lv_it_valuat  TYPE RCPTY_SRCH_ATT_PPA_VAL, "   
lv_it_restriction_keys  TYPE RCPTY_API_KEY. "   

  CALL FUNCTION 'RCP341_OBJ_VIA_VALU_READ'  "NOTRANSL: RMS-RCP: Objekt-Ermittlung via Prozessparamter-Merkmalwerte
    EXPORTING
         I_VALFROM = lv_i_valfrom
         I_VALTO = lv_i_valto
         I_KEY_TYPE_PPA_MASTER = lv_i_key_type_ppa_master
         I_KEY_TYPE_EQR_MASTER = lv_i_key_type_eqr_master
         I_FLG_POB_ONLY = lv_i_flg_pob_only
         IS_PPA_HEADER = lv_is_ppa_header
         IT_VALUAT = lv_it_valuat
         IT_RESTRICTION_KEYS = lv_it_restriction_keys
    IMPORTING
         ET_RESULT_KEYS = lv_et_result_keys
    EXCEPTIONS
        INTERNAL_ERROR = 1
. " RCP341_OBJ_VIA_VALU_READ




ABAP code using 7.40 inline data declarations to call FM RCP341_OBJ_VIA_VALU_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.

 
 
 
 
 
 
DATA(ld_i_flg_pob_only) = ESP1_FALSE.
 
 
 
 


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!