Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Personas 2 SP3 - > Issue while Saving a Contract in VA41

Hello all,

I am trying to SAVE a contract via VA41. A script button is written which will first make a call to Incompletion Log button, if the message is successful, then I am pushing SAVE button. The script works fine but the only thing is, after it checks the incompletion log, it waits for few seconds which is sort of incorrect as the user can make additional changes...I am attaching the script for review and suggestions.

Any help is appreciated.

Thanks,

Salil

replied

Well, does it really save the order? I'm just asking because right after your script presses the Edit button, it also starts a new transaction. I'd think that if Edit is pressed, then you wouldn't want to immediately leave to another transaction because the user will not have the chance to actually perform the edit.

In other words, to me it seems that you need to separate the logic of what happens when there is a popup and you'd want to edit the document vs. when there is no such popup and the document is complete.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question