SAP F4IF_START_VALUE_REQUEST Function Module for









F4IF_START_VALUE_REQUEST is a standard f4if start value request SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 f4if start value request FM, simply by entering the name F4IF_START_VALUE_REQUEST into the relevant SAP transaction such as SE37 or SE38.

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



Function F4IF_START_VALUE_REQUEST 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 'F4IF_START_VALUE_REQUEST'"
EXPORTING
SHLP = "Search Help
* DISPONLY = ' ' "X: No return of values
* MAXRECORDS = 500 "Maximum Number of Hits
* MULTISEL = ' ' "X: Allow Multiple Choice
* CUCOL = SY-CUCOL "Relative Column Position of First Popup
* CUROW = SY-CUROW "Relative Row Position of First Popup

IMPORTING
RC = "Return Code

TABLES
RETURN_VALUES = "Return Values with SH Parameters
.



IMPORTING Parameters details for F4IF_START_VALUE_REQUEST

SHLP - Search Help

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

DISPONLY - X: No return of values

Data type: DDSHF4CTRL-DISPONLY
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

MAXRECORDS - Maximum Number of Hits

Data type: DDSHF4CTRL-MAXRECORDS
Default: 500
Optional: Yes
Call by Reference: No ( called with pass by value option)

MULTISEL - X: Allow Multiple Choice

Data type: DDSHF4CTRL-MULTISEL
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

CUCOL - Relative Column Position of First Popup

Data type: SY-CUCOL
Default: SY-CUCOL
Optional: Yes
Call by Reference: No ( called with pass by value option)

CUROW - Relative Row Position of First Popup

Data type: SY-CUROW
Default: SY-CUROW
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for F4IF_START_VALUE_REQUEST

RC - Return Code

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

TABLES Parameters details for F4IF_START_VALUE_REQUEST

RETURN_VALUES - Return Values with SH Parameters

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

Copy and paste ABAP code example for F4IF_START_VALUE_REQUEST 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_rc  TYPE SY-SUBRC, "   
lv_shlp  TYPE SHLP_DESCR, "   
lt_return_values  TYPE STANDARD TABLE OF DDSHRETVAL, "   
lv_disponly  TYPE DDSHF4CTRL-DISPONLY, "   ' '
lv_maxrecords  TYPE DDSHF4CTRL-MAXRECORDS, "   500
lv_multisel  TYPE DDSHF4CTRL-MULTISEL, "   ' '
lv_cucol  TYPE SY-CUCOL, "   SY-CUCOL
lv_curow  TYPE SY-CUROW. "   SY-CUROW

  CALL FUNCTION 'F4IF_START_VALUE_REQUEST'  "
    EXPORTING
         SHLP = lv_shlp
         DISPONLY = lv_disponly
         MAXRECORDS = lv_maxrecords
         MULTISEL = lv_multisel
         CUCOL = lv_cucol
         CUROW = lv_curow
    IMPORTING
         RC = lv_rc
    TABLES
         RETURN_VALUES = lt_return_values
. " F4IF_START_VALUE_REQUEST




ABAP code using 7.40 inline data declarations to call FM F4IF_START_VALUE_REQUEST

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 SUBRC FROM SY INTO @DATA(ld_rc).
 
 
 
"SELECT single DISPONLY FROM DDSHF4CTRL INTO @DATA(ld_disponly).
DATA(ld_disponly) = ' '.
 
"SELECT single MAXRECORDS FROM DDSHF4CTRL INTO @DATA(ld_maxrecords).
DATA(ld_maxrecords) = 500.
 
"SELECT single MULTISEL FROM DDSHF4CTRL INTO @DATA(ld_multisel).
DATA(ld_multisel) = ' '.
 
"SELECT single CUCOL FROM SY INTO @DATA(ld_cucol).
DATA(ld_cucol) = SY-CUCOL.
 
"SELECT single CUROW FROM SY INTO @DATA(ld_curow).
DATA(ld_curow) = SY-CUROW.
 


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!