2007 Jun 04 11:21 AM
Hi Gurus,
I need some
help in debugging BADI_FDCB_SUBBAS03.
Screen Enhancement 3 on FDCB Basic Data Screen (010, 510)
I have created a new BADI "YTESTBADI" in transaction SE19
using the Definition "BADI_FDCB_SUBBAS03"
The below 2 methods are available.
PUT_DATA_TO_SCREEN_OBJECT
GET_DATA_FROM_SCREEN_OBJECT
I have been trying to debug
using statement "BREAK-POINT" , but was not successful.
<b>Am I using the correct procedure for
enhancing FB60 "Enter Incoming Invoices" transaction?
Can someone help me out?</b>
Thanks,
Aby Jacob
2007 Jun 04 11:27 AM
Is your YTESTBADI active?
If the BADI is active and the transaction still does not stop at the break-point statement, it might not be the right BADI to implement.
Sudha
2007 Jun 04 11:27 AM
Is your YTESTBADI active?
If the BADI is active and the transaction still does not stop at the break-point statement, it might not be the right BADI to implement.
Sudha
2007 Jun 04 12:01 PM
Hi Sudha,
You are right, the earlier BADI was inactive.
I have created a new BADI "YTESTBADI2" in transaction SE19
using the Definition "BADI_FDCB_SUBBAS05"
This BADI "YTESTBADI2" is activated,
but am unable to debug
using statement "BREAK-POINT"
Any other suggestions?
Thanks anyway,
Aby Jacob
2007 Jun 04 12:12 PM
If the debugger does not stop at the break-point statement after activation, you might need to look for other badis.
I noticed you have implemented a new BADI definition this time - did the other one not work?
Sudha
PS: If you post your requirement, you might find someone on the forum who has worked on it before and may be able to help you.
Message was edited by:
Sudha Mohan
2007 Jun 04 12:19 PM
Hi,
While trying to activate the earlier mentioned BADI "YTESTBADI"
with Definition "BADI_FDCB_SUBBAS03"
a Warning message was displayed saying
<b>There are already implementations active!</b>
<b>Diagnosis
The BAdI definition this is based upon cannot be used more than once. Other active implementations already exist for the same BAdI definition.</b>
Thanks, Aby Jacob
2007 Jun 04 12:34 PM
2007 Jun 04 12:53 PM
Hi,
I found an intermediate solution .
<b>First I copied Definition "BADI_FDCB_SUBBAS03"
to a new name ==> "ZBADI_FDCB_SUBBAS03" in transaction SE18
Second Step I created a new BADI ==> "YTESTBADINEW"
in transaction SE19
using the definition "ZBADI_FDCB_SUBBAS03"
This BADI has been successfully activated.</b>
But the main problem still exists,
BREAK-POINT is still not working.
Waiting for a better/complete solution,
ABY
====
2007 Jun 04 4:26 PM
I do not understand how copying the BADI definition will help you. Please remember that the SAP code where the BADI is called, will look for implementations of the specific BADI only - it wont help to copy it!!
If you get a message that there are existing active implementations, you can go to Implementation > overview in SE18 to get the name of the active implementation. Going through the code might give you an idea of what it is being used for, and how to incorporate your logic within it as well.
Sudha
2007 Jun 05 5:26 AM
Hi Sudha,
Thanks for the correction, I overlooked this problem )
<b>Hope someone else would help me regarding
correct usage of
BADI_FDCB_SUBBAS05
correct procedure for
enhancing FB60 "Enter Incoming Invoices" transaction?
</b>
Best Regards,
Aby Jacob
2007 Jun 05 6:13 AM
Hi All,
I am trying out the below suggestion from a previous posting.
<b>
OBBH is customizing transaction, after running it u should see a view with company code:
- do a doubleclick on your company code;
- go to ITEM LINE level
- Choose the substitution of your company (if there are more subst than one)
- Create a new step
- In the Prerequisite u insert a filter on SYST-TCODE
- In the Substitution check if your field can be replaced, if it can't, create a routine to replace it.</b>
I am also closing this thread.
Thanks to all who have read/responded
Aby Jacob