cancel
Showing results for 
Search instead for 
Did you mean: 

Debug badi BBP_CREATE_BE_PO_NEW

Former Member
0 Kudos

Hi experts

How can I debug badi BBP_CREATE_BE_PO_NEW?

Thanks

Nilson

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

break user will work . But are you sure that you have implemented correct BADI and it gets triggered in that transaction.

Sometimes it is not so easy to find a BADI method or user exit to implement at an exact momment of the execution of a program. Here is one of the ways that can be used to spot which BADI method or user exit should be implemented.

1. Enter SE24;

2. Enter the class name CL_EXITHANDLER;

3. Double-click the method GET_INSTANCE;

5. Set a break-point at command line CASE sy-subrc (near line 27);

6. Execute the transaction you want to analyse; It will stop at the break-point you have just set on class CL_EXITHANDLER when it finds any BADI method/Exit call.

7. On debug screen, type the field name exit_name. This field contains the BADI method/Exit name which is being called in the program on that momment.

8. Press F8 to see the next calls.

Thanks&Regards,

Phani,

poinmts if helpful

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

See this related thread:

BR,

Disha.

Do reward points for useful answers.

former_member1229370
Participant
0 Kudos

Hi Nilson,

The BAdI is BBP_CREATE_PO_BACK. It has 2 methods -

FILL_PO_INTERFACE

FILL_PO_CREATE1_INTERFACE

BAdI documentation is explaining all about different Parameters you need to fill in order to test this BAdI.

Please reward if you find this answer useful.

Thanks and Regards

Pras