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

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

[sap-dev] How to Check Sales Order Status While Saving the Sales Order

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

Question from pamela79 on Sep 17 at 1:56 PM
Hi,

We can configure the status profile functionality in which we can have various status in the sales order. The status are stored in table JEST .

we have three status in sales order. It is CREA, CONF and PLAN.

When the sales order is created .It is always in CREA status (before save of sales order ). When we save the sales order and if the schedule lines are confirmed , then after saving the status changes to CONF. We can see this in sales order change mode.

If the schdule lines are not confirmed at the time of saving the sales order,then the sales order remain in CREA status. This is a n existing logic developed some years ago.

We now have a requirement, that if during the save of the sales order , the sales order is in CONF status, then we are suppose to trigger a sales order output !

The issue is that we are not able to code, since the sales order status are available in JEST table after the save of sales order ? my questions are:

1) how can we check which status the system is going into at the time of saving the sales order ? This is challenging since at the time of saving the sales order, the entries are not there in JEST table.So we cannot query on JEST table. How can we determine the sales order status at the time of saving the sales order ?

2) How to trigger or not to trigger an output based on the condition that sales order is in CONF status ? what logic to build in sales order user exit ?

regards

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

achievements
 
View this online
Ask a new question
 
In the Spotlight
Have a technical question? Need to find IT solutions? Ask your peers in the Toolbox for IT community.

_.____.__

0 comments:

Post a Comment

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