SAP F4_HILFE_WP Function Module for Function Module: F4 Help for Securities
F4_HILFE_WP is a standard f4 hilfe wp SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Function Module: F4 Help for Securities 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 f4 hilfe wp FM, simply by entering the name F4_HILFE_WP into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVF4
Program Name: SAPLFVF4
Main Program: SAPLFVF4
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function F4_HILFE_WP 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 'F4_HILFE_WP'"Function Module: F4 Help for Securities.
EXPORTING
* DYNPFIELD_BUKRS = ' ' "Name des Dynprofeldes für BUKRS
* DYNUMB = SY-DYNNR "ABAP Program, Current Screen Number
* DYNPFIELD_RANL = ' ' "Name des Dynprofeldes für RANL
* DYNPFIELD_RLDEPO = ' ' "Name des Dynprofeldes für RLDEPO
* X_BUKRS = ' ' "BUKRS-Hilfe gewünscht
* X_RANL = ' ' "RANL-Hilfe gewünscht
* X_RLDEPO = ' ' "RLDEPO-Hilfe gewünscht
* CHANGE_FLAG = 'X' "Obsolete
* SINGLE_VALUE = 'X' "Obsolete
* DYNAME = SY-CPROG "ABAP Program, Caller in External Procedures
EXCEPTIONS
NO_HELP_REQUEST = 1 NO_REQUEST_MATCH = 2 WRONG_VALUES_READ = 3 NO_ENTRIES = 4
IMPORTING Parameters details for F4_HILFE_WP
DYNPFIELD_BUKRS - Name des Dynprofeldes für BUKRS
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DYNUMB - ABAP Program, Current Screen Number
Data type: SY-DYNNRDefault: SY-DYNNR
Optional: No
Call by Reference: No ( called with pass by value option)
DYNPFIELD_RANL - Name des Dynprofeldes für RANL
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DYNPFIELD_RLDEPO - Name des Dynprofeldes für RLDEPO
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_BUKRS - BUKRS-Hilfe gewünscht
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_RANL - RANL-Hilfe gewünscht
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_RLDEPO - RLDEPO-Hilfe gewünscht
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGE_FLAG - Obsolete
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SINGLE_VALUE - Obsolete
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
DYNAME - ABAP Program, Caller in External Procedures
Data type: SY-CPROGDefault: SY-CPROG
Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_HELP_REQUEST - Kein X_ZZZ oder kein DYNPFIELD_ZZZ gesetzt
Data type:Optional: No
Call by Reference: Yes
NO_REQUEST_MATCH - X-ZZZ paßt nicht zu DYNPFIELD_ZZZ
Data type:Optional: No
Call by Reference: Yes
WRONG_VALUES_READ - Fehler beim Lesen der Werte auf dem Dynpro
Data type:Optional: No
Call by Reference: Yes
NO_ENTRIES - Keine Einträge zur den vorgegebenen Werten
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for F4_HILFE_WP 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_dynpfield_bukrs | TYPE C, " SPACE | |||
| lv_no_help_request | TYPE C, " | |||
| lv_dynumb | TYPE SY-DYNNR, " SY-DYNNR | |||
| lv_dynpfield_ranl | TYPE C, " SPACE | |||
| lv_no_request_match | TYPE C, " | |||
| lv_dynpfield_rldepo | TYPE C, " SPACE | |||
| lv_wrong_values_read | TYPE C, " | |||
| lv_x_bukrs | TYPE C, " SPACE | |||
| lv_no_entries | TYPE C, " | |||
| lv_x_ranl | TYPE C, " SPACE | |||
| lv_x_rldepo | TYPE C, " SPACE | |||
| lv_change_flag | TYPE C, " 'X' | |||
| lv_single_value | TYPE C, " 'X' | |||
| lv_dyname | TYPE SY-CPROG. " SY-CPROG |
|   CALL FUNCTION 'F4_HILFE_WP' "Function Module: F4 Help for Securities |
| EXPORTING | ||
| DYNPFIELD_BUKRS | = lv_dynpfield_bukrs | |
| DYNUMB | = lv_dynumb | |
| DYNPFIELD_RANL | = lv_dynpfield_ranl | |
| DYNPFIELD_RLDEPO | = lv_dynpfield_rldepo | |
| X_BUKRS | = lv_x_bukrs | |
| X_RANL | = lv_x_ranl | |
| X_RLDEPO | = lv_x_rldepo | |
| CHANGE_FLAG | = lv_change_flag | |
| SINGLE_VALUE | = lv_single_value | |
| DYNAME | = lv_dyname | |
| EXCEPTIONS | ||
| NO_HELP_REQUEST = 1 | ||
| NO_REQUEST_MATCH = 2 | ||
| WRONG_VALUES_READ = 3 | ||
| NO_ENTRIES = 4 | ||
| . " F4_HILFE_WP | ||
ABAP code using 7.40 inline data declarations to call FM F4_HILFE_WP
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_dynpfield_bukrs) | = ' '. | |||
| "SELECT single DYNNR FROM SY INTO @DATA(ld_dynumb). | ||||
| DATA(ld_dynumb) | = SY-DYNNR. | |||
| DATA(ld_dynpfield_ranl) | = ' '. | |||
| DATA(ld_dynpfield_rldepo) | = ' '. | |||
| DATA(ld_x_bukrs) | = ' '. | |||
| DATA(ld_x_ranl) | = ' '. | |||
| DATA(ld_x_rldepo) | = ' '. | |||
| DATA(ld_change_flag) | = 'X'. | |||
| DATA(ld_single_value) | = 'X'. | |||
| "SELECT single CPROG FROM SY INTO @DATA(ld_dyname). | ||||
| DATA(ld_dyname) | = SY-CPROG. | |||
Search for further information about these or an SAP related objects