‎2006 Jun 22 8:37 PM
Hi,
We have a batch program scheduled to run every 5mins to detect any change in PM orders. If so it will create an IDOC.
The IDOC are not generated when the program is schedule as a batch job, there are no errors too. But when i run the same program from say SE38, it creates the IDOC.
Appreciate help in this regards asap.
thanks
Ram
‎2006 Jun 22 8:41 PM
Is the IDoc generated as an output, meaning using an output type? If so, check if running RSNAST00 for that output type generates the IDoc.
‎2006 Jun 22 8:43 PM
IDOC is created using message type 'IORDER'.
IDOCs are getting created if i run the program direclty, but when scheduled as a batch job is when it fails to create
‎2006 Jun 22 9:08 PM
‎2006 Jun 22 8:46 PM
Hi Ram,
Are you using standard program <b>IREAD_SM_PM_ORDERS</b> (t/code <b>IORD</b>) to generate PM IDoc?
Regards,
Ferry Lianto
‎2006 Jun 22 8:48 PM
‎2006 Jun 22 8:52 PM
Ram
Why wont you debug your zprogram to check the reason behind. Take a job which has got failed from sm36.
Select the job and type jdbg in command line, then press enter to debug your job.
Check whether idooc getting created or not.
Regds
Manohar