SAP FVF4_GSART_CHECK Function Module for F4 Help for SID of Securities









FVF4_GSART_CHECK is a standard fvf4 gsart check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for F4 Help for SID of 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 fvf4 gsart check FM, simply by entering the name FVF4_GSART_CHECK into the relevant SAP transaction such as SE37 or SE38.

Function Group: FVF4
Program Name: SAPLFVF4
Main Program: SAPLFVF4
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FVF4_GSART_CHECK 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 'FVF4_GSART_CHECK'"F4 Help for SID of Securities
EXPORTING
DYNPR_FIELDNAME = "
* SANLF = "
RANTYP = "
* CHANGE_FLAG = 'x' "
* TITEL = ' ' "
* SINGLE_VALUE = 'X' "

IMPORTING
GSART = "

EXCEPTIONS
NO_POSTING_SELECTED = 1 POSTING_NOT_FOUND = 2
.



IMPORTING Parameters details for FVF4_GSART_CHECK

DYNPR_FIELDNAME -

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

SANLF -

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

RANTYP -

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

CHANGE_FLAG -

Data type: C
Default: 'x'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TITEL -

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

SINGLE_VALUE -

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FVF4_GSART_CHECK

GSART -

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

EXCEPTIONS details

NO_POSTING_SELECTED -

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

POSTING_NOT_FOUND -

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

Copy and paste ABAP code example for FVF4_GSART_CHECK 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_gsart  TYPE TZPA-GSART, "   
lv_dynpr_fieldname  TYPE DYNPREAD-FIELDNAME, "   
lv_no_posting_selected  TYPE DYNPREAD, "   
lv_sanlf  TYPE TZPA-SANLF, "   
lv_posting_not_found  TYPE TZPA, "   
lv_rantyp  TYPE TZPA-RANTYP, "   
lv_change_flag  TYPE C, "   'x'
lv_titel  TYPE C, "   SPACE
lv_single_value  TYPE C. "   'X'

  CALL FUNCTION 'FVF4_GSART_CHECK'  "F4 Help for SID of Securities
    EXPORTING
         DYNPR_FIELDNAME = lv_dynpr_fieldname
         SANLF = lv_sanlf
         RANTYP = lv_rantyp
         CHANGE_FLAG = lv_change_flag
         TITEL = lv_titel
         SINGLE_VALUE = lv_single_value
    IMPORTING
         GSART = lv_gsart
    EXCEPTIONS
        NO_POSTING_SELECTED = 1
        POSTING_NOT_FOUND = 2
. " FVF4_GSART_CHECK




ABAP code using 7.40 inline data declarations to call FM FVF4_GSART_CHECK

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 GSART FROM TZPA INTO @DATA(ld_gsart).
 
"SELECT single FIELDNAME FROM DYNPREAD INTO @DATA(ld_dynpr_fieldname).
 
 
"SELECT single SANLF FROM TZPA INTO @DATA(ld_sanlf).
 
 
"SELECT single RANTYP FROM TZPA INTO @DATA(ld_rantyp).
 
DATA(ld_change_flag) = 'x'.
 
DATA(ld_titel) = ' '.
 
DATA(ld_single_value) = 'X'.
 


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!