MM - Purchasing Messages - OPEN_FORM Error

Posted on 2005-03-19
Medium Priority
Last Modified: 2013-12-08
PO Not being faxed or Printed.  When I look at the message determination it says incorrectly processed.  When I look at the processing log it says
 error in OPEN_FORM for document "PO Number"

Using SAP Print Program and our own layout set.
Out put type NEU only fails.  I have another ZNEU that does emailing and this works fine.

If I try to re-print or refax it allows me to do this.

What can the problem be???

Question by:MTSG
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 10

Expert Comment

ID: 13587424
The problem is probably an error occuring in the program or some data missing.
CHeck to see if you have any related short dumps ST22 or Log entries SM21 that might give you a clue.
Otherwise you can debug the print program. As the messages are normally sent in a background task you cant debug from the ME22 so you need to send the output manually.

In order to do this place a breakpoint in the print program.,
Repeat the output record but select the "further data" and change the processing time to  "Send with perridoically scheduled Job"

then go to transaction WE15
Enter the output type iput the PO number in the object key field with a * at either end of it.
and add the output type clear the transmission medium.

Run that and it should stop at your breakpoint.

When you debug you are looking for anything that causes the program to exit with anSy-SUBRC  > 0.

Good luck.

Author Comment

ID: 13598426
Hi Jon
Thanks for the response, but I forgot to mention that this does not happen all the time.  It randomly happens to different Purchase Orders, if I repeat the output then it works fine with no errors.

LVL 10

Expert Comment

ID: 13598685

I suspect then that this is something to do with the update task not being finished.

Is there anything in the log (SM21) when this happens ?

Does it only happen for the first attempt at sending the message when the PO is first saved ?

is there anything else in the processing log on the message that gives any more clues ?

Is there an applicaiton log for POs ? i can't remember.

Don't you just hate these un-reproduceable random errors !!!

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.


Author Comment

ID: 13599024
I had a look at SM21 there is no log for PO.

Yes, so far I only seen it happen on the first attempt.
No other clues just says message no 142 - Error in Open_Form for document

ThanX for the help.

LVL 10

Expert Comment

ID: 13607381
If it only happens on the first attempt  it maybe that one of the Update tasks has not finished.

You could change the output condition so that the Output is sent "Send with perridoically scheduled Job"  then schedule the job RSNASTED to run every 10 mins or so on.
What this will do is allow the update tasks to finish before it attemtps to send the message.

However this is just a guess - even with access to the system these types of problems are notoriously difficult to pin down.


Author Comment

ID: 13609173
Hi Jon

I think we have found the problem - There was a project done to change all the user names to the network logon names, seems that since than we started having these problems. It seems to only come up when PO's are mass released (If the first PO for release fails, it does not close_form and results to the rest of the PO for releasing to also fail.)


Accepted Solution

modulo earned 0 total points
ID: 14353786
PAQed with points refunded (250)

Community Support Moderator

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Salesforce.com’s Console is a great tool to view activities, leads, contacts, accounts and opportunities all in one screen. It is particularly effective during call blocks and working numerous activities at a time in a quick, repetitive fashion (suc…
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question