SAP MILL_CL_READ_BATCH_CHARVALUES Function Module for NOTRANSL: Merkmalsbewertung der Chargenklassifikation lesen









MILL_CL_READ_BATCH_CHARVALUES is a standard mill cl read batch charvalues 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: Merkmalsbewertung der Chargenklassifikation lesen 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 mill cl read batch charvalues FM, simply by entering the name MILL_CL_READ_BATCH_CHARVALUES into the relevant SAP transaction such as SE37 or SE38.

Function Group: MILLCL
Program Name: SAPLMILLCL
Main Program: SAPLMILLCL
Appliation area: L
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function MILL_CL_READ_BATCH_CHARVALUES 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 'MILL_CL_READ_BATCH_CHARVALUES'"NOTRANSL: Merkmalsbewertung der Chargenklassifikation lesen
EXPORTING
I_CLASSTYPE = "Class Type
* I_BYPASS_BUFFER = ' ' "Generic Type
* I_CLASS = "Class number

TABLES
IT_CLOBJ2 = "Object Table with Instance Field (CUOBJ) Added, Long Text
IT_CHARACTERISTICS = "Ranges Structure for Internal Characteristic Number
* ET_AUSP = "Valuation of the Characteristics of an Object (Ext.Obj.Num.)
* ET_ATWRT = "Formatted Characteristic Value and Object
* ET_CABNT = "Characteristic Descriptions
* IT_CHARS_LIST = "API Interface for Characteristics
.




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_SAPLMILLCL_001
EXIT_SAPLMILLCL_002

IMPORTING Parameters details for MILL_CL_READ_BATCH_CHARVALUES

I_CLASSTYPE - Class Type

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

I_BYPASS_BUFFER - Generic Type

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

I_CLASS - Class number

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

TABLES Parameters details for MILL_CL_READ_BATCH_CHARVALUES

IT_CLOBJ2 - Object Table with Instance Field (CUOBJ) Added, Long Text

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

IT_CHARACTERISTICS - Ranges Structure for Internal Characteristic Number

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

ET_AUSP - Valuation of the Characteristics of an Object (Ext.Obj.Num.)

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

ET_ATWRT - Formatted Characteristic Value and Object

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

ET_CABNT - Characteristic Descriptions

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

IT_CHARS_LIST - API Interface for Characteristics

Data type: API_CHAR
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for MILL_CL_READ_BATCH_CHARVALUES 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_it_clobj2  TYPE STANDARD TABLE OF MILL_CLOBJ2, "   
lv_i_classtype  TYPE TCLA-KLART, "   
lv_i_bypass_buffer  TYPE C, "   SPACE
lt_it_characteristics  TYPE STANDARD TABLE OF MILL_R_ATINN, "   
lt_et_ausp  TYPE STANDARD TABLE OF MILL_S_AUSP, "   
lv_i_class  TYPE RMCLS-CLASS, "   
lt_et_atwrt  TYPE STANDARD TABLE OF MILL_S_ATWRT, "   
lt_et_cabnt  TYPE STANDARD TABLE OF CABNT, "   
lt_it_chars_list  TYPE STANDARD TABLE OF API_CHAR. "   

  CALL FUNCTION 'MILL_CL_READ_BATCH_CHARVALUES'  "NOTRANSL: Merkmalsbewertung der Chargenklassifikation lesen
    EXPORTING
         I_CLASSTYPE = lv_i_classtype
         I_BYPASS_BUFFER = lv_i_bypass_buffer
         I_CLASS = lv_i_class
    TABLES
         IT_CLOBJ2 = lt_it_clobj2
         IT_CHARACTERISTICS = lt_it_characteristics
         ET_AUSP = lt_et_ausp
         ET_ATWRT = lt_et_atwrt
         ET_CABNT = lt_et_cabnt
         IT_CHARS_LIST = lt_it_chars_list
. " MILL_CL_READ_BATCH_CHARVALUES




ABAP code using 7.40 inline data declarations to call FM MILL_CL_READ_BATCH_CHARVALUES

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 KLART FROM TCLA INTO @DATA(ld_i_classtype).
 
DATA(ld_i_bypass_buffer) = ' '.
 
 
 
"SELECT single CLASS FROM RMCLS INTO @DATA(ld_i_class).
 
 
 
 


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!