2014 Aug 11 7:53 AM
Dear Friends,
I am working on of the standard BADI's which is for PO BADI Name : ME_PROCESS_PO_CUST , In the Attributes of this BADI i can see that it is for single use as Multiple use is not Checked , and as far as i know that for a single use BADI we can only have a Single Implementation and Not a Multiple Implementation. I Have browsed but couldn't find concrete solution for Single use having multiple implementations. I am Infact i am not writing any code in those methods of those Implementations but when i am activating them there are getting activated . Please suggest why is it or anything wrong in the process explained.
Apart from this when I try to implement a BADI definition the BADI Interface section gets copied , but where as Fcodes and Screen enhancement are not copied to my newly created enhancement implementation why is it so.
Thanks In Advance.
Thanks & regards
hashim Khan
2014 Aug 11 9:44 AM
Hello Hashim
Single use BADIs can have multiple implementations in the system but only one implementation can be active at the same time.
If you want to create a new implementation of the standard BADI but the BADI is Single Use and already has an active implementation here are your options:
1. Create new implementation, the class of the new implementation should inherit from the class of the original implementation, redefine the methods you need to change and place the SUPER->METHOD_NAME call if needed. This is the best approach.
2. Create new implementation and copy the original coding from the original implementation to the newly create one.
regards
2014 Aug 11 8:07 AM
If you go to SE18 and enter your badi name, then click Display, there is a button on the top right of your menu "documentation" maybe this will help you. Also, if you from here also click goto -> sample code -> display, you can find sap sample code for this badi.
2014 Aug 14 10:41 AM
I dont see any 'Sample code' display in the 'Goto' menu. Which netweaver version are you on? I dont see it in NW 7.02
2014 Aug 11 9:44 AM
Hello Hashim
Single use BADIs can have multiple implementations in the system but only one implementation can be active at the same time.
If you want to create a new implementation of the standard BADI but the BADI is Single Use and already has an active implementation here are your options:
1. Create new implementation, the class of the new implementation should inherit from the class of the original implementation, redefine the methods you need to change and place the SUPER->METHOD_NAME call if needed. This is the best approach.
2. Create new implementation and copy the original coding from the original implementation to the newly create one.
regards
2014 Aug 17 8:55 AM
Hi Adamus,
Thanks for your response,
As per my Understanding , if there is already an Active Impl then System will not allow you to create another Implementation, here in my case there is already a Active Impl , and upon which i am creating another Implementation which is getting created successfully or is it so that that only the 1st active Implementation gets executed and rest are ignored.
Please correct me if i am wrong .
Thanks & Regards
Hasim
2014 Aug 17 3:03 PM
Hello Hasim
Single use BADI means that you can have multiple implementations in the system but that only one of these implementations can be active at a time.
regards
2014 Aug 14 10:13 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |