2010 Aug 23 3:21 PM
Hello,
Is it possible to deactivate BADI during runtime of a program.
I want BADI to be deactivated only for current session i.e when I call transaction from my program.
Thanking you,
Regards,
satya
Hello,
Is it possible to deactivate BADI during runtime of a program.
I want BADI to be deactivated only for current session i.e when I call transaction from my program.
Thanking you,
Regards,
satya
2010 Aug 23 3:37 PM
Hi,
all the Badi implementations tored in table SXC_ATTR with active = 'X"
Before calling the Badi Update the database table SXC_ATTR to space nothing but deactive.
once your statements are execture make statments as active by active = 'X" in table SXC_ATTR .
Prabhudas
2010 Aug 27 10:17 AM
Hello Prabhu,
Thanks for that and sorry for late reply.
But I have to execute commit statement in between. If I execute commit statment BADIs will be deactivated for other users who are executing transaction in the same time.
I do not want this to happen. Could you please suggest me any other way is possible.
Once again thankyou very much for quick response.
Regards,
satya
2010 Aug 27 10:48 AM
I think u can make use of sy-repid .
.
Edited by: vidyasagar. on Aug 27, 2010 11:59 AM
2010 Aug 27 11:00 AM
Hello Vidyasagar,
I do not want to touch implementations of BADI. Just through program I need to control this..
Thanks
Regards,
satya
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |