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

Similar Messages

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

  • Free goods-more than one material as a free item in sales order

    Hi,
    We have a requirement for our client in free goods scenario in which the client wants to give more than one material(2or3 etc) as a free item in the sales order.I have already explored the slaes BOM functionality,anyother suggestions other than Sales BOM will be of great help to me.
    Thanks

    Hi Sam,
    Check out my [post|Re: Free goods process requirement] wherein I had the same problem once upon a time.
    We tried all possible things, however concluded that through std SAP functionality the same is not possible.
    FYI:  Free Goods doesnt support BOM, Sub items, Product selection. etc.
    Regards,
    Amit
    Edited by: Amit Iyer on May 12, 2011 3:01 PM

  • 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

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

  • 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

  • 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

  • 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

  • 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

  • Item Description not popping for some items in Sales Order

    Hello Experts,
    We have upgraded ourselves to SAP B1 8.82 PL01. When posting the Sales Order, for some of the Items, the Item Description and other details which come automatically once the item code is selected are not displaying.
    We have tested by creating a dummy item (this creation, I have opened an item for which details are not displayed, duplicated the item, and gave a new code). When I used this test item code, all the details are popping up.
    Can anyone throw some light on where I could have gone wrong.
    Thanks,
    Vineela.

    Hi Vineela.........
    I think you must have to perform Data Checkup in SAP.
    For doing so please do this......
    Go to Administration> System Initialization> General Setting> Services> Tick on Perform data Check. Then relogin in SAP again and once process done please check this in Sales Order........
    Regards,
    Rahul

  • 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

  • Restrict Availability check for Line item in sales order

    Hi Folks,
         My requirement is some what different than the usual,I want to stop availability check for a particular line item,while creating sales order on a particular condition (example when quantity is changed for that line item),please suggest if there is any way to do so.
    Thanks for your valuable support.

    Hi
    we need to maintain the username of the person who has triggered this process through XI .
    I BAPI we cannot instruct the BAPI to maintain a specific username.
    that is why i am using this FM because this will allow us to maintain the change history with the username we want
    Regards
    Nikhil

  • 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

  • Updating the reason of rejection for line item in sales order

    Hi
    I am updating the reason of rejection field (ABGRU) using the function module VERKBELEG_WRITE_DOCUMENT.
    there is no error that is thrown but the field is also not getting updated.
    I have populated the VBAP old and new structure. where the difference is only in the ABGRU field. in the old VBAP struct its missing where as in new it has a value
    if anyone has any idea what is that i might be missing, do let me know.
    Regards
    Nikhil

    Hi
    we need to maintain the username of the person who has triggered this process through XI .
    I BAPI we cannot instruct the BAPI to maintain a specific username.
    that is why i am using this FM because this will allow us to maintain the change history with the username we want
    Regards
    Nikhil

Maybe you are looking for

  • Closing MacBook lid w/ mini-DVI to second display turns off second display

    I hooked up a MacBook to another display via the mini-DVI to DVI adapter but, when I close the lid of the MacBook, the other display goes off. The display settings are set to mirror and this doesn't happen with my MacBook Pro. With my MacBook Pro, I

  • Can get appletv to work with my Hitachi television.

    Can't get AppleTV to work with my Hitachi P42H401.  Any ideas? We replaced the AppleTV, replaced the HDMI cable, tried all three HDMI ports and inputs. I'm bumfuzzled.

  • Abap quick viewer (tcode sqvi)

    Hello friends,                    can any1 provide me with some links on abap quick viewer (tcode sqvi). links where i can learn how to use it.             thnks

  • How to stop and start IGS(internet graphic server)

    Hi Techies How to stop and start IGS(internet graphic server) in Solaries IGS is 7.0 1patch Is this the command to stop and start IGS stopigs and startigs If this correct will there be any issues if i stop the IGS from the above command Thank You Har

  • EAP-AUTH-AAA-ERROR: Reply received on stale handle

    Hi, I try to deploy 802.1x EAP-TLS in Lab enviroment with ACS 4.2 and Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(46)SE If I use the PEAP, it is working, but if EAP-TLS, then nothing show in logs on ACS, but error messa