Shipped and Cancellation Status of a Sales Order

Hello Experts ,
I have a Sales Order no. (vbak-vbeln).I want to know which is the Table-field for statuses which shows all items of sales order are shipped or only some of them are shipped.
Also I want to know the Table-field which shows either the entire Sales Order is cancelled or only some of the items are cancelled and rest are shipped.
Please suggest a solution how to go about it.
1 more Query : can a sales order be cancelled after delivery or Post Goods Issue?
Thanks.

Thanks for the reply.
Could you please let me know which fields in VBUK/VBUP.
Should  I enter the respective delivery no. of the Sales order in VBUK/VBUP??

Similar Messages

  • Credit status and overall blocked status of a sales order

    Is there a sap delivered business object that has a method to get credit status and overall blocked status of a sales order?

    Hi,
    Thanks for the suggestion. I have been looking at BUS2032. It does not give me a method that has the values of credit status  and overall blocked status of a sales order. I now am kind of convinced that I will have to extend this object. Can anyone please tell me the steps that I will have to go through to do this. I would like to know if I should write a new function module that gets the required data from tables like VBAK and VBSTT. Should I then call the function module in a method.
    Or should I use the getStatus method that BUS2032 provides and get my values from there. A little more detail to this is greatly appreciated.
    Regards,
    Gayathri

  • Shipping and delivery status from R/3 to CRM

    Hi all,
    we are creating sales orders in CRM and replicating it to R/3. CRM is the owner of the document.
    Now whenever changes are done to sales order in CRM, the changes are replicated to R/3.
    Let's say the shipping status is updated in R/3. Now the requirement is the changes need to be replicated
    back to CRM.
    I can use the scenario X + Y or X alone. But with X or X + y scenario Once I make changes in R/3 then the
    document owner changes to R/3.  this means any further changes in CRM will not be replicated back to R/3.
    I require all changes from CRM to be replicated to R/3, but from R/3 I require the shipping and delivery status to be replicated back to CRM. How could this be achieved.
    It would be great if you could share the experiences.
    Thanks
    Jothi.

    Hi all,
    I have a similar requirement. Can you please tell me how to go with it?
    The requirement is to send the user status from CRM (where the request is generated) to R3 (where the material is processed).
    The user status of the return order in CRM should be sent real-time to R3. Any updates to the user status in CRM should result in a corresponding change in the user status in R3.  Any updates to the user status in R3 should trigger a corresponding change to the user status in CRM.  All user statuses must be available in BI/BW for reporting and analytical requirements.
    <b>From R3 to CRM</b> – Standard R3-CRM middleware exchanges information between the two systems any time a transaction is created or changed.  At this point the order information is exchanged between the two systems depending on whether the item or the header level data is changed in R3. The development should be able to download the user status at the header & the line item level when the middleware brings down R3 sales transaction data to CRM. For the sake of simplicity the status profile in R3 and CRM will be defined exactly the same therefore we do not need a mapping table between the two systems. This information should also be exchanged in case the line item is deleted / cancelled / rejected.
    <b>The same from CRM to R/3.</b>
    <b>Processing restrictions :</b>
    This should not be transaction, item category or status profile specific so that as and when a new transaction type, item category or a status profile is added it should still be allowed to transfer between the two systems.
    Should be developed as an enhancement to the standard middleware data stream between R3 and CRM.
    Regards,
    Raju

  • Overall processing status issue for sales order regarding services

    Hello,
    I have the following issue. I am billing a standard service (service without delivery) to a customer. The process goes ok, I issue an invoice, post it and generate an accounting document. Then I create a cancellation invoice. Now I want to reject my sales order. I assign reason for rejection to the item. The header and item status says it is u2018fully rejectedu2019, but the overall processing status says the sales order is u2018openu2019 and therefore appears in reports regarding open orders. I gave also a billing block, deleted the schedule line for the service so that the ordered quantity for the item equals to u20180u2019, but still the overall processing status of the order is u2018openu2019. This is standard SAP functionality (as I checked it). So can anyone explain me how to change this status to exclude this order from open order list? Or maybe someone may want to explain me why this is standard SAP process and what is the reason for the system to want to keep my order u2018openu2019?
    Thanks in advance,
    BR,|

    Place the reason for rejection in the status tab at item level, we are doing same, and the order lines does not show in open lines .
    Regards
    Chandrasekhar

  • User status transfer for sales orders from ECC to CRM

    Hi,
    We use business process with CRM sales orders that are transfer to ERP.
    Users can change user status in the sales orders in ERP.
    How we can replicate custom user status from ECC Sales Order to CRM Sales Order?
    What is the steps to do this for CRM 7.0?
    Denis

    Hi,
    We are creating quotation ZPQT in CRM which is then get replicated to ECC on saving it on “Accepted” status. In ECC we then create sales order of type ZPOR. Sales order gets replicated in CRM and also updates document flow. This sales order is called as “Project Sales Order”. PS team assigns WBS element to this order and does billing later on. Upon billing document is created sales order status in ECC changes to “Completed”. This is system status. But the issue is status of order ZPOR is CRM remains in status “Inprocess”. We want it to change to “Completed”.
    We have similar scenario with order type ZOR. In this order after delivery and billing ECC assigns status “Completed” to sale order and same gets replicated to CRM.
    In CRM for user status Completed we have assigned system status as FINI. Both ZPOR and ZOR has same status profile assigned at header and item level.
    Our concern is if status is changing back in CRM for ZOR then why not for ZPOR. What is stopping system to do so?

  • Billing document should not be cancelled after creating return sales order

    Hi All,
    Billing document should not be cancelled after creating return sales order with reference to billing document. Please suggest configuration settings on the same.
    Sudheer.

    Hi,
    In SAP, when the sub-sequent document is existing , we can not cancel the preceeding document. Therefore if you want to cancel the billing document you need to calcel the documents which are created with reference to that.
    Check and confirm.
    Regards,
    Ravi Duggirala

  • Complete MRP status according to Sales order schedule line data

    Dear All,
    Please help me to get technical configuration releted to
    "complete MRP status according to Sales order schedule line data"
    or MRP w.r.t. Schedule line
    Please send fields and table and logic specification .
    Thanks & Regards,
    Ashish Gautam

    You can use following Fm for change sales order
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument     = p_vbeln
        order_header_in   = s_order_header_in
        order_header_inx  = s_order_header_inx
        behave_when_error = 'P'
      TABLES
        return            = it_return
        order_item_in     = i_order_item_in
        order_item_inx    = i_order_item_inx
        schedule_lines    = i_sched
        schedule_linesx   = i_schedx.

  • Find status of a sales order created using EDI IDOC

    Hello everyone,
       I have IDOC created for incoming sales order using FM 'IDOC_INPUT_ORDERS'.
    When a sales order is created manually iva VA01, it prevents the order from being saved when a specific error is hit unless user resolved it first.   However, when the order is created via EDI IDOC, the error is hit and it cannot be created.  In the sapmv45a program, i will to say that if it is an EDI IDoc transacion for the order, let it bypass the error and create the order.  
         Can anyone pls tell me how to check the status of a sales order being created using EDI IDOC ?
    Sy-batch does not work.
    Thank you in advance.
    Joyce

    Joyce,
    If you pay attention the code in FM it is exporting value of da_edi_sign to memory id "SD_EDI_ACTIVE" stored in constant "da_memory_id". ('CONSTANTS: da_memory_id(13) VALUE 'SD_EDI_ACTIVE'.)
    In your program you have two you have two options.
    1. Declare a constant as in the FM and use that as mentioned below:  
    CONSTANTS: da_memory_id(13) VALUE 'SD_EDI_ACTIVE'.
    IMPORT v_memid FROM MEMORY ID da_memory_id.
    2. Hardcode memory id as below:
    IMPORT v_memid FROM MEMORY ID 'SD_EDI_ACTIVE'.
    Hope this resolves your problem.
    Gajendra

  • Status profile in sales order

    Dear All,
    I have a requirement  as below
    In status profile  maintained 5 statuses in the sales order when the user  releases 4th status system should not allow to change the sales order .

    Hi
    Your requirement can be fulfilled through a User exit.
    You write the logic as below, All the data related to statuses are stored in JCDS and JEST tables.
    So you can pass the OBJNR from VBAK to JCDS table there you have to get the status for the fourth profile and look for the fields
    INACT and CHIND,  if for the fouth status if the CHIND is U then there should not be nay modifications
    regards
    Prashanth

  • Changing the status of the sales order item based on reason for rejection

    Hi All,
    When a Sales order item is rejected then the status at the item level is changed as 'TECO'.When the reason for rejection is removed the status 'Teco' is reset.This status change can be achieved using the user exit 'MV45AFZZ'.But the exit does not allow re-atp calculation whenver a blocked item is release.I have use the exit 'MV45AFZB' ,through this the status change as well as re-atp calculation takes place.But the status changed(Based on reason of rejection) does not appear in the same screen.The change gets reflected only when the sakes order is saved and i open it again.
    I want the status change to appear in the same screen.I am doing my code in the form 'userexit_check_vbap' of the exit 'MV45AFZB'. Please let me know if there are any user exits or BADI's available for the same(Changing the status of the sales order item based on reason for rejection ).
    Regards,
    S.Subasree

    Hi subburamaiah
    If you want the report you can create a separate SIS report . In that take the input field  as a Reason for rejection.. and ask for the output the list of sales orders .Now when you check this user defined report you will give the reason for rejection and check what all orders got rejected on that reason for rejection.
    Regards
    Srinath

  • Change User Status in the sales Order

    Hello Experts,
    I hope that somebody can help me.
    I search to change the field User Status in the sales Order in the transaction VA02 before that the order be displayed.
    I have searched in the UE MV45AFZZ, but i didn't found any form that i can use for my issue.
    I found one form 'USEREXIT_FIELD_MODIFICATION '  by what the program pass when i press enter in the transaction VA02.  but the problem that the status is changed in the data base only and not in the screen. In the screen i have always the same status as what was before, to have the new statut i must leave the transaction and execute it another time.
    I don't want use forms for saving.  What I want is the new status will be set when i press enter in the transaction VA02.
    If doesn't exit one form that can resolve my problem, Can i use the Profile Parameters? In this case How use them?
    Thank you very much.

    Hi,
    U can choose ur status in change status profile. Go to IMG-CRMTransactionsBasic SettingsStatus ManagementChange Status Profile for User Status.
    Here u hv to define ur new status for the transacxtion and assign it to ur transactio. If u r not clear tell.
    Reward points.
    Thanx
    Chinmaya

  • Revenue Recognition based on User Status of assigned Sales Order line item

    Dear Community members,
    We have requirement to recognize / de-recognize revenue posted to WBS for calculation of RA, based on the 'User status' of the assigned Sales Order line item.
    To elaborate requirement further -
    1) WBS Element - XXX - 10 ( with operative indicator - Plan/Bill/Account Assign)
    2) Sales Order(SO) Line Items assigned to the above WBS -
    - SO No -  123 Line Item 10 - Actual Rev - $ 300 - User Status - EXE (Meaning this work is in progress , partial payment received thus actual revenue for RA at WBS is 'Zero'
    - SO No -  124 Line Item 20 - Actual Rev - $ 400 - User Status - COMPL(Meaning this work is Complete , all payment received thus actual revenue for RA at WBS is $400
    - SO No -  125 Line Item 10 - Actual Rev - $ 800 - User Status - EXE (Meaning this work is in progress , partial payment received thus actual revenue for RA at WBS is 'Zero'
    As per WBS reports Actual Revenue posted to WBS XXX-10 is $ 1500 ( $300$400$800) , however since two SO line items ( SO 123 /line item 10 and SO 125 / line Item 10 ) are NOT having User status 'COMPLETE', the actual revenue posted by those line items $ 1100/- ($300 + 800)  should not be included as Actual Revenue for RA at WBS level.
    Thus Actual Revenue for RA at WBS XXX-10 should be $ 400 /- ( the revenue posted by SO 124/line item 20 which has user status as 'COMPLETE')
    How do above can be achieved?? Is there any standard solution for this?? Is any SAP Note available for this (I too am looking for one but not found any ) ?? do we need any enhancement , Customer exit etc
    Thanks in advance
    with regards

    Hi,
    Thanks. You are right that the 'Completed Contract Method' would defer revenue recognition. However, the status checked would be of the RA object (WBS Element in this case, as RA key is on WBS and RA is being calculated on the WBS).
    However, our requirement is to check the user status of the Sales Order Line items assigned to the WBS element and filter the revenues posted based on the active user status of individual Sales Order Line item.
    Please give you inputs.
    Thanks in advance
    With regards

  • How to make the status of a sales order complete of which PART DELIVERY

    How to make the status of a sales order complete of which PARTIAL DELIVERY has already done. <b>(Assigning rejection status not accepted)</b>

    Hi Gyana
    There is no document with me. But I can confidently say that because I am using this functionality.
    In my case I have created a Order Reason as "Short Closed". once you short close this order only the balance quantity gets rejected (provided you have already made previous delivery and PGI).
    Try it in one of your test clients if you have. Once it is short Closed it wont also show in the orders due for processing in Production.
    Also you can generate reports based on this if your customer wants to know how many order he has short closed, qty of item short closed etc.
    Try it.
    Rgds
    Sunil

  • Problem after change item status procedure in sales orders.

    Hello experts,
    I have changed item status procedure for sales orders. But now all BDoc with queue name CSA_ORDER_xxxxx remain in state 'Written to qRFC Queue (intermediate state)' and needs to be reprocessed manually.
    No problem reprocessing.
    Have somebody any idea ?
    Best regards
    Juan Salom

    Hi,
       Is your inbound queue un-registered(type U)? Look at trx.
    SMQR
    and see if it is in un-registered. If yes, select the CSA_ORDER_*** queue and click on
    Registration
    button.
    If this does not help, re-generate your Bdoc services (for Bdoc BUS_TRANS_MSG) using
    SMOGGEN
    or
    using the generation workbench.
    Then try the delta once again and observe for queue and Bdoc status in the
    SMW01
    Hope it helps! Reward if helpful.
    Regards,
    Sudipta

  • Selectively Ship only few lines in a Sales Order - 11i

    Hello,
    How do I ship only some lines in a Sales order and not all using API? I am able to do this using STF(Shipping Trax Form).Below is the snippet I have written but it always ends up shipping entire order. What am I missing? Please advise.
    This is on 11i
    changed_attributes (1).delivery_detail_id := 1234
    changed_attributes (1).shipped_quantity := 0
    changed_attributes (x).source_line_id := 12344
    changed_attributes (2).delivery_detail_id := 1235
    changed_attributes (2).shipped_quantity := 66
    changed_attributes (2).source_line_id := 12346
    changed_attributes (x).attribute4 := p_freight;
             changed_attributes (x).attribute5 := p_accessory;
             changed_attributes (x).attribute6 := p_othercost;
             changed_attributes (x).tracking_number := p_waybill;
    --Call to WSH_DELIVERY_DETAILS_PUB.Update_Shipping_Attributes.
             wsh_delivery_details_pub.update_shipping_attributes
                                      (p_api_version_number      => 1.0,
                                       p_init_msg_list           => init_msg_list,
                                       p_commit                  => p_commit,
                                       x_return_status           => x_return_status,
                                       x_msg_count               => x_msg_count,
                                       x_msg_data                => x_msg_data,
                                       p_changed_attributes      => changed_attributes,
                                       p_source_code             => source_code
             COMMIT;
             in_delivery_id := i.delivery_id;
             in_delivery_name := i.NAME;
             IF (x_return_status <> wsh_util_core.g_ret_sts_success)
             THEN
                INSERT INTO LOGFILE
                            (step_id, descr
                     VALUES (1.6, 'delivery attr'
                COMMIT;
                RAISE fail_api;
             END IF;
           end if; 
          END LOOP;
          wsh_deliveries_pub.delivery_action
                                (p_api_version_number        => 1.0,
                                 p_init_msg_list             => init_msg_list,
                                 x_return_status             => x_return_status,
                                 x_msg_count                 => x_msg_count,
                                 x_msg_data                  => x_msg_data,
                                 p_action_code               => p_action_code,
                                 p_delivery_id               => in_delivery_id,
                                 p_delivery_name             => in_delivery_name,
                                 p_asg_trip_id               => NULL,
                                 p_asg_trip_name             => p_asg_trip_name,
                                 p_asg_pickup_stop_id        => p_asg_pickup_stop_id,
                                 p_asg_pickup_loc_id         => p_asg_pickup_loc_id,
                                 p_asg_pickup_loc_code       => p_asg_pickup_loc_code,
                                 p_asg_pickup_arr_date       => p_asg_pickup_arr_date,
                                 p_asg_pickup_dep_date       => p_asg_pickup_dep_date,
                                 p_asg_dropoff_stop_id       => p_asg_dropoff_stop_id,
                                 p_asg_dropoff_loc_id        => p_asg_dropoff_loc_id,
                                 p_asg_dropoff_loc_code      => p_asg_dropoff_loc_code,
                                 p_asg_dropoff_arr_date      => p_asg_dropoff_arr_date,
                                 p_asg_dropoff_dep_date      => p_asg_dropoff_dep_date,
                                 p_sc_action_flag            => p_sc_action_flag,
                                 p_sc_close_trip_flag        => p_sc_close_trip_flag,
                                 p_sc_create_bol_flag        => p_sc_create_bol_flag,
                                 p_sc_stage_del_flag         => p_sc_stage_del_flag,
                                 p_sc_trip_ship_method       => p_sc_trip_ship_method,
                                 p_sc_actual_dep_date        => p_sc_actual_dep_date,
                                 p_sc_report_set_id          => p_sc_report_set_id,
                                 p_sc_report_set_name        => p_sc_report_set_name,
                                 p_wv_override_flag          => p_wv_override_flag,
                                 x_trip_id                   => x_trip_id,
                                 x_trip_name                 => x_trip_name
                                );

    GETWA_NOT_ASSIGNED
    Many threads are there on this error message and you would come to know if you google with this text.  Check couple of threads where  the same topic was discussed
    [Re: GETWA_NOT_ASSIGNED|Re: GETWA_NOT_ASSIGNED;
    [Re: GETWA_NOT_ASSIGNED ABAP Dump|GETWA_NOT_ASSIGNED ABAP Dump;
    Also there are some 20 OSS notes on this error message and you can have a look at the following notes:-
    1)   Note 913679 - VA01: Short Dump GETWA_NOT_ASSIGNED on click of quantity.
    2)   Note 591955 - ABAP runtime error GETWA_NOT_ASSIGNED
    3)   Note 870670 - SD_SALES_DOCU_MAINTAIN_DIALOG termination with GETWA_NOT_***
    4)   Note 141314 - VA02: Dump with 'GETWA_NOT_ASSIGNED'
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Error Message when opening Apps in PSE10

    I don't have any issues opening external Apps such as IPhoto, PSE Organizer, ACDSee outside of PSE10.  All of my photo's and elements are stored on these three programs and work fine on their own. However when I open PSE10 and try to open and access

  • Reading arrays of double from S7 with OPC & Datasocket

    Hi friends: We are developing an application with a S7-315-2DP PLC and a PC with a PCI1500PFB. We use the OPC server from Applicom. We read the data very quickly with the datasocket (arrays of boolean, arrays of doubles ...and so on, and a very big a

  • Minimum Order Qty on Info Record for MRP

    Hello All - I have maintained an info record for a material with a minimum order qty.  When MRP runs and generates the planned order/purchase requisition, it is not taking into account the min order qty on the PIR.  Is there some additional set up th

  • Finding the size of db and size of used space

    Greetings all good people. Can you please help me find out about 2 database information? One, I want to find out the size of a database =size of physical files. and the size of data which is the size occupied in physical files. We are about to start

  • Coupon Apps and How they work...

    I would like a coupon app, but am confused about how they work?  Do you scan the barcoad of an item at the store and see if it finds a coupon for you?  And if a coupon is found, does it display a coupon for you to use at the register when you pay? Fo