09-27-2006 8:36 AM
hi all,
Does anyone know what is the BADI i can use for FB50.
I am creating document in FB50. I need a BADI that can automatically update the Business Area.
Does anyone have any idea which BADI to use?
Thanks
William Wilstroth
09-27-2006 8:50 AM
Hello,
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
Regs,
Venkat
09-27-2006 8:50 AM
Hello,
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
Regs,
Venkat
09-27-2006 9:24 AM
> Hello,
>
> Follow the below steps to find out what all BADI's
> are called when you press any button in any
> transaction.
>
> 1) Goto se24 (Display class cl_exithandler)
> 2) Double click on the method GET_INSTANCE.
> 3) Put a break point at Line no.25 (CASE sy-subrc).
>
> Now
> 4) Execute SAP standard transaction
> 5) Press the required button for which you need to
> write an exit logic, the execution will stop at the
> break point.
> 6) Check the values of variable 'exit_name', it will
> give you the BADI name called at that time.
> 7) This way you will find all the BADIs called on
> click of any button in any transaction.
>
> Regs,
> Venkat
I tried your steps as described above. But the program won't go to the breakpoint at line 25...
is there any step above that is missing?
Thanks
William Wilstroth
09-27-2006 9:31 AM
Hi William
Just as I said before u have to use substitution no BADI
Max
09-27-2006 8:51 AM
09-27-2006 9:36 AM
make use of BTE ( Business Transaction Events )
for info : tcode FFBF.
Regards
Prabhu
04-02-2009 10:39 AM
- I am closing this long time ago issue -
Thanks' for everyone's support...