Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Module to Select Characteristics of Batch Class ?

Former Member
0 Likes
3,366

Can you please advise the function module that can be used to select the characteristics of a batch class?.

I have tried QMSP_MATERIAL_BATCH_CLASS_READ but it does not appear to work for class type = '023'.

Thanks.

Tai

Can you please advise the function module that can be used to select the characteristics of a batch class?.

I have tried QMSP_MATERIAL_BATCH_CLASS_READ but it does not appear to work for class type = '023'.

Thanks.

Tai

4 REPLIES 4
Read only

Former Member
0 Likes
1,202

BAPI_BATCH_GET_DETAIL Batch Detailed Information

Donno whether this helps or not.,.

Jusc check this too

https://forums.sdn.sap.com/click.jspa?searchID=24440766&messageID=7291527

Edited by: Harini Krishna on Apr 3, 2009 3:02 PM

Read only

Former Member
0 Likes
1,202

Hi Taiwo,

'
Call Function 'CLAF_CLASSIFICATION_OF_OBJECTS                  
  Import parameters               Value                                      
  CLASS                                                                      
  CLASSTEXT                                                                  
  CLASSTYPE                     023                                        
  CLINT                                0000000000                                 
  FEATURES                        X                                          
  LANGUAGE                        EN                                         
  OBJECT                              L3-00147-02C      R600100296               
  OBJECTTABLE                     MCH1                                       
  KEY_DATE                                                                   
  INITIAL_CHARACT                 X                                          
  NO_VALUE_DESCRIPT                                                          
  CHANGE_SERVICE_CLF                                                         
  INHERITED_CHAR                                                             
  CHANGE_NUMBER                                                                                
Tables                          Value                                                                                
T_CLASS                            0 Entries                               
  T_OBJECTDATA                       0 Entries                               
  I_SEL_CHARACTERISTIC               0 Entries                               
  T_NO_AUTH_CHARACT                  0 Entries                                                                                

Try this fm

Regards,

Prabhudas

Read only

Former Member
0 Likes
1,202

Hi Taiwo,



Call Function 'CLAF_CLASSIFICATION_OF_OBJECTS                  
 EXPORTING                                    
  CLASS                       = 'CL_MATL_ENDITEM'     "Batch class                                                        
  CLASSTEXT                =                                     "Optional                                                  
  CLASSTYPE              =        001                         "Default
   FEATURES               =          X                        "Default
   OBJECT                    =        L3-00147-02C      "Material Number
  OBJECTTABLE           =          MCH1                                       
 Tables                         
  T_CLASS                         =   "Output class
  T_OBJECTDATA               =    "Batch characteristic                            
  I_SEL_CHARACTERISTIC     = "Optional
  T_NO_AUTH_CHARACT        = "Optional         

try this..

Regards,

Prabhduas

Read only

Former Member
0 Likes
1,202

You need to pass the following values to the function inorder to get the batch characteristics

000000000000000015 Materuial No

BATCH0001 Batch

CLASSTYPE 023

OBJECT 000000000000000015BATCH0001

OBJECTTABLE MCH1

Regards,

Tai