‎2009 Aug 14 12:53 PM
HI Experts,
I am trying to change the value of batch characteristics using FM 'BAPI_BATCH_SAVE_REPLICA'. But its not working,though its not returning any error.
Could any body paste some sample code, how it is used means what all parameters needs to be passed, to change the characteristics values.
PLease help.
‎2010 Nov 03 2:30 PM
Hello,
I Faced a similar problem. Could make it work filling out following fields, of course concrete values you have to adapt to what is present in you're system.
BAPIBATCH_SAVE_REPLICA_
MATERIAL = 000000000000033001
BATCH = 12543872
PLANT = D010
CLASSALLOCATIONS
CLASS_TYPE 023
OBJECTKEY 00000000000003300112543872 (in our case MATNR&BATCH combination, dependend on system setting Plant could also be needed)
CLASSNUM FROZEN_FINISHED (Classification Class)
OBJECTTABLE MCH1
CLASSVALUATIONSCHAR
CLASS_TYPE 023
OBJECTKEY 00000000000003300112543872
OBJECTTABLE MCH1
CHARACT LOBM_ZUSTD
VALUE_CHAR X
This works now fine and similar for the BATMAS IDOC
Hope this is helpfull for you.
Dirk