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

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

  • 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

    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

  • User Exit/BADI for Sales Order Line Partner Change

    I am looking for a user exit or BADI which gets triggered when partner function of a sales order line is changed.
    My detailed requirement is-We have created a new Partner Function - END CUSTOMER(EC). Requirement is to trigger a business logic whenever the End Customer partner function is changed from its default value to anything else.
    If you have any suggestions please let me know.

    Hi
    have a look at function module EXIT_SAPLV09A_004 .
    Cheers

  • Is there a Business Object for Sales Order Create and Change VA01 and VA02

    Hi experts -
    I am looking for a business object for Sales order create and change VA01 and VA02 respectively?
    Thanks,
    Mark

    Hi Mark,
    I think this question is best answered in [SAP Solutions|/community [original link is broken]; Forums.
    - Subhodeep
    Edited by: Subhodeep on Aug 29, 2009 11:14 AM

  • Function module which uses both BAPI's for sales order create and change

    Please name the function module which uses both BAPI's for sales order create and change.
    BAPI_SALESORDER_CREATEFORMDAT2
    BAPI_SALESORDERCHANGE

    Yup.
    you must write a piece of code for this.
    with if else condition.first check if SO is exsist than use second FM to change it else create new SO from first FM.
    logic somethig like this.
    Amit.

  • Block the Material at Item level in Sales Order automatically for delivery

    Hi!
    My business scenario needs a material to be Ckecked for Inspection after raising the Sales Order by thirdparty person. So, I need to block that particular material at Item level automatically for delivery and rest of the line items can get delivered. I can do this by selecting the reason for Block at Item level manually, but I want the system to get detemine this block. And one more thing is that there is NO Quality Management module for this. So, let me know what I need to configure for this effect.   Thank you.....

    hi,
    pl check the user exit " userexit_save_document_prepare" or "userexit_save_document".
    Take the help of your abaper to see if the logic written here can affect the item level block in the sales order for inspection. Create new reason for the item level block and have it triggered with this exit. Instead of hard coding which might require regular intervention of abaper for code changes for the business to be able to manage it, maintain a master data in the material master against some field with a key.
    now use that key to identify if these materials require to be blocked at the sales order level for inspection. To release this item again the user has to go in VA02 mode to release the block. Let this be done after the inspection of that material.
    regards
    sadhu kishore

  • How to trigger an Idoc from Sales order creation and change

    We are trying to trigger Idoc from sales order creation and change we have done following setting mentioned below:
    Follow the below steps:
    1. Go to NACE transaction
    2. Select V1 application and select OUTPUT TYPES
    3. Select the required output type and double click on Processing routines.
    4. Enter Medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.
    5. Save it.
    message type ORDERSP in the distribution model (BD64).
    Follow the below steps to configure the condition records:
    1. Go to NACE
    2. Select V1 application and select CONDITION RECORDS
    3. Select the requred output type and click on Condition records
    4. Selection screen will be displayed.
    5. Go for execution. In that screen enter the selection criteria. For eg Condition record is based on Sales document type. Then
    Sales doc type = OR
    Funt = SP
    Partner = blank. It means there is no restriction on partner numbers.
    Medium = A
    date/time = 4
    Lan = EN.
    Note: partner is left blank means, the sales order of type OR can be send to all partners.
    6. Save it.
    We also done ALE configuration.
    We are facing problem that from VA02 "No output has been selected for printing Message no. V1102"
    Kindly suggest the solution.
    Regards,
    Sharad Dixit

    Hi ,
    Please check the total error description and diagnosis as below :
    InVa02 enter SO  go to extras->output->Header->edit.You can find a table with all the triggered output types. Choose the output type BA00 with medium Distribution ALE and go for 'Processing log'. It will show you the error description.
    Please paste the diagnosis .
    Thanks and Regards,
    P.Bharadwaj

  • Sales Order Reason - Account Assignment

    hi experts,
    can the sales order reason in VA01 be used to drive account assignments or is sales order reason field solely used for reporting purposes.
    thanks!

    Yes, order reason can be mapped to cost center in transaction OVF3

Maybe you are looking for