‎2008 Aug 11 9:06 AM
Hi experts,
Tcode : MSC3 in wich table Batch Classified and Batch Not Classified indicator stores?
Please suggest me wherein which these details stores.
‎2008 Aug 11 9:16 AM
‎2008 Aug 11 10:13 AM
MARA-XCHPF
MARC-XCHPF
Thanks for your response but these fields are Batch Management is active or not .I want Batch classified or not.
‎2008 Aug 11 10:20 AM
Hello
In this case look at MCH1-CUOBJ_BM.
If this field is initial - batch is not classified.
If this field contain number - then classified.
‎2008 Aug 11 12:03 PM
Thanks for your response.
I am using SAP 4.0B field CUOBJ_BM doesnot exists in Mch1,Mcha.
‎2008 Aug 11 12:26 PM
Hi,
Some values like texts, we read only using FM.
Like that you may try FM SD_BATCH_CLASSIFICATION_DATA.
Or try batchclas* in FM name.
Hope this helps.
Regards
Meenakshi
‎2008 Aug 13 1:44 PM
Thanks for u'r reply.
But correct Function module is CTMS_OBJECT_HAS_STANDARDCLASS
WA_OBJECT (Material + Batch)
WA_OBJECT = ITAB_SALES-MATNR.
WA_OBJECT+18(10) = ITAB_SALES-CHARG.
OBJECT = WA_OBJECT
TABLE = 'MCH1'
CLASSTYPE = '023'
Pass the above value to FM: CTMS_OBJECT_HAS_STANDARDCLASS
if sy-subrc eq 0.
classified
else.
not classified.
endif.
‎2008 Aug 11 10:22 AM