Ship to Party Query

Hi all,
If I have 3 ship to parties for a sold to party, i have an option of selecting one ship to party when i create a sales order.
can i have a default ship to party for the sold to party? i.e the system should automatically propose the default ship to party(from available 3 ship to partties) for that sold to party, then i should even have an option of changing the ship to party.
Thanks in advance.
Cheers,
Anil.

Anil
You can do it.
In the partner function view of teh customer master, when you give the customer number for Ship to party partner function, there will be a checkbox called Default. Please tick this box for the ship to party you want to appear as default in sales order. Then this ship to party will be automatically updated as the ship to party for this sold to party. If you want you can also change it based on the configuration of your partner function in VOPA. (The button Non-Changeable should not be ticked on )
Hope this helps.
Please reward if this helps you

Similar Messages

  • Report - List of sales orders for a specific region in Ship-to Party

    Hello,
    I have a requirement to find all sales orders that were shipped to a specific US state within a specified date range.  For example, it would be a report to find all sales orders from 2009-2010 where the region of the ship-to party is CA.  The issue is that there is a generic "SHIPTO" partner set up where Customer Service manually enters the address and I cannot pull this information from customer master records.  Is there a standard report that I can find this information?  I cannot find in VA05, also tried looking on the delivery side in VL06o but I cannot find in there.

    After doing additional digging on this, I developed a query in SQ01 using the following table join:
    LIKP  -->  VBPA  -->  ADRC
       |____>  VBFA  -->  VBRK
    The address code provided in table VBPA can be accessed via table ADRC.  Therefore, when doing the link in SQ01, link together VBPA-ADRNR to ADRC-ADDRNUMBER.  When doing this it brings in the address information, then you can further develop the query to filter by region code.
    For my report, I used the following fields:
    Delivery - LIKP-VBELN
    Delivery Date - LIKP-LFDAT
    Preceding Sales document - VBFA-VBELV
    Preceding Item # - VBFA-POSNV (at my company every delivery document item starts with 10, later filter in the report to only show 10 in this field)
    Follow-on document - VBFA-VBELN (I'm using the billing document as the follow-on to pull the net value of the invoice)
    Follow-on document category - VBFA-VBTYP_N (set the document category to only look for M - Invoice; otherwise you'll pull in PGI document and WM documents if applicable)
    Net Value - VBRK-NETWR
    Ship-To Party - LIKP-KUNNR
    Partner Function - VBPA-PARVW
    Name 1 - ADRC-NAME1
    Name 2 - ADRC-NAME2
    Street - ADRC-STREET
    City - ADRC-CITY1
    Region - ADRC-REGION
    Postal Code - ADRC-POST-CODE1

  • Report displaying sold to party and ship to party

    Hi Gurus,
    My requirement is to display ship to party number and address for the sales orders for a particular customer. in VA05 there is no option to display ship to party address and we dont have abapers here, if there is any standard functionality in SAP please forward that information, or if  run a query what are the tables i can get information from.
    Also can i use structures in query to get the information.
    Thank you all in advance gurus,
    Regards

    Hi,
    You can use SAP Query (t-code SQ01) to getting the data.
    [SAP Query|http://www.sap-img.com/abap/step-for-using-query-sq01-sq02-sq03.htm]
    Cheers,

  • Select Contracts based on Ship-to Party

    Hi all,
    I have created two contracts of type ZCQ (VA41) with the following soldto and shipto party values.
    Contract 1: soldto1, shipto1
    Contract 2: soldto1, shipto2
    <b>Now I need to retrieve contracts, based on a search criteria consisting of Sold-to party and Ship-to party. i.e If I enter soldto1 and shipto1 I need to get back Contract 1 and if I enter soldto1 and shipto2 i need to get back contract 2.</b>
    Which is the field that I need to use to search for the Ship to value?
    Right now I am selecting based on VBAK-KUNNR for Sold to party. But am not able to figure out where the Ship to party value will be stored during the contract creation. So now my query returns both the contracts, no matter what the value of Ship to search field is
    Any pointers regarding this ( table, field, logic) would be really helpful.
    Thanks and Regards,
    Reena

    "See u are maintaining ship to party for the Contracts . so what table it is storing in "
    This is exactly what Im trying to figure out.
    I am creating contracts using VA41 for a particular value of soldto party and shipto party.
    After I craete the contracts, I am trying to retrieve these contracts based on the soldto and ship to party values that I had entered. Now, I dont know where the ship-to party is getting stored. 
    I am not making any mapping for the ship to party. I am currently trying with just VBAK and VBAP, since I dont know if I should use any other table.
    Data that I have in hand: Sold to Party, Ship to Party and Auart (ZCQ).
    Example to make it more clear
    Contract1: Soldto Party - 100042, Shipto Party - 100042
    Contract2: Soldto Party- 100042, Shipto Party - 100055
    Auart - ZCQ for both
    Now in my input parameters, when I eneter 100042 for soldto party and 100042 for ship tp party, i get back contract1 and contract2. But I just want contract 1.
    Similarly for the second scenario.
    Hope I have not confused you. Any help will be greatly appreciated.
    Thanks and Regards,
    Reena

  • Company code and  Ship-To Party: variable values should be dynamic

    Hi,
    We have queries where we have  Company code & Ship-To Party as Variable parameters.
    While executing the report the user has to give the Variable values for both company code and ship to party.
    But when they give the company code.....in the next parameter ship to party, it has to offer values which belongs to that company code only. But here it is offering all values form ship to party., where user don't want to see the value from other company code as they have lot of values there which is causing inconvenience to the user.
    Kindly suggest me how to restrict the values at variable level.
    Thanks & Regards,
    Anand

    Hi,
    You can do that using BADI BW_BADI_F4 .
    You can use this BAdI to restrict input help for entry variables in the BI variable screen.
    Create a separate implementation for each required InfoObject.
    The BAdI is designed for multiple use.
    Restricting input help without using hierarchies
    To restrict input help for flat object lists without using hierarchies, use method Get_Restriction_Flat.
    Method GET_RESTRICTION_FLAT
    I_VNAM Variable
    I_IOBJNM InfoObject
    I_T_VAR_RANGE Table of entries on the variable screen
    I_T_COMPID Table of participating queries
    C_T_RANGE Range table with other restrictions
    C_INFOPROV InfoProvider
    C_F4_Mode F4 mode
    Entry parameters I_VNAM and I_IOBJNM return the names of the variables and the InfoObject that F4 helpwill be affected for. I_T_VAR_RANGE returns additional values from the variable screen entered beforethe call. These are returned in a range table that does not, however, return any information about variables that cannot be entered. I_T_COMPID is a list of participating BI queries.
    If there is a single InfoProvider, entry and return parameter C_INFOPROV contains the InfoProvider forthe participating queries, and can be overwritten in the implementation. Especially when you have justone MultiProvider, this allows you to restrict the input help to one of the physical InfoProviders ifyou also set the F4 mode to u201CDu201D (input help from dimension tables). The mode can onlybe set to u201CDu201D in conjunction with physical InfoProviders, as dimension values are otherwisenot available. If you reference to a VirtualProvider that is based on a data transfer process, you always need to set mode u201CMu201D (input help from master data)
    Return table C_T_RANGE is a range table of additional restrictions that can be used in the implementation.These restrictions are identical to restrictions that the system makes in the standard setting. It is therefore not possible to add to the list.
    The following restrictions are permitted in C_T_RANGE:
    u2022Restrictions for InfoObject I_IOBJNM itself (for example using a specified range)
    u2022Restrictions to groups of InfoObjects (for example restriction of the fiscal year variant for fiscal years)
    u2022Restrictions by the InfoObjectu2019s navigation attributes.
    For technical reasons, pure display attributes cannot be used.
    You can also make a restriction to physical InfoProviders. In this case, the input help is restrictedto the specified physical InfoProviders. Field IOBJNM in table C_T_RANGE then has to be set to 0INFOPROV.In the case of a MultiProvider using physical InfoProviders with mode u201CDu201D (input help from dimension tables), the input help is built from all participating physical InfoProviders.
    Entry and return parameter C_F4_MODE describes the retrieval method for the F4 help:
    u2022In mode u201CMu201D, the input help is built from the master data.
    u2022In mode u201CDu201D, the input help is built from the dimension tables of physical InfoProviders.
    The choice of method is therefore always dependent on the choice of InfoProvider.
    Restricting input help using hierarchies
    To restrict input help for flat object lists using hierarchies, use method Get_Restriction_Node.
    Method GET_RESTRICTION_NODE
    I_VNAM Variable
    I_IOBJNM InfoObject
    I_T_VAR_RANGAE Table of entries on the variable screen
    I_T_COMPID Table of participating queries
    C_T_HIERARCHY Table of possible hierarchies
    C_T_NODE Table with node restrictions
    C_INFOPROV InfoProvider
    C_F4_Mode F4 mode
    On the whole, this method is the same as method GET_RESTRICTION_FLAT. Instead of a C_T_RANGE, the additional node restrictions can be submitted using table C_T_NODE.
    C_T_HIERARCHY contains the hierarchies that can be used based on the existing query restrictions. Ifthis table contains multiple entries, the system uses the first hierarchy in the standard setting. In a BAdI implementation, specific entries can be removed in order to select the required hierarchy.
    Table C_T_NODE can be filled with individual nodes in order to restrict the hierarchy to the corresponding subtrees.
    All other parameters are the same for Get_Restriction_Node as described above for method Get_Restriction_Flat.
    For more information about implementing BAdIs for the enhancement concept, see the SAP Library for SAP NetWeaver, under BAdIs u2013 Embedding in the Enhancement Framework..
    Regards,
    Durgesh.

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

  • Maxinum number of ship-to party for a sold-to party?

    Dear Expert,
    Is there any limitation on the number of the ship-to party that a sold-to party can have? I was told that one sold-to party can have maximally 999 ship-to party? Is it true? If it is true, what if a sold-to party does have more than 999 ship-to parties? 
    This could be the potential problem of my client, because the number of the ship-to party for one sold-to party is increasing intensively and may exceed the LIMIT in the future?
    Any input will be appreciated.
    Thanks!
    Regards,
    Wang Hui

    Hi Bashir,
    The problem has been solved.
    Actually in sales order, you are allowed to put ship-to party which is not linked to the sold-to party in the master data, that means you can manually key in any ship-to party as you like. I didn't know this before:(
    In our case, the orders are transmitted via EDI and created automatically, so the ship-to party is also determined automatically in a user exit, so we can have as many ship-to party as we want.
    Thanks!
    Regards,
    Wang Hui
    >
    Bashir wrote:
    > Hi,
    >
    >
    > I will need more information on your query to solve
    > Can you provide the details of industry ur client belongs to
    >
    >
    > As it will be more complex to select 1 ship to party from the xxxx numbers, Can you try this with customer Hierarchy functionality.
    >
    >
    > Regards,
    > Bashir

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

  • Displaying ship to party id in web ui

    Hi All,
    My query is that How to display Ship-to-party id in the bussiness role salespro?
    path:
    Select the business role -->salespro -->select the sales cycle in the navigation link  > in the create work center click on salesorder>then a dialog box appears then select salesquotation -->in that u have ship-to-party --> that it  is a F4 search help field --> if u select a id it will display name automically.
    My query is that we can display the name & id togeather in that field only ? it is possible like that?
    If not is there any other way to do it?   
    Regards,
    Venkatabharath Voona

    HI Gobi,
    This code is showing the errors.
    the errors are The type of "VALUE" cannot be converted to the type of "LV_PARTNER".
    i had written  the  code like this.
    METHOD get_shipto_name.
    *CALL METHOD SUPER->GET_SHIPTO_NAME
    EXPORTING
       ATTRIBUTE_PATH =
       iterator       =
    RECEIVING
       VALUE          =
      DATA :lr_current TYPE REF TO if_bol_bo_property_access,
            lv_partner TYPE REF TO cl_bsp_wd_collection_wrapper,
            lv_partnername TYPE REF TO if_bol_bo_property_access.
           value type string .
      lr_current ?= me->get_partner_entity( ir_iterator = iterator
      iv_pft = '0002' ).
      value = cl_crm_uiu_bt_partner=>get_partner2( lr_current ).
    in the method after
      value = cl_crm_uiu_bt_partner=>get_partner2( lr_current ).
      lv_partner = value.
      SELECT SINGLE name FROM but000 INTO lv_partnername
      WHERE partner_id = lv_partner.
      CONCATENATE lv_partner lv_partnername INTO value.
    ENDMETHOD.
    Edited by: venkatabharathv on Jun 13, 2011 3:11 PM

  • Ship to party and vendor relation in third party process

    Hello Experts,
    I need your precious suggestions on my business requirement.
    When we create the third party sales order system creates the Purchase Requisition and further PO is created through purchasing department.
    Suppose in my third party sales order I have two items X & Y, and both need to deliver at two different ship to party XXX & YYY respectively. in order system determine plant 1000 for both materials based on plant determination (CMIR >> CMR >> MMR) and system generates PR.
    I know while converting the PR to PO system check Source list (ME01) to determine the vendor. my requirement is I want to determine Vendor based on ship to party in sales order. suppose ship to party locations for XXX and YYY are Bangalore and Pune respectively and in both place we have different vendor. Both vendor manufacture product X & Y. so I want system should pick the vendor according to ship to party.
    Is there any relation between ship to party and vendor which will work in third party processing ?
    Kindly explain how I can achieve this requirement.
    Thanks,

    I doubt this can't be achieved by SAP standard functionality. You may need to use user exit. Check Third party to purchase req user exit or purchase req user exit to fulfill the requirement.
    Regards,

  • Excise duties for ship to party in exports process

    Hi experts
    i added one more ship to party for foreign sold to party and , in exports sales order for the line item i changed the same ship to paty.
    we processed up to billing and came to know excise duties are not posted to accounting and unable to do excise invoice i n J1IIN... is there any possibility and pricing changes and configurations needed in this scenario.
    your answer is most valuable for me
    THanks in advance
    Madhu

    Hi Raj,
    thanx for reply and exactly what u said.
    sold to party is  Foreign customer
    ship to party is  domestic customer
    for one line item i am doing invoice now here i am getting sold to party name only , anyway my client wants to get excise duties in the invoice and posted to accounting and do J1IIN.. please tell me possibilities.
    if i change Pricing procedure excise duties from statistical to active is it works or is there any other procedure
    please experts help me
    Madhu

  • Line item Ship-to Info is not the same in Header Ship-to Party During Sales Order Creation via IDOC

    We have observed that during creation of sales order using idoc, the line item ship-to party is not the same with header ship-to. The ship-to party info in line item is equivalent to the header's sold to party. To give you a quick background, Sold to party info is given in idoc and ship to party is being determined using table EDPAR. In this specific scenario, sold to customer is not the same with ship to customer.
    Initial checking on the code leads us in function module VIEW_KUAGV. This FM populates partner details of sales order header and line item in program LVEDAF1Z
    Below is the code for Sales order Header. Notice that WE_INPUT parameter which contains Ship to party is passed as exporting parameter in FM VIEW_KUAGV. This is the reason why Ship to Party is populated correctly in sales order header but not in sales order item.
    Initially, it first set to Sold-To Party. However, if WE_INPUT is given or provided, partner details is set to Ship-To Party.
    Please advise on how we can make the ship to party info in header and line item be consistent. This is SAP Standard program which why we are hesitant to make change on the program. If there is a configuration to make this happen, kindly advise.
    Regards,
    Rommel

    Hi Jayesh,
    If I understand you correctly, you want that when creating SO from Quoatation
    the Ship to Party also follow/copy Ship to Party from Quotation, right?
    Just to confirm with you, when you creating SO reference from Quotation, you
    use copy/follow-up function, am I right?
    You can do this by setting in configuration of Copy Control (like mentioned by Hui).
    Step as follow :
    1. Go to IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions
    2. Create your BAdi (Business Add-In for Copying Control), such as get Ship to
        Party value from source document and use it in current document
    3. Use this Rule you have created in BAdi (no. 2), in copy control transaction type
        IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions-> Define Copying Control for Transaction Types
    4. Here you set Copying Routine for your transaction types (put name of your Badi
        created in step no. 2)
    Or alternatively, you can set it on access sequence in Partner Function
    Ship to Party in configuration. You can define access sequence the Ship
    to Party is taken from Preceeding Document -> Ship To Party
    1. Go to Partner Function access sequence :
        IMG->CRM->Basic Functions->Partner Processing->Define Access Sequence
    2. Create new access sequence with following entry :
        - Source COM_PARTNER_A (PrecedingPartner)
        - Check Mapping for Partner Being search
        - Partner Function in Source  = Ship To Party
    3. Assign this Access Sequence in you Partner Function used in Sales Order Transaction
       Type.
    Tell me if this is what you looking for
    Gun.

  • Ship to party Address is not Printing-Script

    Hi All,
    We are facing a problem for a particular PO.
    When we see the print preview for a particular PO for the first time Ship to party address is not printing .Whereas in the next time if we see the print preview its showing that address.Its because while runing for first time there is no value in w_adrc(work area) when that ship to party window .after that one perform is called at that time values are populated for w_adrc so when we runing for the second time its showing that value.Whereas we have faced another problem in another one PO.In that there was no value for w_adrc while that ship to party window called but its showing value in the print preview(w_adrc value is populate after that window called from a perform )Why it is like this?
    Kindly help me in this issue..
    Thanks.
    Raj.

    Hi Raja,
              In my project we are also facing same problem. are u able to find the solution for this problem.Please reply to me ASAP.

  • Ship to party Address is not Printing

    Hi All,
    We are facing a problem for a particular PO.
    When we see the print preview for a particular PO for the first time Ship to party address is not printing .Whereas in the next time if we see the print preview its showing that address.Its because while runing for first time there is no value in w_adrc(work area) when that ship to party window .after that one perform is called at that time values are populated for w_adrc so when we runing for the second time its showing that value.<b>Whereas we have faced another problem in another one PO.In that there was no value for w_adrc while that ship to party window called but its showing value in the print preview(w_adrc value is populate after that window called from a perform )</b>Why it is like this?
    Kindly help me in this issue..
    Thanks.
    Raj.

    Hi Raja,
              In my project we are also facing same problem. are u able to find the solution for this problem.Please reply to me ASAP.

  • AFS ship-to party problem in sale order

    Hi!
    We use AFS solution.
    I use customer "0000087655" as sold-to party in sale order and try to set customer "0001000016" as ship-to party but get message
    "Top node 0000087655 for ship-to 0001000016 not maintained or ship-to is not valid
    Message no. 8W321"
    How to Solve this error?
    Thanks and Regards
    Sureshkumar

    Ensure that the ship to party 0001000016 is created with correct account group.  Else change it via XD07.
    thanks
    G. Lakshmipathi

Maybe you are looking for