SAP CEV3_HELP_ORIGIN2 Function Module for NOTRANSL: Hilfe zum Feld Parameterherkunft-Tabellenfeld
CEV3_HELP_ORIGIN2 is a standard cev3 help origin2 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: Hilfe zum Feld Parameterherkunft-Tabellenfeld 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 cev3 help origin2 FM, simply by entering the name CEV3_HELP_ORIGIN2 into the relevant SAP transaction such as SE37 or SE38.
Function Group: CEV3
Program Name: SAPLCEV3
Main Program: SAPLCEV3
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CEV3_HELP_ORIGIN2 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 'CEV3_HELP_ORIGIN2'"NOTRANSL: Hilfe zum Feld Parameterherkunft-Tabellenfeld.
EXPORTING
* ORIGIN = ' ' "Origin (formula or table)
* ORIGIN2 = ' ' "Origin (table field)
* PARAMETER_BEZEICHNUNG = ' ' "
* PARAMETER_NAME = ' ' "Parameter name
* DISPLAY_MODE = ' ' "
IMPORTING
ORIGIN2 = "Origin (table field)
EXCEPTIONS
NO_FIELDS_FOUND = 1
IMPORTING Parameters details for CEV3_HELP_ORIGIN2
ORIGIN - Origin (formula or table)
Data type: RCEVF-PAHERDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ORIGIN2 - Origin (table field)
Data type: RCEVF-PAHE2Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PARAMETER_BEZEICHNUNG -
Data type: CABNT-ATBEZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PARAMETER_NAME - Parameter name
Data type: RCEVF-ATNAMDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DISPLAY_MODE -
Data type: RCEVX-FLG_SELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CEV3_HELP_ORIGIN2
ORIGIN2 - Origin (table field)
Data type: RCEVF-PAHE2Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_FIELDS_FOUND - no table fields found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CEV3_HELP_ORIGIN2 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_origin | TYPE RCEVF-PAHER, " SPACE | |||
| lv_origin2 | TYPE RCEVF-PAHE2, " | |||
| lv_no_fields_found | TYPE RCEVF, " | |||
| lv_origin2 | TYPE RCEVF-PAHE2, " SPACE | |||
| lv_parameter_bezeichnung | TYPE CABNT-ATBEZ, " SPACE | |||
| lv_parameter_name | TYPE RCEVF-ATNAM, " SPACE | |||
| lv_display_mode | TYPE RCEVX-FLG_SEL. " SPACE |
|   CALL FUNCTION 'CEV3_HELP_ORIGIN2' "NOTRANSL: Hilfe zum Feld Parameterherkunft-Tabellenfeld |
| EXPORTING | ||
| ORIGIN | = lv_origin | |
| ORIGIN2 | = lv_origin2 | |
| PARAMETER_BEZEICHNUNG | = lv_parameter_bezeichnung | |
| PARAMETER_NAME | = lv_parameter_name | |
| DISPLAY_MODE | = lv_display_mode | |
| IMPORTING | ||
| ORIGIN2 | = lv_origin2 | |
| EXCEPTIONS | ||
| NO_FIELDS_FOUND = 1 | ||
| . " CEV3_HELP_ORIGIN2 | ||
ABAP code using 7.40 inline data declarations to call FM CEV3_HELP_ORIGIN2
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 PAHER FROM RCEVF INTO @DATA(ld_origin). | ||||
| DATA(ld_origin) | = ' '. | |||
| "SELECT single PAHE2 FROM RCEVF INTO @DATA(ld_origin2). | ||||
| "SELECT single PAHE2 FROM RCEVF INTO @DATA(ld_origin2). | ||||
| DATA(ld_origin2) | = ' '. | |||
| "SELECT single ATBEZ FROM CABNT INTO @DATA(ld_parameter_bezeichnung). | ||||
| DATA(ld_parameter_bezeichnung) | = ' '. | |||
| "SELECT single ATNAM FROM RCEVF INTO @DATA(ld_parameter_name). | ||||
| DATA(ld_parameter_name) | = ' '. | |||
| "SELECT single FLG_SEL FROM RCEVX INTO @DATA(ld_display_mode). | ||||
| DATA(ld_display_mode) | = ' '. | |||
Search for further information about these or an SAP related objects