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 POs. 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: