Hi Everyone,
I am using Workorder_update BADI. The code i am writing is
if wa_afvgb-ltxa1 NE wa_aafvc-ltxa1.
MESSAGE e000(ZAN) with text-001.
else.
message e000(ZAN) with text-002.
endif.
The problem is when I run IW32 trasaction and when I was suppossed to get this error, I am getting an error. It works fine till then, but then it gives me a dump saying "COMMIT work should not be interrupted". Can anyone please help me out here. I want the error to happen, but do not want the dump.
Thanks.
Kumar.