ADD address in sales order

Hi Experts ,
In sales order in partner tab address displayed for  sold to party is standard address .but 
I want to add other then standard address of sold to party in place of standard address using function module crm_order_maintain .
Plz guide me in this regard .

Hi,
First find out in which context node u want to add new field.
for Sales_Order
Component  BT115H_SLSO
View            Details
Suppose u want to add field in BTADMINH context node , then through EEWB u can add ur required field
For EEWB , create extension--choose EEWB Bus Object Sales_Transaction and Extension Type CUSTOMER_H.
U can change Lable from View Configuration . Choose ur view (BT115H_SLSO/Details ) > goto Configuration in change mode->choose field property and change lable.
Regards
Gaurav

Similar Messages

  • Changing address in sales order item level

    Dear very good mng
    i want to know , i am trying to change ship to party address in sales order line item level
    but showing Gray mode only ..  i have maintained Sales document item level ( partners) Removed check box not modifiable
    And i activated Item partners check box at partner tab
    even i am not able to change address in sales order item level plz tell me
    Thanks a lot

    Hi Madhuri
    I  have checked my self.system does allow to change different ship to Party on line Item level .
    Please do the following steps .
    1. Replace/delete  the WE partner Number ( Example -1) in my case  in change mode.
    2. system will show some error message as show below while deleting or replacing WE with some other ship to Party code.
    3. Ignore the message and go ahead  . Please put the new Partner's number and double click
    address Screen will Pop up . You can Change the address .
    Hope this helps .Let me know for more clarification needed .
    Regards
    Santosh Verma

  • Avoid invoice split due to change of address in Sales order

    Hello Gurus,
    I have one business scenario, where, bill to party address is different in sales order then customer master. Such orders are collectively billed and should generate  one invoice. ( all the sales order for a customer have same bill-to party address, bud different from customer master). In standard functionality it will split. I want to avoid split and in invoice bill to party address in sales order should be copied. Is there anybody have similar scenario faced before?
    Regards, and thanks in advance,
    Mukul

    Hi Lakshmipathiji,
    please find below screen shot, where we have address as one of the criteria. but other three criteria  has become my problem. ABAPer has able to remove address as split criteria but can't find how these three criteria is splitting invoice. They are nothing but invoice number and payment reference.  Can you help me with this?
    Regards,
    Mukul

  • How we add & grandtotal of sales order report in alv

    hi guru how we add & grandtotal of sales order report in alv
    regards
    subhasis

    hi subhasis,
    since u want the grand total in ALV use the following code...
    clear gs_fieldcat.
    gs_fieldcat-fieldname = field.
    gs_fieldcat-tabname = DB table
    gs_fieldcat-seltext_m = text.
    gs_fieldcat-do_sum = 'X'
    gs_fieldcat-datatype = data type (Curr or Quant)
    gs_fieldcat-ref_fieldname = reference field name
    gs_fieldcat-ref_tabname  = reference table name
    append gs_fieldcat to gt_fieldcat.
    hope this will work...
    please reward points in case usefull
    regards,
    prashant

  • Add buttons in Sales Order's Addtional Data B Tab

    Hi All,
    I want to add buttons in Sales Order's Additional Data B tab. I had try to draw a creen in painter and push a button in the screen, also assign a fcode to it.
    I had try to test the button, and I find that, it could work, but after it's action, a error msg give out and said there are no this request function.
    I think it may cause by the fcode passing between screen. However, I don't know how to fix it. Any sample coding could for me reference?
    Thanks!

    Hi,
    yes u can add the button  with Fcode on Additional data B screen.But u have write the code in the PAI of the screen,inorder to do something,for that u need to have accesskey also...i hope while adding fields to Additional data B screen u ahve used teh accessskey for adding..zfields
    Regards,
    Nagaraj

  • Updating email address in Sales order header partner address -VA01/VA02

    I got the requirement to update the email address in Sales order-> header-> partner address.
    The mail address will be picked from ZTABLE and updated in header partner address through user exit
    I cannot find any field for updating email address in partner address in user exit "MV45AFZZ"
    Is there any other user exit/option to update email address in header partner address of sales order?
    Thank You,
    GM

    Hi Rajesh,
    I agree with you but this Scenario is different.
    Just as you have mentioned the address change will not reflect in the Old Sales orders but it should in the new Sales orders right??
    But that is not happening..The Address was changed say two months back and the new address is not appearing in the Sales orders created these days say yesterday or today..
    In such a case,what is should I check to get the address updated??
    Please advice.
    Regards,
    Sophia Xavier

  • User Exit to change the Ship-to party address at Sales Order headder level

    Hi,
    I have requirement like this......
    I need to change the  ship-to party address at Sales Order headder level. for that which user exit i need to  use and which structure i need to use to update the transaction.
    I used : userexit_save_document_prepare, in that i passed data to 'xvbpa' and 'xvbadr' structures. even though it is not update the transaction.
    Please let me know the answer.
    Thanks,
    Satish.

    Hi Satish,
    Step1. Create new Data Copy Routine using Tcode VOFM.
    Step2. *-----------------------------------Ship to Party from contract
       IF CVBPA-PARVW = 'WE' OR
          CVBPA-PARVW = 'SH'.
        REFRESH IT_STP.
        SELECT KTOKD
               A~KUNNR
               NAME1
               NAME2
               A~ADRNR
               FROM VBPA AS A INNER JOIN KNA1 AS B ON A~KUNNR = B~KUNNR
               INTO CORRESPONDING FIELDS OF TABLE IT_STP
               WHERE VBELN = CVBPA-VBELN . 
    Step3.
       CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
            EXPORTING
              ENDPOS_COL   = 80
              ENDPOS_ROW   = 10
              STARTPOS_COL = 10
              STARTPOS_ROW = 5
              TITLETEXT    = 'Your Title'
            IMPORTING
              CHOISE       = T_SELIDX<=====Index No of selection
            TABLES
              VALUETAB     = IT_STP
            EXCEPTIONS
              BREAK_OFF    = 1
              OTHERS       = 2.
    Step4.
           READ TABLE IT_STP INTO WA_STP INDEX T_SELIDX.
            IF SY-SUBRC = 0.
              CLEAR:CVBPA-KUNNR, CVBPA-ADRNR.
              MOVE WA_STP-KUNNR TO CVBPA-KUNNR.
              MOVE WA_STP-ADRNR TO CVBPA-ADRNR. <========Address ID (Change Here).  
           ENDIF.
    Regards,
    Amrendra
    Moderator Message - Please do not reply to old, dormant threads.
    Message was edited by: Suhas Saha

  • Add items to sales order by "Item details: configuration".

    Hi Experts.
    I need to add item to sales order but not in normal way but like this:
    1. Mark higher level item
    2. Click: Item details configuration
    3. Click: Result
    4. Click: Insert
    5. choose material.
    Do you know any FM for this?

    Hi
    If you didn't get anything then why don't you try with creating a recording in SM35 and call that recording. We did somehow similar thing. We couldn't find any function module and my ABAPER asked me to create recording in SM35 and he converted that into some BAPI or may be he called directly that recording. If you are ABAPER then try this and if you are functional like me then talk to your ABAPER.
    Thank$

  • Subcontract Purchase Order with delivery address from Sales Order Ship-to?

    Hi
    My client has a Sales order for a subcontracted product.  The subcontractor should send the product directly to the customer that is on the sales order.  Currently, the delivery address on the PO is the home address of the client.
    My first option is to create a vendor address matching the ship-to and enter that manually in the Delivery Address field in the PO. But, i would like this to populate automatically.  Is this possible?
    thanks for your suggestions.
    Oll

    >
    Oll wrote:
    > Hi
    >
    > My client has a Sales order for a subcontracted product.  The subcontractor should send the product directly to the customer that is on the sales order.  Currently, the delivery address on the PO is the home address of the client.
    >
    > My first option is to create a vendor address matching the ship-to and enter that manually in the Delivery Address field in the PO. But, i would like this to populate automatically.  Is this possible?
    >
    > thanks for your suggestions.
    >
    > Oll
    a mixture of third party order (vendor ships directly to customer) and subcontract is not possible. third party order would need a S as item category in the PO, while subcontract order needs a L at the very same field.
    We created a storage location and a shipping point for the subcontractor. The sales order is created as a standard sales order that makes use of this storage location and shipping point.
    MRP run then creates a request to produce that material, based on the special procurement indicator in material master it is known that the material is to be procured via subcontract order.
    We then receive the finished good into this storage location that represents the subcontractor.
    Then we create a delivery in VL01N to ship this material to the customer.

  • Monitor the changes of Ship to address in Sales Order

    Hi,
    My client has an requirment which they would like to monitor whether the ship-to-address has been modified after the order were save. 
    e.g. 
    Sold-to 12345
    Ship-to 12356
    SAVE the order
    After the order are sale and sometime later, the user went in VA02 and update the ship-to-address to 23456
    now
    sold-to 12345
    ship-to 23456
    It there anyway we can have a report to check if the ship-to has been changes? 
    thanks,
    Rebella

    Hello Rebella,
    The best option of monitering the changes incurred fro the Ship-to-Party details of a SALES ORDER are as follows:
    If you are interested to pick up the information of changes values of Ship-To-Party from a Sales Order then i think you can use the table VBPA. This table will contain the updated value of Ship-To-Party partner function of a Sales Order.
    Second option would be to use a program which actually run when you open a Sales Order in VA03 --> Environment --> Changes. You can develop a t-code which shall call this program.
    You can also use the T-code AUT10 for tracking changes for a Sales Order.
    Hope these infotmation helps you in resolving your issue and please don't forget to mark your thread as closed.
    Regards,
    Sarthak

  • Want to add number of sales orders in a COPA report or form

    Hi All
    I created a COPA report that has two columns: sales from sales orders & sales from billing documents. Now I want to add columns which shows number of sales orders that make up sales. Can any one explain me , how can we acheive this  With a user exit, .
    thanks in advance for looking into this

    Hi Steve,
    Walter is very right in saying so.
    In SD module itself you can get some reports like this.
    Even in COPA you will get these kind reports.  But if your company is a big company and have lots of sales orders,
    Then you will have serious problems with System performance issue. 
    When you define that sale order is a segment level character, then system will ear up the resources and take very long time in executing the reports.
    But for some reason this requirement is a must case, then it is very simple
    you define Sale order in either form or report,
    then give the variable parameters like Co.Code, Period etc. you will get all the sales orders details for the selected period
    But think about not going for it before you make up your mind
    Best Regards
    Surya

  • Error while updating Ship to Address on Sales Order form

    hi ,
    A user is trying to update the ship to address on a standard sales orders screen, this is pretty common and never caused any issues. However with one particular order the user gets the following error :
    "You cannot update Ship To Location; the standard value rule set prevents override. "
    This is an Oracle shipped message and not custom code. The message name is OE_SEC_UPDATE_VIOLATION whose text is : You cannot update &ATTRIBUTE; &REASON
    Seems like REASON is the message : OE_SEC_SV_VIOLATION, whose text is
    " the standard value rule set prevents override. "
    This is a message shipped by Oracle Order entry. I am not able to locate this message since the oracle shipped files are not available to us and this is not in any database code(i searched the code)
    Does anyone know when this message is thrown. It seems like some value set error but am not able to figure out where it is being set.
    Any help in this will be appreciated.
    Thanks

    Did you check if any Processing rule is defined for Ship to location update :
    Setup> Rules > Security > Processing constraint ?
    Maybe this order matches condition that prevents this field from being updated.

  • Error: Can't Add a New Sales Order: -10  Exchange rate not updated,

    Hi,
    I'm trying to add several Sales Orders contained in a XML document, whose root element corresponds to the Sales Person created that XML. Anyway, after I fill a Sales Order Document Object with the info in the XML and try to add it the following error appears: "Exchange rate not updated  [RDR1.U_Desc4][line: 2] , 'USD'" Which is strange because this company handles most of its transactions in MXP Currency. I will post the piece of Code that fills the object hoping it helps:
    For Each xndSalesOrder In xmlSalesOrder.Item("SalesMan").ChildNodes
                    oSalesOrder = Me.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                    oSalesOrder.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
                    With xndSalesOrder.Item("HEADER")
                        oSalesOrder.CardCode = .Item("Deudor").InnerText
                        oSalesOrder.DocDate = DateTime.Parse(.Item("FechaCont").InnerText, Nothing)
                        oSalesOrder.DocDueDate = DateTime.Parse(.Item("FechaEnt").InnerText, Nothing)
                        oSalesOrder.Comments = .Item("Observaciones").InnerText
                        oSalesOrder.DocRate = 11
                        oSalesOrder.DocCurrency = "MXP"
                        'oSalesOrder.ContactPersonCode = .Item("Contacto").InnerText
                        'User Fields
                        oSalesOrder.UserFields.Fields.Item("U_RefOV").Value = _
                            xndSalesOrder.Attributes.Item(0).InnerText
                        oSalesOrder.UserFields.Fields.Item("U_Referencia2").Value = .Item("Referencia").InnerText
                        oSalesOrder.UserFields.Fields.Item("U_FechaReferencia").Value = _
                            DateTime.Parse(.Item("FechaReferencia").InnerText, Nothing)
                    End With
                    With xndSalesOrder.Item("LINEAS")
                        For Each xndLinea In .ChildNodes
                            If intContLineas >= 1 Then                             oSalesOrder.Lines.Add()
                            End If
                            oSalesOrder.Lines.ItemCode = xndLinea.Item("Articulo").InnerText
                            oSalesOrder.Lines.Quantity = CDbl(xndLinea.Item("Cantidad").InnerText)
                            oSalesOrder.Lines.Price = CDbl(xndLinea.Item("Precio").InnerText)
                            oSalesOrder.Lines.TaxCode = xndLinea.Item("Impuesto").InnerText
                            oSalesOrder.Lines.DiscountPercent = CDbl(xndLinea.Item("DescuentoTotal").InnerText)
                            oSalesOrder.Lines.SalesPersonCode = xmlSalesOrder.Item("SalesMan").Attributes.Item(0).InnerText
                            oSalesOrder.Lines.Currency = "MXP"
                            'User Fields
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Promocion").Value = _
                                xndLinea.Item("AplicaProm").InnerText 'Valores posibles: Si, No
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc1").Value = _
                                CInt(xndLinea.Item("Descuento1").InnerText)
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc2").Value = _
                                CInt(xndLinea.Item("Descuento2").InnerText)
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc3").Value = _
                                CInt(xndLinea.Item("Descuento3").InnerText)
                            'If xndLinea.Item("AplicaProm").InnerText = "Si" Then
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc4").Value = _
                                CInt(xndLinea.Item("Descuento4").InnerText) 'This is the UDF that's giving me problems!!!
                            'End If
                            intContLineas += 1
                        Next
                       If oSalesOrder.Add() <> 0 Then
                            Me.Company.GetLastError(intErrorAdd, sErrMsgAdd)
                            If (0 <> intErrorAdd) Then
                                FillLog("Sales Order Error: " & CStr(intErrorAdd) & "," & sErrMsgAdd)
                            End If
                            xmlLogSalesOrder.Item
                        End If
                    End With
                Next
    If you look at the code I've even tried the solution of hardcoding the DocRate and the Currency as seen in a similar post about the DTW.
    Sorry if code is in Spanglish, its quite late around here. I hope you can help me because it's kind of an urgent matter and I can't seem to find a solution for it.
    Other useful data: SAP BO 2005 Patch 4.
    Thanks in advance...
    Alfredo Gargari

    Hi Alfredo,
    Have you tried to add the same salesorder by hand, I think you wil first get a form with exchange rates.
    I think you should add a check to your program to check for an update currency rate (the sbobob function GetCurrencyRate does this for you).
    GetCurrencyRate MethodDescription
    Returns a Recordset object that contains the currency rate for a specified date and currency code.
    See Currency Bobs sample.
    Syntax
    Public Function GetCurrencyRate( _
       ByVal Currency As String, _
       ByVal Date As Date _
    ) As Recordset
    Parameters
    Currency
    Specifies the currency code.
    Date
    Specifies the date for the currency exchange rate.
    Return Type
    A Recordset object that contains one field named CurrencyRate that holds the rate value.
    SAP Business One returns 0 if the system cannot find the exchange rate.
    Regards,
    Ad

  • Change ship to address in sales order

    Hi Friends,
    I am an SD consultant and need your help regarding a requirement.
    While creating the sales order, the user changes the address of the ship to in the order - header - partner tab. The user deletes the name1 of the ship to party and keeps the name1 of the sold to party here. This is our business requirement. When doing manually, it is perfectly saving the changes. But, the client requires to handle it through program because sometimes the users are forgetting to change the ship to address and it is creating problems at field level. Our technical team is finding it difficult to handle the process and I would like to take the suggestions of experts here.
    In brief, my requirement is,
    when the user creates a sales order, system should take the name1 details of the sold to party partner and keep it in the name1 of the ship to party address.
    Please let me know if any more details are required.
    Thanks,
    Ravi

    HI  Ravi
    in the BADI  'ORDER_SAVE' you can implement the method 'PREPARE'.
    this method will call after have pressed the save button.
    best regards
    Marco

  • Changing ship to party address in sales order

    Hi All,
    We have a scenario herein in sales order, the ship to party  address is copied from some other ship to party address. Put simply if the ship to party in sales order 1 is A, the address of A will be copied from ship to party B. The ship to party B is in sales order 2.  The ship to party in sales order 1 will remain A only but the address is copied from B ship to address
    i just need to know where this kind of development must have been done. i.e the include program, exit etc.
    i am trying to see exit  EXIT_SAPLV09A_001, but i could not see it in se38?
    regards
    sachin

    Hi,
    In first place why you want to have such a requirement. Why can't you have the correct address in the Ship to Party master record in the XD01 and assign correct ship to party at the sales order line item, so that correct address flows to the sales order line item.
    Eg:
    Sold to Party A
    Ship to Party A & Ship to Party B (Both are assigned in the Partner tab of Sold to Party A)
    Ship to Party A has Address A & Ship to Party B  has Address B (Ship to Party B was created with Account Group SHIP TO)
    On the sales order line item, change the ship to party to Ship to Party B
    So that you have correct address in the relevant line item.
    As per your requirement, you have to have a Z table to keep the logic between hip to Party & relevant address.
    If not, check below link for all User Exits in SD>
    https://wiki.sdn.sap.com/wiki/display/ERPLO/SDUserexits
    Find a correct one for your requirement.
    Best regards,
    Anupa

Maybe you are looking for

  • Error using eclipse from oepe with weblogic 12.1

    I have written a very simple jsp and have tried to run it on the eclipse. I cannot start the server as it says jdk1.7_0_9 is unexpected. I have used the new server wizard, i believe, correctly and have tried to the path to java-home without spaces. C

  • Can I select an external audio source?

    I have  iMovie09 ver 8.0.6.  I'm using a Panasonic video camera (it uses miniDV tapes) connected to my MacBook (white plastic 07) via firewire.  When I have the cable from the mixer going into the camera and recording to tape; when I transfer the tap

  • System Update not working correctly

    Hi forum, System Update (Version 4.00.0024) is not working correctly on my T500 with Windows 7. 1: Not detecting old versions SU is not detecting, that there is an old version of Access Connection (5.42) installed although there is a new version 5.50

  • User name on sap easy access screen

    Hi gurus, i m new to sap basis, i hav created a user i want to display name of that user on sap easy access screen. pls help also tell me name of transaction through which we can view the all created user in a client not only log in(al08) rgds Awnind

  • Report for sxmb_moni

    Hi,    We have a report in ABAP for restarting the messages-  RSXMB_SUPPORT_RESTART. If we change the report then we can restart the processed message too. but can anybody please explain when this report is called or are there any such report execute