on 02-16-2012 2:19 PM
Hi All,
There is a custom output type for a delivery which when triggered should print a form (SAP SCRIPT).
But when it is processed via a job (i.e. in background with dispatch time 1) it is not printing the form but still holding a green processed icon. Please note - this is not happening in case of all deliveries. Its giving an error "CLOSE_FORM is invalid, OPEN_FORM is missing".
But when those failed delivieries are processed manually in foregraound (with dispatch time as 4) the form is printed correctly.
Can anyone please guide me where exactly I should check for it as I debugged and could nto find anything wrong. Could nto get this error at all.
Thanks & Regards,
Namrata
Edited by: Rob Burbank on Feb 16, 2012 9:41 AM
Hi,
I think that the form does not exist. Actually the forms must physically exist in the client.
You can achieve this by using Transaction code -> SE71 (copy the forms from client 000 to the current client)
Goto transaction code se71->Utilities - >Copy by client.
Then to if your problem isnt resolved ,then u should check which exception is triggered .for this u set a breakpoint
for function module OPEN_FORM).
____R else u use the form debugger___
Goto Transaction SE71->Utilities -> Activate debugger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's telling you what the problem is. It's not executing the FM OPEN_FORM before it hits CLOSE_FORM.
Rob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I do understand the problem, that OPEN_FORM is not being hit before hitting CLOSE_FORM. But what I do nto understand is that how to debug / check as this prob is not coming while being precoeesed in foreground (i.e. manually). This error is encountered only when it is processed via a job in background.
Please provide your inputs.
Thanks & Regards,
Namrata
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.