Application Development 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: 

Wiping out Old Batch Characteristics in MSC2N

Former Member
0 Kudos
254

Hi,

I have a requirement where I have to do a Material-To-Material Transfer (VLMOVE) and update the Batch Characteristics in a Custom Inbound Posting Program. Now, I am able to update the batch Characteristics for the new Material with the Characteristic Values received in the Inbound IDoc.

However, I am unable to wipe out (Clear) all the Old Batch Characteristics for the Old material. Can somebody give me an idea as to how exactly do we go about clearing all the Batch Characteristics for a Material - Batch Number in MSC2N Transaction?

Thanks and Regards,

Venkat.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
66

Does Wiping out means deleting the Old Batch Characteristics.

Then use BAPI_BATCH_DELETE..

Thanx..

4 REPLIES 4

Former Member
0 Kudos
67

Does Wiping out means deleting the Old Batch Characteristics.

Then use BAPI_BATCH_DELETE..

Thanx..

0 Kudos
66

No. It does not mean that. I just have to clear the Characteristic Values from MSC2N keeping the Classification alive.

Thanks and Regards,

Venkat.

0 Kudos
66

Try fm BAPI_OBJCL_CHANGE

You can find examples in forum.

former_member387317
Active Contributor
0 Kudos
66

Hi Konduri Venkata,

Did you try below FMs ??

BAPI_BATCH_CHANGE

BAPI_OBJCL_CHANGE

also search for BAPI_BATCH*

u will get other bapis from it...

OR else...

at last u can have one more option is LSMW...

because MSC2N is SAP Njoy Tcode so it wont allow BDC...

Hope it will solve ur problem

Reward points if useful...

Thanks & Regards

ilesh 24x7