Incoterms from Ship-to instead of Sold-to

Dear forum
Is there any way of getting the incoterms copied from the Ship-to party customer master (Sales area data/Billing document data) in the sales order (created with VA01) copied into the fields VBKD-INCO1 and VBKD-INCO, instead of the standard SAP functionality where the inco terms values are copied from the Sold-to customer master?
Regards,
Ola Törnblom

HI
We will get it by using  "User Exit "
Regards
DV

Similar Messages

  • User exit is used to get incoterms from ship-to-party.

    Hi Gurus,
    my client needs to catch incoterms from ship-to-party,
    please let me know which user exit is used to get incoterms from ship-to-party.
    regards,
    Naren

    In our system we get the inco terms from the ship to party. We use user exit move_fields_to_vbkd in program mv45afzz. The code looks like this:
    Inco terms
    Added to get the values of Inco Terms from
    Ship-To-Party instead of Sold-To-Party.
    data: oldship like kuwev-kunnr value space.
    if sy-ucomm   <> 'UEBR' and  "Ordre er ikke oprettet med reference
       t180-trtyp <> 'A'.        "Der er ikke Vis mode
      import oldship from memory id 'ZSS'.
      if *vbkd-inco1 is initial. "Første gang vi er i User-Exitet
        if kuwev-kunnr <> kuagv-kunnr. "Varemodtager forskellig fra ordregiver
          select single inco1
                        inco2
         into (vbkd-inco1,
               vbkd-inco2)
         from knvv
        where kunnr = kuwev-kunnr
          and vkorg = vbak-vkorg
          and spart = vbak-spart
          and vtweg = vbak-vtweg.
        endif.
      elseif oldship <> kuwev-kunnr and
       ( *vbkd-inco1 <> vbkd-inco1 or
         *vbkd-inco2 <> vbkd-inco2 ).
        select single inco1
                      inco2
          into (vbkd-inco1,
                vbkd-inco2)
          from knvv
         where kunnr = kuwev-kunnr
           and vkorg = vbak-vkorg
           and spart = vbak-spart
           and vtweg = vbak-vtweg.
      endif.
    endif.
    Det skal ligge udenfor if-sætningen for at undgå at det overskrives
    ved oprettelse med reference
    move kuwev-kunnr to oldship.
    export oldship to memory id 'ZSS'.
    /Torben

  • User exit for incoterms from ship-to-party

    Hi Gurus,
    my client needs to catch incoterms from ship-to-party,
    please let me know which user exit is used to get incoterms from ship-to-party.
    regards,
    Naren

    In our system we get the inco terms from the ship to party. We use user exit move_fields_to_vbkd in program mv45afzz. The code looks like this:
    Inco terms
    Added to get the values of Inco Terms from
    Ship-To-Party instead of Sold-To-Party.
    data: oldship like kuwev-kunnr value space.
    if sy-ucomm   <> 'UEBR' and  "Ordre er ikke oprettet med reference
       t180-trtyp <> 'A'.        "Der er ikke Vis mode
      import oldship from memory id 'ZSS'.
      if *vbkd-inco1 is initial. "Første gang vi er i User-Exitet
        if kuwev-kunnr <> kuagv-kunnr. "Varemodtager forskellig fra ordregiver
          select single inco1
                        inco2
         into (vbkd-inco1,
               vbkd-inco2)
         from knvv
        where kunnr = kuwev-kunnr
          and vkorg = vbak-vkorg
          and spart = vbak-spart
          and vtweg = vbak-vtweg.
        endif.
      elseif oldship <> kuwev-kunnr and
       ( *vbkd-inco1 <> vbkd-inco1 or
         *vbkd-inco2 <> vbkd-inco2 ).
        select single inco1
                      inco2
          into (vbkd-inco1,
                vbkd-inco2)
          from knvv
         where kunnr = kuwev-kunnr
           and vkorg = vbak-vkorg
           and spart = vbak-spart
           and vtweg = vbak-vtweg.
      endif.
    endif.
    Det skal ligge udenfor if-sætningen for at undgå at det overskrives
    ved oprettelse med reference
    move kuwev-kunnr to oldship.
    export oldship to memory id 'ZSS'.
    /Torben

  • Fetch Sales order number and PO number from ship to party and sold to party

    HI,
    I need to get Sales order number and PO number
    from ship to party and sold to party.
    I have only ______sold to party and ship to party and req del date_______ in selection screen as mandatory
    Please let me know
    Sreekanth

    Hi,
    You can do this:-
    SELECT VBELN FROM LIKP
    INTO TABLE T_DELIVERIES
    WHERE KUNNR = SHIP TO PARTY
    AND     KUNAG = SOLD TO PARTY
    AND LFDAT      = DEL DATE.
    You will get a table containing the list of deliveries.
    Use VBFA to get the sales orders from deliveries.
    SELECT VBELV FROM VBFA
    INTO TABLE T_SALESORDERS
    WHERE VBTYP_N = 'J'
    AND     VBELN  = T_DELIVERIES-VBELN.
    T_SALESORDERS WILL give you list of sales orders.
    From Sales Orders you can get Purchase orders through EKKN Table.
    Using EKKN pass T_SALESORDERS-VBELN and get corresponding EBELN.
    Regards,
    SUbhashini

  • Can "order combination" field be copied from ship-to party?

    We want "order combination" field on sales order to be copied from ship-to party, not the sold-to party, is there any way to do so? Do we have to modify the user exit? anyway to do this, without modify the user exit?
    Thanks!

    Thank you for reply!
    Business has customers with different ship-to parties. Some ship-to party requires 'order combination', other ship-to do not need 'order combination', so the businees users want to make this field copied from ship-to, instead of sold-to.
    As I can see almost all business relevant data, for example, inco term, payment term, shipping conditions.... are all copied from sold-to party, by standard SAP. I am wondering is there anyway to make them to be copied from other partnership, when require. I know we can do this by modify the user exit, but just wondering is there anyway in configuration settings....& without program change, can achieve this?

  • Incoterms  by ship-to

    Our company has different incoterms by ship-to .  I understand that in SAP, we are maintaining incoterms by Sold-to.   I am exploring the various options that I can suggest to the business. Below are my findings
    1.     Change the value in the sales order by the desired inco-term
    2.     Use Customer Material  Info record to maintain incoterm value by customer and material. But then, if two ship-tos are using the same product, this wont be  helpful 
    3.     Enhancement  in  MV45AFZZ. I have  found this piece of code  in forums to fetch Incoterms from ship-to-party instead of sold-to-party
    FORM userexit_move_field_to_vbkd USING us_posnr.
    IF us_posnr = 0 AND svbkd-tabix = 0 AND NOT kuwev-inco1 IS INITIAL.
    vbkd-inco1 = kuwev-inco1.
    vbkd-inco2 = kuwev-inco2.
    ENDIF.
    Is there any other standard way to fetch the value from the ship to? Please share the experience! Thanks in advance
    Edited by: SAPGeorge on Mar 3, 2012 3:32 AM

    HI,
    I dont think there is any other way for the same.
    As of your issue:
    Inco terms are determined based on customer masters.So in genral you can not populate them at header level or at item level.
    In order to populate them , you need to implement a user exit in sales order processing to bring the incoterms at line items based on the line item delivery plant. For That as you also written  :
    In program MV45AFZZ, in FORM USEREXIT_MOVE_FIELD_TO_VBKD:
    If SVBKD-TABIX = 0.
    VBKD-INCO1 = KUWEV-INCO1. "IncoTerms Part 1
    VBKD-INCO2 = KUWEV-INCO2. "IncoTerms Part 2
    EndIf.
    Note that this is only done in order create mode, so that you can make changes subsequently & not have them overwritten.
    Other Alternative if you do not want to use the User exit, Then create Mutiple  ship to parties with different incoterms and use respective ship to party while creating the sales order.
    Thanks
    Edited by: C.Ankit on Mar 3, 2012 7:19 AM

  • Incoterm to be derived from Ship to party in sales order creation via va02

    Hi Experts,
    I have a requirement.
    When a new sales order is created from the screen va02, the inco term flows from the sold to party.
    It should infact flow from the ship to party.
    So standard SAP  SAP derives the incoterms from the sold-to -party when creating saloes order from the va02 screen.
    we should implement user exit for this.
    I just did a little bit of search and got the info that the euxt should be done in MV45AFZZ. in the FORM USEREXIT_MOVE_FIELD_TO_VBKD
    If anyone has worked on this please share your code details of things to be considered.
    Regs,
    SuryaD.

    Hi Experts,
    Found the solution.
    TCode SE38,
    In program MV45AFZZ, in FORM USEREXIT_MOVE_FIELD_TO_VBKD:
    IF us_posnr = 0 AND svbkd-tabix GT 0 AND NOT kuwev-inco1 IS INITIAL.
        vbkd-inco1 = kuwev-inco1.
        vbkd-inco2 = kuwev-inco2.
    ENDIF.
    SVBKD_TABIX = 0 means that you are in the creation mode (VA01),
    SVBKD_TABIX>0 means we are in the change mode(VA02)
    US_POSNR = 0 means that there is no position number for the item yet.
    Regs,
    SuryaD.

  • Delivery idoc picks ship to contact from ship to party instead of ship-to c

    Hi experts,
    I have question on idoc.
    The idoc is picking ship to contact information from ship to party instead of picking it from ship to contact information.
    Following information are given to me.
    Message Type: DESADV
    Basic Type: DELVRY01
    Extension: ZDELVRY
    Function Group: ZIHX & Function Module: Z_RFC_IH_DELIVERY_UPDATE.
    Where do I make the changes. Please help.
    Regards
    Vince

    Hi Swathi,
    Thanks for the information I am able to find the exit, but when I set a break-point in the exit(EXIT_SAPLV56K_002) it does not go to debugging mode. Can you please let me know why...
    The field segments exists for ship to contact but pulling data from Ship to party, which I probably think
    can set it in exit.
    Can you please let me know about qualifiers...
    Thanks
    Vincent

  • How to determine "Sold-to" party from "Ship-to" party

    Hi friends,
    <<text removed>>
    I have to determine the "Sold-to" party for a particular "Ship-to" party. Could you please let me know what is the Table we need to query for this??
    I have already checked out table KNVP, however I could not find the correct "Sold-to" party for the "Ship-to" party.
    <<text removed>>
    Thanks,
    Vishal.
    Edited by: Matt on Feb 11, 2009 11:22 AM  An emergency on your part doesn't consititute an emergency on our part.  To understand why your post is edited - read this http://catb.org/~esr/faqs/smart-questions.html
    Edited by: Matt on Feb 11, 2009 11:23 AM

    Hello Vishal,
    Ship-To party is assigned to Sold-To for each sales area. So the first step to get Ship-To, is to determine the Sales Area, if you don't have that then you can use the FM   SD_PARTNER_SALES_AREA_CHECK to get the Sales Area.
    If you already have the Sales area, then you can use the following FM, which will return Ship-To party code.
    *  Get Sold-To from Ship-To Party
       Call Function 'SD_PARTNER_GET_SOURCE_PARTNER'
          Exporting
             I_KUNNR             = cKUNNR  "Sold-To party
             I_PARVW             = 'WE'
             I_PARVW_SOURCE      = 'AG'
             I_VKORG             = cVKORG
             I_VTWEG             = cVTWEG
             I_SPART             = cSPART
             I_CALL_BAPI         = ' '
          Importing
             E_KUNNR             = cKUNAG
          Exceptions
             No_Partner_Found    = 1
             No_Partner_Selected = 2
             Others              = 3.
    Let us know if this helped...
    Amit Purohit.

  • Payer from Ship to party / sold to party

    Dear All,
    Please can you let me know how to get payer based on ship to party and sold to party?
    Thanks and regards,
    Atanu

    hi,
    the flow of sold to part and shipment depends on the requirment...
    please check this link
    [http://sap.ittoolbox.com/groups/technical-functional/sap-log-sd/sap-query-shipto-parties-per-soldto-party-2698224?cv=expanded]
    thank you.

  • Inco terms needs to copi from ship to

    HI,
    We have a requirement as,when we create a sales order needs to copi incoterms of ship--to party  in to the order
    not from sold--to .,if we have different  soldto and ship to,How to get this

    I believe you aware of that as per standard SAP, Incoterms proposed into sales document on the bases of Sold-to party.
    So, you need to go for enhancement for your requirement.
    To do so, take help of ABAPer in your team and use user exit MV45AFZZ. in the Form USEREXIT_MOVE_FIELD_TO_VBKD.
    Regards
    JP

  • Country from ship to in the PA

    Hi
    I need to defined a characteristics: Country from ship to in the PA.
    Can you guide me how to do it (step by step please...)

    Hi
    Create a New WW CHar and write a derivation rule in KEDR (TABLE LOOKUP) using KUNWE (SHip To Party) instead of KNDNR/KUNNR
    Let the Standard COUNTRY char be populated with Sold to Party
    If you always want the COUNTRY field to be populated by Ship TO Country, then Create a Derivation step using CLEAR to clear the COUNTRY Value 1st and then Use Table Lookup mapping KUNWE
    br, Ajay M

  • VF01 - Ship to party and sold to party fields

    Hi,
    I am changing user exit in VF01. Currently logic use VBRP-KUNWE Ship to party. But we need to refer to sold to party.
    How can I get sold to party from ship to party?
    Thanks,
    Rupali

    Rather than get the sold to party from ship to party, rather go back to the underlying sales order and get the sold-to party from the partner information in this particular transaction.

  • Payment term from Ship-to party

    Hi,
    Noramlly, Payment trem flows from Sold to praty to the sales orders. My client wants ship- to party wise payment terms should flow to SO since the Purchase order is recevied from ship-to location, still payment is received from the sold-to party only.
    In this case how to bring the ship-to party's payment terms to SO in std SAP. If it is not possible in std, if i use any userexit to achieve this, what could be the implication on doing so?
    Thanks in advance,
    Reg,
    JJ

    hi,
    you can base on this user exit for caturing ZTERM from SH.
    USEREXIT_MOVE_FIELD_TO_VBKD
    MV45AFZZ.
    hope this clears your issue.
    balajia

  • Customer service rep to be picked from ship-to

    Hi,
    I have a requirement to pickup the Customer service rep from Ship-to party. As per the SAP standards if the Sold-to party is maintained with partner function, then it will flow in the sales order.
    But one of the Sold-to has around 50 ship-to parties; I would maintain the Customer Service rep in Ship-to party. Please suggest where I need to do the enhancement in Sales order.
    Regards,
    Jagadish

    Hai Jagadish R     ,
    In the sales order standard program, in
    Include          MF02DFEX
    and ask your abaper to Use the order data  in the Sales order header details
    and in the Ship to Party field make the entry of the Customer service rep from Ship-to party.
    Regards,
    Mani

Maybe you are looking for

  • Can't get LELA w/ WRT160N to work

    I can't get LELA to work. I was working fine from July to early September. Since then I have not been able to get it to work. Everything with the router works fine.  In LELA, pretty much everything I try to click on comes up with an error message. "E

  • [RESOLVED] Double text label on focused button in the Eclipse

    Hi! After update in addition to this I get one more thing: in the Eclipse (both in a CDT and in a PDT) labels on a focused button gets doubling now. It looks like this: There is no such an artefacts in other java (and non-java) apps which I have. Any

  • Http to bapi scenario runtime mapping exception

    Hi, I am doing to http to bapi scenario and I am giving the valid sales order number and organization. And It is throwing me below exception when I see it in sxmb_moni. ====================== <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Cod

  • Apps issue after OS upgrade BB 9800 Torch

    Hi, I upgraded today OS of my Blackberry Torch 9800 to v. 6.0 subv. 9249. Unfortunately right now two apps disappeared from MyWorld - Fuel Economy Calculator and Quick Slide. Both were purchased by me in 2011. Could you explain why were these apps re

  • Camera from locked screen

    Hi friends what is the way to use the camera on the 4GS from the locked screen Thanks