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

Problem in using BAPI 'BAPI_BATCH_SAVE_REPLICA'

Former Member
0 Likes
1,375

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.

1 REPLY 1
Read only

Former Member
0 Likes
701

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