Return Sales Order - And its Status

Hello Experts,
I have a question in the sales returns scenario.
Step 1: I Create a sales order ( With two items and delivery full ) and perform steps till billing ( invoice ).
Step 2: I Create Return sales order with reference to the first sales order but i take Only one item to return.
Now the status of the return sales order is Being Processed.
Step 3: I create a complete ( deliver full quantity of the item ) return delivery with reference to the return sales order and save the document. Now still the return sales order is in status Being Processed. Ideally i should have been Completed.
Step 4: I do the Goods receipt for the return delivery. Now also the status of the returns sales order is Being Processed instead of Completed
Kindly suggest any way to control the status of sales document or is this the ideal way( if so what's the functional purpose behind this ? ).
Is this because the billing block is still set in the Return sales order ?

Do you mean that only after credit memo creation or clearing of the credit memo from FI the status of return order is set to completed?
If this is an ideal scenario, in one of our systems the status of return sales order is set to completed immediately after returns delivery creation.
This behavior is same as that of normal sales order scenario, where the sales order status is set to completed once the delivery happens.
Kindly suggest, if there is any customizing to control the oeverall status update for specific sales order types or based on the type of sales scenario.

Similar Messages

  • Question about the rescheduling of a Sales Order and its Production Order

    Hello Everybody,
    I experience something strange with the rescheduling of a Sales Order and its corresponding Production Order.
    It will be easier to explain with an example...
    For a material, I have created a Sales Order.
    And from this Sales Order, I have now a Production Order converted from a Planned Order generated by the MRP Run.
    This is what I have in transaction MD04:
    SALES ORDER
    AV DATE: 20/02/2008
    GR DATE: 20/02/2008
    PRODUCTION ORDER
    AV DATE: 20/02/2008
    GR DATE: 18/02/2008    (GR process time is 2 days).
    ==> OK !
    Now, I have to reschedule the Sales Order one week sooner.
    SALES ORDER
    AV DATE: 13/02/2008
    GR DATE: 13/02/2008
    After transaction COHV to reschedule the Production Order, I have:
    PRODUCTION ORDER
    AV DATE: 15/02/2008
    GR DATE: 13/02/2008
    But I expected to have:
    PRODUCTION ORDER
    AV DATE: 13/02/2008
    GR DATE: 11/02/2008
    Do you have an idea about what is wrong?
    Thanks in advance for your help on this subject.
    Regards,
    Rudy

    Hello.
    Thank you for your reply.
    But in fact, I am doing some tests on a test platform, which is using an "old" copy of production database.
    So, there can't be data already scheduled for the dates I am using.
    Moreover, I just tried now to do the same with dates in November 2008, exactly with the same results.
    In production platform, they experience this problem too.
    Summary of my new test:
    Before rescheduling:
    SALES ORDER:
    AV. DATE = 20/11/2008
    GR. DATE = 20/11/2008
    PROD. ORDER:
    AV. DATE = 20/11/2008
    GR. DATE = 18/11/2008
    After rescheduling of one week sooner:
    SALES ORDER:
    AV. DATE = 13/11/2008
    GR. DATE = 13/11/2008
    PROD. ORDER:
    AV. DATE = 15/11/2008  (ipo  13/11/2008)
    GR. DATE = 13/11/2008  (ipo  11/11/2008)
    I really don't understand why I don't have the same kind of dates as the ones I get before the rescheduling...
    In my mind, I expect to have all these dates set back of one week...
    Regards
    Rudy
    Rudy

  • How I can get the Billing Type for the sales order and its items

    How I can get the Billing Type for the sales order and its items. I mean from which SAP tables and how?

    Hi,
    You need to use two tables.
    First use VBFA. Enter the sales order number in the field Predecessar and the value M in SubCt field. This will give all the billing document number for the sales order items.
    Then use the billing document numbers in table VBRK, where in you can get the billing document type.
    Regards,

  • Performance tuning for Sales Order and its configuration data extraction

    I write here the data fetching subroutine of an extract report.
    This report takes 2.5 hours to extract 36000 records in the quality server.
    Kindly provide me some suggestions for performance tuning it.
        SELECT auart vkorg vtweg spart vkbur augru
                  kunnr yxinsto bstdk vbeln kvgr1 kvgr2 vdatu
                  gwldt audat knumv
                  FROM vbak
                  INTO TABLE it_vbak
                  WHERE vbeln IN s_vbeln
                  AND erdat IN s_erdat
                  AND  auart IN s_auart
                  AND vkorg = p_vkorg
                  AND spart IN s_spart
                  AND vkbur IN s_vkbur
                  AND vtweg IN s_vtweg.
      IF NOT it_vbak[] IS INITIAL.
        SELECT mvgr1 mvgr2 mvgr3 mvgr4 mvgr5
               yyequnr vbeln cuobj
               FROM vbap
               INTO TABLE it_vbap
               FOR ALL ENTRIES IN it_vbak
               WHERE vbeln  =  it_vbak-vbeln
               AND   posnr = '000010'.
        SELECT bstkd inco1 zterm vbeln
               prsdt
               FROM vbkd
               INTO TABLE it_vbkd
               FOR ALL ENTRIES IN it_vbak
               WHERE vbeln  =  it_vbak-vbeln.
        SELECT kbetr kschl knumv
               FROM konv
               INTO TABLE it_konv
               FOR ALL ENTRIES IN it_vbak
               WHERE knumv  =  it_vbak-knumv
               AND   kschl  =  'PN00'.
        SELECT vbeln parvw kunnr
               FROM vbpa
               INTO TABLE it_vbpa
               FOR ALL ENTRIES IN it_vbak
               WHERE vbeln  =  it_vbak-vbeln
               AND parvw IN ('PE', 'YU', 'RE').
      ENDIF.
      LOOP AT it_vbap INTO wa_vbap.
        IF NOT wa_vbap-cuobj IS INITIAL.
          CALL FUNCTION 'VC_I_GET_CONFIGURATION'
               EXPORTING
                    instance            = wa_vbap-cuobj
                    language            = sy-langu
               TABLES
                    configuration       = it_config
               EXCEPTIONS
                    instance_not_found  = 1
                    internal_error      = 2
                    no_class_allocation = 3
                    instance_not_valid  = 4
                    OTHERS              = 5.
          IF sy-subrc = 0.
            READ TABLE it_config WITH KEY atnam  =  'IND_PRODUCT_LINES'.
            IF sy-subrc  =  0.
              wa_char-obj  =  wa_vbap-cuobj.
              wa_char-atnam  =  it_config-atnam.
              wa_char-atwrt  =  it_config-atwrt.
              APPEND wa_char TO it_char.
              CLEAR wa_char.
            ENDIF.
            READ TABLE it_config WITH KEY atnam  =  'IND_GQ'.
            IF sy-subrc  =  0.
              wa_char-obj  =  wa_vbap-cuobj.
              wa_char-atnam  =  it_config-atnam.
              wa_char-atwrt  =  it_config-atwrt.
              APPEND wa_char TO it_char.
              CLEAR wa_char.
            ENDIF.
            READ TABLE it_config WITH KEY atnam  =  'IND_VKN'.
            IF sy-subrc  =  0.
              wa_char-obj  =  wa_vbap-cuobj.
              wa_char-atnam  =  it_config-atnam.
              wa_char-atwrt  =  it_config-atwrt.
              APPEND wa_char TO it_char.
              CLEAR wa_char.
            ENDIF.
            READ TABLE it_config WITH KEY atnam  =  'IND_ZE'.
            IF sy-subrc  =  0.
              wa_char-obj  =  wa_vbap-cuobj.
              wa_char-atnam  =  it_config-atnam.
              wa_char-atwrt  =  it_config-atwrt.
              APPEND wa_char TO it_char.
              CLEAR wa_char.
            ENDIF.
            READ TABLE it_config WITH KEY atnam  =  'IND_HQ'.
            IF sy-subrc  =  0.
              wa_char-obj  =  wa_vbap-cuobj.
              wa_char-atnam  =  it_config-atnam.
              wa_char-atwrt  =  it_config-atwrt.
              APPEND wa_char TO it_char.
              CLEAR wa_char.
            ENDIF.
        READ TABLE it_config WITH KEY atnam  =  'IND_CALCULATED_INST_HOURS'.
            IF sy-subrc  =  0.
              wa_char-obj  =  wa_vbap-cuobj.
              wa_char-atnam  =  it_config-atnam.
              wa_char-atwrt  =  it_config-atwrt.
              APPEND wa_char TO it_char.
              CLEAR wa_char.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP. " End of loop on it_vbap
    Edited by: jaya rangwani on May 11, 2010 12:50 PM
    Edited by: jaya rangwani on May 11, 2010 12:52 PM

    Hello Jaya,
    Will provide some point which will increase the performance of the program:
    1.     VBAK  & VBAP are header & item table. And so the relation will be 1 to many. In this case, you can use inner join instead multiple select statement.
    2.     If you are very much confident in handling the inner join, then you can do a single statement to get the data from VBAK, VBAP & VBKD using the inner join.
    3.     Before using for all entries, check whether the internal table is not initial.
    And sort the internal table and delete adjacent duplicates.
    4.     Sort all the resultant internal table based on the required key fields and read always using the binary search.
    You will get a number of documents where you can get a fair idea of what should be done and what should not be while doing a program related to performance issue.
    Also you can have number of function module and BAPI where you can get the sales order details. You can try with u2018BAPISDORDER_GETDETAILEDLISTu2019.
    Regards,
    Selva K.

  • How to find the Service order and its status..

    Hello,
    How see the status of the service order...
    i have to search for all the service orders where all of them completed once....
    which tables, fields are useful.
    Please help to solve this issue.
    thanks for yoru cooperation

    Hello Gun,
    How to see the status desciption for example
    I1005
    I1004
    I1002...etc
    waht I1005 means. I have to display status of each service order in the list , here i can not display I1005 is the status, instad i have to diplay I1005's desciption.

  • Item status of a return sales order

    Hi,
    When I created a return sales order, the overall status for item is blank instead of the usual 'open', please indicate why, or where I should check to solve the problem.
    Best Regards,
    Helen

    HI,
    You can check the standard SAP tables for the document status.
    VBUK - Header Status and Administrative Data
    VBUP - Sales Document: Item Status
    Hope this helps. Reward points if helpful.
    Regards,
    JLN

  • Std report to dispaly Sales Order and Profit center data

    Hi,
    I want to display list of Sales Order and profit center in one report  for that Sales organisation
    Is there any T-code where i can view Sales Order and its Profit center.
    **Plz if anyone knows abt this reply soon.
    Thanks
    AKASH
    Edited by: AKASH TAMBI on May 20, 2008 1:28 PM

    Dear Akash
    There is no standard report to see both the sale order reference and profit center.  However, if you go to SE16 and use table VBAP, you can see the required details
    thanks
    G. Lakshmipathi

  • SAP SD return sales order

    Hi ,
    Say, we have a return sales order and subsequent documents( returns delivery, reversed goods issue and credit memo) for a particular sales order. if we again try to create a return sales order for the same sales order,currently,SAP gives information messages stating "return order exists" and "credit memo exists",but allows to create a return order again.
    Instead of information message i need a hard stop wherein error message has to be thrown if already return sales order exists.how do i implement this.Is there any user exits or BADI available?
    Thanks,
    Sudhahar N

    Dear Mr. Visnu Sanapureddy,
    During the creation of returns order, already referenced quantity
    (return order quantity that is already present) gets calculated
    dynamically using XVBAPF structure. This structure
    gets data from the sales doc flow table.
    All the above calculation happens after the execution of
    requirement routines present in copy requirements. So your suggestion
    is not possible.
    Also VBFA structure is not available in those copy requirement routines.
    I think your suggestion is not possible, could please check this.
    ---Dave

  • Any table keep track of Sales order and relevant IDOC

    hi all,
    Do we have any table to keep track Sales order and its relevant IDOC in the system?
    A list of sales order# given by user, from the list, we would like to find a faster way to get the corresponding IDOC.
    thanks.

    Hi Reetha,
    EDIDS table would have the IDOC Number & sales order number. Parameter 2 is the field in EDIDS which would have the sales order number.
    I understand that this table would have many records but i dont think any other table would have the above combination. If you get any other table, then pls. do update @ it on this thread.
    Thanks,
    Best regards,
    Prashant

  • Return sales order-manual item discount distribution error

    Hi All,
    I have created a sales order for an article with a quantity of 10 CS.
    At item level i gave one manual discount XXXX (Displaying charges Discount) of INR 100/-.The sales order is perfect till i billed it.
    The customer sends back 1 CS (case) for some reason.
    I created a Returns sales order and when i checked the discount XXXX, same INR 100/- is pulled from sales order.
    This discount value should have been divided by 10 and for one quantity it should have been INR 10/- in Returns sales order.
    I tried by clicking the update button in returns sales order. Nothing is changing.
    Please suggest me how do i control this functionality?
    Thanks,
    Prince.........

    Hello Prince,
    This is strange. The revaluation of the quantity based discount condition type must have happened as soon as  you modified the quantity.
    At what point in time do you modify the quantity in the returns order to reflect the actual quantity being returned? Have you verified that there is no custom pricing routine that overwrites the value determined by the standard SAP logic as a result of the quantity modification?
    You can refer to the SAP note 930870 that explains the circumstances under which SAP does not perform a revaluation of the condition type.
    Best Regards,
    Balaji

  • BAPI for Creation of return sales order

    Folks:
    I have to create return sales order through BAPI from Billing document. I am using BAPI "'BAPI_SALESORDER_CREATEFROMDAT2" and giving billing document as reference document and sales order is created and billing document data is but the document flow is not updated. I mean to say that billing document and in original sales order  the return order is not reflected in document flow. Can somebody tell me which BAPI i can use to create  return sales order and it updates document flow as well.
    Thanks!!!!

    Hi,
    CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'
              EXPORTING
                return_header_in     = wa_return_header_in
                return_header_inx    = wa_return_header_inx
                testrun              = p_testrun
              IMPORTING
                salesdocument        = wf_salesdocument
              TABLES
                return               = it_return
                return_items_in      = it_return_items_in
                return_items_inx     = it_return_items_inx
                return_partners      = it_return_partners
                return_schedules_in  = it_return_schedules_in
                return_schedules_inx = it_return_schedules_inx
                return_text          = it_return_text.
            wf_exp_vbeln = wf_salesdocument.
    Hope this helps you,
    Regards,
    Abhijit G. Borkar

  • Flow of Old Sales Order and item values

    Dear Gentlemen,
    Account Based COPA activated and being used since 2010 in our client system.
    As per the customer requirement,recently we have created two new charateristics ,viz;Sales Order and Sales Order  Item in COPA and values of Sales Order and its item are being flowing in to COPA.
    But customer expecting to flow the values of OLD Sales Order and its items (i.e since 2010) for the above stated new two new characteristics.
    Can anybody throw some light on this as how to bring the values of old sales oredrs and it items.
    Regards
    Su

    Hi SU
    You have created the Characteristics fields now and  you want to effect the data flow in old FY, which may not be possible effect from old fiscal year/periods.
    Can you try use KE21N -repost line items for the current period.

  • How to keep the same cost in Sales order and return order?

    Hi experts,
    When I create a sales order with item cost 100 USD.
    Then the cost of item changed and down to 90 USD.
    When I do goods return refer to the sales order. How can I keep the same cost (VPRS) 100 USD but not 90 USD?
    I made a test the cost in sales order is 100 USD but 90 USD in return sales order.
    I want the cost in return sales order is 100 USD.
    How can I do?
    Thanks,
    Lance

    Hi,
    Let me tell u my understanding of your requirement, after the sales the cost of the item is changed to some thing low than it was in sales order or invoice, in this scenario you need to transfer the cost of the material as it is in the sale order or invoice (which you are taking as reference to create a Return Order), am i right?
    If so, you can proceed like this.
    In the copy controls of Billing to Sales orders ( F2 to RE) we have the pricing type N assigned to it ( Transfer pricing components unchanged, New Cost) here the system is reading the change of the cost again from the material master. if you don' t want it to read the material master data again we can have a change try with pricing type 'D'  (Copy Pricing elements unchanged), and try now.
    let me know the result.
    hope this will solve your problem.

  • Sales order and return sales order in the same field

    Hi Everybody,
        I have sales sales order and return sales order in the same field ,how can i separate these two orders in the report.
    Your suggestions are appreciated
    Warm Regards
    Shreya

    Both are sales documents and should be separated by document type....i assume that all the documents are sotrd in the same infocube and if you have tha document type characteristic you can separated them directly in a report
    Regards

  • Sales Order and Delivery

    Hii
    Is it possible to delete the sales order and delivery documents after adding it.
    for eg.
    Customer C001 created sales order and then made delivery.
    Is it possible to delete that sales order and delivery document and trasactions done related to it.what will be its impact.
    Can we do this.
    reply
    Thanks
    Neetu

    Neetu,
    Change posting period if delivery is not in current month.
    In 2 ways you can return a delivery
    1. Copy To from delivery.
    2. Copy From from return.
    You can return using any of 2 ways as below
    1.Open reqd. delivery click Copy To and select return,
    Change posting date,due date,document date if required,
    once again apply tax code it is removed on changing posting date,Check Doucment total match with delviery
    enter remarks for returning.Click Add to save it.
    2. Open return select required customer code,enter posting
    date,due date & document date as in delivery,Click Copy From
    Select required delivery,Use document wizard,Copy all data,
    Click add to save it.
    3. If items are excisable then copy return to incoming
    excise invoice,Enter excise reference number in it,
    Click add to save it.
    Now return process is completed,status of sales order & delivery & and also return document.
    Jeyakanthan

Maybe you are looking for

  • Can't open CR2 files in CS5

    What do I need to download to pen Canon CR2 files in CS5?

  • Itunes not recognizing Nano maybe?

    Just got this nano, and im somewhat familiar with Itunes.. i JUST donwloaded the latest version, and ive made a new playlist and ive got all the songs i want on my ipod on that playlist.. i try to click update, but my ipod already says do not disconn

  • MIGO screen from PO History Tab

    Hi Experts, Currently if we click on GR document in the PO History tab, it will take to Material Document Display.  Is there any possibility to take to MIGO screen so that if user wants to cancel the GR document he can cancel it. regards, Mallik

  • Is CS5.5 Design Suite compatible with OS Mavericks?

    Is CS5.5 Design Suite compatible with OS Mavericks?

  • Why we need abap XI ?

    why we need abap XI with one business scenario?