Change order type based on sold to party

Hi all,
Is there any user exit to change the order type based on Sold to party.
Eg: if any user select some sold to party during sales order creation then using sold to party the order type is changed.
Any suggestions welcome.
Regards,

Hi Navadeep,
Please try with these
The program MV45AFZB   
USEREXIT_CHECK_VBAK                                                     
This user exit can be used to carry out additional checks (e.g. for     
completion) in the document header. The system could, for example,      
check whether certain shipping conditions are allowed for a             
particular customer group.     
The program MV45AFZZ                                                                               
USEREXIT_FIELD_MODIFICATION                                        
This user exit can be used to modify the attributes of the screen  
fields.                                                            
To do this, the screen fields are allocated to so-called           
modification groups 1 - 4 and can be edited together during a      
modification in ABAP. If a field has no field name, it cannot be   
allocated to a group.                                              
The usage of the field groups (modification group 1-4) is as       
follows:                                                                               
-   Modification group 1:   Automatic modification with transaction
    MFAW                                                                               
-   Modification group 2:   It contains 'LOO' for step loop fields 
-   Modification group 3:   For modifications which depend on check
    tables or on other fixed information                                                                               
-   Modification group 4:   is not used                            
The FORM routine is called up for every field of a screen. If you require changes to be made, you must make them in this user exit.         
This FORM routine is called up by the module FELDAUSWAHL.                 
See the Screen Painter manual for further information on structuring      
the interface.                                                                               
USEREXIT_SAVE_DOCUMENT                                                     
Use this user exit to fill user-specific statistics update tables.         
The user exit is called up by the FORM routine BELEG-SICHERN before        
the COMMIT command.                                                        
Note                                                                       
If a standard field is changed, the field r185d-dataloss is set to         
X. The system queries this indicator at the beginning of the safety        
routine. This is why this indicator must also be set during the            
maintenance of user-specific tables that are also to be saved.                                                                               
USEREXIT_SAVE_DOCUMENT_PREPARE                                             
Use this user exit to make certain changes or checks immediately           
before saving a document. It is the last possibility for changing or       
checking a document before posting.                                        
The user exit is carried out at the beginning of the FORM routine          
BELEG_SICHERN.  
I hope it will help you,
Regards,
Murali.

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

  • Sales Order Taxes based on Sold-To instead of Ship-To

    We are in the situation were we need to determine taxes based on the Sold To location instead of the Ship To.  We are located in Canada and using Jurisdiction codes for our taxes (CTXJ).
    I have done a bunch of investigation that seems to lead to believe that this should be possible but I am little stuck as to how at this point...
    What I am thinking is in Condition Type CTXJ is using Access Sequence UTX1 Access 10 condition table 40 (Country/State/Customer Classif.1/Material Classification 1) I need to somehow influence the mapping between condition REGIO and KOMK - REGIO.
    So I have a couple questions...
    1) Is their another field that I missed in KOMK for the Sold-To Region?
    2) Is their a way via standard config to change the was REGIO is set in KOMK?
    3) Do I need to use USER_EXIT_KOMK to manually over ride the value ?
    4) I have missed something completely to accomplish this?
    Cheers,
    Derek

    Check this thread whether it helps you
    [Re: Tax based on Sold to Party or Bill to Party|Tax based on Sold to Party or Bill to Party.;
    thanks
    G. Lakshmipathi

  • Can pricing based on sold to party instead of ship to party

    hi  all,
             I want to know that can pricing based on sold to party instead of ship to party ?
    if it is possible then please tell me how it can done ??????????
    please tell me the procedure how can it done
    thanks in advance

    Hi,
      Pricing is based on the sold to party only.
    Generally it is the sold to party who will raise the order, Here ship to party just receives the goods that were ordered by the sold to party.
    In VK11 U maintain the Records based on the customer and material or based on the material.
    When u raise the sales order for a particular customer then if any condition recors are founfd for that particular customer and material it will take or else it will take the material price only. so here pricing happens based on sold to party.
    Reward points if it helps,
    Regards,
    Sree
    Message was edited by:
            sree s

  • In the SLFN transaction type partner function sold-to-party

    Dear all,
            We have connected 7 satelite systems to the solution manager server when the end user create the ticket in the satelite system  automatically transaction type will create .When the super user open the transaction type In the Sold-to-party partner function that satelite system name have to display how to canfigure that can Suggest ?.
    Regards,
    Pavan.
    Edited by: pavan reddy on Feb 28, 2008 11:23 AM

    Dear pavan,
    If am not wrong you already created IBASE component for all the 7 components
    Now create BP using BP tcode  of organization & sold to party type of satellite system name using external naming system.
    And in IB52 just assign using goto partner to these sold to party for e.g.
    system A client 500.......................create a BP of name System A of sold to party with BP tcode
    and
    Goto IB52 select the component and assign the System A to sold to party.
    PLEASE REWARD POINTS

  • Invoice list based on sold to party not

    Hi all,
    As per my client requirement, Sold to party is one only but there will be different bill to party & Payer.
    Only one main sold to party is paying all bills generated on behalf of different payer. The reason to make payer is, client wants accountability on payer wise. So sold to party is one & different payer.
    Now Ii require to raise a invoice list based on sold to party wise not payer or bill to party wise.
    Invoice list getting spillted because of different partner.
    How to do that.
    Please suggest me as soon as possible.
    Thanks
    Shobhit

    Hi Shobhit
    To meet your requirement  you need to go with a enhancement then your requirement will be fulfilled. So you need to discuss with your Technical team also regarding this issue
    Thanks and Regards
    Srinath

  • Can i change order type

    Hi All
    When i create sales order for an customer i have given wrong order type and booked .. and shipping every thing has don. now order in closed status..
    now if i want to change order type is it possible(for the same customer )?

    No - that is not possible.
    You may consider creating an RMA; receive the old order and then create a new sales order and ship against that sales order.
    Sandeep Gandhi

  • Tax based on Sold to Party

    Hi,
      Our requirement is that while creating SO the tax should be as per sold to party , as ref. to below thread
    Tax based on Sold to Party or Bill to Party.  i have maintain A' in
    Go to IMG Path --> SD --> Basic Functions --> Taxes --> Maintain Sales Tax ID number determination
    but still system is taking tax codes ref. to ship to party insted of sold to part
    out requirement is Sold to party is from gujrat Tax CST  and ship to part is in maharashtra Tax VAT  and our plant is also in maharshtra  but system is taking tax of maharshtra insted of GUJRAT.
    regards,
    zafar
    Edited by: zkarnalkar on Feb 28, 2011 10:53 AM

    Better try to update in a positive manner as to whether the suggestions resolved your issue and if so, which one has helped you.  This will help others who have similar requirement.
    thanks
    G. Lakshmipathi

  • Determination of Planned Order Type based on Requirement

    How does order type for planned order gets determined?
    For example
    planning strategy 50, planned order type is VP
    planning strategy 10/40, planned order type is LA
    planning strategy 20, planned order type is KD
    Checked in tcode OPPS & SAP forums, could not able to find how
    does system determines planned order type based on type
    of requirement i.e. sales order/PIR

    Hi,
    please check the link below:
    http://help.sap.com/saphelp_scm2007/helpdata/en/87/04f73b8003b409e10000000a114084/content.htm
    Regards,
    Alok Tiwari

  • Sales Order-Shipping Conditions from Sold-to-Party

    Hi Guys
    When sales order created, shipping conditions copied from Sold-to-Party.  At that time, in SP, shipping conditions maintained wrongly. 
    After creating Sales Order, shipping conditions modified in SP, but system not allowing to modify shipping conditions in sales order.  Because of this, shipping point has not been determined.  Could not change manually also.
    Please suggest on this.
    Regards
    Uma

    Dear Uma
    On your comments
    "Because of this, shipping point has not been determined",
      I dont think, it could be bcoz of shipping condition.
    If Shipping Point is not flowing in sale order, then you need to check in OVL2 where you have to maintain the shipping point for the combination of Shipping Condition from Customer Master, Loading Group from Material Master and Plant.  So check whether you maintained this. 
    Meanwhile, with regard to the field Shipping Condition which you could not make change, please note that even if subsequent documents are generated, this field will be in editable mode only and if you try to change, system will give you a message
    -  Shipping Conditions were changed, Redetermine Routes and shipping of all items
    and if you click "Redetermine", the new shipping condition will take place.
    So, can you please let me know whether your sale document type is copied from standard OR where the screen controls are there.
    thanks
    G. Lakshmipathi

  • Default Value for Order Type based on Company Code  in ME21N

    Hi,
         Using ME21N, I want to make the PO type defaulted to a certain company code, say for instance Company code  XYZ should have a PO type XYZ Purchase Order, ..company ABC should have a PO type ABC Purchase Order, and so on...I'm just puzzled how to implement it. I know that we can set a Default value for PO Headers in Personal Settings but its doesnt give the result I want coz it will only have one Default Value. What I wanted is when a certain company code is chosen, automatically, the corresponding PO type for that Company code will be displayed in the Order Type drop-down menu (so there's no need to choose on the drop down list what Order type) Is this possible in ABAP? Hope i made myself clear.
        Thanks in Advance.

    Use BADI IF IF_EX_ME_PROCESS_PO_CUST - method OPEN
    View the interface documentation in transaction SE19 and you will see the method OPEN can be used :
    2. Opening of a purchase order (OPEN method)
    The system opens a new document to create, change or display a purchase order. With the OPEN method,
    <b>you can import your own data and prepare it for further processing.</b>
    This is available in 4.7 Enterprise but not sure how far back.....
    hope this helps
    Colin.

  • AFS Sales order retrieve for any  Sold to party

    Hi,
    I am looking for a function module to retrieve all the sales order for any sold to party.
    I am working on AFS R/3.
    Please let me know which function module can be used for this.
    thanks in advance
    Binal

    Binal,
             Try  va05 for all sales orders. I guess va05  is also extended for AFS.
    Regards,
    Girish

  • Does ECC 6.0 Provide a Search-as-you-type Enhancement for Sold-To Party Field?

    In our quest to continually simplify the creation of sales orders, I would like to know if SAP has provided any way to simplify the search and entry of the customer sold-to or ship-to party.  What I am looking for is a way to enter the customer's name (or other customer search criteria such as city) in a single field and have it search-as-you-type.  This is also known as instant search, auto-complete and auto-suggestion.
    We would like to eliminate the clicks it takes to use the standard F4 search help.
    One of our internal developers has created a web-based (.NET) application that brings in SAP data for writing sales orders for a specific segment of our business.  This tool allows you to find the ship-to party by typing in the customer's state, city, zip, address or name in the Ship-To field.  The instant search feature narrow's the list down as you type.  What he has done is written SQL to concatenate the customer name, customer number and address information, and then provided a search-as-you-type feature on top of this.
    Fictious Example of concatenated data (State, City, Customer Name, Address, Zip, SAP Customer Number):
    WA Seattle, Home Depot, 11616 Aurora Ave N, 98133, 18394978
    Typing any of the above information in the field will search for matches and bring back results as you type.
    I would like to know if ECC 6.0 has any similar feature that can be used in VA01 to accomplish the same thing.
    Thank you.
    Rob Scofield

    I don't have access to the code our developer used but again, I am referring to a .NET browser-based application.  We extract a subset of SAP data using Attunity (say, every hour) and the SAP data is stored in a separate SQL Server database.  This database is used by a few browser-based applications we have developed.  For example, we have an application that allows external customers or internal employees the ability to look-up the status of an order.  The first thing you enter is the customer.  In some cases, this may be the Ship-To.  In other cases, the Sold-To.  The user can simply enter some part of the customer and records are searched for a match, as you type.  In our case, the lookup is occurring in SQL Server, not directly in SAP.  The developer took a simple approach of using some SQL query magic (it may be in a SQL Server Stored Procedure), to concatenate the relevant customer information that most people use to lookup a customer - Customer Name, Address, Customer Number.  So as you type, this entire concatenated string is searched and the list of potential "hits" is narrowed as you type.
    The paradigm is similar to Google's Search as you type (SayT), which you can read about here:
    http://www.theverge.com/2012/7/11/3152186/google-search-as-you-type-instant-results-merchants
    http://code.google.com/p/search-as-you-type/
    Or auto-complete: https://support.google.com/websearch/answer/106230
    This is nothing new in the web commerce world.
    I was told by an SAP rep that there might be an enhancement in SAP ECC (SAPGUI Desktop) that could do something similar.  However, I never heard back from him and was wondering if anyone else had heard of something.
    This is another example of how it seems SAP has fallen behind in their UI and search capabilities; and they need to catch-up.  For those of us that have used SAP for many years, F4 seems straight forward and we sometimes don't understand why so many users don't also find it simple.  The answer is, other vendors have made it more simple and with the consumerization of apps, SAP needs to get there.
    Rob

  • Changing Sold-to party on an open sales order deletes item text

    Hi,
    When changing the sold-to party on an open sales order document, all of the item text is deleted.  Is there a way to prevent this from happening, or is this standard?
    Thanks,
    Craig

    If u r wishing to change the sold to party for a particular item it means u r not selling that item to him. U cant have 2 different sold to parties  in a single sales order.. U can change other partner functions at sales order level but not sold to party partner function....
    U can assign reason for rejection to close this particular order and raise a fresh order in favor of the sold to party u wish to for that particular item...
    Message was edited by:
            srinivas rao

  • Change sold-to party VA02 - XD02 supply company code

    Hello everyone
    I am in the editing or creation mode of an order (VA01/VA02) and want to change the data of the sold-to party. Therefor i use the 'Display sold-to party'-Icon in the order (F6) to jump to the customer change dialog (XD02).
    I get the message "Customer XXXXXXXX has not been created for company code XXXX" and the message is correct, cause in the XD02 dialog the company-code field is initialized with the wrong company code.
    For example:
    The order is created for sales organization 0300 and company code 0300 and the sold-to party is also created for these. But if i jump to the 'customer change'-Transaction useing the button in the oder (F6) the sales-organization-inputfield is initialized with 0300 and and the 'company code'-field is initialized with 0100.
    While debugging i saw that the called transaction XD02 determines the company code useing GET PARAMETER ID 'BUK' FIELD rf02d-bukrs, but the parameter was never set by VA02/VA01.
    How can i teach the VA01/VA02 to supply the company code to the called transaction (XD02)?
    Kind regards
    Markus

    Hi,
    Pl clarify on the following points:-
    1> When you click F6 in sales order after entering sold to party, it will not take you to XD03 screen rather it should be VD03.  So how did you get the extension error message?
    2> Have you provided any sales org in the initial screen where we usually give order type and sales area?  From there sales org would've come in order header.  Based on the mapping of sales org to company code in SPRO, company code would ve been determined.  (Hope you have one to one mapping)
    3> If you have not provided any sales area in the initial screen, it would've prompted you to select the sales area from the available list of sales areas.
    Since you are not entering into the company code view of customer from sales order, it is not necessary to supply company code from order to XD02.
    Regards,
    P Gomatheeswaran

