Capture Change in Sales Order Status

Dear All,
I have an issue in which i need to capture all the sales order in which change has taken place in a given day.
I have checked CDHDR & CDPOS but they arent helpful as they are not updated when there is change in status of sales order.
Could you please suggest a method by which i can track change in sales order status as well for a given date
Best Regards,
Ronak

Hi ronak,
Hi,
For Overall Header status and administrative data you can check in VBUK table.
For overall Item status and administrative data you can check in "VBUP" table.
In both these cases you have to pass the order number number only in SE11/SE16 T.Code.
For object status you have to check in "JCDS" table.
In this initially you have to pass the order number in "VBAK" table and then fetch the "OBJNR" for that order.
Pass this OBJNR into "JCDS" to get the header object status in SE11/SE16 T.Code.
Regards,
Sachin

Similar Messages

  • Purchase Requisition number not changing when sales order item is rejected

    Hi all,
    I have a requirement to change the sales order status to 'TECO' when ever some reason for rejection is selected in the status tab at the item level.The status should change from 'TECO' when i remove the reason for rejection.
    The status change is happening correctly.I have achieved it using user exit.
    CASE 1 : Initially, when a new item is added in the Sales order the purchase requisition number appears in the schedule lines tab of the item level. This is as expected.
    CASE 2 :When the same item is blocked (by entering a reason for rejection in status tab of VA02 ) then the purchase requisition number is not present in the schedule lines tab.This is as expected.
    But i face the following issue.
    CASE3 : Again if the blocked item is unblocked (By removing the reason for rejection in status tab of VA02 ) then the purchase requisition number does not appear again in the schedule lines tab.The purchase requisition number is expected to appear again.
    This happens in case of DROP SHIPMENT scenario. I understand that in case of dropshipment scenario the purchase requisition number is triggered by item category and schedule lines only.
    I tried to make the changes(to change the status ) in user exits 'MV45AFZZ' and also 'MV45AFZB'.But i face the issue in both the exits.Please let me know if there are any means to solve this issue(as mentioned in case 3).
    Regards,
    S.Suba

    Many thanks for your answer. It help me to solve the issue.
    So applying note 738171, with transaction OVB5 (or VOFM, requirements->subsequent functions->Purch.requisitions) we create one new requirement, ie RV07A900, and then we apply the rule that if we have delivery or billing block, that is, VBAK-LIFSK or VBAK-FAKSK not empty, then we set an error with a code similar to this:
                da_sy-msgid = 'Z1'.    (message class)
                da_sy-msgno = '001'.  (message number)
                error_exception = true.
    and then the PR is not created.
    Regards.

  • Sale Order Status Change after delivery of materials from projects

    have ETO sccenario which consists of all modules such as SD,PS.PP etc. Materials will be procured from external vendors & manufactured inhouse through project systems. After delivery of materials from project systems, billing & invoicing will be done at sales level.
    On delivery of materials from projects, sale order status remain open. Request you to look into the matter & suggest about status change of sale order after delivery / billing.
    Regards,
    Ranjan

    Hi,
    In sale order, WBSE is assigned. Delivery of materials are through cns0. then subsequently picking / packing / billing will happen at sales level. Billing is of delivery related. Please suggest to fix the issue.
    Thanks & Regards,
    Biplab Ranjan

  • Manually change sales order status

    Hi All friends
    I have one requirement where i need to manually change the sales order overall process status "completely process"  VBUK-GBTSK.
    Please suggest me how can i achieve this.
    Regards
    Shambhu

    Dear Shanmbhuda ,
    you have to Configure the Rejection reasons in the IMG:
    T-code: OVAG
    Rejection reason for the Item Level in Sapro
    Assign the following Tick to
    NRP: Not Relavent fro Printing
    OLI :Cost Line Item Open Again
    BIC not relavent for billing
    Statistical Valus :
    Assign the Tick in the OLI and Statistical Values BIC
    your overall staus will be completed.
    regards,
    Amlan Sarkar

  • Creating check on officers who can change a sales order - User Status

    The user needs to create a check on persons who can change (User Status) on the sales order created.
    The sales order are created by a group of people. These group of people can not be allowed to change the sales order - User Status(In header Detail).
    Only a second level user users should be allowed change this user status.
    Can it be done at configuration level. Or should we use an Exit?
    Thanks in advance.

    Hi Sunoj,
    I never have used this auth. objects, but if you want to set restrictions on some users, search before in auth. objects. As I told you, you can use the tcode SU24 for this purpose. Do the selection, see the result, try it with tcode PFCG and check it.
    If you can do something with customizing tools or other standard tools (as authoritation tools) avoid the use of enhancements, BADI, BTE'S and so on. If you don't find the solution, then go to userexits.
    I hope this helps you
    Regards
    Eduardo

  • Credit status change through Sales order - change log

    Hi Friends,
      I'm currently facing a scenario were it was reported by the client that
      credit release is happening automatically.
      Brief details : 
       Order was created on 4th Of Oct and it was blocked (reaches the VKM1 bucket )
       since the customer reaches the credit limit.The same order on 5th Oct was not in VKM1
       bucket were the status of order in Sales document header states that it's  released.
      Initial check : (Sales order change log)
      1, I've checked the change log on 5th Oct were the  field VBUK - CMGST  "Overall status of credit checks changed"  from  B to A.
       ((  Status and details below
          A - Credit check was executed and document is OK.
          B - Credit check was exectued and Document is not OK (credit block).
          C - Credit check was executed document not OK, Partial release.
          D-  Document released by Sales representative. ))
    2, I tried to replicate the order status for block and release, But when I release through  VKM1 / VKM3
         the change logs are getting updated with Status - D .(ie from B to D) .
      I'm  wondering that  what could be the reason that causes the system to update in the table - VBUK  - CMGST from A to B
      or because of what change from the client in the sales document header level could impact this changes.
      Note - There is no payment which received from customer on that day.
      Please let me know in case if you are getting the clue...
      Thanks in Advance..
      - Pugal stalin

    Hi
    A simple credit check, as the name suggests, is very simple in nature. The functionality is limited and considers only open A/R items and open items from special G/L and sales orders for performing the credit checks. When you create/change a sales order that is relevant for a simple credit check, SAP calculates the payer/customeru2019s credit exposure by adding the open A/R balance for the customer, open item balances from the special G/L, and the net sales order value. This credit exposure is then compared against the customer credit limit maintained in the customeru2019s credit master. If the credit exposure is greater than the credit limit, the system sets the credit check status as u201Cfailu201D and shows a warning, generates an error message, or performs a delivery block
    Regards from Pakistan

  • Sale Order Status after dellivery of materials from Projects

    Hi,
    I have ETO sccenario which consists of all modules such as SD,PS.PP etc. Materials will be procured from external vendors & manufactured inhouse through project systems. After delivery of materials from project systems, billing & invoicing will be done at sales level.
    On delivery of materials from projects, sale order status remain open. Request you to look into the matter & suggest about status change of sale order after delivery / billing.
    Thank you in advance.
    Regards,
    Ranjan

    Hi,
    In sale order, WBSE is assigned. Delivery of materials are through cns0. then subsequently picking / packing / billing will happen at sales level. Billing is of delivery related. Please suggest to fix the issue.
    Thanks & Regards,
    Biplab Ranjan

  • How to restrict the user from making any changes in Sales order- item level

    Hi to all
    How to restrict the users from making any changes in sales order at item level if the same sales order is released by senior user through status profile.
    Regards
    Anish Parikh
    Edited by: anish parikh on Jan 24, 2008 5:16 AM

    Hi Anish,
    This can be achieved through the roles and authorization.
    This can be done through the basis team. they can create user profiles and roles.
    For the roles they assign some transaction codes so that they can view the only assigned tr. codes.
    Like that ur requirement can be done.
    Also u can prevent the user to change any fields in the sales order screen (VA02). for that please modify the authorisations.
    Hope i answers.
    Reward points if useful.
    Edited by: kaleeswaran bhoopathy on Jan 24, 2008 9:57 AM

  • Ship to party address no change in sales order after delivery creation

    hi
    We have a below requirement
    After creation of delivery document,we should not be able to go and change ship to party in va02 of sales order..
    Tried using partner functions config,but it disables ship to party change completely...
    But we want to disable ship to party change only if delivery is already created.
    regards
    sudha

    hi swetha,
    as per my understanding goes:
    you need to make SH field GREY when a delivery document is generated for it.
    but now even if delivery is created or not SH field is GREYED.
    you can use
    USEREXIT_MOVE_FIELD_TO_VBAK in program MV45AFZZ
    LOGIC : when ever the sales order status is completed or partially completed then only this SH field should be GREYED other wise NOT.
    hope this clears your issue & please check from your end
    balajia

  • Sales Order Status Unapproved

    Hi,
    Can anybody tell me how to make a sales order status as 'unapproved'?
    Thanks and Regards
    Surabhi

    Hi Surabhi,
    Do you know how to change the status from unapproved to open for a sales orders please?
    Thanks
    best regards
    Sarah

  • Changes in sales order

    Hello,
    Table VBUK is for order header status.
    I made changes to sales order.
    which field in table indicates sales order change Date & Time?
    thanks

    hi
    from CDHDR you will get the details as who made the change, when, using what tcode and the change type ie. update, delete.
    CDPOS will give u details of changed fields its old value and its new value.
    The change document object is VERKBELEG for sales documents.
    Check the link to have more
    http://www.sap-img.com/ab024.htm
    regards

  • Change a sales order while delivery

    Hi Gurus,
    I need to change the status of a sales order line item from being complete to incomplete in case it fails some validation during delivery creation.
    I was earlier planning to code this in the copy-control routine ( order to delivery)  and use the standard FM BAPI_SALESORDER_CHANGE in the copy control code to attain this, but however, the sales order cannot be edited when being delivered.
    Is there any other means of attaining this. Backend update of tables can lead to a couple of challenges and undesired behavior that I want to avoid.
    Regards,
    Jasmit

    Dear Jasmit ,
    As Regards to the Change a sales order while delivery.
    There will be 2 Approaches for it
    1. Firstly use the User Exit SAPMV45A.
    2. Use the Enhancement V45S0001/V50S0001/V50R0004
    This will definitely help in your requirement .
    Regards,
    Saurabh Goel

  • Tracking Post Booking changes to Sales Orders

    Hi,
    We have a requirement for routing changes to Sales Orders through an approval after booking of the order. The changes which need to be tracked and routed through the approval workflow are changes to Scheduled Ship Date and Quantity in the Order Lines.
    Please can anyone in this forum provide ideas/options for developing a solution for this requirement.
    Regards,
    Balu

    Hi Prashant,
    Yes. You are right. The requirement is to approve changes to SSD and Quantity. I am providing detailed description of the requirement for your reference.
    Regards,
    Balu
    Change Order - Customization
    ======================
    Scenario
    Customer orders once booked go through changes (scheduled ship date, quantity, request date and ship to address) on a regular basis. These change requests need to approved by
    1. The Plant Scheduler
    2. and Logistics
    Currently these processes are done through offline requests (email, or verbal)
    Order Management Module Limitation
    Order Management module does not support change order approval and hence there is a need to customize the existing workflow.
    Solution
    The process would be as follows;
    1. The order is booked and the line status becomes ‘Awaiting Shipping’.
    2. Change order request is placed by the customer. (E.g. request date change)
    3. CSR updates the ‘Request Date’ field. At this point the line status should become ‘Pending - Internal Approval’ and accordingly reflect in Production Scheduling Application
    3. Approval notification is sent to Plant scheduler, Formulation Engineer and Logistics. This approval notification should follow a hierarchy, i.e. first needs to be approved by scheduler and so on.
    4. Once approved by process owners, the line status becomes ‘Awaiting Shipping’ and follow the normal process.
    5. If rejected by one of the process owner, then the status should become ‘Booked - Internally rejected’.
    6. The line status remains ‘Booked – Internally rejected’, and should not progress, unless approved by the process owners.
    Additionally a notification needs to be sent to Scheduler, Logistics, and Formulation Engineer regarding any change to an order.

  • Sales order status is not Closed when copy to AR Invoice

    Hi,
    Are there any known scenarios where sales order status is not changed to Closed and SO open qty not changed to zero after SO is fully copied to AR Invoice?
    Please advise. Thanks.
    Regards,
    Priscilla

    Hi Jitin,
    1. For this case, the sales order line status is not closed and the open qty is also not zero although the SO qty are fully invoiced
    2. Customer SBO version is 8.8 PL13.
    3. There is no SP_TransactionNotification created in this customer environment.
    FYI, there is no target entry shown in the sales order document as well. Hence, customer is not able to trace which open sales order has been copied to an AR Invoice target document.
    Customer has a few scenarios for the above issue:
    1. Multiple Sales orders copied to 1 AR Invoice.
    2. One sales order to many AR Invoice.
    Since there is no target entry updated in the sales order, is there any SQL query to check which sales order has been copied to a AR Invoice document to rectify the above issue.
    Thanks.
    Regards,
    Priscilla

  • Changing Internal Sales Order in an Invoice

    Hi All,
    In the scenario, I need to change an internal order number captured in an invoice. The client is not ready to cancel and create the new one.
    Also i would like to know, this internal order is not been captured in the sales order, whereas it is captured only in the Billing document.
    Request you to kindly let me know about the following.
    1. How to know about the setting of internal orders. From where it is being captured?
    2. Can I change the Internal Order in an Invoice, the invoice is still "OPEN".
    Waiting for your replies.
    Thanks & Regards,
    Aamod

    Hi,
      The IO could have been assigned manually in the billing document. It also could have been filled via OKC9 substitution.
      Note 1296568 explains how any account assignment object gets assigned. Please read this note carefully
    regards
    Waman

Maybe you are looking for

  • IPhone as a remote for iPad

    I would like to hook up my iPad to a TV to play movies, and have my iPhone as a remote control (ie. play, stop, pause, volume ...). I understand both devices are bluetooth capable, and should be able to talk to each other directly. Would this be poss

  • Fails to start after installing updates

    Hi, I've just run a "find updates" with the current early release of JDeveloper. I was unable to start JDeveloper. Great! It got about 90% of the way along the start-up progress bar and then just sits there. Number of points: 1) Where are the logs? I

  • Two comm channels at the PI outbound side

    Hi All, Can we use two communication channels at the outbound side.my scenario is to send a file from database system  to SAP. I know that we can use JDBC adaptor at the inbound (PI receiving side) and FILE adaptor at outbound (PI sending side).  at

  • Facebook share button freez

    When I click on it nothing happens

  • Getting my previous and current purchases

    My first computer where i originally installed i tunes with all my music completly died out, so i downloaded I tunes to my work computer and was able to get all my purches from before to my i tunes. now i have a new comp at home and there is no music