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

Similar Messages

  • Pricing Procedure Based on Ship to Party

    Hi Guys,
    During creation of sales order I want the pricing procedure to be picked up based on ship to party.
    Ex: Sold -to -Party: Delhi ; Pricing procedure: 1
          Ship-to-Party: Mumbai; Pricing procedure: 2
    And if I run a sales order with SH -Mumbai, then the pricing procedure should be "2".
    If the SH is Delhi then the pricing procedure should be "1"
    Is this possible?
    Regards
    Ayyallas

    Hi  Ayyallas
    When you create the sales order , the pricing procedure is picked up based on the sales area + Cupp + Dupp. . So it is not possible to pick the pricing procedure based on the ship to party when you create the sales order.
    Regards
    Srinath

  • CST or VAT needs to be determined based on Ship-to-party

    Dear All,
    We have a specific requirement for one of our customer.
    Customer wants the system to determine CST and VAT to be determined based on ship to party.
    Say for Example, we have a condition table Country / Region / Region of Delivering plant / Tax class. Cust. / Tax Class. Mat.
    In the sales Ship to party and Sold to party are different.
    In this case, if  the tax classification of the Sold to party 0 and tax classification of Ship to party is 1 means, system should determine CST or VAT according to According to ship to party.
    In simple, CST or VAT should be determined based on Ship to party irrespective of the setting in Sold to party.
    Please suggest.
    Regards,
    Mullairaja

    Hello Mullairaja,
    See Ship to Party is the partner who will receie the goods & applicability of VAT or CST will be decided by Ship to party Region.
    As Sold to party & Ship to party can belong to different Regions (Different States in India) VAT or CST may be applicable as the case may be...
    Thus this is a standard SAP funtion to determine VST / CST based on Region & Tax Classification Indicator of Ship-to-party.
    Hope this helps..
    Thanks,
    Jignesh Mehta

  • Minimum Quantity in Sale Order based on Ship To Party city

    Dear Experts
    It is possine in Std SAP to get information or error message based on Minimum Quantity in Sale Order based on Ship To Party city??
    Thanks
    Krishna

    No it is not possible.  You have to go for sale order User exits in the program MV45AFZZ - USEREXIT_SAVE_DOCUMENT_PREPARE
    thanks
    G. Lakshmipathi

  • Sales Employee based on Ship to party

    Hi ,
    We have a scenario where one sold to party is having multiple ship to parties... and each ship to party is catered by one sales employeee.
    Can we get sales employee number determined in sales order based on ship to party if yes how.
    please help.
    regards,
    Kiran.

    In the partner determination procedure of the Ship to party - add the Sales Employee partner. So when ever ship to is created, the sales employee can be added to the ship to master.
    In the Sales order Header Partner Determination, add the sales employee partner and in the Source column give SH - ship to . So the sales employee in the order is derived from the ship to.
    Partner Determination T code VOPAN.
    Hope this helps
    Regards
    Sai

  • Billing Due List based on Ship to Party

    Hi,
                I have a scenario where in I have multiple ship to parties in a single sales order . So there are different deliveries for all the different ship to parties (i.e Delivery Split). But I need to process the Billing due List based on the Ship to party.  The Bill to party and the Payer is same for all the ship to parties. Let me have an example.
               Let the  Sold to party -
    111
                            Bill to Party    -
    111
                            Payer            -
    111
                            Ship to Party 1 -- 222
                            Ship to Party 2 -- 333
                        Sales order  --- 99999 has 10 line items, 5 each going to each ship to party. Now I am having Multiple deliveries .
                          del 1-> 44444 (Del NO)--> 222
                          del 1-> 44445 (Del NO)--> 222
                          del 1-> 44446 (Del NO)--> 222
                          del 1-> 44447 (Del NO)--> 333
                          del 1-> 44448 (Del NO)--> 333
                          del 1-> 44449 (Del NO)--> 333
    Now I want a single invoice for del 44447,44448,44449 and one more Single invoice for del 44444,44445,44446.
                 So I need to have a Billing due list based on the Ship to Party. Please provide me if any solutions and also let me know if I am missing anything in the Standard SAP to achieve this.
    Thankyou,
    Rakesh Tummala.

    Hi
    USEREXIT_FILL_VBRK_VBRP  will not work since it is the billing due index (VKDFS) that you want to add ship to ID as the sort criterion.  The proper user exit are actually:
    - USEREXIT_VKDFS_SORTKRI_SALES for order related billing
    - USEREXIT_VKDFS_SORTKRI_DEL for delivery related billing
    they are in include module V05IEXIT.
    For delivery related billing it is a one line code as below
    VKDFS-SORTKRI = LLIKP-KUNNR
    Order related billing is a little more complicated because you can have ship at both header and item level. If you need this as well post a follow up
    Once you have this done, then you can use the sort criterion field in VF04 to do ship to selection for you

  • Material Description in Sales Order based on Ship to Party Language

    As we know that Material Description coming in Sales Order is based on the Language setup in Sold to Party. Is there any way I can get the Material description based on the Language setup in Ship to Party?
    If not in Sales Order then anyway I can get the Material description based on the Language setup in Ship to Party in "Delivery" or do I have to use the user exit to do so?

    Hey,
    Why u r bother about translation of language description in sales order from ship to party n all.
    c u can even take language description from sold to party, as u wanted from Ship to party. for this u just have to maintain language in alternate data tab in CMR.
    Thanks
    Mk

  • Sold to party based on Ship to party or Bill to party

    Hi Everybody,
    Can we able to find the sold to party based on the ship to party or the bill to party?
    Thanks,
    Srinivasan.K

    Hi,
    When you give the sold to party number and the partner function you need to get whether it is SH or BP then the output will bring out all the assigned bill to's and ship to's.
    But my requirement is the input should be the SH or BP and it should bring out the sold to party assigned to ship to or Bill to.
    Thanks,
    Srinivasan.K

  • How to raise all invoices based on Ship-To-Party

    Hi SD Guru's,
    Could you please tell me how to raise invoices on Ship-To-Party?
    I know in standard all invoices will be raised against Sold-To-Party.
    I know i can manually go in the sales order and change the Bill -To-Party  to same as Ship-To-Party.
    But is there some standard setting so that all my invoices are raised again Ship-To-Party without any manual intervention.
    Regards
    Ravi

    hello, Ravi.
    the most logical thing to do is to make your ship-to party also as the bill-to or the payer.  because if the bill-to isn't the one being billed and the payer isnt the one paying, why maintain them in the first place?
    however, you can define output condition types that when the billing document is created and saved, the ship-to is sent a copy of the invoice.
    regards.

  • Delivery Block set/reset based on Ship-to-party

    Hi Experts,
             I am having a requirement to set/reset a delivery block in schedules lines of a particular line item when there is a change in ship-to-party in a sales order (VA02).
             If the ship-to-party is in 'US' then there is no delivery block in Schedule lines,or if  it is some other country then the delivery block has to be set in schedule lines.
            I have checked the form routines in the userexit MV45AFZZ but I am not able to set/reset the delivery block for a particular line item in schedule lines, when there is a change in Ship-to-party.
           Please provide your valuable suggestions/solution to satisfy this requirement.
           Thanks in Advance.
    Regards
    K Arasu

    What exactly do you mean by "not able"? USEREXIT_MOVE_FIELD_TO_VBEP should work or, in the worst case, USEREXIT_SAVE_DOCUMENT_PREPARE.

  • How to limit the selection of Ship To Party

    I have a Biz Case:
    "A" user have 2 Ship to party "B" and "C" in the customer master data, when I create a OR order, I found I can use "D" user as the ship to party(of course, A is sold to party).
    So I want to impl this function:
    if sold to party is A user in a sales order, ship to party can only be B or C, how to config it?
    thanks...........

    Hi Zhang,
    You are correct. You can enter ship-to D even though it is not maintained. As described in OSS note 380507 the
    system will accept every ship-to party which you select manually. The ship-to party doesn't have to be associated
    with the sold-to party in the customer master data. It is only required that the selected ship-to party is maintained in the           
    same sales area.                                                                               
    To get the system to work differently a modification is needed.                     
    Some tips for a modification:                                                        
    - table TPACHECK (which checks should be performed)                          
    - function modules SD_PARTNER_SINGLE_MODIFY                                  
      -> SD_PARTNER_CHECK_BEFORE (error messages)                                
      -> SD_PARTNER_CHECK_AFTER (info and warning messages)                                                                               
    Or another option you may consider userexit in MV45AFZZ (maybe        
    userexit_save_document or userexit_save_document_prepare).
    Hope this helps.
    Best regards,
    Ian

  • Search for contracts with "ship to party"

    Hi,
    I am trying to search for contracts with a ship to party. We had a number of contracts input to SAP under one sold to party, now i I am trying to match sites to the contracts. I cannot seem to get a function to be able to search for them with just the "ship to party".
    Any help will be usefull.
    Thanks in advance
    Dom

    Hi Dom,
    Are you searching for Contracts in CRM Web UI or in CS??
    If it is in CRM Web UI - you can use the standard search with below search parameters.
    Thanks,
    Siraj

  • Warehouse Details (Nos.) at Ship to Party Field in TPO.

    Dear Friends,
    In a SO where we select Ship to Party for Each line item. I want Warehouse Nos. should also be listed under ship to party. So that i can select delivery address as Company Warehouse.( DC)
    This requirement is For TPO (Third Party orders). There will be Third Party Items with Item Cat. TAS. which will be directly delivered by the vendor to the customer. If company wants few of the items (in the same SO) to be delivered to Warehouse DC. I should be able to Select warehouse in Ship to Party Field with TAN Item Category.
    Please let me know on this. how the configuration need to be done to select Warehouse Nos. at Ship  to Party Field.
    Regards
    Pradeep M J

    Hi,
    Business term for a Godown can be a warehouse but in SAP it might not be represented as ware house.
    Ware house managment is used only when materials needs to be tracked based on bin location. i.e in case of a Pharmacietical industry there will many types of medicines. if this is traceked in SAP then you can say Go to
    Rack10, Column 5 and then to Row 5.
    This is not required in your case and also implementing WM  WRT does not make any sense.
    Solution:
    You can use Plant determination concept in SAP wrt requirment. As you know Plant is determined in the following way.
    1) Customer material information:
    WRT specific material and customer in VD51 a plant can be assigned.
    2) Customer
    WRT customer you can assign a Delivery plant in VD01 Shipping Tab.
    3) material
    WRT each material you can assign a Delivery plant in MM01 Sales/ Plant tab.
    First the system tries to find theplant in the 1st option, if it is not there then system tries to find in 2 nd option and then the 3rd.
    This concept  is already there in SAP and this can be used by you.

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

  • Re: Pricing for more than one ship-to-party in sales order

    Hi Gurus,
    Currently I am facing a problem regarding pricing the shipping charge for a sales order having more than one ship-to parties in it.
    Our business process is having a pricing condition type which calculates the shipping charge based on the total value of the order.
    The technical details of the condition type are as follows:
    ZSHH
    Cond. class =    A  Discount or surcharge                  Plus/minus  =  A Positive
    Calculat.type =  B  Fixed amount
    "Group cond" & "RoundDiffComp" are "checked"
    GrpCond.routine 1  Overall Document
    Scale basis = value
    Now due to this depending on the entire order value the shipping cost is calculated.
    However when there are 2 ship-to-party the system should group the items to be shipped to each ship-2-party and calculate the prices accordingly.
    Now as the "GrpCond.routine 1  Overall Document" -- it is taking the total order value while calculating the shipping price even if there are 2 ship2party in the sales order. I am just wondering how to go about this situation.
    There is no value in the pricing formula that calculates the price based on ship-2-party.
    Can anyone help me with this?
    Does this mean that I have to create a new scale formula in VOFM?
    Also how is the shipping price charged when the customer requests partial deliveries?
    Thanks in advance
    Vinit

    Vinit,
       You need to create a new GrpCond.routine. You can do this in VOFM-> Formulas -> Structure of group key. You will need to have the carrier available in the communication structure komp. So assuming you do this, create a formula like 050(RV65A050). Enter code that would look like(I am assuming your carrier code is 10 in length):
    FORM FRM_GRUPPENKEY_050.
      xvakey      = '050'.
      Xvakey+3(10) = komp-carrier.
    ENDFORM.
    Then assign 50 to the condition type(v/06) as the new GrpCond routine. This should give you your desired results.
    Partial deliveries will only take the portion of delivery charges shipped from the line. Eg if 10$ freight on the line and 1 of 2 is shipped, you will only see 5$ on that invoice as long as your pricing rule is copy unchanged.
    Edited by: Matthew Menzies on Jan 21, 2009 11:26 PM

