Reason for rejection error message required

Dear all
When we do a reason for rejection for a configurable material or a sales order line item for which a sales order stock or production order exists,System doesn't throw a error message while trying to do reason for rejection for the line item in sales order.
How to bring error message for a line item in sales order when subsequent order like production order exists for that sales order(make to configure mateiral) or sales order stock exists..
Regards
Sudha

Hi
My issue is solved.
Have activated v4 -297 in message settings under SD

Similar Messages

  • What's the reason for this error message?

    Why am I getting this error message?
    ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
    at flash.display::DisplayObjectContainer/removeChild()
    at pdresses_fla::MainTimeline/releaseabout()
    script
    stop();
    var imageLoader4:Loader = new Loader();
    var image4:URLRequest = new URLRequest ("img1.jpg");
    imageLoader4.load(image4);
    addChild(imageLoader4);
    imageLoader4.x = 300;
    imageLoader4.y = 30;
    var imageLoader4x:Loader = new Loader();
    main_btn.addEventListener(MouseEvent.CLICK, myClickReaction4a);
    function myClickReaction4a (e:MouseEvent):void{
    var image4:URLRequest = new URLRequest("img2.jpg");
    imageLoader4x.load(image4);
    addChild(imageLoader4x);
    imageLoader4x.x = 300;
    imageLoader4x.y = 30;
    back.addEventListener(MouseEvent.CLICK, releaseabout4);
    function releaseabout4(evt:MouseEvent):void {
    removeChild(imageLoader4);
    removeChild(imageLoader4x);
    gotoAndPlay(5);

    In your releaseabout4() function you have two removeChild calls. When it's called either imageLoader4 or imageLoader4x is not on stage, and so you get the error. You can use contains to make sure it's in the container before trying to remove it:
    function releaseabout4(evt:MouseEvent):void {
    if(contains(imageLoader4)){
         removeChild(imageLoader4);
    if(contains(imageLoader4x)){
         removeChild(imageLoader4x);
    gotoAndPlay(5);

  • How can I pass value in status and reason for rejection using BAPI_LEAD_CREATEMULTI when creating multiple lead

    Hello,
    I want pass value in STATUS and Reason for rejection according to requirement when i am creating multiple lead using BAPI_LEAD_CREATEMULTI. Please help me how can i pass value. Please give some sample code that in which table i have to pass values and please also tell me INPUT_FIELDS values. Please help me
    Regards,
    Kshitij Rathore

    Hello,
    Please help me for solve this problem. I am trying to solve problem from last 4 days but i didn't get any solution.
    Regards,
    Kshitij Rathore

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

  • 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

  • Problem in adding "Reason for Rejection" using BAPI_SALESORDER_CHANGE

    Hi all,
           I have a requirement to stop further processing of sales order by changing the reason for rejection at line item. I have done the code and passed the reason code in the item table to BAPI. The return message says the sales order ammended successsfully, but when i go and see the sales order I dont see it getting updated. when i go to check the order its throwing an error message "Update was terminated"  Could some one please help in getting this solved.
    The code is shown below
    Populate the headerX details
    it_bapisdh1x-updateflag  = 'U'.
    it_bapisdh1x-sales_org   = 'X'.
    it_bapisdh1x-distr_chan  = 'X'.
    it_bapisdh1x-division    = 'X'.
    it_bapisdh1x-purch_no_c  = 'X'.
    it_bapisdh1x-cust_group  = 'X'.
    Populate the header details
    it_bapisdh1-sales_org    = '1298'.
    it_bapisdh1-distr_chan   = '95'.
    it_bapisdh1-division     = '00'.
    it_bapisdh1-purch_no_c   = 'Test1'.
    Partner Roles
    it_bapiparnr-partn_role = 'AG'.
    it_bapiparnr-partn_numb = '9820000049'.
    it_bapiparnr-itm_number = '00000'.
    APPEND it_bapiparnr.
    it_bapiparnr-partn_role = 'WE'.
    it_bapiparnr-partn_numb = '9820000049'.
    it_bapiparnr-itm_number = '000000'.
    APPEND it_bapiparnr.
    it_bapisditmx-itm_number = '00010'.
    it_bapisditmx-updateflag = 'U'.
    it_bapisditmx-material   = 'X'.
    it_bapisditmx-cust_group = 'X'.
    it_bapisditmx-reason_rej = 'X'.
    APPEND it_bapisditmx.
    it_bapisditm-itm_number = '00010'.
    it_bapisditm-material   = 'YAG'.
    it_bapisditm-reason_rej = '01'.
    APPEND it_bapisditm.
    BREAK-POINT.
    salesd = '4000004045'.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
      salesdocument = salesd
      order_header_in = it_bapisdh1
      order_header_inx = it_bapisdh1x
      behave_when_error = ' '
      int_number_assignment = ' '
    TABLES
      order_item_in = it_bapisditm
      order_item_inx = it_bapisditmx
      partners = it_bapiparnr
      return = it_bapiret2.
    IF sy-subrc = 0.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    endif.

    When using BAPI_SALESORDER_CHANGE, you set the fields your are updating to 'X'.  In the example you gave, you are trying to change the header data, material number, etc.
    Try slimming it down to:
    Populate the headerX details
    it_bapisdh1x-updateflag = 'U'.
    it_bapisditmx-itm_number = '00010'.
    it_bapisditmx-updateflag = 'U'.
    it_bapisditmx-reason_rej = 'X'.
    APPEND it_bapisditmx.
    it_bapisditm-itm_number = '00010'.
    it_bapisditm-reason_rej = '01'.
    APPEND it_bapisditm.
    BREAK-POINT.
    salesd = '4000004045'.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    salesdocument = salesd
    order_header_in = it_bapisdh1
    order_header_inx = it_bapisdh1x
    behave_when_error = ' '
    int_number_assignment = ' '
    TABLES
    order_item_in = it_bapisditm
    order_item_inx = it_bapisditmx
    return = it_bapiret2.
    IF sy-subrc = 0.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    endif.
    I hope this helps,
    Mark

  • 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

  • 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

  • Reason for rejection For open line items

    Hi Experts ..
    I Have checked in Google and in scn But Not able to find exact one
    How to achieve This Issue
    Created sales order line item ---150 qnty Now delivered---100 qnty PGI As well as
    Now Clint wants to give reason For rejection For 50 qnty
    Now Generally what we are doing is Just changing the qnty in sales order change mode VA02 --100
    But some times they have so many open line items are there and not possible to change in all line items exact number
    So now i trying to give reason for rejection Line item For full 150 qnty Because Automatically 50 qnty Will be reduced in MD04
    But when i am Giving reason For rejection To line item system is giving error msg that subsequent document is being processed
    So any Enhancement shall we do To skip this 
      Thank a lot

    Dear T.W Sir Thanks a lot For your replay
    But I can not see that the excess qty (not delivered) is being deducted from MRP, when Reason for Rejection is set.
    Sir we can see ...May be it will take 5 mnts time To be updated ( MD04)
    By the By , sir you have any idea To control This pop-up Message ( In your case it may be information msg But some times We are getting Error Msg )
    so Where we can control Warning to Error like this
    or it is related to enhancement issue 

  • Reason for Rejection

    Hi ,
    The Sales order is created  and the PR is generated and Based on PR, purchase order is created. The Inbound delivery and  GR is done and the stocks is in Sales order Stock.
    By Mistake User puts a Reason for Rejection for the Line item and system accepts it without showing any error message.
    This needs to be corrected

    Hi Akash A,
                This is std system behaviour to allow the Reason for rejection. But system issues warning message before you set the reason for rejection. Have tested the same & system triggered below message in sequence.
    Message no. V1036
    Message no. V1775
    Message no. V1544
    Message no. V1579, Then able to save the document with reason for rejection  ( code:00)
    in VA02,- when i was trying to remove the reason for rejection,system didnt allow to do so & issued below error message
    Message no. V1597.
    This is because,
    Eg: MTO- scenario, flow is like
    MTO - PR - PO - IBD- MIGO, then stock in inventory against SO.
    In this stage, if customer cancels the Order,  you cant cancel the delivery, you have only option to set the delivery / billing block. but still system shows this order in "Incomplete order list" To avoid this,
    you set the reason for rejection & status will get updated as "Complete".
    If you dont want to do so, you have to fine tune system or Dont give option to the user to view this tab or field.
    Regards,
    Reazuddin MD

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

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

  • Sales report based on Reason for Rejection

    Hi Guru's,
    I have a requirment to get the list of sales orders( Open/ Close) report based on Reason for Rejection.
    Please makesure it should be standard not customization and using tables.
    Thanks & Regards,
    Subbu.

    Hi subburamaiah
    If you want the report you can create a separate SIS report . In that take the input field  as a Reason for rejection.. and ask for the output the list of sales orders .Now when you check this user defined report you will give the reason for rejection and check what all orders got rejected on that reason for rejection.
    Regards
    Srinath

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

Maybe you are looking for