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

Similar Messages

  • Tax code entry in sales order item conditions  from excel template

    Hi experts ,
    I have a requirement , in which  tax code in sales order item conditions should be determined from an excel template.
    A Z transaction will fetch values from the template & create sales order in which tax code will be detrmined from the template only, irrespective of the value maintained in condition records.
    Kindly suggest the way, how this can be implemented. Currently tax code field in item conditions of sales order is greyed out and hence cann't be maintained directly in sales order.
    Is there any user exit which can take values from excel template & populate tax code in sales order, bypassing condition records?
    Thanks in advance,
    Vimal

    Hi Vimal,
        I don't understand why you want to read tax code from excel, bcoz what ever criteria you are trying to determine the tax code from excel sheet you can build a condition table and arrive at the appropriate tax code with condition technique.
    Just think, if you some how achieve to get the tax code to pick up from the excel sheet, what will happen if you want to change the order after few days or create a subsequent document? the system will try to read the record from the condition records and may go for a toss.
    My opinion is, suggest the user/business to use the condition technique and build your condition tables with all possible options and arrive at the tax rate and tax code.
    If you still want to go ahead with bespoke develpoment, request you to further specify your requirment so that someone can help you.
    I don't think it is the right idea to reinvent the wheel again.
    Regards
    Raj

  • 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

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

  • Sales Order ship to Party Issue

    Dear All,
    we have sold to party with multiple ship to parties,
    The ship to parties are assigned to the sold to party master data.
    But when creating the sales oder we enter ship to party and the sold to party is found automatically,
    But the system is allowing to enter ship to party from some other sold to party.
    Hence the order  is having different sold to party and different ship to party which is wrong
    kindly advise
    Mohammed Raees
    Edited by: Raeesuddin Mohammed on Jun 21, 2011 12:27 PM

    Hi,
    I had a similar requirement wherein we had more that 1000 ship-to parties for a sold-to and had to validate that the same sold-to is determined when a particular ship-to is entered in the order. This is how I had resolved it.
    1. First, create a new partner function for eg. ZL having the account group of the sold-to.
    2. Assign this partner function ZL (sold-to) in each of the ship-to's (customer master) you have.
    3. Then you need to write a code in the user exit MV45AFZZ with the logic as; READ the table KNVP to get the sold-to with the ship-to party; the sales area (you should be getting this as it is in the save user exit) and the partner function= ZL.
    4. If sy-subrc=0; then read the KNPV with the sold-to got above, partner function = ZL, sales area and the ship-to.
    5. If sy-subrc=0; the display a error message "the ship-to party does not relate to the sold-to party".
    6. Else, the sold-to got is related to the ship-to and the normal logic proceeds further.
    This way I think you can restrict only those ship-to's to be used related to the particular sold-to.
    Regards,
    Sampat
    Edited by: Sampat Vijay Sadalge on Jun 21, 2011 1:25 PM

  • Setup a new Ship to and sold to party

    I lost my sd/pp config person and need to setup a new ship to and sold to party (HELP!!!)

    2     Process & Configuration
    2.1     Customer Master
    2.1.1     Account Group
    2.1.1.1       Maintain Number Range for Account Group
    Use
    The purpose of this activity is to control number range of Account Group.
    Procedure
    Access the activity using one of the following navigation options:
    IMG --> Financial Accounting (New) --> Accounts Receivable and Accounts Payable --> Customer Accounts --> Master Data --> Preparations for Creating Customer Master Data --> Create Number Ranges for Customer Accounts --> Select the Icon to maintain Number Range
    <i>Transaction Code</i>: SPRO
    Data to be maintained:
    No | From      | To | Current No | Ext (Tick in Check Box)
    01 | 0000000001 | 0000099999 | 0 | No
    02 | 0000100000 | 0000299999 | 0 | No
    XX | A | ZZZZZZZZZZ |      Yes
    2.1.1.2       Assign Number Range to Account Group
    Use
    The purpose of this activity is to maintain number range of Account Group.
    Procedure
    Access the activity using one of the following navigation options:
    IMG > Financial Accounting (New) > Accounts Receivable and Accounts Payable > Customer Accounts > Master Data > Preparations for Creating Customer Master Data > Assign Number Ranges to Customer Account Groups
    Transaction Code     : SPRO
    Data to be maintained:
    Group | Name | Number Range
    0001 | Sold-to party | XX
    0002 | Goods recipient | XX
    0003 | Payer | XX
    0004 | Bill-to party | XX
    2.1.1.3       Define Account Groups with Screen Layout (Customers)
    Use
    In this step, you determine the account group of the customer.
    Procedure
    Access the activity using one of the following navigation options:
    IMG > Financial Accounting (New) > Accounts Receivable and Accounts Payable > Customer Accounts > Master Data > Preparations for Creating Customer Master Data > Define Account Groups with Screen Layout (Customers)
    Transaction Code     : SPRO
    The groups indicated below are a few examples. There are many groups in Standard SAP & if we require additional Group, it can be copied from appropriate group & maintained.
    Group | Name
    0001 | Sold-to party
    0002 | Goods recipient
    0003 | Payer
    0004 | Bill-to party
    0005 | Prospective customer
    0006 | Competitor
    Select Sold-to-party > go to Details > Double Click on General data / Company code data / Sales data. It will take to next screen which details Tab Pages of General data / Company code data / Sales data. Double Click on Tab Page for example: Address, Control, Marketing & so on. Here you can maintain whether the field is to be Suppress, Req. Entry, Opt. entry or Display
    Note: Select Sold To & do Copy as to create a new Account Group, similarly the same can be done for Ship To.
    Regards,
    Rajesh Banka
    reward points if helpful.

  • How to update sale order haeder conditions

    hi
    how to update header conditions using sale order bapi ' create from data 2'.
    regards
    Siva Shanmugam.A.V.

    u can use  'BAPI_SALESORDER_CHANGE'
    and see the following link
    http://abap.wikiprog.com/wiki/BAPI_SALESORDER_CHANGE
    Edited by: krupa jani on Nov 25, 2008 11:15 AM

  • Sales Order - pull conditions for an item

    Hi all,
    I have a Sales order with one item in it. When I go to this item in VA03 I see several tabs like SalesA, SalesB,.....Conditions,..... Now when I click the 'Conditions' tab I see all the Conditions for this Item. I want to pull this conditions information. I have the KNUMV value for this sales order so I can go to the table KONV where all the conditions are stored and with help of KNUMV and item number can I get all the conditions. BUT...
    My question is there are some Conitions which have more lines below them(in blue color) like Gross Value, Net value,..... This information is not stored in the KONV table. For example in Conditons I have a condition Z7UP like
    <b>Z7UP</b>    Unit Price    0.000   Eur   ....
               Gross value   1.5     Eur   ....
               Net value     0.0     Eur   ....
    The lines Gross value and Net value are not stored in the table KONV. Does anyone know which tables maintain this information. I need to get that information too.... Waiting for your replies..........
    Message was edited by: Raju Boda

    HI Rich,
    I looked to KONP and KOND but of no use. I dont have any entries in KOND and for KONP the key is KNUMH which I dont have. But I looked at all the entries in KONP but it seems this table doesnt have the information I am looking for.
    I debugged VA03 for one sales order to look from where exactly it is pulling this data. I found that when I came across the function modules
    PRICING_SUBSCREEN_PBO
    PRICING_SUBSCREEN_SET_DATA
    the required data is obtained automatically into structure XKOMV the movement I enter into these function modules in debugging mode.
    I'm still unable to understand from where the system is pulling this data.
    Any ideas please help. Thanks

  • Sales order Item condition currency

    HI
    i have following requirement
    In sales order item conditions Currency should change automatically From USD to INR, it means USD is sales document currency.
    But in PO currecny is INR, so i want to populate INR in Sale order items condition type PR00, there is BAPI which trasfer PR00 price from PO header, but now i want transfer the same currency type in to Sales order.
    regards
    satsih

    Hi thanks for your input, Using routine is effect to other sales document types, i want for ZDR (debit memo request) only not for all documents. any other solution
    regards
    satish

  • How to add ship-to and sold-to party name in a view table.

    Hi Expert,
    May i know how to add in the field names for ship-to and sold-to party name in a view table? I know that the name should be retrieve from KNA1 but how to map the name to the respective fields? Please help urgently. Thanks.
    Regards,
    Shawn
    Message was edited by: Manish Kumar : Do not use urgent word.

    Hi,
         Use Table KNVP for Codes and Join with KNA1 for names using Alias LIKE
         select a~kunnr a~name1 b~kunnr b~name1 from
           kna1 as a
         INNER JOIN
           kna1 as b on a~kunnr eq b~kunnr
           INNER JOIN knvp as c
         on a~kunnr eq c~kunnr
         INTO TABLE IT_SHIP
         where c~parwe in ('AG','WE')
         AND KUNNR IN .....

  • Spare Sales order stealing stock from a Released production order

    Hi Gurus,
    This is not a new problem. I read the below link only a hundred time now.
    Sales order stealing components from Production order
    Business scenario-
    Top Assembly material - XYZ (Let's say Desktop PC), Proc type - E, Plng Strat - 40 (regular MTS scenario)
    Sub Assembly material - ABC (Let's say Monitor), Proc type - F, Plng Strat - blank. But we sell this part sometimes (Let's say - customer wants an additional monitor).
    Roy is a shop supervisor working on a $1 million Sales order for Top assembly XYZ which is already late and customer is screaming.
    He released the production order with no missing parts, printed and fretting to finish this order.
    After couple of hours of setup & machine prep - Roy went to pick up the parts and to his surprise material ABC is not available. 
    Tina is at shipping department working on a $1000 Sales order that arrive today. System said 'sure you can ship it 3 days in advance'. So created a delivery and shipped it to the customer.
    Now, Roy ran TCode: MB52 and found out that Tina just shipped his component ABC.
    SAP gave the part ABC to a $1000 sales order and business lost sales on a $1 million order.
    Please find the attachment for config screen shots TCode: OPJJ
    Sales order Checking rule
    Production order Release checking rule
    Please help me resolve this issue.
    Let me know if you need more info.
    Thanks,

    Praneeth,
    There are two separate concepts here.  "How do I ensure that production orders and Sales orders are on an equal footing" and "what is the purpose of 'check without RLT'.
    You have an ATP check relevant for Sales orders (checking rule "A" for Make To Stock).  You have an ATP check for production orders (I assume it is checking rule "PP").  If you want these two objects to have equal priority on stock and supplies, then make the two rules (OVZ9 for A and PP) identical.
    Now, to RLT.
    Prod Order Release has 'Check without RLT' active, that means - it'll let the sales orders (also that are outside the RLT) steal the stock.
    Sales orders that are outside RLT will automatically confirm.  "Stealing" stock is a result of combination of the ATP for the sales orders, plus the ATP for the sales order delivery, combined with the ATP for production orders. and any ATP you may have on Goods Issues against a production order.  I cannot possibly tell you what you should do to prevent stealing stock, since there are so many permutations of scenarios that can affect the outcome.
    I suggest instead that you give me concrete scenarios, telling me of specific problems, illustrated with screenshots of CO09, and I will help you through one or two specific scenarios.
    Best regards,
    DB49

  • How to upload Sales Orders into B1 from an excel file?

    Hi,
      I'm a new comer. I'm looking for a program of uploading Sales Orders into B1 from an excel file. Where can I find a reference book for it? Or I appreciate if someone could offer a program sample.
      Thanks
      ZAP

    Hello ZAP.
    I do not have such code, but i this link /people/janos.nagy/blog/2010/01/25/exporting--importing-authorization-using-ms-excel-in-sap-b1 you can find an excel example about authorization, and using Single Sign On (SAP B1 must have run with excel)
    The method is similar, you can run any DI API operation from excel.
    Here is an example to add a sales order
    Dim oDoc As SAPbobsCOM.Documents = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
            oDoc.CardCode = CUSTOMER_CODE
            oDoc.DocDate = Today
            oDoc.DocDueDate = Today
            oDoc.Lines.SetCurrentLine(0)
            oDoc.Lines.ItemCode = ITEMCODE
            oDoc.Lines.Quantity = QTY
            oDoc.Lines.UnitPrice = PRICE
            If oDoc.Add <> 0 Then
                MsgBox("Error " + oCompany.GetLastErrorDescription())
            Else
                MsgBox("SAles order added")
            End If
    You can repeat the setcurrentline section as many time as lines you have in the SO:
    Regards,
    J.
    Ps: Reference: SDK help and sample programs, which included in every patch.
    Edited by: János Nagy on Feb 10, 2010 9:50 AM

  • Fetch Sales Order number VBELN from Purchase requisition number BANFN

    Hi,
    I'm not able to find a suitable method to fetch the sales order number(VBELN) from the purchase requisition number(BANFN).
    I tried using VBEP table to fetch the data, but it is giving serious performance issues, as in for fetching one record it is taking approx 20 seconds!!!
    Kindly suggest a suitable method for this.
    I've used the query as folllows:
    select single vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    where: wa_vbep is the workarea having two fields vbeln and banfn, and wa_eban_zdd1_x-banfn is the reference preq number.
    Scenario in brief described below:
    Whenever a direct delivery sales order is created on a supply chain plant, a dummy purchase requisition without source of supply is created automatically at preferred supplying plant for the customer in the sales order. Direct Delivery Sales Orders which are still in Open status and for the associated dummy purchase requisitions with these sales order, the deletion flag set has to be unchecked.
    in this case, only one sales order is created corresponding to a preq..
    BAPI: BAPI_PR_GETDETAIL is not giving entries for the table as this is a special case of direct delivery from the production plant directly to the customer, bypassing the warehouse / distribution center...
    selection screen has input fields preq, matnr(product) and plant. we fetch entries depending on the data filled in selection screen and also they should be of document type(BSART in EBAN table) ZDD1 and deletion indicator is set(LOEKZ in EBAN).
    then we check if the sales order corresponding to the preq is in open status...
    for this i need to programmatically fetch the sales order number corresponding to the preq...
    this is causing a performance issue as i could find only one way -- fetching sales order number from VBEP table corresponding to BANFN... indexing for easier also didnt work...
    no other way i could find to fetch sales order number corresponding to the preq number....
    there is a bapi: BAPI_PR_GETDETAIL, but this is not fetching entries to the changing tables related to sales order...
    also EBKN table doesnt have any entries as this is a special case of direct delivery preq..
    Guess i couldnt find anyother way...
    Thanks.

    I'm not sure as to why the select query was still throwing performance issues. I could see that the index had been created on only BANFN in the DB. Prior to creating the index, it was taking approx 20 seconds per entry, but after creating the index, it took 13seconds approx.
    I used the select query as follows:
    select single vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    where: wa_vbep is the workarea having two fields vbeln and banfn, and wa_eban_zdd1_x-banfn is the reference preq number.
    I tried a few other combinations also, but  those also didnt work effectively:
    select vbeln banfn
    from vbep
    into (wa_vbep-vbeln, wa_vbep-banfn)
    where banfn eq wa_eban_zdd1_x-banfn.
    without using SINGLE in the select query as the select query would implicitly pickup only a single record,
    select vbeln banfn
    from vbep
    into wa_vbep
    where banfn eq wa_eban_zdd1_x-banfn.
    and another query where the INTO statement was directed directly to a workarea.
    But unfortunately, nothing seemed to be working.
    The index i had created was on BANFN alone in the VBEP table.

  • Sales Order schedule line from CN to CP

    Hi,
    When i  update the sales order schedule line from CN to CP , the quantity is not showing in the MDO4.
    Can any one help me.
    Thanks in advance
    Suresh S

    Once the schedule line category is changed to CP,  just hit the enter key and save.  Now check in MD04
    thanks
    G. Lakshmipathi

  • Sales order pricing conditions

    Can any one let me know what are the tables that are updated while working with sales order pricing conditions .......      r sales order conditions

    Hi Ali,
    VBRK     Billing document :header data
    VBRP     Billing document :Item data
    KONH      Conditions header
    KONP     Conditions items
    KONV     Procedure ( billing doc or sales order)
    KOND     Conditions (data)
    These tables will give sufficient information on Sales order pricing and its billing conditions etc.
    best regards
    Ramakrishna

Maybe you are looking for

  • Error while importing logon par file

    Hi I have to do logon page customisation for that i have taken com.sap.portal.runtime.logon.par.bak file from basis team and i saved it to my desktop .Now i have renamed it to com.sap.portal.runtime.logon.par and trying to import to my NWDS. So i ope

  • How to make a image file from Pre installed Mac osx ? "PLEASE HELP :("?

    hey guys ..Thanks u for the time. So i have this eMac which has crashed and i have got may hands on another eMac.. and it works ... the only problem is.. I can take my eMac to the working eMac to do Target Mode or any thing... So Help me.. My questio

  • Warning message in mir4 while posting

    hi friends , In miro while we post the parked document then it display the warning message as "RG23 Part II posting not yet done"  , when we click on enter , the document is posting . But the user wants that as an error message not the warning messag

  • Online Number isn't showing up on people's caller ...

    Is there any way to fix this?  My online number works because I recently paid for it and it expires May 20.   I know the number works because when I call myself, it rings but displays the "unkown number" problem. Let me know if there's a way to solve

  • Spaces getting trimmed in file content conversion

    Hi all, I am converting a flat file to an XML file by XI. The problem which i am facing in file content conversion is that the spaces in flat file data are getting trimmed to one space in the XML in SXMB_MONI. The data in flat file is like SOUTHSEA a