cancel
Showing results for 
Search instead for 
Did you mean: 

Script Form print issue with output type

former_member284451
Participant
0 Kudos

hello,

i have maintained a output type for a purchase organisation in MN04, VN partner keep blank , medium 1 for print out and in date time : 4

output device is 'LOCL' "print immediately" and "release after output" are active in communication.

a message type generated when i created a PO, but it is a red light, and processing log is "Error in OPEN_FORM for document xxx".

after checked, custom script from caused this issue, but how to resolve this problem?

best regards,

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member284451
Participant
0 Kudos

i debug function OPEN FORM, and script form can be opened we are using custom sapscript form (copy MEDRUCK as a basis)

i exclude Note 532251 caused my issue.

prolbem still doesn't resolve.

Edited by: colin hong on Nov 15, 2010 7:10 AM

david_liu1
Advisor
Advisor
0 Kudos

Hello,

The error ME142 can have different causes like missing authorizations

or a terminated connection. Please see SAP notes 397691 and 532251. This note

states that is errors occur when purchasing documents are output, If

errors occur when purchasing documents are output, the system generates

an error message in the message log of the message overview. However,

error message ME142 'Error in OPEN_FORM for document &' contains only

the information that an error occurred and not the error cause. With the

attached source code, the error cause is also displayed in the error

message.

Regards,

David

Former Member
0 Kudos

well, ERROR in open form is quite telling.

goto your assigned driver program and check routine open_form.

Best is to debug the CALL FUNCTION'OPEN_FORM'.

tho i just guess you assigned a SCRIPT driver program and a SMARTFORM,