Reject Quotation Item after sales order

Hi,
I want to reject a line item from quotation after quotation is migrated to sales order
steps
1- create quotation
2- create sales order with ref to quotation
3- rejecgt item in sales order
4- Now I cannot reject the same item in the quotation!!!
Anything is the customization that I missed to enable rejection of the quotation line item if the sales order line item is rejected?

i think after creteing sale order and rejecting, you may not reject in quatation..bcoa u already created subsequent order..you can do one thing... goto va02 and dont reject.. delete the quantity and save and next you caome to va22 and goto item data there you can do rejection...
Reward if it helps...
Ramki

Similar Messages

  • GRN number for rejected items in sales order

    hi sapgurus,
    i want to know the grn number for rejected goods in the sales order 
    consider if i put a sales order for a material named X for 10 quantities and if 5 quantities are rejected i will put GRN for those rejected items and add it to my stock.
    I have taken GRN no linking VBAK with VBRP .VBRP with LIPS .LIPS with MKPF thro VBELN_LA (ie.delivery note).
    the delivery note will be updated only Post goods issue happens with complete status.
    Is there any other way to get GRN no without delivery note while PGI in process Status.
    thanks in advance!
    Edited by: rakesh on Oct 3, 2008 11:29 AM
    Edited by: rakesh on Oct 6, 2008 12:31 AM

    i solved ths issue

  • Deleted items in Sales order

    Hi All,
    In sales order change mode(VA02), i will track the items which are rejected based on the rejection reasons, but how i will track the items which are directly deleted based on the delete button provided below.
    Thanks & Regards
    krishna

    Hi Krishna,
    If u are rejecting a particular line item in sale order using the reason code that line item would ramin there in the sale order it wont allow that particular line item for delivery or billing.
    You can delete the line item before u procede for delivery it wont be captured anywhere.
    If u r trying to access the material while creating delivery copy control routine wont allow u to do that..
    If u r not clear let me know i can give u further clarification.
    Reward me if its useful.
    Thanks & Regards,
    Malathi.K

  • To add the line item in Sales Order

    Hi Experts,
    I have to insert  the line item between two line item in sales order dynamically.
    How should i do this.
    any idea??
    Thanks in Advance.

    Hi,
    I guess you are talking about BOM, sub-items or free goods, wherein after you put in one item the other material defined gets added automatically in the sales order.
    That is done with the help of Item Category config by functional person.
    Check here for more info
    [Item Category|Re: Item Category;
    You can also use user exit MV45AFZZ form user_exit_move_to_vbap for a specific logic defined at runtime.
    Regards,
    Amit
    Edited by: Amit Iyer on Aug 26, 2009 10:21 PM

  • Copy down Ship-to Partner from main item to sub-items on Sales Order

    This is my first post on the forums here.  I'd appreciate any help you can give on my issue below.
    I have a requirement to copy down the ship-to partner from the main item to sub-items during sales order create or change.  Currently I have code in include MV45AFZB within user exit USEREXIT_FILL_VBAP_FROM_HVBAP as follows:
    <i>* Need to be able to copy the ship-to of a BoM parent down to the
    respective BoM children if the parent has a different ship-to
    from the header.
    data:  wa_xvbpa like vbpa.
    Clear: wa_xvbpa.
    read table xvbpa into wa_xvbpa with key posnr = hvbap-posnr
                                            parvw = 'WE'.
    A BoM parent line has a different ship-to from the header.
        if sy-subrc = 0.
          read table xvbap with key uepos = hvbap-posnr.
    See if current line is the child of that BoM parent
            If xvbap-uepos = hvbap-posnr.
              move wa_xvbpa-kunnr to xvbpa-kunnr.
              move xvbap-vbeln to wa_xvbpa-vbeln.
              move xvbap-posnr to wa_xvbpa-posnr.
              move 'WE' to wa_xvbpa-parvw.
              modify vbpa from wa_xvbpa.
            endif.
          Endif.</i>
    This isn't working for me.  At one point, I was able to copy the ship-to down to the first sub-item but not any subsequent ones.  I'm sure I need to add some code to another sales order user exit to get this to work, but I'm at a loss at this point.   Has anyone had to do this or something similar before? 
    Thanks very much in advance for your help.
    Angela

    Hi,
    Can you check few more things and tell me?
    - In this exit, does XVBPA and XVBAP contains all the line items. ( main and sub items ).
    - In Sales order creation time, do these table have VBELN populated when this exit triggers.
    - If you modify XVBPA or XVBAP in this exit, do they get overwritten after that.
    Try this code. See if it works.  Let me know if you still have a problem.
    DATA: wa_hvbpa LIKE vbpa,
          wa_xvbpa like vbpa.
    CLEAR: wa_hvbpa, wa_xvbpa.
    * check if HVBAP and VBAP line items are not same
    IF vbap-posnr <> hvbap-posnr.
    * read the ****-to partner from main-item
      READ TABLE xvbpa INTO wa_hvbpa WITH KEY posnr = hvbap-posnr
                                              parvw = 'WE'.
      IF sy-subrc = 0.
    *   read the line item data for sub-item based on main item
        READ TABLE xvbap WITH KEY posnr = vbap-posnr
                                  uepos = hvbap-posnr.
    * See if current line is the child of that BoM parent
        IF sy-subrc = 0.
          MOVE wa_xvbpa-kunnr TO xvbpa-kunnr.
          MOVE xvbap-vbeln TO wa_xvbpa-vbeln.
          MOVE xvbap-posnr TO wa_xvbpa-posnr.
          MOVE 'WE' TO wa_xvbpa-parvw.
          MODIFY vbpa FROM wa_xvbpa.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards,
    RS

  • Userexit/Function after sales order save

    Hi,
    I want to get sales order and line item number, which I want to pass to function module immediately while sales order creation.
    To get sales order and line item number after sales order save in VA01 is there any userexit or function?
    I tried with userexit_save_document and userexit_save_document_prepare, but it did not solved my purpose.
    Please reply.
    Thanks

    Hi ,
    Could you please let me know what you have written inside your FM which called in update task.
    I have same kind of requirement where i need to update soem custom fields of vbak tables. Here is the details given below .
    CALL FUNCTION '/LGC/SDFGWW_VBAK_UPDATE' in update task
      EXPORTING
        i_vbak          = vbak
        i_sdtv45a       = sdtv45a (Local structure which value i want to update in vbak)
        i_vbeln         = vbak-vbeln.
    Code inside the FM .
      i_vbak-/lgc/banknum  = I_SDTV45A-zcheqbsbno.
      i_vbak-/lgc/bankaccnum = I_SDTV45A-bankn.
      i_vbak-/lgc/cheqnum = I_SDTV45A-zcheqno.
      i_vbak-/lgc/cheqname = I_SDTV45A-zcheqna.
    Please have a look into it and let me know where i am doing wrong.
    Thanks,
    Satya
    Message was edited by: satya pujahari

  • Exit after sales order creation - whait is ?

    Hello,
    for some material entered for an item on sales order, an order is automatically created.
    I need to modify this order by an exit: so I'm searching an exit called when a sales order is saved and after the order creation.
    do you have some ideas ??
    P.S. MV45AFZZ it seams called before the creation of an order and not after.
    thank you.

    Used      MV45AFZA

  • Reg WBS Element in Sales Order Line Item For Sales Order BOM

    Hi ,
    Greetings!!!!
    I have a requirement, in a Sales Order I am Exploding BOM. After that Projects will be Created.
    Once Project will be created i need to Assign WBS element for All Items in Sales Order.
    My requirement is When I assign WBS element for Header Material (Parent Item) system will auto assign WBS for Child Items.
    for this what Configuration I have to do.
    Please do need full.
    Thanks,
    Regards,
    Prasad.

    Hi Dayananda
    Check in transaction VTFL for given item category what copying routine are set. Check those copy routine and see if there is any data is being copied from table VBAP
    Similar to above also check transaction VTFA for copying routine (if any)
    As a standard SAP even we create an invoice with reference to the delivery document, still there are some data which is being copied from a sales order i.e. all pricing relevant information is copied from your sales order and not from delivery.

  • How to identify Sale Order costing is required for Items in Sales Order

    Howstandard cos estimate*w to identify Sale Order costing is required for Items in Sales Order?
    On which criteria we can conclude Sale Order Costing is reqd ?
    ? * means what and wat is the purpose and how to chk for the Item in Sales Order, either it is required or not**.

    Hi Dharamveer,
    The best way is to make the order qty is equal to the quantity delivered. This way, when some one looks at this order in future - they think that the order was for X and the delivery was for X qty is completed. They will not know the background of the issue unless they go through change log. Even in change log, they see that the Ord qty was adjusted, but may not understand why?
    The good practice is to make order qty equal to already delivered qty.
    Create a new line for the remaining qty and reject the same with appropriate reason for rejection. This way, any one can understand the background , the reason for rejection easily. Hope it helps !

  • How to sets the Reason for Rejection of the Open Sales Order Lines

    Hello gurus,
              I want to set the Reason for Rejection of the Open Sales Order Lines, Case is like :
    If current date is exeed the Auto Void Confirmed Back Order Days(for item level) +  date (last responding from customer), then reason for rejection should be set, So i want the logic to find out the date is exceed or not.
    Thanks
    Anjana

    Hello anjana,
       Actually your question is some confusing, but if u want to get eldest change as active sales order then logic is as follows:
    1.  On base of OBJNR u have to get UDATE from JCDS table
    2. then write logic as:
    SORT i_jcds BY objnr stat chgnr DESCENDING.
          LOOP AT i_jcds INTO wa_jcds1.
            CLEAR lv_stat.
            lv_stat = wa_jcds1-stat.
            AT NEW objnr.
              AT NEW stat.
                CLEAR: wa_tab.
                wa_tab-objnr = wa_jcds1-objnr.
                wa_tab-stat = lv_stat.
              ENDAT.
            ENDAT.
            IF wa_jcds1-inact = 'X'.
              CLEAR lv_tabix.
              IF sy-tabix > 1.
                lv_tabix = sy-tabix - 1.
              ELSE.
                lv_tabix = 1.
              ENDIF.
              READ TABLE i_jcds INTO wa_jcds2 INDEX lv_tabix.
              IF sy-subrc = 0.
                wa_tab-chgnr = wa_jcds2-chgnr.
                wa_tab-udate = wa_jcds2-udate.
                wa_tab-utime = wa_jcds2-utime.
                APPEND wa_tab TO i_tab.
              ENDIF.
              CONTINUE.
            ELSE.
              wa_tab-chgnr = wa_jcds1-chgnr.
              wa_tab-udate = wa_jcds1-udate.
              wa_tab-utime = wa_jcds1-utime.
            ENDIF.
            AT END OF objnr .
              AT END OF stat.
                APPEND wa_tab TO i_tab.
              ENDAT.
            ENDAT.
          ENDLOOP.
          DELETE ADJACENT DUPLICATES FROM i_tab COMPARING objnr stat.
          SORT i_tab BY objnr stat udate utime.
          DELETE ADJACENT DUPLICATES FROM i_tab COMPARING objnr.
    3. now in i_tab table u'll get eldest UDATE
    Hope its work for u.
    Thanks & Regards,
    Sumit Joshi

  • Partial delivery per item in sales order and ATP - schedule lines

    Hi,
    I've problem regarding ATP- schedule lines and partial delivery flag.
    In sales order there is flag Partial delivery per item B / 1 . That means create only one delivery even with quant 0. That comes from customer master or customer info-record and it is OK.
    Please look at next example.
    Customer requires:
    10 PCS of materail A on date X. Only 5 PCS are available on date X.
    10 PCS of material B on date X 0 PCS are available on date X, 10 PCS are available on date Y.
    So if we create outbound delivery on date X it will contain only 5 PCS of material  A. No successive deliveries will be created for material A because of the flag B/1. That item is closed.
    Problem is with material B.
    The sales order will be open because of material B and on date Y we can easily create another delivery with 10 PCS of mat B.
    That is wrong. Agreement with customer is only one delivery for ALL items in sales order. If we create delivery on date X it should contain only materials which are available on date X and sales order should close.
    Do you know how to fix this problem?

    Hi,
    I've think you didn't understand my requirement. I allways get schedule lines but they are confirmed on different dates.
    Example in same sales order we have:
    Schedule line for item A:
    DATE X confirmed quantity 10
    Schedule line for an item B.
    DATE X confirmed quanitity 0 (zeroe)
    DATE Y confirmed quantity 10.
    I would like to create outbond delivery on date X with:
    item A quantity 10
    item B quantity 0.
    And if that hapens than B/0 rule will work or reference customzing that you suggested before. So order will be closed because all items are processed or referenced once.
    Do you know how to do that?
    Regards

  • Restriction of number items in sales order

    hi,
    how can i restrict no of items in sales order?
    eg:
    sales order has been created for 10 items and all the 10 items
    quantity should be 72 not more than that and system should
    not allow to enter the quantity.where we can configure for
    this.
    regards,
    balajit

    You have to try with User exits in the program MV45AFZZ - USEREXIT_READ_DOCUMENT or USEREXIT_SAVE_DOCUMENT in the same program
    thanks
    G. Lakshmipathi

  • How to get Characteristic Values assigned to the line item of Sales Order?

    Hi,
    I want to get the Characteristic Values( Variant Configuration )assigned to First Line Item of Sales Order.
    I was using the Fn. Mod.: VC_I_GET_CONFIGURATION_IBASE,
    this fn. mod. giving all the Characters but not the assigned characteristic values.
    Is there any other way to find characteristic values of sales order.
    Thanks,
    vinayak.
    Message was edited by: vinayaga sundaram

    For example, please see this example program.
    It lists the characteristic names, the values, and the description of the values which are tied to a sales document.
    report zrich_0001.
    * Internal Table for Characteristic Data
    data: begin of i_char occurs 0.
            include structure comw.
    data: end of i_char.
    data: xcabn type cabn.
    data: begin of xcawn,
          atwtb type cawnt-atwtb,
          end of xcawn.
    data: xvbap type vbap.
    parameters: p_vbeln type vbap-vbeln,
                p_posnr type vbap-posnr.
    start-of-selection.
      select single * from vbap into xvbap
                 where vbeln = p_vbeln
                   and posnr = p_posnr.
      clear i_char.  refresh i_char.
    * Retrieve Characteristics.
      call function 'CUD0_GET_VAL_FROM_INSTANCE'
           exporting
                instance           = xvbap-cuobj
           tables
                attributes         = i_char
           exceptions
                instance_not_found = 1.
      loop at i_char.
        clear xcabn.
        select single * from cabn into xcabn
                 where atinn = i_char-atinn.
        clear xcawn.
        select single cawnt~atwtb into xcawn
                   from cawn
                     inner join cawnt
                       on cawn~atinn = cawnt~atinn
                      and cawn~atzhl = cawnt~atzhl
                          where cawn~atinn = i_char-atinn
                            and cawn~atwrt = i_char-atwrt.
        write:/ xcabn-atnam, i_char-atwrt, xcawn-atwtb.
      endloop.
    Regards,
    RIch Heilman

  • Add Line Item In Sales Order VA01

    HI All,
    I  have new requirement in creation of sales order . Here we have free promotion sales . Here if customer buy one material then he will get some other material as free .In standard sap we can give only one line item as free not more than that .
    Here our requirement is more than one line item . I suggested them maintain all the free materials in one Ztable when ever the original material  will come for  sales order then i have to fetch these materials from ztable  automatically and it should create sales order. I started doing this using user exit  FORM USEREXIT_MOVE_FIELD_TO_VBAP.
    These are the below links i checked in our sdn.
    Adding Line items to sales order on creation using User-Exit in VA01.
    Please give me some idea on this .
    Regards,
    Madhu.

    Hi Asik,
    Thanks for your reply.In my case i can not got for Bom  because the schemes will change for every ten days. I think Bom  creation will fill a lot of data but it wont solve my issue.
    Regards,
    Madhu.

  • Pricing For Text Item in Sales Order

    Hi ,
    How to give price for text item in sales order.
    With regards.
    Afzal

    Hi Afzal,
    consider to create a single service material as a generic one, type DIEN, with basic data and sales org views, with  item category group LEIS (it will determine item category TAX in sales order). Material description could be "Don't forget to change me!" so in sales order user remembers to changes the description according to the especific sales order requirements.
    Regards,
    JM

Maybe you are looking for

  • Passing a table to a subrutine

    Hi, I have an internal table itab[]. i want to pass this internal table to a subroutine using field-symbol. Can any one tell how to pass the field symbol of the table to the subroutine and subsequently process it. Thanks.

  • Java.lang.NoClassDefFoundError: javax/xml/rpc/Service

    Hi, I have created client stubs for a webservice using axis wsdl2java tool. When I try calling these stubbed methods from JUnit tests, they are working fine but when I try to execute the jar (it is a swing) I get the following exception: Exception in

  • TDMS in 2-system landscape?

    Hi there, I'm going to start a new TDMS TDTIM project in a 2 system ERP landscape with only production and development system. My setup would be to use production also as central/control system and I would use a new client built as a SAP_UCUS copy of

  • Embedded report bam in adf page

    It´spossible embedded report bam in jspx?

  • A JTextField that only accepts alphabet characters?

    Hi there, I'm new to java and I'm looking for a way to create a JTextField that only accepts characters. If anyone can maybe show me some code to do this? I've googled and searched these forums for related posts and I found this post: http://forum.ja