Maybe you are looking for

  • ORA-00604: error occurred at recursive SQL level 1 ORA-12705: invalid or un

    Hello, I'm so worried because I can't resolve the following problem with my oracle clients on my desktop. Initial state: SO: Windows XP SP1 Oracle clients: Oracle 8i Issue: I can get connection and access to the DB successfully Middle state: SO: Wind

  • Setting up additional script directories

    Hi - I work for a company with a sizeable number of texture artists. I've been creating a set of photoshop helper scripts for them to use, and I'm trying to figure out how to get photoshop to detect it automatically. The way that I see noted all over

  • ORA-04030 out of process memory in databsae

    Hi Friends, I have some problem related to oracle memory when i am running some reports at the application side Oracle generate the Error ORA-04030 out of process memory . and when i want to log on the oracle it's give me TNS error memory required fo

  • Batch file in javascript

    Hi all, I am in the process of creating a batch file in Adobe Acrobat. I have several options that it is doing, such as applying security, watermark, etc. Now I need to add a way to delete a certain bookmark. This bookmark will have the same name in

  • Is it possible to add non-contiguous instances of a subform

    Hi there, Our staff may fill out a form with say, 10 repeated subforms ("add instance"), then need to go back and add another instance, not after record 10, but after record 3.  Or they may need to add records in alpha order. How can I set up the "Ad