Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sapscript change - Purchase order

Former Member
0 Likes
420

Hi All,

I have a requirement to send the PO created in mail.

I included the code for sending the email in the Z driver program for the Z script created earlier for PO.

But i am not sure whether i have included the code at the right place and do i have to make any necessary script changes too.

I included the code right after the 'CLOSE_FORM' function is called in the program, but i am getting error and PO is not getting created too.

Could anyone please help me in writing the code in script and program at the right place.

Thanks & Regards,

Bhavika

2 REPLIES 2
Read only

Former Member
0 Likes
390

When did you send the message? what message u send to mail. are you using separate z program to send mail..

i am not clear about ur requirement..

Edited by: Kiran HPL on May 14, 2010 7:05 AM

Read only

0 Likes
390

Yes..a separate Z program is there.

I am sending the mail when the PO is created and the PO is sent as a PDF in the mail.

Thanks & Regards,

Bhavika