Determining SHIP-TO-PARTY- Country

Hi Experts,
I have requirement of determining the ship-tp party-Country field while saving the sales order.
Ideally it should be same as ship-to-party-country in Customer Master table (KNA1), however some times if it is a one time customer then there is no need to create a customer master and we can put the address in Sales Order itself. The screen field is shown as ADDR1_DATA-country. Please let me know a method by which i can fetch the SHIP-to_party-country value.
Regards,
Anjali

Hi Kiran,
Please let me know what i need to pass to BSEC table. Right now my coding is done in MV45AFZZ. Also for the particular Sales order i have in hand, i tried passing BSEC-BELNR = SO number .. but it has fetched no values in return. I'm not sure if this is the way. Kinldy suggest.
Thanks
Anjali

Similar Messages

  • MWST condition type based on Sold-To-Party country

    Hello,
    I need MWST condition type to be determined with Country,Sold-To-Party country,Tax Classification1 from Customer master and Tax classification from Material master. But in condition table I could not find filed for Sold-to-party Country.
    Also as per standard SAP tax gets determined on ship-to-party country, which we want on sold-to-party country.
    Regards,
    Suresh

    Hello
    You can find solution to your requirement through program MV45AFZZ with routine USEREXIT_PRICING_PREPARE_TKOMK
    Refer SAP Note 21734 - Determining sales tax (VAT) from any partner for complete solution.
    Thanks & Regards
    JP

  • Unable to display Ship to part country in smartforms

    Hi ,
    The problem is iam unable to dispaly the ship to party country name in the smartform Delivery note.
    Just wanted to let you know that the address number for both ship to and sold to party have different numbers.
    And i have also mentioned the following in the address node of the ship to party:
    At  Address number : &gf_adrnr&
    In Global Def:  gf_adrnr type vbpa-adrnr    space
    At Sending Country : &gs_sland&
    In Global Def:  gs_sland type vbdka-sland  
    Also mentioned output starts with paragraph Z1
    No of lines used 8
    Used street name so clicked on the radio button of street name.
    Is there anything i have to do for getting the country name in ship to party.
    Could anyone help me out.
    Thanks,
    Priya.

    Hi,
    Just incerese the window size height to 2 chars on which the Ship to part is being printed.
    Regards,
    Rama.

  • 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

  • Tax Determination Bases on Bill to Party and Ship to Party

    Hi Guru ,
    I have a requirement Tax should be determined based on Bill to Party and Ship to Party.
    If Bill to and Ship to are  Overseas Customers then '0' TAX.
    For all remaining Customers 7 % Tax
    Could you please advice
    Thanks

    Hello,
    Define two  ACCESS SEQUENCE with the combination of Region code/Country key
    Define the two TAX  CONDITION types and assign the Access sequence one for each scenario
    In OVK1 assign the Country key and TAX CONDITION and in OVK3 assign the tax category as 0 for the Overseas customer and 1 for Domestic customer
    Then in VK11 maintain the condition records as 0% for Overseas customers and  7% for the Domestic customers.
    Regards,
    santosh

  • Determine Partner from Ship to Party in Sales Order

    Hi All,
    I am in need of help. I have following requirement for Partner Determination.
    1. In Ship to Party I have a Partner ZI
        I need system to get that ZI partner in my Sales Order.
    I have setup the Origin Field to SH. But still it doesn't get it from it.
    Thanks

    I have good a partial solution. Here it is.
    I have following customers:
    Sold-to      Ship-to                      Additional Partners
    Cust01       Cust01                      5001, 6001 (in Cust01)
    Cust02       Cust02, Shp02.          2001, 3001 (in Cust02),  2201, 3301 (in Shp02)
    Now When I creat a Sales order for.
    Sold to = Cust02
    Ship to = Cust02
    Then System determine 2001, and 3001. (OK)
    ======================================================
    Now when I creat a Sales order for
    Sold to = Cust02
    Ship to = Shp02
    Then System determine 2201, and 3201. (OK)
    ======================================================
    Now Suppose the following >>>>>>>>>>
    IN SHIP TO PARTY Shp02  Partners 2201 and 3301 ARE NOT MAINTAINED.
    Now when I creat a Sales order for
    Sold to = Cust02
    Ship to = Shp02
    System determines 2001 and 3001. (which is in Sold to Party) THIS IS IN CORRECT.
    System should not Determine anything.
    =======================================================
    How Can I Do this. I think User Exit is needed.

  • Ship to Party address is missing country name in SAPScript FORM

    Hi All,
    i had modified the form for displaying the address of the Ship - to - party address, but the country name is missing in the FORM output, can any body suggest a solution for this..
    here is the code that i had written...
    FORM get_addr TABLES intab TYPE t_intab
                  out_tab TYPE t_outtab.
      DATA : wa_intab LIKE itcsy,
             w_outtab LIKE itcsy.
      DATA v_adrnr_we TYPE adrc-addrnumber.
      READ TABLE intab INTO wa_intab INDEX 1.
      v_adrnr_we = wa_intab-value.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = v_adrnr_we
        IMPORTING
          output = v_adrnr_we.
      SELECT SINGLE * FROM adrc WHERE addrnumber = v_adrnr_we.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME1'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name1.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME2'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name2.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME3'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name3.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME4'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name4.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_STREET'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-street.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_CITY1'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-city1.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_CITY2'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-city2.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      CLEAR adrc.
    ENDFORM.                    "GET_ADDR
    and in the form editor it was like this.....
    PERFORM GET_NAME IN PROGRAM ZSD_SDPACKLI
    USING &VBPLA-ADRNR_WE&
    CHANGING &Z_NAME1&
    CHANGING &Z_NAME2&
    CHANGING &Z_NAME3&
    CHANGING &Z_NAME4&
    CHANGING &Z_STREET&
    CHANGING &Z_CITY1&
    CHANGING &Z_CITY2&
    ENDPERFORM
    ADDRESS DELIVERY PARAGRAPH AS\
    NAME     &Z_NAME1&, &Z_NAME2&, &Z_NAME3&, &Z_NAME4&
    STREET   &Z_STREET&
    CITY     &Z_CITY1&, &Z_CITY2&
      POSTCODE &VBPLA-PSTLZ_WE&
      COUNTRY  &VBPLA-LAND1_WE&
      REGION   &VBPLA-REGIO_WE&
      FROMCOUNTRY &VBPLA-LAND1_VST&
    ENDADDRESS
    Thanks in advance..!

    Hi Abaper,
    In ADRC table,you will have a field by name COUNTRY.This holds the country key.
    Using this country key LAND1 in ADRC table,you will have to fetch the Country name from T005T table.The field in the T005T which holds the Country name is LANDX.
    You will have to write select querries for this.
    By using LANDX from T005T table ,you can display the country name.
    Regards,
    Kashyap Ivaturi

  • CO-PA characteristic - country of ship-to party

    Hi guys,
    beside the country of the customer, which I created (LAND1), I also need the country of the ship-.to party. Ship-to party is also created as characteristic (KUNWE).
    Now I see another characteristic:
    KMLAND     Country     Country     CHAR     3     KNA1     LAND1
    which has the same detials like LAND1.
    Do I need to create a ww* characteristic with derivation country from ship-to party (also kna1) or what do you suggest?
    regards
    Bjoern

    Hello Bjoern,
    Can you please help me... when you created your WW* characteristic have you defined with the same details as KMLAND (transfer from sap table KNA1-LAND1)? If yes could you change the description of the characteristic? Because if not we will have two characteristics with the same description "Country".
    Regards

  • Partner determination sold to party and ship to party.

    Hi frnds,
      Currently in the customer master in partner function we are maintaining ship to party the same as sold to party , now for some of the customer the ship to party and sold to party are different , so while creating a sales when i enter the sold to party , the system propose the ship to party and on that basis the delivery and billing should take place.
    What are the configuration settings required to be done to this , i will maintain the ship to party in customer master partner determaination, but when i create the sales order and when i enter the sold to party , it should propse the ship

    Hi  Rakesh,
    As per SAP standard setting ship to party will be determined from Sold to party master , if that is maintained. I suggest to copy Standard and test again.
    Also ,hope you have not made any changes to the partner determination procedure fro Sales Document at header Level. This will also impact .
    Sharing a few useful link for more clarity :--
    http://www.freesaptutorial.com/partner-determination-in-sap-sd/
    Re: Ship-to party is not assigned to a sold-to party
    http://www.sap-basis-abap.com/sd/steps-for-partner-determination-config-in-img.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/3c/92ecee484a11d5980800a0c9306667/content.htm
    http://wiki.sdn.sap.com/wiki/display/Snippets/howtogetship-topartyforasoldto+party
    Thanks/Rajesh

  • Question for Plant determination when Ship-to Party changed

    Hello together,
    SAP determines the delivery Plant as everybody knows in the following way:
    1. Material Customer-Info record of the sold-to
    2. Delivering Plant from the ship-to-party
    3. Material
    In my case I have only set-up the plant to be determined from the ship-to-party (no plant in customer-material-info-record; no in material)
    I have two ship-to parties
    1 with plant A
    2 with plant B
    When I create the order everything works fine and the plant is determined correctly.
    Now I change the order (no subsequent document yet) from ship to part 1 to 2. Still I have on line item level the plant A, even so SAP gives the pop-up: Ship-to party has been changed: Redetermine plant/shipping point ? I click on redetermine, but nothing happens with the plant. (Material is set-up for both plants)
    Userexit userexit_source_determination is not implemented.
    Did anyone made the same experience. Any idea why the plant is not updated when the ship-to is changed? I checked OSS but did not find anything helpful.
    I

    The item was a BOM according to OSS 665080. This is standard behavior because the plant is not ready for input.
    Br,
    Lukas

  • No re-determining of Header Text, when Ship-to party is changed

    Hi Ravi,
    Whenever ship to party has changed then header text is not re determining,
    I am calling 'RV_TEXT_COPY' FM inside the include FV45PFAP_VBAP_FUELLEN_TEXTE , then its saving header text correctly,
    but this include is calling whenever I click on Header Text tab, if suppose if I am changing ship to party and I am not clicking on
    Header Text tab then this FM will not call , this is an issue and one more issue even in screen data is changing after
    calling RV_TEXT_COPY FM  but STXH table is not updating, its updating the first value when we created the order.
    Can any one tell me how to solve this issue, Thanks in advance!

    Hi Srinivas,
         Can you try out in the user exit 'EXIT_SAPMV45A_002' .
    If it is not working pls let me know.
    Message was edited by:
            raj joe

  • Multiple Ship to Party( 999) ,Partner Determination

    Due to the 999 entry restriction we cannot maintain more than 999 ship to party in the sold to customer master data, to overcome this problem we have implemented a workaround, We don’t maintain the ship to party in the sold to party customer data , but we maintain the sold to party in the Ship to customer master data. Hence while entering the Sales order, business is supposed to enter the ship to party field and we expect the sold to party to be determined. This doesn’t happen in the standard way so our plan is to use the partner determination user exit to get the Sold to party master data. I understand that in order to use the partner determination user exit EXIT_SAPLV09A_003 we need to make some changes in the configuration of partner determination procedure as well (source X, Y or Z in partner determination procedure, transaction VOPA). Is there any other changes required which needs to be done. Has any one implemented something like this? Will this work? Any help in this regards highly appreciated.
    Regards,
    Ankur Bhandari

    Normally while maintaining the customer master we maintain
    1.)    Sold to party as A
    2.)    Ship to party as B
    3.)    Payer as           C
    4.)    Bill to party as   D
    But we have more than 999 Ship to parties, hence we cannot maintain the ship to entries.
    1.)    Sold to party as A
    2.)    Payer as           C
    3.)    Bill to party as   D
    <b>5.)   Ship to party as B1
    6.)   Ship to party as B2
    7.)   …                     B999</b>
    Hence we thought of maintaining the Sold to party in the customer master data of B1 like below.
    1.)    Ship to party B1
    2.)    Sold to party A
    1.)    Ship to party B2.
    2.)    Sold to party A.
    1.)    Ship to party B999.
    2.)    Sold to party A.
    Now whenever the user enters B1-B999 in the ship to party in Sales Order creation , we want the corresponding Sold to party be retrieved as A, as per my understanding the user exit to do this is EXIT_SAPLV09A_003, but when I activate this userexit and enter the ship to party the code never reaches this exit and instead throws an error “Ship to party is B1 is not assigned to a sold to party”, which is incorrect as I have assigned the sold to party in Ship to parties master data.
    Is my approach correct approach or should I be considering some other alternative. Please advise.

  • Multiple Ship to Party( 999) ,Partner Determination Exit

    Due to the 999 entry restriction we cannot maintain more than 999 ship to party in the sold to customer master data, to overcome this problem we have implemented a workaround, We don’t maintain the ship to party in the sold to party customer data , but we maintain the sold to party in the Ship to customer master data. Hence while entering the Sales order, business is supposed to enter the ship to party field and we expect the sold to party to be determined. This doesn’t happen in the standard way so our plan is to use the partner determination user exit to get the Sold to party master data. I understand that in order to use the partner determination user exit EXIT_SAPLV09A_003 we need to make some changes in the configuration of partner determination procedure as well (source X, Y or Z in partner determination procedure, transaction VOPA). Is there any other changes required which needs to be done. Has any one implemented something like this? Will this work? Any help in this regards highly appreciated...
    Regards,
    Ankur Bhandari
    Message was edited by:
            Ankur Bhandari

    Normally while maintaining the customer master we maintain
    1.)    Sold to party as A
    2.)    Ship to party as B
    3.)    Payer as           C
    4.)    Bill to party as   D
    But we have more than 999 Ship to parties, hence we cannot maintain the ship to entries because of SAP restriction.
    1.)    Sold to party as A
    2.)    Payer as           C
    3.)    Bill to party as   D
    <b>5.)   Ship to party as B1
    6.)   Ship to party as B2
    7.)   …                     B999</b>
    Hence we thought of maintaining the Sold to party in the customer master data of B1 like below.
    1.)    Ship to party B1
    2.)    Sold to party A
    1.)    Ship to party B2.
    2.)    Sold to party A.
    1.)    Ship to party B999.
    2.)    Sold to party A.
    Now whenever the user enters B1-B999 in the ship to party in Sales Order creation , we want the corresponding Sold to party be retrieved as A, as per my understanding the user exit to do this is EXIT_SAPLV09A_003, but when I activate this userexit and enter the ship to party the code never reaches this exit and instead throws an error “Ship to party is B1 is not assigned to a sold to party”, which is incorrect as I have assigned the sold to party in Ship to parties master data.
    Is my approach correct approach or should I be considering some other alternative. Please advise.

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

  • The ship-to party could not be determined

    Hi All,
    while i was creating abilling doc i got this massage ( The ship-to party could not be determined) system massage NU 049
    although i am using acustomer which i defined to it aship-to party and this ship-to party already retrived in the sales order and delivery so can u help me pls.

    Hello
    Are you sure you are getting Error Message NU 049.
    B'coz this message is associated to material, when NU049 Material & is flagged for deletion, i.e., you chose a material that is flagged for deletion in the material master.
    If that's not the case then kindly post message associate to shipping partner. I hope this should be VP-194: No customer master record exists for ship-to party &
    As most of the partner error message number starts with
    - VP
    - VPD
    - VPD_DETERM_LOG
    Thanks & Regards
    JP

Maybe you are looking for