Change route in sales order line item bases on incoterms in business data

Hi ,
I have one requirement, in which I have to change the line item route value based on incoterms maintained in business data. I am not able to find correct user exit or enhancement point.  I have tried enhancement in VBKD_PRICING but its not working.
Please help me with this. If u need any more details please let me know.
Regards
Sandeep

Hi,
Use USEREXIT_MOVE_FIELD_TO_VBAP in Report MV45AFZZ. This exit is used for changing the values of fields from VBAP table. 
USEREXIT_FIELD_MODIFICATION is used for changing the display attributes of screen elements ( hide / unhide fields).
Regards,
DPM

Similar Messages

  • Change the Profit Center in Sales Order line item's Account assignment tab

    Hi Gurus,
    I need to change the Profit Center at Sales order Line item in Account Assignment Tab. Currently  The Profit center is coming from Material Master for the Line Item's Material as default but I have to change / overwrite  that.
    Can any body provide me how can i achive that means
    Any User exits, substitution or any thing ?
    I tried MV45AFZZ but i am not able to find out the right place where I can change COBL-PRCTR.
    Sony

    Hi
    There is perform which moves the values to VBAP field.
    This PRCTR field is stored in VBAP (i.e., SO line item table)
    USEREXIT_MOVE_FIELD_TO_VBAP
    Hope it works.
    VVR

  • User Exit to make changes in sales order line item data.

    Hi All,
    I need to know about user exit by whcih I can make changes in sales order line item details --> Account assignment tab --> Sales order no and line item no.
    I want to make changes so as to bring the active maintenance contract no and line item no here instead of sales order no and line item no. So whenever ( Va02 or Va03) we go to sales order line item and se the account assignment tab I should see the contract no there.
    Just let me know the USER EXIT to do the above changes.
    Points will be awarded.
    Regards,
    Satish.

    Hi,
    Please have a look at the following user exits...
    1. user exit_ save_document
    2. user exit_save_document_prepare
    Regards
    sankar

  • Transaction VKM1 - Changes Sales Order Line Items Custom Fileds

    Hi,
    I have a challenge to indentify the impact of VKM1 on a Sales Order Line Item Customer Enhanced Fields. When credit hold for the customer is released in VKM1, I want to prevent some of the changes to the line items in the User Exit. The Problems I am not sure, How VKM1 is calling the Transaction VA02 or those Sales Order User Exits to modify certain customer enhanced fields. I tried Activation of Break Point in Update Task but did not stop at the Break points set up in the User Exit. How does Transaction VKM1 call the Sales Orders to execute changes? Is it through BAPI or Call Transaction VA02 or some thing else.
    Can any One please help me? Appreciate Your Help in advance.
    Thanks,
    Kannan

    VKM1 uses FM SD_ORDER_CREDIT_RELEASE to release orders on credit.

  • I need to add fields in additional fields B the sales order line item

    i  need to add fields in additional fields B beside the field (icon_val_quantity_ structure) in the sales order line item, How to achicve this? please help me..

    Please fined the below solution for achieving your requirement.
    1. Add new filed "B" in table VBAP.
      a) T.code  SE11 --> Enter structure name VBAP --> display
      b) Goto --> Append Structure --> Enter Structure name and new field "B"
    2. request your basis team and take the access key for modification of stabdard program SAPMV45A & Screen: 8459
       a) After receiving access key for standard program then got o SE51 --> enter program name  SAPMV45A & Screen: 8459
       b) click change Button
       c) click layout button
       d) add new field "B" below of the screen (F6 -> enter table name : VBAP --> get from dictionary --> selet new field and past in screen )
    3) write below code in flow logic
    PROCESS BEFORE OUTPUT.
                               Verarbeitung vor der Ausgabe
      MODULE ZZPB_INITIALIZE_8459.
      MODULE ZZPB_OUTPUT_8459.
    PROCESS AFTER INPUT.
      CHAIN.
        FIELD VBAP-New field name "B".
        FIELD ZVC_SALES_EXPORT-ZZAPLHENKO.
      ENDCHAIN.
      MODULE ZZPA_OUTPUT_8459.
    4. functin Module code
    module ZZPB_OUTPUT_8459 output.
      Data: l_v_actve type ale_active,
            l_v_ttyp  type c.
      Data: l_v_tragr type tragr.
    l_v_ttyp = t180-trtyp.
      if l_v_actve is initial.
        l_v_ttyp = 'A'.
      endif.
      LOOP AT SCREEN.
        CASE l_v_ttyp.
          WHEN 'A' OR 'C'.
            SCREEN-INPUT = 0.
        ENDCASE.
      ENDLOOP.

  • I have a problem regarding sales order line item with confimed quanity

    Hi Experts,
    I have a problem regarding sales order line item with confimed quanity with '0'  with delivery block but confirming the sales order quantity once the order is released from credit check.
    The situation arises as per the below scenarios.
    Scenario - 1 -  When the sales order has two line item - one line item with confirmed qunaity in the schedule line and for the 2nd line item there is no available stock for the Material xxxxxx.
    Initially the sales order is created for the line item 2 with confirmed quantity = 0, and having the delivery block = 01 for the Material xxxxxx  and the order is set with credit check.  Once the order is relased from the credit check.  The quanity for the item 2 where the confirmed quantity will be = 0 ( Where it is not changing the confirmed quantity)
    Scenario -2-  Updating the order qunaity for the line item 2 as (9Pcs) it will goes to credit check and save the order.
    Maintain the stock for the line item 2 ( 5 Pcs).
    Once the order is released from the credit check.  Then  for the line item 2 the confirm quanity will be seting to 5 Pcs with Delivery blcok 01.
    This should not happen, When the credit check is released even though if it has stock based on the delivery blockl it should set the confirmed quanity to Zero.
    Can you please help me how to solve this issue.
    Looking forward for your reply.
    Thanks and Regards,

    Hi,
    I agree with your point.  In the sales order When the complete delivery check box is enabled where the confimed qty is set to zero, it is fine but when we save the orderr it goes to credit check.  Once we release the order using VKM3 where in the sales order the confimed quantity is setting to 5,  But it should set to Zero quantity.  Quatity should not be get confirmed it should be Zero Quantity. 
    Further in SPRO - customizing in the deliveries blocking reasons - It has a tick mark in the confirmation blcok.  But we dont want to remove the - Confirmation Block tick mark
    Please any one can help me if you have any solution to solve this problem.
    Thanks and Regards.

  • No cost booking against sales order+line item once accontng release is done

    Dear all,
    I want to stop all cost bookings against a sales order + line item once the accounting release for that item has been done.
    By cost booking i mean, all such transactions that are done for a sales order + line item that involve cost booking. Like, MB1A should not allow any goods issue against that sales order + item once accounting release is done.
    Is it possible to that in sales order? Like by using any status at item level.
    Please guide.
    regards
    SAPshed

    Hi Ajay,
    We have not kept automatic cost estimate marking during saving of sales order as costing dept wants  to confirm whether costing for the SO is correct or not.
    Hence we have to use CK51N.
    Now the problem is for any change in any line item of a sales order is changing the costing status from "VO" to "KA" for all line items of the given sales order in table KEKO.
    This is causing measure problem as production people are facing problem while making any change in production order as already there is a check put in CO02 that if cost estimate does not exist for underlying sales order, then change in production order should not be allowed.
    Similarly production order creation (converting planned order to production order) is getting held up.
    Costing user has to repeated run CK51N for all line items of a single sales order if there is any change in any single line item of the sales order.
    Hence pl. help and suggest as to what is to be done now.
    Regards
    Ratna

  • Copying text from CMIR (KNMT) to the Sales Order Line Item

    We need to copy text from the CMIR (KNMT) to the Sales Order Line Item with two steps in the access sequence. First to look up by the Ship to Partner Function.  If doesn't exist, then look up by Sold to Partner Function.  Have setup a new text id (ZPRN), a new access seq (9011).  The access seq has one seq =5 for KNMT, ZPRN, all languages and that saves fine.  When I set the Partner Function to be SH.  I get the following error msg:
    "The Language does not come from the partner function AG for MVKE".
    Any ideas?  This access seq does not reference MVKE. It only references KNMT.
    Thanks!

    Hi Lisa,
    Just stumbled on this post, as I am searching for something similar.
    What you are attempting to do isn't possible in config.
    This is because as standard Customer Material Info Records are not even considered for ship-to party in the sales order.
    They work for sold-to only.
    Therefore, this funny error message is SAP's way of saying, "Why are you trying to enter a partner here, because the data is determined for sold to only?"
    You can change this with development for other fields (ie, to determine delivery plant, tolerances etc at ship-to) by using
    the exit MV45AFZB with the USEREXIT_CUST_MATERIAL_READ form.
    However, even if you do this, Text Determination is still sold-to only and still doesn't behave.
    I am currently looking myself for a solution for this problem and I will let you know what I find.
    Cheers
    Chris

  • VA01 Sales order (line items) and different Cost center assignment

    Hello gurus,
    im searching for solutions how to assign different cost center to sales order line items, but only thing that i found is the substitution (Using Substitution (GGB1) to change Cost Center assigned in (OKB9))
    Trying to do this i was unable to create something that could work, since there was no Logistic.
    Could somebody explain me the Line item in SO assignment to Different cost centers?
    I know alot about OKB9, VKOA and other transactions, but still cant find anything suitable to solve this issue
    Best regards
    Laurynas

    What i mean is that, on the end of every month we are gathering information for Statistical Key Figures (from Controlling) entering as CO document and then distributing the costs using KSV5 TC on Internal Orders according those entered statistical key figures.
    i.e. we got INCOME 1000000 from 10 internal order, which we distribute on even percentage parts like 10 cost center, each getting 10% of the income.
    I tried to create the SO, but the Profit center field, after i entered a number, was changed automatically into another.
    And the posting didnt reach Controlling and the assigned Cost center. I think it is a lack of configuration.
    Regards
    Laurynas

  • Sales Order Line item category not getting Re detemining Correctly

    Dear all,
                I need  help regarding the Sales order item category redetermination.
                we are having two item categories YNAE and YNAG and it contains schedule  line categories CP and CB ( i.e for item         category  YNAE schedule line category is CP and for item category YNAG schedule line category is CB),
    for YNAG Purchase Requisition is automatically created becz of functional setting on save and it is working fine.
    For every line item in sales order line item level item category YNAE will be determined by default as per functional settings.
             Now my requirement is that, if sales order line item doesn't contain 100% confirmed quantity, than i needs to change the default line item category YNAE to YNAG which i am trying to do it in USEREXIT_PRICING_PREPARE_TKOMP becz in this exit i am getting the values in XVBAP and XVBEP and  it is working fine .
             But schedule line category is not getting redetermined automatically what i mean is, if i change the item category to YNAG from YNAE in user exit corresponding schedule line category CB of YNAG is getting determined automatically at the schedule line level and if ichange the schedule line categories in XVBEP in exit USEREXIT_PRICING_PREPARE_TKOMP, changes are reflecting at the schedule line level but Purchase requisation is not getting created for schedule line on SAVE and its delivary dates are also not getting determined properly. If i press the option ATP check at the schedule line level than very things will getting corrected.
       I feel that i am not doing this in proper way, do u have any idea about how to redetermine item category. please let me know if u have any idea .
    Regards,
    Vaddepally Manoj

    USEREXIT_PRICING_PREPARE_TKOMP is the wrong location - that exit is for pricing communication preparation only.  Your primary location for item category determination is USEREXIT_SOURCE_DETERMINATION (MV45AFZB).  In your simple scenario, you could consider making an availability check at this point with some assumptions and then assign the item category accordingly.  Otherwise, you can re-assign item category and schedule line category in USEREXIT_MOVE_FIELD_TO_VBEP.  The exit is called once before ATP (for ATP-relevant schedule line categories) and once afterwards.  The call is recursive if you re-assign another ATP-relevant category.

  • Mass Deletion of Sales order line items

    Dear Gurus..
    There is a transaction VA02 for change and deletion of sales order line items. it takes time to delete line item of sales order one by one.. is there any abap program to do this process..
    if so please let me know
    regards
    Saad Nisar

    Hi,
    You can use trx MASS with object type BUS2032 to change sales order items. Please check this link:
    Re: Mass deletion of  sales orders
    Or try LSMW.
    Regards,
    Csaba
    Edited by: Csaba Szommer on Apr 10, 2009 8:18 AM
    Edited by: Csaba Szommer on Apr 10, 2009 8:21 AM

  • Quantuty on the Sale Order line item

    HI,
    Can anyone suggest how to control the Quantity on the sales order line item.
    Sale order line item should not be reduced below the delivered or invoiced quantity. For EX:Sale order line item 10 has 200kgs,delivery quantity created aganist that order is 100kgs, now the system should not allow us to change the sale order line item quantity below the delivery quantity i.e 100kgs.
    Thanks in Advance.

    In the transaction OVAH, for the message class V4 and message number 083, in the category column, change the entry from W to E. Then system will issue hard error when you change the order qty to below delivered qty.
    Regards
    Sai

  • Tracking Number Information in B2B sales order line item

    Hello Experts
    Does anyone aware of the settings to be done to get tracking number (e.g tracking number given by DHL, Carrier Company) displayed on sales order line item.
    Following steps has been followed, but we can not see the tracking number at the line item level:
    Tracking the Shipping Status
    You can enable customers to track the shipping status of their Web shop orders using an external shipping provider. If the external shipping agency offers shipping information on the Internet, customers can access the shipping status directly via a hyperlink from the order. This enables customers to track their delivery during the shipping process.
    Prerequisites
    u2022     Your appointed haulage firm offers the shipping status tracking service.
    u2022     The haulage firm has assigned a bill of lading for each order and informed you of it.
    Activities
    1.     Call transaction VL03N in the ERP system.
    2.     Choose Display <-> Change.
    3.     Choose   Goto  Header  Partners  . Enter the data of the corresponding carrier.
    4.     Choose Shipment. In BillOfLad, enter the tracking number.
    Folks, any help will be highly appreciated
    Thanks
    DJ

    Hi DJ,
    Most of the settings that are required to display the tracking number in the web shop are ECC dependent. The function module that gets the tracking related information in the Run Time is CRM_ISA_BASKET_STATUS_ENH.
    In the above function module at line number 383 contains the relevant logic to get the tracking related information from the ECC system. At this line number the function module BAPI_XSI_GET_VTRK_G is called remotely in ECC.
    ABAP Stack in ECC:
    BAPI_XSI_GET_VTRK_G (FUNCTION MODULE)
                XSI_CREATE_TRACK_URLS (FUNCTION MODULE)
                                    TRK_GET_URLS (SUBROUTINE)
                                                    XSI_CREATE_TRACK_URL_MULTI (FUNCTION MODULE)
                                                                    XSI_CREATE_TRACK_URL (FUNCTION MODULE)
    Transaction Codes where the settings need to be done in ECC:
    1.     VTRC - Maintain Express Delivery Company
    2.     0VVT - Set Up : Express Delivery Company
    3.     VTRK - Parcel Tracking
    Database tables relevant for Tracking in ECC:
    1.     VXSITDU u2013 Express Delivery Company : URLs
    2.     VXSITDL u2013 Express Delivery Company Data Field
    3.     VTRKH u2013 Tracking Data Header
    4.     VTRKP u2013 Tracking Data Item
    5.     VLBL u2013 Express Delivery Company Data Field
    6.     TCAVAR u2013 Carrier URL Connection (Substitution of Variables)
    7.     TCAURL u2013 Carrier URL Connection
    8.     EKES u2013 Vendor Confirmations
    Best Regards,
    Chanakya Reddy

  • Sales Order Line Items

    Hi All
    I am trying to load sales order line items into a cube using the datasource 2LIS_11_VAITM.
    The only cube that I coulkd find in Business Content that seemed remotely appropriate was 0SD_C03 so I copied it and used it as a template. However I am finding that its not a very good fit.
    It contains a number of characteristics that are not supplied by 2LIS_11_VAITM such as value_type, version etc. Also a number of the key figures dont look right. eg Quantity in Base UOM whereas the datasource supplies quantity in Sales units.
    My question is whether 0SD_C03 is the correct cube for sales order line items. If so should I be converting the key figures to those specified in the cube and also enhancing the extractor to supply the missing characteristics. Or is there a better cube to use as a template?
    Please dont say it depends on what the user wants because I dont think they know what they want and besides its Xmas and no one is here.
    Regards
    Asif

    KWMENG = order qty
    UMVKN = Denominator
    UMVKZ = Numeretor
    Qty in BuOM = ( UMVKZ / UMVKN ) * KWMENG
    You can also do keyfigure conversions "on the fly" in BEX. See this howto to configure this. Especially handy when your datasource does not contain numerator and denominator info.
    [http://wiki.sdn.sap.com/wiki/display/BI/Defineunitofmeasureconversionsin0MATERIALdefinition|http://wiki.sdn.sap.com/wiki/display/BI/Defineunitofmeasureconversionsin0MATERIALdefinition]
    note: read also the comments from the link above, because the step-by-step solution is not complete. I implemented it several times and it works like a charm.
    grz,
    Rutger

  • Third Party GRN Posting Date to be Copied to Sales Order Line item Billing Date

    Hello Experts
    I have a client requirement where in they want to bill line items in the sales order ( third party process ) to the end customer in sync with the GRN posting dates happened in the PO
    For EG if GRN happened on 1st July 2014 then Billing Date should come in as 31st July 2014 so when they execute VF04 giving from and to dates as 1st july to 31st corresponding sales order can be invoiced
    Actual problem is for suppose if i create a sales order in the month of june say 26th basing on the factory calendar setting and invoicing list maintained in the customer master system defaults the billing date to 30th June 2014 , and the same when user runs VF04 from 1st June to 30th June this sales order shows as due and mistakenly end user invoices the customer ( whereas logical GR would have only received in July 1st )
    My requirement is similar to below threads but i am unable to find answer how to copy GR Posting date to Billing Date of the sales order line item
    use GR Doc date as billing date
    3rd party sales process (w/o ship notif) - Billing

    Hi Lakshmipathi ji,
    As my requirement is to update the billing date at the sales order line item level , As a process user goes in executes VF04
    For Ex
    Sales Order Created Date is 1st June 2014 then System Defaults Billing Date at line item to 30th June 2014
    Now when i do GRN suppose on 1st July 2014 for that line item , system should trigger a code where in check the posting date of the GRN and override the same in the Biiling Date field of the sales order line item
    So when VF04 is run for a month All the GRN which are recieved in the month of July are invoiced in July
    Please share me your thoughts do we need to check any userexits from MM side which reads the posting date of GRN and then copies in to my third party sales order
    Regards
    Hiba

Maybe you are looking for

  • 10.6.2 bug

    i upgraded my mbp to 10.6.2 and i dunno why but it is automatically changing set up for my dock to hide and show setting what do i do?

  • Issue is on BO 3.1, with FP1.1

    Issue is on BO 3.1, with FP1.1. Unble to click on "ok" button of confirmation message, when try to delete all 500 instances(set this limit in preferences), in history tab of the report. Tried redeploying CmcApp and Cmc AppAction war files, but no cha

  • How do I keep my browsing window the same size everytime I start Firefox and when I open in new tab

    I can't see the the words unless I hit control and plus to view bigger. I used to be able to have the bigger size every time I opened Fire Fox and would not change when I open in new tab, now I click control and plus to make bigger, I click open in n

  • How to build query which list only active PC's

    Hi guys, I have to install SCCM client on many devices in my enviroment. Unfortunately, SCCM has found amny devices which still have accounts in AD but are not used for looong time. I would like to list only devices, which hasen't installed SCCM clie

  • Difference between Partial payment and residual payment

    Hi, What is difference between partial payment and residual payment and what is the effect of this payment on Payment Terms and Customer aging analysis report? Can any body help me out. Thanks & Regards Amar Adam