Skip to Content
0
Former Member
Mar 20, 2012 at 07:18 AM

Issue 'Document 12345 is being processed' when no other instance open

145 Views

Hi,

I had a requirement to create a script which needs to be triggerred on saving the billing document in transaction VF02 for output type 'ZWIA'.

Script is implemented and is working fine.

But, when i repeat output for o/p type ZWIAin Vf02 and click on 'Save'. The control is transferred to the initial screen of VF02.

Then when i again press enter error message ' Document 12345 is currently being processed' even when no other instance is open.

This error occurs only for the output type ZWIA for which i have implemented my script.

In Sm12, no lock entries exists. Script and program are active.

Please note that while using OPEN_FORM i have used ent_retco as its 1st parameter.

But if i use sy-subrc, then upon saving after 'Repeat output' document was not saved. So, i had to use ent_retco.

Please provide your inputs on this.

Regards,

Richa