Skip to Content
0
May 13, 2010 at 03:41 PM

Add output type in requirements for purchase order

568 Views

Hi,

In a changed purchase order (ME22N), based on business condition (eg: tot po > $100,000), then it should trigger an email output which will send the PO to the user. In output procedure for EF, control RMBEF1, there is requirement 101 (reprint) as an example. It has:

Loop at xnast where kschl = komt1-kschl and objky = msg_objky and vstat eq 0.

Endloop.

Here it seems user manually add a new condition record for ZSND so the loop will work.

However, i need to create an output record for ZSND before i can resend the email on ME22N. Do you think having a new requirement here will enable me to create a new output record for ZSND ? IF the PO is more than $100,000, then i need to create an output type ZSND so it will re-send the PO. User will not manually create the PO.

Pls provide your suggestions.

thanks

joyce