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

Similar Messages

  • Change the  sales order reason for rejection for line item

    Hi,
    i want to change the  sales order reason for rejection for line item.
    iam using bapi_salesorder_change.but i unable to change the sales order.
    if possible please provide me what are the fields necessary  for changing
    sales order reason for rejection for line item.
    Regards,
    Suresh

    This is the standard config to supress printing on the rejected item. Are you using standard programs or customised ?

  • SALES ORDER REASON FOR REJECTION NOT WORKING .

    Hi Friends
    Though user mention reason for rejection in preceding sales orders'  line item s,still  those line items are being copied to subsequent documents ( to another sales order and billing document ) .
    Do you feel  there may be  problem is in  standard SAP functionality or I  have to do something in configuration ( copy control )  to restrict it ?. not one sales order , it's happening for all the sales orders .
    Thanks in advance
    Rusheek

    Please check ur copying requrement routine in VTAA must be "301" and "Pos./neg. quantity" must be "+". Check with this configuration,
    If any query please revert back
    Rgds
    Dhirajjjj

  • CO-PA and Sales Order Reason for Rejection

    Hello,
    Here is our situation
    1.  Sales order is created for 10 pc/$1000.
         This creates a CO-PA entry for the $1000
    2.  Sales order is partially delivered/invoiced for 5 pc/500$
    3.  Customer cancels remaining quantity, so we place a rejection reason on the order.
    4.  However, the Reason for Rejection creates a CO/PA reversal entry for the full $1000, even though we partially delivered it. 
    5.  Would like SAP to only create a CO/PA reversal for the remaining open amount of $500.
    I have checked OSS, but can't seem to find anything.
    Any experience with this?
    chris

    Please check ur copying requrement routine in VTAA must be "301" and "Pos./neg. quantity" must be "+". Check with this configuration,
    If any query please revert back
    Rgds
    Dhirajjjj

  • Sales order-reason for rejection

    HI,
    Sales order is created with2 line items
    item 10   price 1000
    item 20   price 1500  -
    2'nd item is rejected by customer so i've entered reason for rejection for second item .
    But total NET VALUE of the document is still showing as 2500 instead of showing only 1000 (item 10)
    since item 20 is rejected.

    HI GSL,
    THx for replin.
    i checked in OVAG
    1
    X     No cumulation - Values cannot be used statistically
    Y     No cumulation - Values can be used statistically -can be used stastically
    what does stastically mean.
    If you enter a reason for rejection, the system automatically cancels any MRP requirements previously generated for the items. - for this is ther any specific setting done
    2 pl explain Not relevant for printing/Not relevant for billing & Resource Item Open Again what relevance they got.
    your suggestion are highly appreciated in this regards.

  • Sales Order reason for rejection still prints on BA00 ?

    I have a Sales Order where I have rejected one or more items.
    I have configured the reason for rejection to not print, but on Sales Order output BA00 the item will display as
    Item number
    No Price (and it's price is not included in the totals)
    Item rejected ** text under the line display
    I don't want the item to print at all. If I've rejected it, why would I want to see that on an order confirmation?
    P.S. I beleive it acts the same way on the RD00 invoice output, but our abaper's currently have that part in an inoperable state for other reasons.
    Is this standard config to act this way ?
    Thanks in advance
    Bill

    This is the standard config to supress printing on the rejected item. Are you using standard programs or customised ?

  • 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

  • Sales Order Reason for change

    Hello All
    I have a requirement where we need to add order reason as a warning message whenever users makes following changes in the sales Order using VA02:
    1. Change the Order Quantity
    2. Change the delivery date for an item or items
    3. Delete a particular line item
    4. Add a particular line item
    I know it can be handled via VA02 user exit. I have listed following user exits will be helpful:
    USEREXIT_CHANGE_SALES_ORDER
    USEREXIT_CHECK_VBAK
    USEREXIT_CHECK_VBAP
    USEREXIT_CHECK_VBEP
    USEREXIT_CHECK_XVBAP_FOR_DELET
    Can you please let me know out of these which one are apt for my requirement and also if let say user makes a change once in the sales order and maintains the order reason before saving it, but how will it be taken care for changes done by the user on some other time. Basically how multiple changes will be controlled?
    Looking forward to your response.
    Cheers
    Ravi

    If you keep this order reason in imcompletion log, it will work.
    But here the issue is sytem has to validate the order reason field if any of the above mentioned fields has been changed(as suggested, system will give warning in standard except for 1 & 4 options)
    Here you can take the report from all the sales orders and differentiate the orders with the above
    4-changes with order reason changes into a Z-table with your Abaper.(RVSCD100 program)
    But here instead of going for enhancement you can very well control this with user discipline.
    system is just an instrument who can help us but cannot think always the way we presume.
    Suppose if a user has changed the order qty then he has to keep X as order reason--due to his ignorance he kept Y as order reason.Now system feels that data has been maintained no error in In-Completion log.
    Still if you are so keen then you can very well maintain Z-Table with the expected Order reason and you can write a code in USEREXIT_SALESORDER_SAVE(Sorry i am not with SAP now) with your Abaper.
    Hope this works and let us know if any.
    Regards
    Phanikumar

  • Sales Order - Reasons for material Nr and item category being disabled

    Hello,
    In some of our sales orders items (without subsequent documents), SAP disables fields Material Nr and Item Category. Can you please help on the reasons for this? Please note that we do not use configurable materials.
    Regards,
    Joã

    Hi,
    The material number will always comes greyed out in standard SAP. You cannot change the material number. If you want to change it, you have to delete the line as a whole and then introduce a new line with new material.
    For the item category field, it is either greyed out or available for editing based on the configuration done in the tcode VOV4. For the sales order type, item category group etc.....if you maintain only one item category as the default IC, then this field will be greyed out after populating the default I.C. If there are alternate I.Cs maintained here, then this field is available for editing. Please check this once.

  • Sales Order Change BAPI - Reason for Rejection

    Hi,
    I want to update reason for rejection field for a particular sales order at item level. When I am executing the BAPI "BAPI_SALESORDER_CHANGE", I am getting the error "Field header_inx-updateflag is not an input field". I did not check this field as I'm not making any change in the header part.
    Please help me in resolving this issue. Let me know if I have to provide any other information.
    regards,
    ravikiran.

    Found BAPI myself...... BAPI_SALESORDER_CHANGE

  • Short dump while marking Sales order Line item for Reason for rejection

    Hi All,
    Need your help in the following regards.
    In system Client is creating a sales order with 100+ line items and for each line item a project gets created automatically at the background as it is a make to order senario. Now what is happening is customer suddenly call's and tells to stop few line items tempororily till he gives go-ahead, so our client is marking it for reason for rejection, while doing this the network created for a project is getting deleted. Once we receive conformation for that line item agin to proceed we are removing the reason for rejection and it was suppose to create a new network, but system is taking huge time to do this and going for a shout dump saying time-out error, in few cases it is creating the network.
    Need your valuable inputs how we can address this issue to avoid the short dump. We have increased the buffer time to 30min also.
    Thanks
    regards
    kishore

    Hi,
    You can easily list out sales order that have been assigned reason for rejection..simple extract of table VBAP-ABGRU = not blank.
    This report should list out the sales order number along with some more details, as required.
    Now the report should allow to choose the documents i.e. like giving checkboxes in the left most side and once the user chooses the sales documents he wants to get processed--> the program should call change Sales Order FM or BAPI. Execute this in background.
    Regards,
    Raghu.

  • Reason for rejection for sale order stock existing line item

    Hi,
        I am giving reason for rejection for a line item where there is already sale order stock. Then I am getting a warning message like " there is sale order stock assigned". I want this message to be as error message. Any customisation (SPRO) is there for this?
    Kindly update.
    Ratna

    Dear Rama Rao
    I think, there is no problem you can ignore the warning message and go ahead give reason of rejection and close the order
    There wont be any problem absolutely
    The reason  of warning message is, (it is sales order created with item category with special stock indicator as E )  that means the system tells you that it is extra special stock which you have created and now you are trying to reject hence it alerts you by giving a warning  message
    The item category of the items which you are trying to reject  is marked  or should have been marked with special stock indicator (you can check that in VOV7)
    By double clicking warning message if it is of V4 message class in t code OVAH you can make that as no message
    But i doubt that this is available in OVAH
    Regards
    Raja

  • 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

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

  • 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

Maybe you are looking for