SAP SD_SCALE_LIST_FOR_F4 Function Module for NOTRANSL: Suchhilfe Staffeln: Steuerung bei Suchhilfe









SD_SCALE_LIST_FOR_F4 is a standard sd scale list for f4 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: Suchhilfe Staffeln: Steuerung bei Suchhilfe 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 sd scale list for f4 FM, simply by entering the name SD_SCALE_LIST_FOR_F4 into the relevant SAP transaction such as SE37 or SE38.

Function Group: V57C
Program Name: SAPLV57C
Main Program: SAPLV57C
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SD_SCALE_LIST_FOR_F4 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 'SD_SCALE_LIST_FOR_F4'"NOTRANSL: Suchhilfe Staffeln: Steuerung bei Suchhilfe
EXPORTING
* I_SPRAS = SY-LANGU "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_KAPPL = 'F ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_SCABAS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_SCABAS_INPUT = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_LIST_TITLE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_MODE = VFSC1_LMODE-SHELP "Processing Mode
I_SHLP = "DE-EN-LANG-SWITCH-NO-TRANSLATION

TABLES
E_RECORD_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
.



IMPORTING Parameters details for SD_SCALE_LIST_FOR_F4

I_SPRAS - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_KAPPL - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: VFSCAH-KAPPL
Default: 'F '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SCABAS - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_SCABAS_INPUT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_LIST_TITLE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_MODE - Processing Mode

Data type: VFSC1_LIST_MODE
Default: VFSC1_LMODE-SHELP
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SHLP - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: SHLP_DESCR_T
Optional: No
Call by Reference: Yes

TABLES Parameters details for SD_SCALE_LIST_FOR_F4

E_RECORD_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for SD_SCALE_LIST_FOR_F4 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_spras  TYPE VFSCAHT-SPRAS, "   SY-LANGU
lt_e_record_tab  TYPE STANDARD TABLE OF SEAHLPRES, "   
lv_i_kappl  TYPE VFSCAH-KAPPL, "   'F '
lv_i_scabas  TYPE VFSCAH-SCABAS, "   
lv_i_scabas_input  TYPE RV54A-SELKZ, "   'X'
lv_i_list_title  TYPE DD30V-DDTEXT, "   
lv_i_mode  TYPE VFSC1_LIST_MODE, "   VFSC1_LMODE-SHELP
lv_i_shlp  TYPE SHLP_DESCR_T. "   

  CALL FUNCTION 'SD_SCALE_LIST_FOR_F4'  "NOTRANSL: Suchhilfe Staffeln: Steuerung bei Suchhilfe
    EXPORTING
         I_SPRAS = lv_i_spras
         I_KAPPL = lv_i_kappl
         I_SCABAS = lv_i_scabas
         I_SCABAS_INPUT = lv_i_scabas_input
         I_LIST_TITLE = lv_i_list_title
         I_MODE = lv_i_mode
         I_SHLP = lv_i_shlp
    TABLES
         E_RECORD_TAB = lt_e_record_tab
. " SD_SCALE_LIST_FOR_F4




ABAP code using 7.40 inline data declarations to call FM SD_SCALE_LIST_FOR_F4

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 SPRAS FROM VFSCAHT INTO @DATA(ld_i_spras).
DATA(ld_i_spras) = SY-LANGU.
 
 
"SELECT single KAPPL FROM VFSCAH INTO @DATA(ld_i_kappl).
DATA(ld_i_kappl) = 'F '.
 
"SELECT single SCABAS FROM VFSCAH INTO @DATA(ld_i_scabas).
 
"SELECT single SELKZ FROM RV54A INTO @DATA(ld_i_scabas_input).
DATA(ld_i_scabas_input) = 'X'.
 
"SELECT single DDTEXT FROM DD30V INTO @DATA(ld_i_list_title).
 
DATA(ld_i_mode) = VFSC1_LMODE-SHELP.
 
 


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!