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

Similar Messages

  • Planned cost in S_ALR_87013105 for rejected item in sales order

    Hello Experts
    I have a sales order item having reason for rejection (as error).  However, the planned cost of this sales order item is shown in S_ALR_87013105 report. 
    The sales order was created in the month of Feb2011.  If I run the report for limited period from 03 to 07 the planned cost is NIL but If I run the same report from Feb 11 till date, it shows the planned cost of material +overheads.
    can some body throw light on why the report behaves in this way?
    Thanks and best regards,

    Use T Code KO12 and see if you've got any annual/overall values planned against the IO.
    Regards
    Sreenivas

  • System allowing order related Billing for rejected item in sales order

    Hi all,
    I have created a new reason for rejection: "Billed before Go live"
    I have then asigned it to sales item 10 in sales order thus rejecting it.
    I expected that when I do the billing for this sales order, the system will not allow to bill the rejected item, but the rejected item is still getting billed by VF01
    Can anybody please tell me why this is happening.
    Regards,
    Avinash Gyale

    Hi,
    mere reason for rejection is not enough for blocking from billing, at item level  you need to put billing block also apart from reason for rejection, then only you can reject the item and block from billing.
    thanks ,
    gln

  • 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

  • Function for adding items to sales order

    Hi.
    I would like to know if there is some other more simple function (then crmxif_order_save) to add new items to sales order. And if yes, some sample code would also be appreciated.
    Thank in advance.

    I have a smilar requirement, I am supposed to add the line item to sales order in run time, I have done code changes in the user exit CHECK_VBAP of the program MV45AZB , I can see the data in the debug mode, but I dont see the same populating the screen of the VA01. Can u please help em , wht are the extra points I need to take care of . I have written a code to add data to XVBAP table and it is coming in debug mode into that tabble. but same data is not coming on the screen .How do u write the data to the screen.

  • BDC For Line Items In Sales Order

    Hello,
    I have an internal table of line items which i need it to pass it to BDC for sales order line items creation. Can anybody tell me how to do this like the logic which is used to pass the field names. I just have the material number and Quantity to be passed ..
    Thanks
    Viky

    See below code for Purchase Order :
    report zpochange.
    data : i_error like bdcmsgcoll occurs 0 with header line.
    data : i_bdcdata like bdcdata occurs 0 with header line.
    tables : ekko, ekpo.
    data :c1(10) value 'ME22',
          c2(1) value ',',c3(10).
    data : var1(20). " LIKE EKKO-EBELN.
    data : var2 like ekko-ebeln.
    data : begin of i_ekko occurs 0,
              header(2),
              ebeln like ekko-ebeln,
              end of i_ekko.
    data : begin of i_ekpo occurs 0,
    item(2),
            ebeln like ekpo-ebeln,
            ebelp like ekpo-ebelp,
            menge(10), " LIKE EKPO-MENGE,
           end of i_ekpo.
    data : v like ekpo-ebelp.
    data: begin of itab occurs 0,
             text(300),
            end of itab.
    parameters: p_file like ibipparms-path.
    *PARAMETERS: PONUMBER LIKE EKPO-EBELN.
    at selection-screen on value-request for p_file.
    call function 'F4_FILENAME'
      exporting
        program_name        = syst-cprog
        dynpro_number       = syst-dynnr
       FIELD_NAME          = ' '
      importing
        file_name           = p_file
    start-of-selection.
    *SELECT EBELN FROM EKKO INTO TABLE I_EKKO WHERE EBELN = PONUMBER.
          SELECT EBELN EBELP MENGE FROM EKPO INTO TABLE I_EKPO WHERE EBELN
    *= PONUMBER.
    perform get_data.
    *LOOP AT ITAB.
    WRITE :/ ITAB.
    ENDLOOP.
    loop at itab.
    var1 = itab-text+0(1).
    if var1 = 'H'.
    *I_EKKO-EBELN = ITAB-TEXT.
    split itab at c2 into i_ekko-header
                           i_ekko-ebeln.
    SPLIT  ITAB AT ',' INTO I_EKKO-EBELN.
                        " I_EKPO-EBELP
                        " I_EKPO-MENGE
                        " var1.
    append i_ekko.
    else.
    split itab at c2 into i_ekpo-item
                            i_ekpo-ebeln
                            i_ekpo-ebelp
                            i_ekpo-menge.
    append i_ekpo.
    endif.
    *var2 = i_ekpo-ebeln.
      MOVE VAR1 TO I_EKPO-EBELN.
      MOVE VAR1 TO I_EKKO-EBELN.
    APPEND: I_EKPO.
    *if not var1 is initial.
        split var1 at ',' into i_ekpo-ebelp
                               i_ekpo-menge.
      i_ekpo-ebeln = var2.
    append i_ekpo.
    *endif.
    endloop.
    loop at i_ekpo.
    write :/ i_ekpo.
    endloop.
    loop at i_ekko.
    perform fill_data. " TABLES I_EKPO.
    endloop.
    LOOP AT I_EKPO.
    WRITE :/ I_EKPO.
    ENDLOOP.
    *&      Form  GET_DATA
          text
    -->  p1        text
    <--  p2        text
    *LOOP AT I_ERROR.
    WRITE :/ I_ERROR.
    ENDLOOP.
    form get_data.
    call function 'WS_UPLOAD'
    exporting
       codepage                      = ' '
       filename                      = p_file
       filetype                      = 'ASC'
       headlen                       = ' '
       line_exit                     = ' '
       trunclen                      = ' '
       user_form                     = ' '
       user_prog                     = ' '
       dat_d_format                  = ' '
    IMPORTING
      FILELENGTH                    =
      tables
        data_tab                      = itab
    exceptions
       conversion_error              = 1
       file_open_error               = 2
       file_read_error               = 3
       invalid_type                  = 4
       no_batch                      = 5
       unknown_error                 = 6
       invalid_table_width           = 7
       gui_refuse_filetransfer       = 8
       customer_error                = 9
       others                        = 10
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    endform.                    " GET_DATA
    *&      Form  FILL_DATA
          text
         -->P_I_EKPO  text
    form fill_data. " tables   i_ekpo .
    perform bdcscreen using 'SAPMM06E' '0105'.
    perform bdcfield using 'RM06E-BSTNR' i_ekko-ebeln.
    perform bdcfield using 'BDC_OKCODE' '/00'.
    loop at i_ekpo where ebeln = i_ekko-ebeln.
      V = I_EKPO-EBELP.
    perform bdcscreen using 'SAPMM06E' 0120.
    perform bdcfield using 'BDC_CURSOR' 'RM06E-EBELP'.
    perform bdcfield using 'RM06E-EBELP' i_ekpo-ebelp.
    perform bdcfield using 'BDC_OKCODE' '/00'.
    perform bdcscreen using 'SAPMM06E' 0120.
    perform bdcfield using 'BDC_CURSOR' 'EKPO-MENGE(01)'.
    perform bdcfield using 'RM06E-EBELP' i_ekpo-ebelp.
    perform bdcfield using 'EKPO-MENGE(01)' i_ekpo-menge.
    perform bdcfield using 'BDC_OKCODE' '/00'.
    *PERFORM BDCSCREEN USING 'SAPMM06E' 0120.
    *PERFORM BDCFIELD USING 'BDC_CURSOR'  'RMO6E-EBELP'.
    *CLEAR V.
    endloop.
    perform bdcfield using 'BDC_OKCODE' '=BU'.
    call transaction  c1 using i_bdcdata mode 'A'
                                       messages into i_error.
    refresh i_bdcdata.
    endform.                    " FILL_DATA
    *&      Form  BDCSCREEN
          text
         -->P_0140   text
         -->P_0120   text
    form bdcscreen using    p_program p_screen.
    i_bdcdata-program = p_program.
    i_bdcdata-dynpro = p_screen.
    i_bdcdata-dynbegin = 'X'.
    append i_bdcdata.
    clear i_bdcdata.
    endform.                    " BDCSCREEN
    *&      Form  BDCFIELD
          text
         -->P_0145   text
         -->P_I_EKPO_EBELN  text
    form bdcfield using    fnam fval.
    i_bdcdata-fnam = fnam.
    i_bdcdata-fval = fval.
    append i_bdcdata.
    clear i_bdcdata.
    endform.                    " BDCFIELD
    I hope same thing for sales order ,i mean both has Table control
    Reward Points if it is helpful
    Thanks
    Seshu

  • V.02 vs Rejected Items in sales order

    Hi All,
    I dont want a sales order to be displayed in V.02 - incomplete sales orders list when all the items are rejected in it. Is there a possibility for this functionality ? I checked all the controls and this seems to me as not possible. Can somebody suggest some exit for this. Interestingly, the program does not have any exits in it.
    Thanks & Regards,
    Vidya

    There is not much scope for modification in standards reports provided by SAP. The better option would be to get a Z report done for your requiremnt through an ABAPer.
    Girish

  • Rejected items in Sales Orders

    Dear All,
    We have couple of Sales Orders with multiple line items & Some of the items are rejected.
    But when we take SIS reports, the total value of Sales Orders (incl rejected items value) is taken. We dont want rejected items pricing details in SIS.
    How to achieve this?
    Thanks in advance.

    Dear Friend,
    To ignore Net Value of Rejected Item from Total Sales Order Value / SIS follow this:
    T-Code: OVAG 
    Here you can define whether the system can consider the value or not by maintaining X or Y in the field Statistical value.
    This is menu path
    IMG - SD - Sales - Sales Documents - Sales Document Item - Define reason for Rejection
    Against the reason which you are using in sales order, blank should not be maintained & either X or Y should be maintained.
    X - No cumulation - Values cannot be used statistically
    Y - No cumulation - Values can be used statistically
    Hope this helps...
    Thanks,
    Jignesh Mehta

  • One time charge for an Item in sales order

    Hi:
    The situation we have is that when a order comes in for a part, we need to have a one time charge (installation charge per say). Any subsequent orders for the same part by that customer should not include that charge.
    I can certainly code in user exit (add item to XVBAP when condition is met). Is there a way to do this via configuration?.
    Appreciate your help.
    Thanks.

    I don't think so. The only thing that comes to my mind is a manual condition type that you will assign to the first sales order and not to the subsequent ones. Now the question, whether you choose this approach or a programmatic approach, is how will you determine whether this is the first or subsequent order. Also, if the first order has that item, but was subsequently cancelled or returned, how will you manage that? Imagine going through VBAK and VBAP, every time the customer places the order to figure out if there is an existing order!! After a couple of years, you may be doing archiving of the documents. How will you determine if your customer previously placed an order but was archived or didn't place the order.
    One solution that comes to my mind is a Z table which stores customer number, material number, sales order number and item number. This needs to be updated everytime a sales order is created or changed. Then you can decide if there was a previous order simply querying this database. It can be added as a requirement for pricing to go this table to check for the existance of a previous order and then include or don't include the condition type(for one time installation charge) depending on the result.
    Please reward and close if this response helped you and solved your problem.
    Srinivas

  • Writing a LSMW for rejecting lines on sales order

    HI Guys
    I need your help in writing a LSMW
    1) to reject sales oreder line items
    2)then also to write a LSMW to create PO which we already have
    3) write LSMW to create a sales order for line items that we rejected.
    I have no clue how to do it and would really appreciate if you can provide me some pointers.
    Thanks
    If someone is lokking for a similar answer, I created recording for rejecting the line items in the sales order and simulatneously recreated the line items within the same sales order.
    Edited by: Comes Naturally on Jul 15, 2008 10:58 PM

    thanks anyways

  • Unable to find mapping Interface columns for Service Items in Sales Order

    Hi All,
    I have a requirement to create a service item for a Sales Order through Interface tables. Once the oe_headers_iface_all and oe_lines_iface_all tables are populated, order import program is run to populate the data into the base tables.
    I am unable to figure out the interface mapping columns for the base table columns namely,
    (oe_order_lines_all table)
    service_ref_order_type
    service_ref_order_numbe
    service_ref_line_number
    service_ref_shipment_number
    Also, the above mentioned base table columns are mandatory and not able to create a Service item through Order import.
    When checked in the front end, per record history these columns are taken from oe_order_lines_v, however when checked in the query of this view am unable to trace the above four columns.
    Any help will be greatly appreciated.
    Thanks,
    Jay

    This does not appear to be connected with the subject of this forum, which is [Oracle Application Express|http://apex.oracle.com/i/index.html].
    Taking a wild guess, this might have something to do with [eBusiness Suite|http://forums.oracle.com/forums/category.jspa?categoryID=3]?

  • Sales BOM its possible edit the quantity for child items in Sales Order

    Hello friends, this is my issue
    I need to use a Sales BOM but the problem is that the child items in any Document marketing, such as Sales Order, the quantity for that child items it´s possible to edit independant of the father item code, and I don´t want this because allows to users to change diferent quantity for child items versus the quantity of the father item code.
    Thanks in advance

    Thanks Gordon yes I know even with this solution the problem is the with transaction notification is not possible determine that event to block, or if you know how or get some tip, please send me, because I analyze the requirement and I couldn´t develop.
    Tks

  • Maximum number of line items in sales order

    hi,
    Is there a limit on the maximum number of line items that are permitted in a sales order?
    Thanks,
    Shailaja

    Hi
       I think the correct reply would be 999,999 because data type of item number POSNR is NUM 6, which means that it can hold upto value 999,999.
         However, at the same time keep the following into consideration:
    1. FI document has a restriction of 999 line items per document. So, depending on the account settings, there will be a lower limit. E.g. if each Sales order line item results in 2 line items in the accounting document, then the max. no. of SO line items is limited to 499.
    2. If FI summarization is active, then the system summarizes the account postings, thus reducing the no. of FI line items. Hence, a SO can accomodate more than 999 line items. However, this means that certain line item level details will not be available to the Finance guys (which they may not like).
    3. As the number of line items in a Sales order increases, the system performance suffers greatly. There are performance fixes available, but in general, it is painful to load a SO with large no. of line times through BDC's. 10 Sales orders with 100 lines each consume less system resources than 1 Sales order with 1000 lines.

  • Disabling the Qty field for Input for Sub items in Sales Order and Delivery

    Hi..
    I have a requirement, where by we need to disable the qty field vbap-kwmeng for input for sub items of the BOM.
    I am planning to use the user exit USEREXIT_FIELD_MODIFICATION...in the include MV45AFZZ for sales orders.
    But i need to disable the input only after the BOM Explosion and item category determination in the sales order.
    Can i Use the same exit ?? what additional conditions i need to take into account.
    also we need to disable the delivery quantity field also for the sub items of this sales bom.
    I see that this User exit is not available in delivery procesing.  How to acheive the required functionality in the delivery processing...
    your advice is much appreciated in this matter.
    Regards
    Srini

    hi,
    Route is determined
    1.Country of Departure & Departure Zone taken from Shipping Point
    2.Country of Destination & receiving Zone from Ship to party
    3.Shipping condition from CMR
    4.Transportation Group from MMR
    5.Weight Group which is optional.
    Check the above.
    Route is determined in delivery.
    ASHA

  • Append text for the item in sales order

    Hi all,
    I have to append a text in a sales order for every line item created and am using save_text Fm for that.
    The issue is,
    When a text exists already for a line item, then iam unable to append new text to the existing text as it doesn't get saved to data base until my exit is fully processed.when i check after processing only the previous text remains but not the new one.
    With out using COMMIT how can i append the data in the item text.
    Any pointers would be really helpful..
    regards,
    Dinesh.

    is this parameter in fm SAVEMODE_DIRECT set to 'X'
    also try out this fm COMMIT_TEXT
    кu03B1ятu03B9к
    Edited by: kartik tarla on Mar 5, 2009 6:28 PM

Maybe you are looking for