Maybe you are looking for

  • DIsplaying WRBTR (AMOUNT FIELD)WITHOUT  DECIMAL PLACES

    Dear all, I am facing a problem in displaying amount field  in alv report. I have two currency keys (US dollar and Japan yen). if it is japan yen I should not have to show decimal places and if it is US dollar I should show decimal places. How can I

  • Slow or NO internet connectivity after Mac OS 10.5.6 update

    Hello, I have a regular home network, i am using a 2WIRE modem, to connect to my internet. Ever since i installed this update, my internet has been running very slow, i have tried using different browsers, and i also contacted my ISP. This is becomin

  • How to use search REST api to get custom managed property data for anonymous user?

      I am trying build a public portal with anonymous access and i am trying to read some content from custom managed property using search REST api in sharepoint 2013. I have tried to enable all possible attributes of the managed prop. Like searchable,

  • Using conference call dial in numbers with iPhone

    On my old Blackberry I used to be able to call a conference call dial in number and it was set up so that it would dial both the 1-800 number and then the participant code for the conference call. Anyone know if it's possible to do the same with the

  • Function Module/Table to get language of a user.

    Hi All, I need to find the language configured of a user programatically. If we see in SU01d, we see the language maintained for that user. This is particularly different than sy-langu. We also tried changing the language in SU3 and running the SQL t