Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from Tench on Sep 18 at 5:02 AM Changes the user makes on the screen are stored in the 'buffer' before saving to disk (tables). I would look to see if there is an enhancement point (BADI) for sales order saving. This would be a spot where you can check the buffered status with a function such as Status_Check (there are others that start with 'status').
| | | ---------------Original Message--------------- From: Pamela79 Pilch Sent: Tuesday, September 17, 2013 1:57 PM Subject: How to Check Sales Order Status While Saving the Sales Order 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. __.____._ | _.____.__ |