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

Help in debugging BADI_FDCB_SUBBAS03 (transaction FB60)

Former Member
0 Likes
1,740

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,508

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

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

9 REPLIES 9
Read only

Former Member
0 Likes
1,509

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

Read only

0 Likes
1,508

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

Read only

0 Likes
1,508

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

Read only

0 Likes
1,508

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

Read only

0 Likes
1,508

Hi,

I have created a new posting

Thanks, Aby Jacob

Read only

0 Likes
1,508

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

====

Read only

0 Likes
1,508

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

Read only

0 Likes
1,508

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

Read only

0 Likes
1,508

Hi All,

I am trying out the below suggestion from a previous posting.

<u></u>

<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