Reason for Rejection at Sale sorder item - Not updating the quotation

Dear All,
I have quotation with 100 quantity and created 2 sales orders with reference to the quotation with qunatity 60 and 40.
Next changed the first sales order with reason for rejection at item level for 60 quantity.
But sales order status is still complete, where it should open and may create one sale sorder with 60.
now, issue is when ever reason for rejection in sales order, it should update the status of quotation.
Is this standard behavior???
Thanks in Advance.

Hi,
When you put the reason for rejection in the sales order, it is SAP standard to put the sales order complete. When the sales order is complete, then I believe system considers the quotation to be complete as well.
Try the below. It might help.
a. Delete the line item with 60 qty. Now check if the quotation has opened up. If yes, then, there you go with a solution... Else,
b. Check the configuration for sales order document type. Check what is the marking done for completion of the quotation. Put in the right one so that quotation is not marked (or updated) as complete when the reason for rejection is put in the sales order.
Hope this helps
Thanks
Mukund S

Similar Messages

  • BAPI_SALESORDER_CHANGE to update reason for rejection of sales order item

    Hi,
    The FM BAPI_SALESORDER_CHANGE is not working properly as I am getting below error when try to update the reason for rejection at sales order item level.
    The delivery is done for this salesorder. Is it because the reason for rejection field is not as an input field when delivery done?
    error in return table is " Field 'ABGRU' cannot be changed, VBAPKOM 000010  ready for input"
    Request your suggestions to avoid this error.
    Thanks

    >
    anikaushi wrote:
    > Hi,
    > The delivery is done for this salesorder. Is it because the reason for rejection field is not as an input field when delivery done?
    >
    >  error in return table is " Field 'ABGRU' cannot be changed, VBAPKOM 000010  ready for input"
    >
    >
    > Thanks
    Yes, Most likely.. You can confirm this by trying to change a order without delivery and see if it goes thru (to ensure that you have passed correct parameters)...
    you may have to delete the delivery (and if billing document exist, cancel it), before you can reject the line item... it would be safer to raise an error message and let the users manually delete delivery document as long as you don't have large volumes of this scenario..
    Please see the SDN thread for how you can avoid this error...
    Re: Cancel Sale Order after Issued Billing

  • Not able to put reason for rejection at sales order level.

    Hi Gurus,
    I have an issue where I am not able to put reason for rejection for line item in sales order. It gives error as please delete the follow on document purchase order line item number 10. I have already deleted the line item in purchase order. Then tried but did not work. Tried by deleting the purchase requision item also but it did not work.
    Tried to undelete the item from PO and then again tried to put reason for rejection but it could no worked out. 
    Please guide me what can be the solution.
    Regards
    Vinod

    As far a I understand you created PO for line item
    So first check whether GR is reversed or not for PO
    Then mark this line item for deletion in PO and then in PR
    Check if you have created any billing document for PO if so reversed that invoice
    Also check if you have created any delivery for the Line item in sales order if yes then reversed the same
    If you have Sales order related Billing, and if you have done billing reverse the same
    If you have Delivery related Billing, and if you have done billing reverse the same
    After reversing all docuemnts created for Sales order then only try to reject the line item
    You can check table VBFA for document flow

  • Reason for Rejection in Sales order

    Hi,
    when my customer sends me a PO cancel request, iam going to delete the Sales order in my SAP system.
    what is the best way to do this, either to delete the SO or keep the Sales order with Reason for Rejection code?
    If it is a Reason for rejection, what happens to the SO,
    1)will it allow for further processing for e.g: Delivery creation.
    2)will the Availability check carried out for this?, and is the stock going to be blocked for this?
    what is the difference between Reason for rejection and the Delivery block, both at the Header and item level.
    Pls reply,its urgent...
    Regards
    SR

    Syed,
    It is always advicable to reject the order by giving a reason for rejection rather than deleting the sales order.
    Once you delete the sales order, the number will be skipped, the system will not create another sales order with the same number.
    Once you reject the order by a reson for rejection, the system will not allow to process the order further, the requirement will be reversed. The order status also will become as closed, so no further processing allowed (like delivery, PGI ... etc).
    If you put delivery block in the item level of the order, the order can't be delivered, but the overall tatus of the order will be being processed.
    So it is advicable to reject the order by giving an appropriate reson for rejection.
    Prase

  • Customize reason for rejection in sales order

    Hi,
    Reason for rejection for line items in a sales order are displayed from the table TVAG.
    My requirement is to display this drop down list based on TVAG and another custom table.
    I wanted to know the place where this field VBAP-ABGRU is populated in standard code so that I can suppress that and display only those which are required.
    Thanks in advance.
    Abhishek

    Syed,
    It is always advicable to reject the order by giving a reason for rejection rather than deleting the sales order.
    Once you delete the sales order, the number will be skipped, the system will not create another sales order with the same number.
    Once you reject the order by a reson for rejection, the system will not allow to process the order further, the requirement will be reversed. The order status also will become as closed, so no further processing allowed (like delivery, PGI ... etc).
    If you put delivery block in the item level of the order, the order can't be delivered, but the overall tatus of the order will be being processed.
    So it is advicable to reject the order by giving an appropriate reson for rejection.
    Prase

  • Dump while supplying Reason for Rejection in sales order

    Hi Gurus,
    when I am suppling the Reason for Rejection ("Cancelled") for a line item in existing Sales Order, the sales order is going to dump,this is the case with production system where as the same is working fine with testing system,ofcourse I am using different sales order numbers for both the cases....what may be the reason...
    Please suggest.
    Thanks for the help....Have a Nice Day..

    Hi
    Kindly post the error details.
    After dump, use t code ST22, click on today, click on the error & analyse.
    thank you.

  • BAPI_PO_CHANGE to update the Price for the line item not updating the Price

    Hi,
    I am using BAPI_PO_CHANGE to update the Price for the line item. This BAPI is not updating the Price. I am using external cummit also, but the BAPI is not updating price.
    I am passing following data to the BAPI.
    Plant: CQ11
    PO                   Material                Price
    4500002142     TEST_BATCH     12
    Please provide suggestion.
    Regards,
    Jubin.

    Hi,
    check this link...this has sample code
    [http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm]
    Regards,
    Surinder

  • REASON OF REJECTION AT SALES ORDER ITEM LEVEL

    In sales order item level after putting reason of rejection wether net value of sales order changed to ZERO Value?
    In Sales infromation system for that particular customer & material sales  order value reflects in report?
    Kindly send your comments on it.
    regards,
    N.M.PAWAR

    Hi
    Suppose a sales order has 2 line items say material 1  and qty is five units and each is Rs 100 and material 2  and qty is Three unitsand each is Rs 100
    Then the nett value of the sales order is Rs 800
    If you reject material 2 and qty is Three units then after that  whether order value changes to Rs 500 or remains at Rs 800 depends on your SPRO settings
    In t code OVAG against your reason of rejection if you maintain blank in the statistical column system keeps the price as Rs 800 even after rejecting it the sales order but while billing it will be billed for Rs 500 only
    If you maintain X/Y in the statistical column system changes the price as Rs 500  after assigning the reason of rejection and then enter
    The difference between X and Y is
    tomorrow if the top management wants a report that how much value loss has come thro reason of rejection such report is not available with X (if you maintain X) and with Y you can take such reports because X doesnt updates the information structures but Y does update information structures
    Regards
    Raja

  • Remove Reason For Rejection From Sales Order Using BAPI_SALESORDER_CHANGE

    Hi
    I have a sales order and would like to remove the rejection reason.
    I am trying to use BAPI_SALESORDER_CHANGE with the following code:
    (0000xxxxxxx  is my material #. i just removed the actual #).
    MOVE: '0000050106' TO SALESDOCUMENT.
    MOVE: 'U' TO T_HEADER_INX-UPDATEFLAG.
    MOVE:                        30 to t_order_item_in-ITM_NUMBER,
                                      ' ' to t_order_item_in-REASON_REJ,
          '0000000000xxxxxxxx' to t_order_item_in-material.
    APPEND t_order_item_in.
    MOVE: 'U' TO t_order_item_inx-updateflag.
    MOVE: 'X' to t_order_item_inx-REASON_REJ,
               'X' TO t_order_item_inx-material.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument              = SALESDOCUMENT
        order_header_inx           = T_HEADER_INX
      tables
        RETURN                     = T_RETURN
        ORDER_ITEM_IN              = T_ORDER_ITEM_IN
        ORDER_ITEM_INX             = T_ORDER_ITEM_INX
    WAIT UP TO 5 SECONDS.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          = 'X'
    IMPORTING
       RETURN        = t_return
    WAIT UP TO 5 SECONDS.
    can anybody help?
    the BAPI returns success messages saying the item was processed successfully but the reason code is still there.
    However, if i pass in any other reason code like 02 or 06, it works!.
    thanks.

    Thanks for your help. =)
    I also realized that I forgot to add the SO Item # into the T_ORDER_ITEM_INX-ITM_NUMBER fields.
    But now it works.

  • Credit amount not updated once gave reason for rejection

    Dear all
    i want to know one thing once i Gave reason for rejection to sales order or some line items that amount should play in credit Account of the customer
    but in my case it is not Playing
    ex: i have given Credit limit 20000 rs
    now customer created one sales order with the value 20000 rs ...so Credit limit finished
    Now Due to some problem Maintained reason for rejection for that document
    now That 20000 rs should add in Customer account right but unable to create new sales order with that customer .
    What is problem cause?

    Dear Madhuri
    RVKRED88 & RVKRED77 Run the programs then only it will be updated
    please check this link Rejected orders decrease credit limit
    Thanks a lot
    venu

  • How to sets the Reason for Rejection of the Open Sales Order Lines

    Hello gurus,
              I want to set the Reason for Rejection of the Open Sales Order Lines, Case is like :
    If current date is exeed the Auto Void Confirmed Back Order Days(for item level) +  date (last responding from customer), then reason for rejection should be set, So i want the logic to find out the date is exceed or not.
    Thanks
    Anjana

    Hello anjana,
       Actually your question is some confusing, but if u want to get eldest change as active sales order then logic is as follows:
    1.  On base of OBJNR u have to get UDATE from JCDS table
    2. then write logic as:
    SORT i_jcds BY objnr stat chgnr DESCENDING.
          LOOP AT i_jcds INTO wa_jcds1.
            CLEAR lv_stat.
            lv_stat = wa_jcds1-stat.
            AT NEW objnr.
              AT NEW stat.
                CLEAR: wa_tab.
                wa_tab-objnr = wa_jcds1-objnr.
                wa_tab-stat = lv_stat.
              ENDAT.
            ENDAT.
            IF wa_jcds1-inact = 'X'.
              CLEAR lv_tabix.
              IF sy-tabix > 1.
                lv_tabix = sy-tabix - 1.
              ELSE.
                lv_tabix = 1.
              ENDIF.
              READ TABLE i_jcds INTO wa_jcds2 INDEX lv_tabix.
              IF sy-subrc = 0.
                wa_tab-chgnr = wa_jcds2-chgnr.
                wa_tab-udate = wa_jcds2-udate.
                wa_tab-utime = wa_jcds2-utime.
                APPEND wa_tab TO i_tab.
              ENDIF.
              CONTINUE.
            ELSE.
              wa_tab-chgnr = wa_jcds1-chgnr.
              wa_tab-udate = wa_jcds1-udate.
              wa_tab-utime = wa_jcds1-utime.
            ENDIF.
            AT END OF objnr .
              AT END OF stat.
                APPEND wa_tab TO i_tab.
              ENDAT.
            ENDAT.
          ENDLOOP.
          DELETE ADJACENT DUPLICATES FROM i_tab COMPARING objnr stat.
          SORT i_tab BY objnr stat udate utime.
          DELETE ADJACENT DUPLICATES FROM i_tab COMPARING objnr.
    3. now in i_tab table u'll get eldest UDATE
    Hope its work for u.
    Thanks & Regards,
    Sumit Joshi

  • BDC Program to Set Reason for Rejection in VA02 in Sales Order Change

    Hi i have a requirement i have to set "reason for rejection" in random line items of Change mode of sales order VA02.
    I have to develope BDC for this task and i have the list of all open line items which displays in VA05, can any of them can guide me how to develop BDC which will randomly select line items and set reason for rejection in VA02 Sales Order Change transaction.
    With Regards,
    S.Saravanan

    Hi Saravanan,
    As mentioned in the previous reply, you can use the FM:SD_SALESDOCUMENT_CHANGE and set the reason code for the line item like for eg:  move '03' to IT_INPUT-REASON_REJ. and also set 'U' for update flag in the header structure,
    move 'U' to HEAD_INPUT_INX-UPDATEFLAG
    this will be best and easy method.
    for this, FM,you need to pass the below parameters:
    CALL FUNCTION 'SD_SALESDOCUMENT_CHANGE'
    EXPORTING    
       salesdocument                   = old_order
           order_header_in             = head_input
            order_header_inx           = head_input_inx
          TABLES
            return                      = return
           item_in                     = it_input
           item_inx                    = ii_input_inx
           schedule_in                 = schedule_input
           schedule_inx                = schedule_inputx
    declare all these structure and internal tables as per documentation of the FM.
    hope this helps.let me know if you need more information.
    Thanks,
    Srini.

  • Bapi sale order Reason for rejection

    hi,
    i want to update "Reason for rejection" of sale order
    through BAPI ,
    So how should i find it in BAPI_SALESORDER_CHANGE .
    in which table of this bapi ?
    Thanks

    Hi
    Re: update sales orders
    http://abap.wikiprog.com/wiki/BAPI_SALESORDER_CHANGE
    regards
    Pavan

  • Sales Order Reason for Rejection Worklist - Report

    Dear Gurus,
    Is there any standard worklist or report where I can have a list, where I can see the list of sales order have "Reason for rejection" status set.
    Looking for the gurus response.
    Regards,

    Hi Imran
      You can see in T.Code VA05.
    --Enter sold-to-party
    --Enter the material
    --Enter the document date
    --check mark on open orders or all orders & enter
    --If you are unable to view the Reason for rejections column display list
    click on settingslayoutscurrentselect the Reason for rejection in column set & transfer to the Display columns.
    Let me know if your problem is solved
    Regards
    Pradeep

  • Open outbound delivery/reason for rejection

    Hi,
    we have the issue, with open documents in SD, which looks like open in SAP treasury module
    I try to reproduce the issue:
    1.VA01- standard Order
    2. VL01N - otbound delivery
    3. VF01 - Invoice
    4.VF11 - Cancel invoice
    5. VL09 - Reverse good movement
    And the result of this case is that all document are completed or cleared except Outbound delivery, which is open and has status A - Not yet processed...
    In SAP Treasury looks standard order items as open....
    There are no possibility to set field Reason for rejection in Sales order, because this field is not ready for input.
    Any help how to solve this issue.
    Thanks
    Petr

    also consequent invoice and cancelled invoice will be deleted and we lost the history
    Not sure what do you mean by cancelled invoice would be deleted, which is not possible.  For information, if you check the document flow for a sale order, you can very well see the invoice and subsequent cancelled invoice but of course, you cannot see the delivery if it is reversed and deleted.
    G. Lakshmipathi

Maybe you are looking for

  • Itunes crashing when i try to open it

    I've been trying to open itunes lately, and i keep getting the same result:  i click the icon, it bounces for a while, the i get a window telling me that it quit unexpectedly.  i try relaunching and resetting the program, but to no avail.

  • Security update fixes ACL problems, almost

    So far when running disk permissions, I've had one iMac C2D have no problems reported and the other iMac C2D only have ACL issues on /Library

  • Hp laserjet 4500 color printer connection questions

    I've got a HP 4500 color laser printer which I bought in 2000.  Model # 4084A  Serial number jphcf07074.  I used it at my business on a network with a ethernet card connection.  The business is closed, and the ethernet card has died.  I am trying to

  • A tutorial needed for...

    I searched the net and found plenty of as2 tutorials for making a car racing game but none for as3?? anyone know of any good tutorials of such?? thank you

  • Willl these power supplies work with Athlon64?

    Hi.   The pc i'm going to build is: Athlon 64 3000 (or maybe 3400  ) MSI k8t-neo fis2r 2 x 512mb kingston valueram HD hitachi 7k250 sata 160gb 9800pro dvd-rom + cd-rw (or dvd-rw) My question is: will these 2 power supplies work fine? 1) CODEGEN-IPERT