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: 

User exit / BADI in MSC1N and MSC2N

Former Member
0 Kudos

Hi all,

I would like to make some automatic changes to MCH1-LWEDT in the course of batch posting (MSC1N and MSC2N). I found the definition BATCH_MASTER and some user exits, but none of them looks if I could make changes to the recorded batch data.

Does anyone of you have an idea how to resolve the problem?

Thanks in advance

Reiner

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Check of this...

BATCHCHK

MBCFC010

SAPLCHVW

SAPLMHD1

SAPLV01D

SAPLV01P

SAPLV01Z

SAPLV1ZE

SAPLV1ZN

<b>Reward points</b>

Regards

5 REPLIES 5

Former Member
0 Kudos

Hi,

Check of this...

BATCHCHK

MBCFC010

SAPLCHVW

SAPLMHD1

SAPLV01D

SAPLV01P

SAPLV01Z

SAPLV1ZE

SAPLV1ZN

<b>Reward points</b>

Regards

Former Member
0 Kudos

Hi

Try the following BAPI's:

BAPI_OBJCL_GETDETAIL

<b>BAPI_OBJCL_CHANGE</b>

or use the fun module:

CLAF_CLASSIFICATION_OF_OBJECTS.

Reward points for useful Answers

Regards

Anji

Former Member
0 Kudos

Hi,

You can use SAPLV1ZN enhancement. In this EXIT_SAPLV01Z_013 function exit has BATCH_MASTER_DATA changing parameter. In BATCH_MASTER_DATA strucutre LWEDT field is available, so you can modify the value here..

Thanks,

Abbu.

0 Kudos

Thanks Abbu,

I have seen this exit before. Unfortunately it will never be processed using MSC1N and MSC2N because of OSS message 723294. But I think I will open another OSS message to discuss this new constant. I will publish the rsult here!

Thanks and best regards,

Reiner

0 Kudos

Hi Abbu,

I opened a new OSS message. SAP told me that the mentioned user exit is not available in MSC1N and MSC2N. It's not a fault - it's intended not to process this exit in online transactions.

Now I'm none the wiser. Does anyone has an idea how to adapt MCH1 / MCHA data during the posting in the course of online usage of transaction MSC1N MSC2N?

And forget about BADI BATCH_MASTER. In this BADI no change of HSDAT LWEDT is possible.

Thanks and best regards,

Reiner