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: 

IDOC for Batch Master Conversion

Former Member
0 Kudos
2,018

Hi,

Is there any IDOC for Batch Master Conversion (Transaction : MSC2N) ?

The data being maintained is in Basic data 1 and classification tabs.

Regards,

Esha Raj

2 REPLIES 2

jaideepsharma
Active Contributor
0 Kudos
478

Hi,

Check idocs types BATMAS01, BATMAS02 and BATMAS03.

KR Jaideep,

0 Kudos
478

Hello,

I faced the problem with BATMAS03. When drilling down to F'tn BAPI_BATCH_SAVE_REPLICA I could that one and similar BATMAS03 get to work with filling following set of fields. Adapt of course the values to 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