2006 Oct 03 1:58 PM
Hi All,
When i create a sales order (TCode:VA01) a mail should be triggered. The mail portion is written in a ZProgram where a break point has been set. After the creation of the Sales order a mail is being triggered but it doesnot stop at the ZProgram. i need to check out why it is happening so. Can anyone help me to solve this issue.
Thanks in Advance,
Regards
Rijish
Hi All,
When i create a sales order (TCode:VA01) a mail should be triggered. The mail portion is written in a ZProgram where a break point has been set. After the creation of the Sales order a mail is being triggered but it doesnot stop at the ZProgram. i need to check out why it is happening so. Can anyone help me to solve this issue.
Thanks in Advance,
Regards
Rijish
2006 Oct 03 2:02 PM
Hi Rijish,
Have you used any exit program to write zprogram? .
cheers:
santosh:
2006 Oct 03 2:10 PM
Hi santosh,
Thanks for your reply. I haven't used any exit programs in this ZProgram. What is the other possibility of this error, you can suggest. Please let me know.
Regards
Rijish
2006 Oct 03 2:14 PM
The z program must be attached to an output type.
In the screen where you give the output type and details,
there will be a button for further options.
In the screen to follow, set the dispatch option as Send with periodically scheduled job. and save.
After doing this, create a sales order.
Go to se38 and run the program rsnast00.
Give the sales order number as the object key in the selection screen.
and run the program.
It will now stop at your z program.
Regards,
Ravi
2006 Oct 03 3:07 PM
Hi Ravi,
Thanks for your reply. I couldnt find the further options button in output type. Can you please be specific on this?. The reason why i am doing this is because i have created a similar ZProgram for packing list but mail is not getting triggered when initially created one.
Regards
Rijish
2006 Oct 03 3:13 PM
Hi Rishi,
YOu can see a messages button on the application toolbar for me23n transaction. There must be a similar button for the sales order transaction as well.
If you click that, it would take you to the Output types screen. There you can see the Further data button.
Thanks,
Ravi
2006 Oct 03 3:26 PM
In VA01, click on Extras->Output->Header->Edit.
Here you will need to enter your output type and set the dispatch time in the further data.
Then run RSNAST00 as sugested previously.
2006 Oct 03 2:16 PM
Hi
Try to log off and log in. And switc on sysstem debugging. Its might work.
Regards
Srikanth M