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

Multiple Implementation is not working in ECC 6.0 for the BADI BATCH_MASTER

durgaprasanth_vemula
Participant
0 Likes
512

Multiple Implementation is not working in ECC 6.0 for the BADI 'BATCH_MASTER' and it was working fine in V4.6 system.

1)I had checked that the u2018Multiple useu2019 checkbox is checked for the BADI and also checked that u2018Multiple useu2019 is checked for all the implementations for this BADI in the Attribute tab.

2)I syntax checked and Activated all the Implementations for this BADI and every thing is fine.

3)I set up a break point for the Method 'CHECK_DATA_BEFORE_SAVE' in the implementation 'ZZ_BATCH_MASTER' and executed the tcode MSC2N and change the batch status to Unrestricted and hit 'Save' button and the implementation 'ZZ_BATCH_MASTER' is not triggering.

4)They are 3 Implementations for the BADI u2018BATCH_MASTERu2019

a)ZBATCH_MASTER

b)ZQMLIMS_BATCH

c)ZZ_BATCH_MASTER

And i went to the first implementation 'ZBATCH_MASTER' and set up the break point in the Method 'CHECK_DATA_BEFORE_SAVE' and executed the tcode MSC2N and change the batch status to Unrestricted and hit 'Save' button and the implementation 'ZBATCH_MASTER' is triggered.

it is triggering the First Implementation.

5)I Deactivated the First Implementation 'ZBATCH_MASTER' and set up the break point in the method 'CHECK_DATA_BEFORE_SAVE' for the Implementation 'ZZ_BATCH_MASTER' and executed the tcode MSC2N and change the batch status to Unrestricted and hit 'Save' button and the implementation 'ZZ_BATCH_MASTER' is triggered and Method is called.

Could any one help me why the third implementation is not working.

Multiple Implementation is not working in ECC 6.0 for the BADI 'BATCH_MASTER' and it was working fine in V4.6 system.

1)I had checked that the u2018Multiple useu2019 checkbox is checked for the BADI and also checked that u2018Multiple useu2019 is checked for all the implementations for this BADI in the Attribute tab.

2)I syntax checked and Activated all the Implementations for this BADI and every thing is fine.

3)I set up a break point for the Method 'CHECK_DATA_BEFORE_SAVE' in the implementation 'ZZ_BATCH_MASTER' and executed the tcode MSC2N and change the batch status to Unrestricted and hit 'Save' button and the implementation 'ZZ_BATCH_MASTER' is not triggering.

4)They are 3 Implementations for the BADI u2018BATCH_MASTERu2019

a)ZBATCH_MASTER

b)ZQMLIMS_BATCH

c)ZZ_BATCH_MASTER

And i went to the first implementation 'ZBATCH_MASTER' and set up the break point in the Method 'CHECK_DATA_BEFORE_SAVE' and executed the tcode MSC2N and change the batch status to Unrestricted and hit 'Save' button and the implementation 'ZBATCH_MASTER' is triggered.

it is triggering the First Implementation.

5)I Deactivated the First Implementation 'ZBATCH_MASTER' and set up the break point in the method 'CHECK_DATA_BEFORE_SAVE' for the Implementation 'ZZ_BATCH_MASTER' and executed the tcode MSC2N and change the batch status to Unrestricted and hit 'Save' button and the implementation 'ZZ_BATCH_MASTER' is triggered and Method is called.

Could any one help me why the third implementation is not working.

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Likes
445

Hi,

I don't have access to my ECC 6 system right now, I would check 2 things:

1) it is possible that the BAdI definition class (for classic BAdIs, it is usually CL_EX_BATCH_MASTER) has been changed manually by SAP, and they removed the LOOP, or have added an EXIT right before the ENDLOOP. I know they sometimes do it.

2) I would check if the BATCH_MASTER classic BAdI has been migrated to new BAdI, in that case I think you should migrate your BAdI implementations

3) Just to be sure: if an implementation raises an exception, that's normal that the other implementations are not executed.

BR

Sandra