01-20-2009 11:30 AM
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.
01-20-2009 11:35 AM
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.
01-20-2009 11:52 AM
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.
01-20-2009 12:04 PM
12-29-2009 4:01 PM
01-19-2014 6:35 AM
Dear did you got any solution for this , my requirement is exact same
01-19-2014 9:07 AM