Updating Shipping Address of a BP

Hi,
   Is there any function module that updates the shipping address of a BP?
Thanks & Regards
Sheena.
Edited by: Sheena M K on Jan 4, 2008 3:54 PM

Hi Paul,
   Actually I need a function module that takes the address of the user & updates it as the shipping address in the Address Overview tab of the BP. I dont have an address number as the address which I have to pass is retrieved from a website.
Regards
Sheena.
Edited by: Sheena M K on Jan 7, 2008 12:43 PM

Similar Messages

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

  • Completed sales order changed with the updated ship-to address

    Hi,
    My client did the following test and found that:
    - Change the ship-to address of a customer
    - new sales order of this customer defauted to the update ship-to address (good!)
    - old/completed sales orders of this customer show the new ship-to address (bad!)
    Data used in occurred transactions should not be affected by data maintenances that made after the transactions. So, is the finding a design flaw in OM or there is parameter that can be tuned?
    Thanks in advance for any input!

    Hi,
    Oracle will not store the entire Address in Sales Order tables. It will only store the internal id.
    Now there could be two possible scenarios for which your client tried to chance the ship to address:
    1) There is a correction required in the address(e.g. change in street name). If this is the case then changing the address would be correct approach, and I think all the sales orders(old or new) should reflect correct address.
    2) If there is a relocation, then the correct approach would be to make the current customer site inactive and create a new site for the new address instead of changing the existing site. Changing the address of existing site for such a business scenario may not be a correct approach.
    So based on what was the reason for changing the ship to address, I would say the system is functioning as expected.
    Hope this helps.
    Regards,
    Nitin S. Darji

  • Trying to update a new shipping address.

    Hello,
    I am trying to use a one-time shipping address while creating an order using BAPI_SALESORDER_CREATEFROMDAT2. I am looking at the ORDER_PARTNERS and PARTNERADDRESSES tables as suggested in the other threads, but couldn't get through it. Can someone tell me how to get it working?
    Thanks,
    Aishwarya Krishnan.

    Hello ,
    I could not understand your requirement, can you explain me clearly what exactly you are looking for.....
    Hope I can help you

  • To change shipping address in sales order

    Hi experts,
    I have an issue here. I tried to change shipping address in an existing sale order. However, even tough I have changed and updated the shipping address in Business partner Master data. and the sale order itself, SAP still prints the old address for the shipping.
    It is possible to change? or it is one of the control by SAP?
    Thanks in advance!
    Phil

    Hi Phil,
    Is this Sales Order generated through Quote?
    Thanks,
    Gordon

  • Server threw an exception while updating BP-Addresses

    Hi experts,
    I am trying to add (or update if already exist) addresses on a Business Partner. I am always getting an error that "The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))".
    I  have even tried to use different objects for finding, add or update, but still no luck..
    Can anyone advise me, please? my code looks like that:
            Dim oBP As SAPbobsCOM.BusinessPartners
            oBP = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
            oBP.GetByKey(CardCode)
            Dim flag As Integer = -1
            For i As Integer = 0 To oBP.Addresses.Count - 1
                oBP.Addresses.SetCurrentLine(i)
                If (oBP.Addresses.AddressName = Address_1) Then 
                    flag = i
                    Exit For
                End If
            Next
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oBP)
            oBP = Nothing
            GC.Collect()
            If flag = -1 Then
                Dim oBP1 As SAPbobsCOM.BusinessPartners
                oBP1 = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
                oBP1.GetByKey(CardCode)
                Dim iL As Integer = 0
                iL = oBP1.Addresses.Count
                oBP1.Addresses.Add()
                oBP1.Addresses.SetCurrentLine(iL)
                oBP1.Addresses.AddressName = Address_1
                oBP1.Addresses.Street = Address_2
                oBP1.Addresses.City = City
                oBP1.Addresses.ZipCode = Zip
                oBP1.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_BillTo
                Try
                    lRetCode = oBP1.Update()
                    System.Runtime.InteropServices.Marshal.ReleaseComObject(oBP1)
                    oBP1 = Nothing
                    GC.Collect()
                Catch ex As Exception
                    MsgBox(lErrCode & " " & ex.Message)
                End Try
            Else
                Dim oBP2 As SAPbobsCOM.BusinessPartners
                oBP2 = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
                oBP2.GetByKey(CardCode)
                oBP2.Addresses.SetCurrentLine(flag)
                oBP2.Addresses.Street = Address_2
                Try
                    lRetCode = oBP2.Update()
                    System.Runtime.InteropServices.Marshal.ReleaseComObject(oBP2)
                    oBP2 = Nothing
                    GC.Collect()
                Catch ex As Exception
                    MsgBox(lErrCode & " " & ex.Message)
                End Try
            End If
    Thank you in advance,
    Aris

    Hi Aris,
    There are a few things wrong with the logic but I don't think any of them would directly cause your error message
    1) You ought to use the GetByKey method in an If statement as the method returns true or false depending on whether the BP exists. I'm assuming that for your testing the CardCode variable does return a valid BP.
    2) In the For/Next loop you need to check that the selected address has the correct AddressName and AddressType for the address you are searching for. In SBO it is possible to have a billing and shipping address on the same BP that have the same address name.
    3) I don't understand why you need to use 3 BusinessPartner objects. You could do all the processing using a single BP and simplify your code. I appreciate that your code sample may be designed that way for reasons that aren't apparent in the context of this issue.
    This works for me:
    Dim oBP As SAPbobsCOM.BusinessPartners = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
    Try
         If oBP.GetByKey(CardCode) then
              Dim found As Boolean = false
              Dim iL As Integer = oBP.Addresses.Count
                 For i As Integer = 0 To oBP.Addresses.Count - 1
                     oBP.Addresses.SetCurrentLine(i)
                     If oBP.Addresses.AddressName = Address_1 and oBP.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_BillTo Then
                         oBP.Addresses.Street = Address_2
                   found = true
                         Exit For
                     End If
                 Next
              If not found then
                   oBP.Addresses.Add()
                          oBP.Addresses.SetCurrentLine(iL)
                          oBP.Addresses.AddressName = Address_1
                          oBP.Addresses.Street = Address_2
                          oBP.Addresses.City = City
                          oBP.Addresses.ZipCode = Zip
                          oBP.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_BillTo     
              End if
              If oBP.Update() <> 0 then
                   oApp.MessageBox(oCompany.GetLastErrorDescription, 1, "OK", "", "")
              End if
         End if
    Catch ex as Exception
         oApp.MessageBox(ex.Message, 1, "OK", "", "")
    Finally
         System.Runtime.InteropServices.Marshal.ReleaseComObject(oBP)
         oBP = Nothing
         GC.Collect()
    End Try
    If that doesn't help then please let us know what version and patch level you are on and exactly where the error occurs.
    Kind Regards,
    Owen

  • Issues with the new shipping address

    Hello,
    I bought a Z40 on 08/09/2014, the laptop has shipped and is at the UPS of McAllen atm, however I couldnt receive it myself because I am not at McAllen atm so I asked a friend to receive it for me. Issue here was that I used his previous address and UPS tried to deliver it there (they didnt). I called my aunt (she lent me her credit card to buy the laptop as I do not own one) so that she could talk with her credit card company and call to the Credit Card Services to make the shipping address change, the CCS told her that it would take 24 hours to UPS to make the change, I am totally fine with that, but that was on 02/09/2014 and here I am almost 60 hours after that and UPS still shows the Address Information Required message. I am not angry, I just want a solution.
    Thanks
    *UPDATE: still no response from Lenovo. Can't believe a single small mistake takes so much time to resolve.
    Solved!
    Go to Solution.

    Hi azze19,
    I do apologize for this delivery issue. I have contacted UPS on your behalf as well as updated your Aunt. Currently we are waiting to hear from the local UPS depot regarding sending your order. Please check your messages.
    Best regards.
    Bgriffin2
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Country not saved in Shipping Address

    I've tried to update my account information on OTN. But when I turn back into the Account information page, the State and Country information for "Shipping Address" are always lost: State is empty and Country is "United States", no matter what I've set previously.

    I got the same problem which I am so surprise for such mistakes can be find in OTN.
    There are few columns have the same problem.
    1. Address2 in company address keeps recalling old information.
    2. State/Province keep reset to "Please Select"
    It seems such problems have been reported few months ago, OTN should fix it ASAP.

  • Need to update delivery address

    Hi, I need to update my shipping address for a couple of deliveries. I checked UPS website and they require you contact the shipper. Apple doesn't seem to have an email address I can send the message to - any help appreciated!

    This is an iPad user to user forum, so you are not addressing Apple.
    You'll have to contact whomever you purchased the iPad.
     Cheers, Tom

  • Update oBP.Addresses

    Hi all,
    I have the following which updates the addresses in Business Partners.
                If strAddress_type = "Billing address" Then
                    oBP.CardCode = strUser_Id
                    oBP.CardName = strFull_name
                    oBP.UserFields.Fields.Item("U_username").Value = strUserName
                    oBP.EmailAddress = strUser_Email
                    oBP.FederalTaxID = strExtra_field_1 'VAT Nr or Tax ID
                    oBP.Addresses.AddressName = strAddress_1
                    oBP.Addresses.Street = strAddress_2
                    oBP.Addresses.City = strCity
                    oBP.Addresses.ZipCode = strZip
                    oBP.Addresses.AddressType = BoAddressType.bo_BillTo
                Else 'If it is Shipping Address
                    oBP.CardCode = strUser_Id
                    oBP.Addresses.AddressName = strAddress_1
                    oBP.Addresses.Street = strAddress_2
                    oBP.Addresses.City = strCity
                    oBP.Addresses.ZipCode = strZip
                    oBP.Addresses.AddressType = BoAddressType.bo_ShipTo
                End If
                rs2.DoQuery("SELECT COUNT(CARDCODE) FROM OCRD WHERE CARDCODE = '" & strUser_Id & "'") 'is an old customer?
                Dim z As Integer = rs2.Fields.Item(0).Value 'is an old customer?
                If z = 0 Then
                    'Create Business Partner
                    lretcode = oBP.Add
                Else
                    'Update Business Partner
                    lretcode = oBP.Update
                End If
    The problem is that when BP is updated with a new Shipping Address the Billing Address is deleted!!
    Any Idea?
    Thanks in advance
    Vangelis
    Edited by: Vangelis Kanellopoulos on Aug 12, 2010 7:14 AM

    Hello
    You should use SetCurrentline to position the address which would like to update...
    You can use the address name to find the address is exists or Not.
    Example from help with SetCurrentLine()
    bp.CardName = "C009"
    bp.CardCode = "C009"
    bp.CardType = SAPbobsCOM.BoCardTypes.cCustomer
    bp.Addresses.SetCurrentLine(0)
    bp.Addresses.AddressName = "Address1"
    bp.Addresses.Block = "1"
    bp.Addresses.Street = "street 1"
    bp.Addresses.City = "City 1"
    bp.Addresses.Country = "DE"
    bp.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_BillTo
    bp.Addresses.Add
    bp.Addresses.SetCurrentLine(1)
    bp.Addresses.AddressName = "Address2"
    bp.Addresses.Block = "2"
    bp.Addresses.Street = "street 2"
    bp.Addresses.City = "City 2"
    bp.Addresses.Country = "DE"
    bp.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_BillTo
    bp.Addresses.Add
    bp.Addresses.SetCurrentLine(2)
    bp.Addresses.AddressName = "Address3"
    bp.Addresses.Block = "3"
    bp.Addresses.Street = "street 3"
    bp.Addresses.City = "City 3"
    bp.Addresses.Country = "DE"
    bp.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_BillTo
    bp.Addresses.Add
    Regards
    János

  • Using LSMW to update customer address data via RFBIDE00

    Hi, I wonder if anybody has dealed with same issue for using LSMW with program RFBIDE00 to update customer address data.
    We need to update the customer address data in the central address management data. Since those fields do not exist in basic structure of BKNA1, for example, C/O name, street 2 to Street 5, I am putting the mapping of the source fields to map to BIADDR2. However, all the data I mapped to BIADDR2 is not updating in the customer records. When looking into the code of RFBIDE00, the codes will only transfer the data from BIADDR2 if the customer account group is marked as consumer which our case is just a sold to, ship to, not consumer.
    Does anybody have faced this issue before? Where should the exact central address data be mapped to in RFBIDE00?
    We are using ECC6.0. Any advise is appreciated.

    Found the answer from SDN - not possible unless using some BUS.
    RFBIDE00 - Address data issue
    Thread closed.

  • Someone changed my shipping address to theirs

    I got a shipping confirmation email telling me that my order had been shipped. However when i ordered my laptop, the shipping address and billing address were the same. On this email notification, the shipping address is now somewhere in Ohio while the billing address is mine. How can this error be corrected? I've already sent an email to customer service but I'd like to know if there's anything I can do before it's too late. 
    Solved!
    Go to Solution.

    Hi jacqueline31r,
    Thank you for updating us. I have sent a request to intercept the package and to have it forwarded to your billing address. This process usually extends the delivey up to five business days. You should receive new tracking information once the package is re-routed to your billing address. The online status tool will also update to reflect the change once the request is completed. Feel free to send me a private messsage to keep me posted on the status.
    Best regards,
    Bgriffin2
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • How to change shipping address of ipod nano replacement program

    Way back in November 2011, around about the 12th, I submitted my iPod Nano to the replacement program. Since the 19th of November it has been simply showing up as "Product replacement pending".
    I have had to move to a new flat in the last couple of weeks, and despite updating my Apple ID details with the new address. The replacement program still shows the shipping address as the old address.
    How do I go about getting this shipping address changed? I don't want the iPod going to the old address as I will probably never see it again.

    Pretty close. I managed to call them for free (effectively). By using the SayNoTo0870 website I was able to find a normal landline number for Apple that I could with the inclusive minutes on my iPhone calling plan. Eventually got through to a helpful young lady who tried to update the details with the help of an advisor from another group. Apparently the shipping information for the replacement program is held by the shipping company, in my case UPS. This is why the changes in my Apple ID account were not reflected in the shipping information of the replacement. The return details cannot be updating without an active tracking number, which won't exist until my replacement is on the way. So the advice I was given is to await the email from UPS giving the tracking number. As soon as I have this, call Applecare and they (as the sender) can update the shipping details against the tracking number, once the parcel is on its way.
    I hope that is useful to anyone else that might be in the same position as me.

  • 1 line item in the sales order ship to different shipping address

    Hi,
    Our customer A have 3 different branches (meaning 3 different shipping address).
    During the creation of the sales order for 1 material A, I want to ship 50pc to this customer A:
    10pc to address A1
    20pc to address A2
    20pc to address A3
    In my sales order, is there a way I just create 1 line item with the order qty 50pc for this material A, but split into 3 schedule line with 3 different ship to address?
    I know there is alternate way where I create 3 different line item (with order qty 10, 20 and 20) and change the ship to address in the Item -> Partner tab. But using this method, I have to create 3 times of the same material in 1 sales order, just with the different shipping address.
    I want to know is there a way I just need to create 1 line item?
    Kindly please advise. Thank you.

    Hi there,
    When you have 3 different ship-to address, system will anyway create 3 different deliveries. This is coz if the header data in shipping (ship-to) is different, system will split the deliveries. Routes are different to 3 ship-to addresses & they cannot be combined in the same delivery.
    So as mentioned in above thread, create 3 different line items or create different sales orders all together for different ship-to parties.
    Regards,
    Sivanand

  • How do I update multiple addresses at once?

    I have a about 2 dozen entries in my address book for a particular company. Is there a way to update the address for all of the employees of that company at one time? It is very time consuming to go to each entry and type the address over and over again. The same would go for the fax number

    If you are not familiar with Applescript the simplest is probably to select them all (eg by putting the company name in the search box and selecting all found) export the selection as a vCard then delete the selection. Open the vCard in a text editor, do a global find/replace on the affected data, then import the vCard again.
    AK

Maybe you are looking for

  • I can't open PDF's from websites!!!!

    Please, I need help! So, I went to attesting.com and was having issues purchasing something from them, so I went to there technical requirements and uploaded their link for Adobe Acrobat Read X. I have a MAC version 10.9.4. It seemed everything was o

  • Multi-tasking while importing, exporting, encoding, burning, etc, etc.

    Am I in any way endangering my project if I use the mac for other functions like being online, receiving email, wordprocessing, etc, while my IDVD project is busy encoding assets, and getting ready to burn, or burning dvds? I ask because my experienc

  • INVOICE FOR SERVICES

    hi sap guru's i need to invoice for services not for materials in F-43 i am try to enter invoice getting materials only how to get serces in invoice is there any tcode is there. pls give me solution for the above. raju [email protected]

  • Oracle edition

    Hi experts is there a way we can we determine without loggin on the database whether the oracle installed is standard or enterprise edition or expres edition based on oracle.exe on windows and oracle on Unix thanx

  • What are the new iPod shuffle box demensions?

    Can someone answer me the question above?