Application Development 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: 

EXIT/BADI required for F-02,F-04,F-22

Former Member
0 Kudos

In F-02,F-04,F-22, after saving account document number generated, after that any EXIT/BADI available to capture that document number ??

My requirement is:: If the document posting is successfull i want to take a printout so I need to call smartform(zlayout) immidiatly after document number generated.

6 REPLIES 6

Former Member
0 Kudos

Hi,

Use this simple method to find the badi.

1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.

2. In 'Display' mode, go to 'Methods' tab.

3. Double click the method 'Get Instance' to display it source code.

4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.

5. Then run your transaction.

6. The screen will stop at this method.

7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.

Hope this helps u.

Thanks.

0 Kudos

yes, i tried this

2 badis r coming after save

1.CL_EX_FI_HEADER_SUB_1300, FI_HEADER_SUB_1300

2.CL_EX_BADI_LAYER ,BADI_LAYER

but document numbers are not showing any where.

0 Kudos

Hi,

Can you check the BADI FI_PAYREF_BADI_010.

Regards

Sandipan

Former Member
0 Kudos

ok

0 Kudos

Dear did you got any solution for this , my requirement is exact same

0 Kudos

Try BTE.transaction code FIBF.