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.

Similar Messages

  • 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

  • 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

  • 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

  • Value of delivery block is not copied into shipping when conf quant is 0

    Hi all,
    During creation of sales order using VA01 if user enters any line items with material no and for that line item
    in the Schedule line the delivery block (LIFSP) is given as some value (ex : bottleneck) the same is not reflected in the delivery block of shipping tab.
    After analysing what I found is if confirmed quantity (BMENG) of any material is 0 the selected delivery block in Schedule line is not reflected in the shipping delivery block, i.e, the field shows nothing.
    My requirement is irrespective of material confirmed quantity the delivery block in shipping should reflect what we have given in schedule line delivery block....
    Thanks & Regards
    Jerry

    I tried using user exit USEREXIT_CHECK_VBEP, USEREXIT_MOVE_FIELD_TO_VBEP.......
    Regards
    Jerry

  • 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

  • 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

  • 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

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

  • 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

  • Block Sales Order on Incorrect Ship-to-party

    Hi,
    I am creating a Sales order via inbound IDOC in EDI scenario.
    Suppose the IDOC has an invalid Ship-to-Party, I need to block this Sales Order from getting created. It's ok if the Idoc goes into error.
    What happens is that if an incorrect Ship-to-party is present in IDoc the Sold-to-party gets copied in the ship-to-party and the Sales Order gets created anyway.
    Is there a way to stop this?
    Thanks and Regards,
    Ashwin

    Hi,
    this can be done only by a small userexit.
    Check in transaction SMOD enhancement VEDA0001.
    Regards

  • Delivery block status text

    Hi,
    I need to get text for the field "DELIVERY BLOCK STATUS" under the tab "Shipping" in transaction VA03.
    The delivery block status is saved in VBUP-LSSTA and possible values for this are space,A,B and C.
    However in tarnsaction it is displayed as BLOCKED,Not blocked as shown in below fig.I want to know where these values for staus text are saved in system and how to retrieve them?

    They are stored in table TVBST.
    When the system is displaying VA03, it calls function module RV_DOCUMENT_POS_STATUS_TEXTS. This function will obtain the values from table TVBST. For example, look at this code in the function:
      READ TABLE XTVBST WITH KEY TVBST_KEY BINARY SEARCH.
      IF SY-SUBRC = 0.
        VBSTT-LSSTA_BEZ = XTVBST-BEZEI.
      ENDIF.
    If you look in SE16 for table TVBST and search for the following:
    Language                          EN
    Table name                        VBUP
    Field name                        LSSTA
    you will see the following entries:
    Language    Table name                  Field name                     Status Description
    E                  VBUP                           LSSTA                            Not blocked
    E                  VBUP                           LSSTA                    A      Not blocked
    E                  VBUP                           LSSTA                    B      Partially blocked
    E                  VBUP                           LSSTA                    C      Blocked
    This is where the descriptions are obtained from.
    Hope this helps.

  • Remove Delivery Block - ORDCHG - INBOUND

    Hi,
    I'm trying to remove the delivery block set in sales order ( vbak-lifsk ) using the inbound ORDCHG message idoc.
    i'm populating E1EDK01-LIFSK = ''. This doesnt remove delivery block from the order. ( if we try to set delivery block E1EDK01-LIFSK = '01', it's coming through fine in the order ). when i debugged the FM IDOC_INPUT_ORDCHG, sap is populating the screen only if E1EDK01-LIFSK is NE space.
    Does this have to be handled in different way or in user-exit? Your inputs are highly appreciated.
    Thanks,
    Arun

    Naren,
    EXIT_SAPLVEDA_002 is triggered during ORDERS message. I'm changing the already created order using ORDCHG message type. In this case, i have to use EXIT_SAPLVEDB_002 to populate the BDC screens.
    I'm wondering why SAP standard segment field E1EDK01-LIFSK is not used for removing the delivery block as its for setting the block.
    If the standard segments are not working out, then i have to use  EXIT_SAPLVEDB_002 to populate the dynpros for delivery block field.
    Thanks for your input.
    Arun.

  • How to change Ship to party no. in delivery doc. after creating Invoice

    Hi,
        Sold to party ( customer code ) 1001473
    But by mistake bill was raised ship to party ( customer code ) 1001082 then I changed the ship to party code ( through VA02 )and saved the documents, but still in the invoice it is showing  ship to party address only instead of sold to party.  If any thing possible in the delivery level ( vl02n ) to change the ship to party so that it will possible to change the invoice it self. Kindly confirm so that I will reverse the entry and change the ship to party code in vl02n and I hope it will not any reflect in the  invoice.
    Regards
    Jibanjyoti

    Hi,
    First reverse the invoice(Cancel)
    Then change partner functions
    go to SE16N and  Change table entries
    if you want to change in SALES ORDER,then put table VBAK,VBAP
    if you want to change in delivery,then put table LIKP, LIPS 
    After chages
    create invoice again
    Note : As I am not tested this due to system unavailability, but as far as my undersatnding it will work
    kapil

Maybe you are looking for

  • Posture validation

    Dear Team,    I have an internal Windows and Antivirus server. I want to do posture validation and want to make sure that end points checks the updated from the external server. Could you please let me know where do we define information about the in

  • Is there a replacement for Adobe Flash Player?

    An Adobe vulnerability was recently used to access many U.S. Government sites including my own personal Information data, along with thousands of others. Is there any way to break the Adobe monopoly? For more info on the break in, see http://www.just

  • Sun java web server - using a lot of memory

    sjws 6.1sp7 - solaris 10u4 we have a web server instance that uses over 3gb of ram. it servers mostly jsps. i understand why permanent heap is so large (jsp classes) any one have an idea of what else could be going on here? 17921 webservd 3271M 2976M

  • Keeping Nav Bars highlighted with pop-up menus

    How do I get navigation bars to stay highlighted while the mouse is over the pop-up menu in Dreamweaver 8 and Fireworks 8? I found directions on the Adobe Website, but it only works for the MX versions, as the codes are different. Navigation bars and

  • SOLUTION MANGER SUPPORT PACKAGES CRTs ERROR

    Hi all.. System status: solution manager 4.0/MS SQL/Windows 2003/kernel-159/sapm 027/700/tp version:372.04.29 When i am applying basis and abap patches(11) then i am getting CRTs error. the error message is- The import was stopped, since an error occ