‎2008 Jun 03 6:54 PM
Hi All,
I think I have an interesting questions afterall. I am trying to implement a BADI "WORKORDER_UPDATE". The code I am writing is
if wa_afvgb-txchg = 'X'.
SUBMIT zl_error
AND RETURN.When I restart my debugging window at the IF statement, the long text is not being updated, but if I let it go to the error statement, it is giving me an error and still updating the long text.
So my question is what exactly happens when one chooses to "Restart Debugging". Are there any roll back or commit statements that I should be looking at to incorporate in my code?
Kumar.
‎2008 Jun 03 6:57 PM
Hi,
I dont think i understand your question correctly but try COMMIT WORK. after your Submit command.
As you are calling BAPI inside and if you are expecting the results, add commit work next to your submit statement.
hope this helps.
thnx,
ags.
‎2008 Jun 03 6:57 PM
Hi,
I dont think i understand your question correctly but try COMMIT WORK. after your Submit command.
As you are calling BAPI inside and if you are expecting the results, add commit work next to your submit statement.
hope this helps.
thnx,
ags.
‎2008 Jun 03 7:03 PM
Agasti,
I am not using a BAPI, but using a BADI. I wanted to know what is the difference when we press "Restart Debug" that makes SAP not to retain long text.
Kumar.