Reason of rejection field in sales order

Hi All,
   For a sales order when we create subsequent document i.e delivery...etc the reason for rejection field at item level gets Grayed out and the function module BAPI_SALESORDER_CHANGE is not updating it and returining the message " Field 'ABGRU' cannot be changed, VBAPKOM 000001  ready for input."
Is there any other function module or any other way to update the ABGRU i.e reason for rejection in sales order?
any help will be highly appreciated.:)
regards,
pavan.

Basically BAPI do the direct update to the tables, it will cross check with the configurations settings and not allowing to do the change for the particular field. Try to make it modifiable and run your BAPI it should work.

Similar Messages

  • Update Reason of Rejection field in Sales Orders

    Hi all,
    My scenario is:
    1) To Close all the open sales orders with a customized Reason of Rejection (ABGRU) field
    2) Only when the Sales Order Created Date is 1 month behind the Current Date.
    The report program which shall be developed should be run in background and shall automatically close all the Open Sales Orders and update the Reason of Rejection.
    Any hints shall be very helpful in addressing ,my problem.
    Thanks and Regards
    Srikanth.P

    Hi,
    After prfoeming select query on data base tables , use  Bapi BAPI_SALESORDER_CHANGE  for updating the reason for rejection  and FM RV_SALES_DOCUMENT_UPDATE  for updating the status of SO.
    Hope this helps you.
    BR,
    Lokeswari.
    Edited by: Lokeswari Bandaru on Sep 27, 2010 9:06 AM

  • Unable to put  Reason for Rejection for Return Sales Order

    Hi
    I am unable to put  Reason for Rejection for Return Sales Order.
    what may be the reason?
    Reg,
    Antaa21

    hi
    One of the possible reson could be, there is subsequent document created. Please check the VBFA table for document flow and see if there is any other document created for this line item, if yes then you have to reverse the same
    Check whether this field is maintained as DISPLAY only or not
    T-Code SE51(Screen Painter)
    Give Program Name SAPMV45A
    (before doing this confirm from the field from sales order, keep curcer on the pricing date press F1
    and then select technical details)
    Screen Number 4441
    (before doing this confirm from the field from sales order, keep curcer on the pricing date press F1
    and then select technical details)
    Select Attributes radio button.
    Go to Element list Tab. Inturn select Special Attribute tab in Subscreen.
    For Field Name "VBAP-ABGRU" Check what is maintained might be it is maintained as DISPLAY only.

  • Problem when setting Reason of Rejection for a sales order using IDOC

    Hi All,
          I am working on a requirement where i need to put a reason for rejection as 'Item Cancelled' for a sales order via IDOC 'IDOC_INPUT_ORDCHG' in a third party scenerio where the PR is created automatically from the sales order . When the IDOC is run in the foreground I get the information message Subsequent function  " 'Purchase requisition from sales document' not possible Item & was rejected "(Message V1579) and the IDOC results in a error when run  in the background mode because of the same information message. The message should not appear when a sales order is being processed in the background but still the message is being displayed . Is there any way the message can be suppressed ? Thanks in Advance.
    Regards,
    Sowmya.

    can you send the program how you create a so or po using IDOC, as i've a assignment creating PO using IDOC & then creating a sales order of the PO. and i dont know how to create a IDOC. SO IF you have sample program it would be help full
    Thanxs

  • REMOVE REASON FOR REJECTION FROM THE SALES ORDER

    Hi,
    When i am trying to change status of items 130+140 from net cancellation to "open"  (remove reason for rejection), saving is not possible because of this error message!
    Item 000130 :Target qty of reference: 1 PC (total referenced: 2 PC).
    Also an information message: Subsequent documents already exist for item 000140.

    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.

  • To set reason for rejection for 3rd party order materials

    Hello,
    I have created the sales order with normal and 3 party materials, with reference to this order i have created the purchase order and delivered normal materials. after some period i am trying to put the reason for rejection code for 3 rd party materials. but the system is showing the error like " subsequent documents already exist for item xyz". then i deleted the purchase requestion and purchase eventhough system is showing the same message while i am trying to put the rejection in the Sales order.
    Could you plz let me know the reason why the system is not accepting to put the reason for rejection in the sales order  after deleting the PR and PO????
    Regards|KS

    Hi,
    Please refer to SAP note 392945,356895 and 403524.
    Thanks and best regards,
    Smile

  • Re: Reason Of Rejection field in the Sales Order screen in IC Web client

    Hi guys
    WE have implemented CRM 6.0 & ECC 6.0
    Our call center guys login to IC Webclient to place Standard Orders in the CRM system which replicates to ECC.
    Now as most of us know that the Order cannot be rejected once a Delivery Document is created for it. The field becomes Inactive.
    Now as per our requirement, we want to enhance this functionality & allow the user to Reject the Order till the Delivery is not Shipped. To make this happen the Reason Of Rejection Field needs to be active even after Delivery is created.
    We have made changes to the ECC system & the CRM backend system to allow this functionality.
    I was assuming that keeping the field active in CRM backend would automatically keep it active on the IC web client.
    However this is not the case.
    Can anyone guide me in the right direction. I know that the IC webclient is based out of JAVA.
    If someone could tell me if there is any customization that can make this happen or if some part of the code associated to the IC webclient needs to be enhanced to make this happen ?
    Thanks
    Vinit

    Hi Chandrakant
    thanks for ur response
    But can u be a bit more specific as in where should i view these ?
    I am an SD consultant trying to learn CRM .. hence if u could give the tcode or the spro path where i can check these .. it will be great.
    Editing the reply
    I got thru the view & also went into the attributes.
    In that I see different codes for this field.
    Get_Rejection
    Set_Rejection
    Get_M_Rejection
    Get_V_Rejection
    Get_I_Rejection
    Get_P_Rejection
    So now my question is whether the deactivation part needs to be coded in one of these or will I have to create one of such codes to achieve my functionality ?
    Thanks for ur time
    Vinit
    Edited by: vinit parkar on Jan 28, 2011 8:28 PM

  • How can I disable the Reason for Rejection field in VA02 line items

    Hi,
      I dont want the users to be able to change the reason for rejection field in the sales order line items. Can someone please suggest a tried and tested way of doing this
    Thanks for reading.

    Set up an auth object for the field.  In userexit field modification check the auth object and set the field to be grayed out if they don't have authority.  Users can then not change the value of the field  Sample code
    IF screen-name = 'VBAP-ABGRU'.
           AUTHORITY-CHECK OBJECT 'Z_BLK_REAS'
                   ID 'ABGRU' DUMMY.
          IF sy-subrc EQ 0.
            screen-input = 1.
          ELSE.
            screen-input = 0.
          ENDIF.
      ENDIF.

  • Cost centre field in sales order account assignment screen

    Hello all,
    I am unable to find the settings for cost center field in sales order account assignment tab screen along with profit center and internal order. kindly let me know the path to select cost center.
    Thanks in advance
    Raju

    The Cost Center Determination settings is in OVF3 -  but there are some cases where the Cost Center must be exceptionally changed. 
    If the document category for order type in IMG VOV8 is defined to be "I" which belong to order type FD - Deliv.Free of Charge, then the field cost center is active for input during transaction VA01. 
    Alternatively, you can specify an order reason and assign a cost center to an order reason. 
    However the standard SAP works only at the header level though, so it would not work if cost center is needed on the line item. 
    The cost center are assign for such business transactions as :
    - Free deliveries
    - Returns
    - Deliveries of advertising materials
    You can also make cost center allocation dependent on the order reason, for example:
    Order reason: Damage in transit
    Order reason: Free sample
    Both the IMG settings are done in transaction OVF3, either with/without the order reason.

  • Customer wants to see Discount Field and Quantity field in Sales order Form

    Hi Gurus,
    Highly appreciate if you provide the solution for below issue:
    My customer requirement is to see Discount field in sales order lines screen...They want to know how much percentage of discount they are giving to customer, if they want to modify for respective line they modify in that field.
    Standard functionality discount field is NOT there in SO lines for because they manual enter discount in SO form, system should calculate Discounted price.
    One more required if they enter Item code, able to see available quantity bottom of the form Sub inventory wise, Availability, resealable.
    Current standard functionality supports - Click Availability button to check the availability..Its very difficult for them to check for each and every line item, is there any functionality to support this issue.
    Thanks
    Satti

    Hi,
    Both of your requirements should be customised.
    There is no standard functionality which attains your requirements.
    For my present project, we have customised 2 seperate reports, one which shows the availability of the items in subinventory and locator.
    Also a report which shows discount for all the lines and for the entire order.
    Thanks
    -Arif.

  • FIELDS IN SALES ORDER

    HI,
    How to add additional fields in sales order in additional data tab

    Hi ..
    Hope this link helps you.
    Link: [Additioanl tab enhancement|https://forums.sdn.sap.com/search.jspa?threadID=&q=salesorderadditional+tab&objID=f233]
    Thanks,
    Naveen.I

  • Create a new field in sales order

    HI folks i want to create a new field in sales order item level how can i create

    Hi,
    Hope this will help you,
    User exits in the screens
    Additional header data is on screen SAPMV45A 0309, additional item data on screen SAPMV45A 0459. These screens contain the Include screens SAPMV45A 8309 or SAPMV45A 8459 as user exits.
    Fields which are also to be included in the sales document for a specific installation should be included on the Include screens for maintaining. If an application-specific check module is needed for the fields, this can be included in the Include MV45AIZZ. The module is called up in the processing logic of the Include screens.
    For field transports, you do not have to make changes or adjustments.
    Example
    A new field, VBAK-ZZKUN, should be included in table VBAK.
    If the check is defined via the Dictionary (fixed values or check table) the field must be included with the fullscreen editor in the Include screen SAPMV45A 8309. In this case, no change has to be made to the processing logic.

  • Is Lot Status available to select as a field in Sales Order Reservation form field?

    Material Status is available only

    hi
    Follow the below steps.
    T-Code SE51(Screen Painter)
    Give Program Name SAPMV45A (before doing this confirm from the field from sales order, keep curcer on the pricing date press F1 and then select technical details)
    Screen Number 4440(before doing this confirm from the field from sales order, keep curcer on the pricing date press F1 and then select technical details)
    Select Attributes radio button.
    Go to Element list Tab. Inturn select Special Attribute tab in Subscreen.
    For Field Name "VBKD-PRSDT" make Input as "OUTPUT" (DISPLAY).
    Hope this will help you

  • Can we edit Gross Price field in Sales Order

    Hi experts,
    According Help document (help - under Sales A/R/Sales Order-Sales document content tab ) as follows, userwe should be able to edit gross price field in Sales order
    Enter in this field the unit price including tax. SAP Business One calculates automatically the unit price before tax and the tax amount, based on the tax code in the row. After pressing the TAB key, the Unit Price field and the Tax/Unit field are updated accordingly.
    The tax amount is calculated as follows:
    *Gross Price / (1 + Tax %) * Tax % = Tax Amount*
    But when I set up in form setting visible and active for Gross Price,  though I AM NOT ABLE TO EDIT GROSS PRICE FIELD
    Is it bug in SAP ? I
    BR
    Samir Gandhi

    Hi Samir Gandhi,
    You may check SAP Note Number: 1060666 to see if it applies to you.
    Thanks,
    Gordon

  • How to add a field in sales order

    Dear All,
    First I created a ZTable in which there are 15 fields exist then I append structure in ZVBAP which contain only one field from this ZTable. Now I place this field in the Subscreen 8459 of Sales Order under "Additional Data B" by using access key. Also i have Access to edit the module MV45AFZZ.
    Then I wote the code in the
    FORM userexit_save_document_prepare.
    IF XVBAP-ZZSPENR = ''.
    MESSAGE 'SPECIFICATION NO. IS NOT SPECIFIED' TYPE 'E'.
    ELSE.
    VBAP-ZZSPENR = ZSPEC-ZSPENR.
    ENDIF.
    ENDFORM.    
    so that while saving it Checks that field in screen and then if it has value then save it to in the VBAP Table.
    I think I have to write the code into the module
    FORM userexit_move_field_to_vbap.
    VBAP-zzfield = xxxx-zzfield2.
    *{   INSERT         ID3K908846                                        1
      DATA: zlgort LIKE vbap-lgort.
      IF vbap-pstyv EQ 'ZWP'.
        CHECK vbap-lgort IS INITIAL.
        GET PARAMETER ID 'LAG' FIELD zlgort.
        vbap-lgort = zlgort.
      ENDIF.
    *}   INSERT
    WA_XVBAP-ZZSPENR = xvbap-zzspenr.  "but this line gives * me error cause I have to move the screen fields into  * the VBAP Table. So that after this it checks in internal table XVBAP that the field ZZSPENR has value or not ?
    ENDFORM.
    But when I checks XVBAP TAble it shows all entries that I fill in Sales Order except ZZSPENR (My  Field)
    Thanks in advance.
    Regards.
    Adams.
    Helpful answer will be appretiated.

    hi Amams
    check this link
    Adding Fields to Sales order
    i think it may give u some idea
    Regards,
    Naveen

Maybe you are looking for