We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-log-pp] User Exit For Sending An Email When Production Order Change Quantity

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from CWKorn on Dec 12 at 8:34 AM
Amysen --

We use EXIT_SAPLCOBT_001 to execute processes that occur after the production order has been successfully processed. There are many tables that are input to the exit with the before and after images of most of the relevant fields that can be updated on a production order. You'll have to do some experimentation, but you can tell when a given record has been created, changed, or deleted and compare the old and new images of the record for change conditions -- and act accordingly.

We've learned some hard lessons over the course of time because we have MANY customized post-save processes for various flavors of orders. This exit is used by many order-related processes for many order categories (you're working with category 10, production orders, AUFK-AUFTYP). If you're not careful, your production order code will execute for other order types. My recommendation is that you don't try to put all of your code in the exit's include (ZXCO1U01). The only thing you want in the Include is a CASE or IF statement that checks the order category and executes a separate function for each category that requires post-processing. For example, you might have a function Z_CAT10_POST_PROCESSING. The input to the function is every relevant table passed into the Exit and simply passed down to the called function. (You may find that your quantity change email inspires ideas for other kinds of post-processing -- so I recommend you get organized now.)

We have Internal Orders (category 01), production orders (10), network orders (20), and maintenance orders (30) and we require (or don't require) different kinds of post-processing for each. The EXIT must be shared cross-functionally and one easy way to make sure you don't step on each other is to use the Exit only to call Category-specific functionality. Don't put any "real" logic inside the exit's Include.

Good luck,
Carl

---------------Original Message---------------
From: Amysen
Sent: Thursday, December 11, 2014 11:45 PM
Subject: User Exit For Sending An Email When Production Order Change Quantity

Hi,

I need a user exit for sending an email when production order changes quantity

Thanks

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2014 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
CWKorn  

achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language