Skip to Content
0
Former Member
Jun 18, 2009 at 09:42 AM

Update Batch Classification for a Material

1577 Views

Hello friends,

I'm facing the following problem : A specific BTCI wich simulates MB01 was calling another program called SAPLCTMS to update Batch classification for a Material, this program (SAPLCTMS ) seems to be not necessary after the support package Level 57 (we just installed SAP4.6C). I didn't find any note on OSS for this...

Now i'm trying to use this BAPI instead of BTCI for the Material batch classification :

CALL FUNCTION 'BAPI_OBJCL_CHANGE'
         EXPORTING
              objectkey          = l_objnum
              objecttable        = 'MCH1' 
              classnum           = 'ZGB_TIDCLASS'
              classtype          = '022'
              status             = '1'
              keydate            = sy-datum
         TABLES
              allocvaluesnumnew  = t_valuesnum
              allocvaluescharnew = t_valueschar
              allocvaluescurrnew = t_valuescurr
              return             = t_return.

But its not working, it keeps asking for a batch number. I guess i'm not using the right FM ?

Any ideas about this ?

Thank you in advance for your help !

Best Regards.

Edited by: Soufiane FAYSSAL on Jun 18, 2009 11:42 AM