06-04-2015 11:11 AM
Dear All,
Please any one help to fix the issue in BADI modification.
I've modified ZMIGO BADI then saved TR also created but after that when I try to run MIGO, is throwing error '
Message no. MIGO048
Every implementation of BAdI ZMIGO must be registered in method INIT with a unique name.
This rule has been broken, as several implementations have identical names.
Choose a unique name for each implementation.
06-04-2015 1:40 PM
The message seems self explained.
Can you verify if every single implementation on the badi has a unique name? You should open the badi and use the menu:
implementation->overview.
check if there are duplicate names for any implementations and if yes, correct the same.
Thanks,
Vikram.M
06-04-2015 1:49 PM
Can you please elaborate your explaination, as I'm a beginner I didnt understood clearly.
Thanks,
Neelambika B.
06-04-2015 1:53 PM
1. Open the actual badi via SE18.
2. Use the menu option implementation->overview.
3. You will get a new pop up screen with the list of all the implementations
4. Check if there are implementations with duplicate names. If yes, fix the same and I think that should resolve your issue.
Thanks,
Vikram.M
06-04-2015 2:21 PM
Dear Vikram,
Thanks for your suggestion, I followed your instructions but I didn't find any duplicate names, is there any other cause for this error?.
let me elaborate my query,
*On MIGO BADI already there was an implementation for adding new tab.
*I've modified that implementation part of the BADI.
*Saved it, TR generated, Activated without any issue.
*But when I try to run MIGO t-Code the error is coming as i mentioned earlier.
Thanks,
Neelambika B.
06-04-2015 2:33 PM
06-04-2015 2:35 PM
06-04-2015 2:39 PM
Every implementation of BAdI ZMIGO must be registered in method INIT with a unique name.
This rule has been broken, as several implementations have identical names.
Add a breakpoint to the method INIT and check the contents of the table ct_init after the append statement is executed and see if there are any duplicate entries.
Thanks,
Vikram.M
06-04-2015 3:09 PM
Hi Vikram,
Yes there one object is repeating.
Internal table - ct_init 's content before throwing error is as follows.
MIGO_BADI_IMPLEMENTATION_CIN
MIGO_OWN
MIGO_OWN
06-04-2015 3:18 PM
That's your issue. Raymond's hint below should be helpful to resolver the issue.
Thanks,
Vikram.M
06-08-2015 11:41 AM
Hi Raymond/Vikram,
I have not copied another implementation, where as I've modified the existing implementation and saved.
and when in debugger if I delete one entry[class id] of ct_init i.e MIGO_OWN, then it is working fine.
But I'm not understanding how to permanently rename or delete one class id[MIGO_OWN] among duplicates.
Thanks,
Neelambika B.
06-04-2015 2:59 PM
Did you copy another implementation in your ones, if yes navigate to method IF_EX_MB_MIGO_BADI~INIT of your implementation and analyze how you added a record to change parameter (itab) CT_INIT.
Hint: if you copied from another standard implementation, the value added to CT_ITIT is often a constant attribute of the implementing class, co change it to one Z-value
Regards,
Raymond
06-05-2015 10:40 AM
Hi Raymond/Vikram,
I have not copied another implementation, where as I've modified the existing implementation and saved.
and when in debugger if I delete one entry[class id] of ct_init i.e MIGO_OWN, then it is working fine.
But I'm not understanding how to permanently rename or delete one class id[MIGO_OWN] among duplicates.
Thanks,
Neelambika B.
06-08-2015 12:32 PM
Neelambika,
Did you checked if the version in D is in synch along with Q and P before proceeding with your changes.May be that will throw some light on this.
K.Kiran.
06-08-2015 12:58 PM
Hi Kiran,
I think not synchronized, as it is working fine in Quality & production system.
Thanks,
Neelambika B.