SAP CSMD_ITEM_EVALUATE Function Module for NOTRANSL: Gültigkeit der Stücklistenpositionen prüfen









CSMD_ITEM_EVALUATE is a standard csmd item evaluate 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: Gültigkeit der Stücklistenpositionen prüfen 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 csmd item evaluate FM, simply by entering the name CSMD_ITEM_EVALUATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: CSMD
Program Name: SAPLCSMD
Main Program: SAPLCSMD
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CSMD_ITEM_EVALUATE 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 'CSMD_ITEM_EVALUATE'"NOTRANSL: Gültigkeit der Stücklistenpositionen prüfen
EXPORTING
* I_WERKS = "Plant
* I_DATUV = "ABAP System Field: Current Date of Application Server
* I_TECHS = "Parameter Variant/Standard Variant

TABLES
MDSSX = "View: reference BOM to BOM item for gross reqmts planning

EXCEPTIONS
ITEMDATA_INCOMPLETE = 1
.



IMPORTING Parameters details for CSMD_ITEM_EVALUATE

I_WERKS - Plant

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

I_DATUV - ABAP System Field: Current Date of Application Server

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

I_TECHS - Parameter Variant/Standard Variant

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

TABLES Parameters details for CSMD_ITEM_EVALUATE

MDSSX - View: reference BOM to BOM item for gross reqmts planning

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

EXCEPTIONS details

ITEMDATA_INCOMPLETE -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CSMD_ITEM_EVALUATE 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:
lt_mdssx  TYPE STANDARD TABLE OF MDSS, "   
lv_i_werks  TYPE MAST-WERKS, "   
lv_itemdata_incomplete  TYPE MAST, "   
lv_i_datuv  TYPE SY-DATUM, "   
lv_i_techs  TYPE TECS-TECHS. "   

  CALL FUNCTION 'CSMD_ITEM_EVALUATE'  "NOTRANSL: Gültigkeit der Stücklistenpositionen prüfen
    EXPORTING
         I_WERKS = lv_i_werks
         I_DATUV = lv_i_datuv
         I_TECHS = lv_i_techs
    TABLES
         MDSSX = lt_mdssx
    EXCEPTIONS
        ITEMDATA_INCOMPLETE = 1
. " CSMD_ITEM_EVALUATE




ABAP code using 7.40 inline data declarations to call FM CSMD_ITEM_EVALUATE

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 WERKS FROM MAST INTO @DATA(ld_i_werks).
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_datuv).
 
"SELECT single TECHS FROM TECS INTO @DATA(ld_i_techs).
 


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!