cancel
Showing results for 
Search instead for 
Did you mean: 

sapscripts help

Former Member
0 Kudos

hi guys, i have a requirement to modify the standard PO form medruck into my company specific layout which i am working on, there is also a requirement that the print/email option will be triggered based on some logic which is

if a document is a purchase order as soon as the PO gets created, it should be transmitted to the vendor by email if the email id maintained in vendor master.

if for the Release Order,

1) If EKKO-FRGZU = ‘X’ and Vendor Email id is maintained in Vendor Master, convert the PO into pdf and send it to the email id

2) If EKKO-FRGZU = ‘' do not send it to the email id

The ME9F print option will be used if and only if the vendor does not have an email id and the PO needs to be sent by fax/post. The standard print program ME9F will be used to print PO’s. The selection criteria will remain same as in ME9F.

so where do i apply this condition? i have not worked on sapscripts before, step by step procedure will be very much appreciated and rewarded with point

thanks in advance.

Message was edited by:

abap beginner

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member196280
Active Contributor
0 Kudos

You can do all this changes in your driver program.

Go thorugh this link it will guide you..

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e">Sample</a>

Regards,

SaiRam

Former Member
0 Kudos

thanks Sai, but can u please suggest me anything for SAPscripts

former_member196280
Active Contributor
0 Kudos

Check this... <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49e15474-0e01-0010-9cba-e62df8244556">SAPscript</a>

Regards,

SaiRam

Former Member
0 Kudos

Sai,

can you please help me out by showing where exactly do i have to apply the logic in the driver program?

sorry but i am new to sapscripts.

thanks

Former Member
0 Kudos

guys..can anyone help me in this as to where i have to apply the logic? and what settings do i have to configure in nace

please help me, i have been waiting on this for a long time

thanks in advance

Former Member
0 Kudos

help..anyone...?

Former Member
0 Kudos

help please..

Former Member
0 Kudos

You should try to come up with the code yourself and get back to the forum if you have specific questions.

rob

Former Member
0 Kudos

as this is the first time i am working on sapscripts, i have doubts as to where i have to apply the above mentioned logic, i had to modify the medruck form according to my company specific format, which has been done,

can it be done by creating a new routine? or does this have to be done by only making changes in the print program?

thanks