SAP VALUE_CURVE_POSSIBLE Function Module for NOTRANSL: Check: Existieren zu den Merkmalen Werteleisten









VALUE_CURVE_POSSIBLE is a standard value curve possible 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: Check: Existieren zu den Merkmalen Werteleisten 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 value curve possible FM, simply by entering the name VALUE_CURVE_POSSIBLE into the relevant SAP transaction such as SE37 or SE38.

Function Group: WMVC
Program Name: SAPLWMVC
Main Program: SAPLWMVC
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function VALUE_CURVE_POSSIBLE 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 'VALUE_CURVE_POSSIBLE'"NOTRANSL: Check: Existieren zu den Merkmalen Werteleisten
EXPORTING
I_MATNR = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_MATKL = "Material Class
* I_KUNNR = "DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING
E_ALL_WRLST = "DE-EN-LANG-SWITCH-NO-TRANSLATION

TABLES
* PI_T_CHARACTERISTICS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_T_VARIANTS = "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
INTERNAL_ERROR = 1 NO_DISTRIBUTION_POSSIBLE = 2
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLWMVC_001 User Exit for Selecting a Quota Scale
EXIT_SAPLWMVC_002 User Exit for Automatic Maintenance of Quota Scales

IMPORTING Parameters details for VALUE_CURVE_POSSIBLE

I_MATNR - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_MATKL - Material Class

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

I_KUNNR - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXPORTING Parameters details for VALUE_CURVE_POSSIBLE

E_ALL_WRLST - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TABLES Parameters details for VALUE_CURVE_POSSIBLE

PI_T_CHARACTERISTICS - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

PI_T_VARIANTS - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXCEPTIONS details

INTERNAL_ERROR - Internal error

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

NO_DISTRIBUTION_POSSIBLE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for VALUE_CURVE_POSSIBLE 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_matnr  TYPE MARA-MATNR, "   
lv_e_all_wrlst  TYPE WMQK-DEFAU, "   
lv_internal_error  TYPE WMQK, "   
lt_pi_t_characteristics  TYPE STANDARD TABLE OF API_CHAR, "   
lv_i_matkl  TYPE T023-MATKL, "   
lt_pi_t_variants  TYPE STANDARD TABLE OF SVARTAB, "   
lv_no_distribution_possible  TYPE SVARTAB, "   
lv_i_kunnr  TYPE KNA1-KUNNR. "   

  CALL FUNCTION 'VALUE_CURVE_POSSIBLE'  "NOTRANSL: Check: Existieren zu den Merkmalen Werteleisten
    EXPORTING
         I_MATNR = lv_i_matnr
         I_MATKL = lv_i_matkl
         I_KUNNR = lv_i_kunnr
    IMPORTING
         E_ALL_WRLST = lv_e_all_wrlst
    TABLES
         PI_T_CHARACTERISTICS = lt_pi_t_characteristics
         PI_T_VARIANTS = lt_pi_t_variants
    EXCEPTIONS
        INTERNAL_ERROR = 1
        NO_DISTRIBUTION_POSSIBLE = 2
. " VALUE_CURVE_POSSIBLE




ABAP code using 7.40 inline data declarations to call FM VALUE_CURVE_POSSIBLE

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 MATNR FROM MARA INTO @DATA(ld_i_matnr).
 
"SELECT single DEFAU FROM WMQK INTO @DATA(ld_e_all_wrlst).
 
 
 
"SELECT single MATKL FROM T023 INTO @DATA(ld_i_matkl).
 
 
 
"SELECT single KUNNR FROM KNA1 INTO @DATA(ld_i_kunnr).
 


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!