SAP RCP705_RCP_FIND_BY_EQ_REQ Function Module for Search Function: Recipe with Equipment Requirements...
RCP705_RCP_FIND_BY_EQ_REQ is a standard rcp705 rcp find by eq req SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Search Function: Recipe with Equipment Requirements... 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 rcp705 rcp find by eq req FM, simply by entering the name RCP705_RCP_FIND_BY_EQ_REQ into the relevant SAP transaction such as SE37 or SE38.
Function Group: RCP705
Program Name: SAPLRCP705
Main Program: SAPLRCP705
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RCP705_RCP_FIND_BY_EQ_REQ 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 'RCP705_RCP_FIND_BY_EQ_REQ'"Search Function: Recipe with Equipment Requirements....
EXPORTING
* I_VALDAT = SY-DATUM "Key Date
CHANGING
* X_ADDITIONAL_PARAMS = "Additional Parameters
TABLES
I_SUBSTANCE_TAB = "Present Set of Hits
I_ENVIRONMENT_TAB = "Environment Parameters Assigned
E_SUBSTANCE_TAB = "Set of Hits Determined
* E_HITINFO_TAB = "Additional Information on the Formulas in the Hit List
* E_FRTO_RECN_TAB = "Result of the Historical Search
EXCEPTIONS
INTERNAL_ERROR = 1
IMPORTING Parameters details for RCP705_RCP_FIND_BY_EQ_REQ
I_VALDAT - Key Date
Data type: ESTRH-VALFRDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for RCP705_RCP_FIND_BY_EQ_REQ
X_ADDITIONAL_PARAMS - Additional Parameters
Data type: ESP12_EXTSEA_FUNC_TYPEOptional: Yes
Call by Reference: Yes
TABLES Parameters details for RCP705_RCP_FIND_BY_EQ_REQ
I_SUBSTANCE_TAB - Present Set of Hits
Data type: RCGSTDRECNOptional: No
Call by Reference: No ( called with pass by value option)
I_ENVIRONMENT_TAB - Environment Parameters Assigned
Data type: TCGENVOptional: No
Call by Reference: No ( called with pass by value option)
E_SUBSTANCE_TAB - Set of Hits Determined
Data type: RCGSTDRECNOptional: No
Call by Reference: No ( called with pass by value option)
E_HITINFO_TAB - Additional Information on the Formulas in the Hit List
Data type: RCGHITINFOOptional: Yes
Call by Reference: No ( called with pass by value option)
E_FRTO_RECN_TAB - Result of the Historical Search
Data type: ESP1_FRTO_RECN_TAB_TYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INTERNAL_ERROR - Search Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RCP705_RCP_FIND_BY_EQ_REQ 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_valdat | TYPE ESTRH-VALFR, " SY-DATUM | |||
| lv_internal_error | TYPE ESTRH, " | |||
| lt_i_substance_tab | TYPE STANDARD TABLE OF RCGSTDRECN, " | |||
| lv_x_additional_params | TYPE ESP12_EXTSEA_FUNC_TYPE, " | |||
| lt_i_environment_tab | TYPE STANDARD TABLE OF TCGENV, " | |||
| lt_e_substance_tab | TYPE STANDARD TABLE OF RCGSTDRECN, " | |||
| lt_e_hitinfo_tab | TYPE STANDARD TABLE OF RCGHITINFO, " | |||
| lt_e_frto_recn_tab | TYPE STANDARD TABLE OF ESP1_FRTO_RECN_TAB_TYPE. " |
|   CALL FUNCTION 'RCP705_RCP_FIND_BY_EQ_REQ' "Search Function: Recipe with Equipment Requirements... |
| EXPORTING | ||
| I_VALDAT | = lv_i_valdat | |
| CHANGING | ||
| X_ADDITIONAL_PARAMS | = lv_x_additional_params | |
| TABLES | ||
| I_SUBSTANCE_TAB | = lt_i_substance_tab | |
| I_ENVIRONMENT_TAB | = lt_i_environment_tab | |
| E_SUBSTANCE_TAB | = lt_e_substance_tab | |
| E_HITINFO_TAB | = lt_e_hitinfo_tab | |
| E_FRTO_RECN_TAB | = lt_e_frto_recn_tab | |
| EXCEPTIONS | ||
| INTERNAL_ERROR = 1 | ||
| . " RCP705_RCP_FIND_BY_EQ_REQ | ||
ABAP code using 7.40 inline data declarations to call FM RCP705_RCP_FIND_BY_EQ_REQ
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 VALFR FROM ESTRH INTO @DATA(ld_i_valdat). | ||||
| DATA(ld_i_valdat) | = SY-DATUM. | |||
Search for further information about these or an SAP related objects