How to determine sales org from ship-to-party in a transaction?

Dear all, I have a situation.
I had a requirement of determining
1. sold-to-party
2. sales organization
when a ship-to-party is entered into a transaction type.
Considering that the sold-to-party and ship-to-party are different BPs.

Hi Animesh,
This process is known as reverse determination. and reversal of the search direction for partner determination uses business partner relationships using the field Reverse Determination within the access sequence customizing setting. Path is IMG>CRM>Basic functions--> Partner Processing
You create a access sequence for partner determination which should have only a single step.
This setting is only relevant when you enter either Business Partner Relationships or BP Relationships by Sales Organization as the source for this single access.
During partner determination using business partner relationships, the system normally looks in a partner's master data for the "Has the ..." relationship, such as "Has the ship-to party". Marking this field sets the system to look for the same relationship, but in the reverse direction, such as "Is the ship-to party".
Leave the field Reverse Determination unmarked to set the system to function as usual.
Mark the field to set it to read relationships in reverse for this single access.
You make the following settings for the access sequence with one single access:
Source: Business Partner Relationships
Details on the source: Ship-to Party
Reverse source (this field): marked
You assign this single access to the partner function Sold-to Party.
For the Ship-to Party, you can have either of the following settings :
1) If the document does not have a preceding document then do not assign any access sequence to the Ship-to-Party partner function or
2) If the document have a preceding document which will pass on the Ship-to Party details to the current one , then you can assign standard Access Sequence 1000 or your own copy of the standard access sequence number 1000.
Hope this would help.
Regards,
Rekha Dadwal
<b>You gain a point for every point that you reward. So reward helpful answers generously</b>

