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.

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

  • 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.

  • 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

  • Error while giving Reason for Rejection

    Dear Gurus,
    When I want to close a Sales Order by giving a Reason for Rejection, system is giving an Error message as 'V1:901' and there is no explanation for it. Even in SE91 there is no entry for this error message.
    What is to be done now?
    Kindly help me in this.
    Thanks and regards.
    Venkat - Hyd

    When I checked to see the program ZV45AIZZ, system says it does not exist. Is this an own developed 'Z' program??
    Normally the error message V1:901 does not come for me too, but for some Sales Orders it is coming,  which I am seeing for the first time too!! So do not know why it is happening.
    There are no user exits for this line item and as I said there is no message explanation for this error message.
    Yes there are some subsequent documents in some cases, but I am trying to close all open Sales Orders / line items for the last financial year as that is an Audit point in our company, I cannot close / delet them under any circumstances, just need to close open line items.
    Any more inputs plz..
    Regards.
    Venkat - Hyd
    PS: Plz tell me, what are the dangers of leaving open Sales Orders or partially processed Sales Orders, i.e., open line items?? Do we have to close them compulsarily??

  • 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

  • Status of Sales Order Open Even after assigning Reason for Rejection.

    Hi All,
    I am facing with a basic problem wherein even after assigning a reason for rejection status for a sales order, the sales order numbere is appearing in  the list of Open Sales Order(VA05).
    Also another case is i created a sales order with one line item, invoiced the same. Now i cancel the invoice and further wanted to close the sales order as i cannot delete the same. In this case also i see that even after assigning the reason for rejection, the sales order number along with its details appear in the list of open orders.
    Can somebody please tell me whatt configurations have i missed?.
    Regards
    Bhushan
    Edited by: NAGABHUSHAN THIPPANNA on Nov 30, 2009 9:14 AM

    Hi Vivek,
    Thanks for the reply... My issue got solved partially. Now if i assign a "Reason for rejection" to the sales order then that sales order is not reflecting in the VA05 (open orders list).
    But given a scenario wherein i create  a sales order and whose quantities & values  gets updated in the standard infostructures and i will be able to see the same by executing MCTE (incoming orders & Qty). After assigning the reason for rejection for the same sales order i view the output of MCTE then the report still displays the old ordered quantity and value. Is there any wayout to control this wherein the moment we assign a reason for rejection for a line item in a sales order and the values get reversed in the standard infostructures.
    Thanks and Regards
    Bhushan

  • 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

  • Error V1 322 u2013 Delete Reason for rejection

    Hi,
    I have the following error when I trying to delete the reason for rejection in sales order position:
    Error in building the index of the table XMVERF_POS / 0000396002 / 000010
    Number message V1322
    Internal Error
    Where 0000396002 is the sale order number and 000010 is the sales order position. Please, any suggest?
    Thanks
    Enrique

    Hi
    Thanks for the reply. Sorry, the error is when i trying to change the reason for rejection in saler order position to for example "10 - Unreasonable request" to blank.
    Thanks
    Enrique

  • 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

  • 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 set default reject reason in VA01 (create sales order)

    Hi
    Everybody can tell me how to set default reject reason for item in sales order.
    in our sap system there are a default reject reason as '90'. We want to set it as "Null".
    Thanks
    Henry

    Hi,
    Assigning a default Reason for Rejection is not in standard SAP. I am sure there is some enhancement/user exit which updates the reason for rejection.
    Please get the help of an ABAPer, create the sales order in debugging mode and he will find out the logic behind the automatic reason for rejection.
    Before that you can find the exits in the include MV45AFZZ for any code related to this.
    Hope this helps

Maybe you are looking for