Similar Messages

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

  • Relation between Sales org and Shipping Point

    Hai all,
           Can any one tell me wt is the relation between Sales Org and Shipping point?
    Ravi
    < PLEASE DONT USE SMS LANGUAGE AND PLEASE SEARCH THE FORUMS.  >

    Hi Ravi,
    There is no direct relation.
    Sales organisation in broader level, it is responsible for selling a product in a company.
    It is liable to the customer interms of service of the product or service and confirmation of the sale order, delivery and invoicing.
    Shipping Point is a logical point from where the shipment / dispatch begins.
    Both Sales organisation & Shipping point wil be linked to plant (one or more).
    In case of sale order, sales org will decide the delivering plant.
    Shipping point will be picked based on delivery plant, sh.conditions (cmr) & loading grp (mmr).
    hope this is clear to you now!

  • Sales Org from Acivity change

    Will appreciate help to the following question:
    We do not want Org. Data to be pulled automatically but have an option to select Sales Org. from a Selection List/Screen.
    Please advise how can this be achieved?
    Thanking you all,

    Hi Chitkara,
    Your org might be pulled automatically because the org data profile you must have assigned in your Activity transaction settings must be selecting only a single org based on the selection criteria at runtime.
    If you want to select the org, you need to define the criteria in such a manner that when you key in the values in your activity, org data profile assigned to your transaction should select more than one value.
    e.g in org attributes you have country as one of the attributes and you have keyed in IN as the country.
    Now if you key in BP with country IN then all the org with country IN would be selected and you wil be give a selection box.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • How to transfer sales bom from SAP R/3 to APO?

    Hi Experts,
    I just want to ask how to transfer sales bom from R/3 to APO? if i change my bom usage to 5 and use this BOM in my Production version be enough to send it to APO?
    Also, this is my first time using sales bom, could you please help me understand how sales bom work in APO planning?
    Thanks so much.
    Mylene

    Hi Senthil,
    Thanks again for your reply. I was trying to CIF sales BOM in APO but only the header material are being created in APO. The component are not added in PDS. This is how I create it in SAP R/3:
    1. transaction cs01 -->  enter header material, plant and BOM USAGE =5
    2. inside cs01, i entered components, quantity for each components and ITEM category = L (stock item)
                            i also eneterd base quantity for header material
    3. create production version for header material with routing and this BOM
    4. create and activate material CIF model for header and components
    5. create and activate PDS CIF model for header and components.
    After doing all these steps, PDS is created in APO but I only have the header material (no components)
    I tried changing BOM to other bom usage and components were populated in PDS.
    Am i missing nay steps?  Thanks.
    Regards,
    Mylene

  • 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

  • How  to Extract sales document from r/3 ?

    hi,
          How to extract sales data from SAP R/3 considering all fields of data in different tables?
    Thanks & regards,
    Gopi.

    Hi Gopi,
    It depends what data you need to extract but most of the data would be available in following tables :
    Sales
    VBAK - Header
    VBAP - Item
    VBPA - Sales Document Partner
    Shipment
    VTTK - Shipment Header
    VTTP - Shipment Item
    Delivery
    LIKP - Delivery Header
    LIPS - Delivery item
    Customer
    KNA1 - Customer Master
    KNB1 - Customer Master (Company Code)
    Cheers,
    Vikram
    Pls reward for helpful replies!!

  • In SAP Retail, How can a sale Org be assigned to a purchase Org?

    Hi, All
    In SAP Retail, How can a sale Org be assigned to a purchase Org? This cannot be found in IMG.
    Thanks.
    Best Regards
    Jiande Ding

    refer to:
    assignment of sales organization to purchasing organization

  • Bill to party should be pulled from ship to party.

    Hi
    I have scenario in which I want to pull bill to party from ship to party and not from sold to party in sales order. Business requirement have one sold to party say A . This sold to party has 4 ship to party say B,C,D,E.  Every ship to party has one Bill to party respectively say L,M,N,O.  This scenario is only for one customer and not for all. When ship to is entered in the sales order it should give options to select the bill to party .
    I want to know the config steps alongwith the name of the user exit (if it is required for)
    Thanks in advance.
    James.

    Before answering this question, I would like to thank Lakshmipathi for his compliment and James for this interesting scenario.
    Lets say your new ship to parties are 90 & 91.
    Lets say your new bill to parties are 110 & 111.
    So your new requirement is when you enter ship to party 90 or 91, bill to party 110 or 111 has to be determined from sold to party.
    Am I correct? That's how I understood your question(If this is not you are not looking for, please advise).
    In case yes, you  could do the following.
    In your sold to party record, partners Tab, enter the details of your new ship to parties and bill to parties.
    In sales order, enter ship to party and system would pop a box listing bill to parties. You can select one of the bill to parties.
    Once selected, system would populate sold to party record field.
    This is happening because when you enter ship to party record in sales order, system accesses sold to party from ship to party. Once it accesses sold to party, it lists bill to parties available in this sold to party record.

  • Call partner function from ship to party

    Dear Gurus,
    I have two account group A and B, A contain the partner function of SP, SH, BP and PY, and B account group having function of ship to party, bill to party and payer.
    In configuration i have made the settings.
    At sales order level i enter the sold to party and if enter different ship to party in the next field system call the BP and PY from Ship to party master record. that is as per requirement.
    But if i presss enter after entering the sold to party no system call all the function from sold to party, and then if i change the ship to party system only change the ship to party but not again determine the BP and PY partner function from ship to party.
    Kindy suggest the possibe solution so that system again the redetermine the bill to party and payer function.
    Looking for the gurus response.
    Regards,

    Hi,
    In your partner partner procedure against partner function BP or PY enter source as SH then system will determine this to functions on basis of Ship to party
    Or else either you can not maintain other partner functions in sold to party master means you can take all partners from ship to
    Or else manually put ship to party immediate after sold to party and then enter
    Or else check any user exit available for re-determination of partner
    Note : First option will definitely work, try
    Kapil

  • List of Sales Orders wrt SHIP TO PARTY through T Code VA05.

    Hi Experts,
    Please let me know how can we extract list of Sales Orders wrt SHIP TO PARTY through T Code VA05. We can select Ship to Party option through Partner function tab in selection screen, but while executing transaction, we get list for SOLD TO PARTY.
    Please advise.
    Thanks,
    Abhishek Agrawal

    Hi,
    In the VA05 report selection screen, you have the option of selecting the relevant partner function that needs to be considered. Click on the "Partner Function" button and change it to "SH"
    Then given the ship to party number you want to analyze and execute the report.
    In the report output screen, you will see the  Ship-to Party in the header.
    In the detail level, you see the sold to party numbers. Since the report can be executed for one ship to or sold to at once, there is no requirement to see the ship to party in the line level.
    If you double click on the line, you can go to the sales order and verify your sold to and ship to details.
    Best regards,
    Anupa

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

  • How to give rebate according to ship to party

    how to give rebate according to ship to party.

    Prasanta,
    Rebates are driven by condition technique. You would be using the Rebate condition types (BO01 - BO06 range). Check the access sequence being used, with V/07. Assume, you are using BO01. Now, in V/07, in the 'Fields' tab, in the 'Doc. Field', the source for getting the customer number is set as Payer (KNRZE).
    Change it to Ship-to party ( KUNWE),from the field catalog below.
    It is recommended that you create your custom access-sequence, copying with ref to BO01 (or whatever access sequence you want) and make a change as discussed above.
    Let me know

  • 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

  • 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

Maybe you are looking for

  • Interface Program for maintaining a table

    Hi Experts, I am having a requirement,.,cud u please tell me how to proceed. 1. We have a table and maintaining manually. 2. we need a Interface to do it. 3. If i create a record with " Create with a template ..user id and a date field in the table s

  • Customizing your main.asc for FME

    You can customize your server-side script to take advantage of additional functionality exposed by FME. FME makes the following calls to server-side actionscript : FCPublish : FME calls FCPublish with the name of the stream whenever a new stream is p

  • When I search for a website, then click on it, the website will not load as the following has been added to the address - &vm=r

    I have been experiencing this issue for several days. I look up a website or subject. When I find something that looks good and click on it, it tells me that site can not be found. If I look at the address that is listed above, on the end has been ad

  • Frequent error message (8248) when downloading songs. Please help!

    I am hoping to resolve an issue I keep encountering when trying to download songs from itunes. I frequently receive a message stating "there was a problem downloading the song. An unknow error occured (8248)" However, the song appears in my purchased

  • My Macbook Pro freezes

    My 2011 Macbook Pro 13" keeps on freezing for like 10 seconds and it shows the loading circle or some call it the spinning wheel of death. What should i do to prevent my Macbook from messing up completely.