HANA - Address of Business Partner can not be updated by DI-API-Object

Hello, everybody,
I do need help very urgent. My customer goes live with Business One HANA in two days and I got severe problems in importing master data by DI-API.
I managed to import all Business Partners. Now I would like to import the addresses by using the object oBusinessPartners and object Addresses.
When I test my code (vba) with SQL-Server everything is fine. All data are imported, no error-message. So the code has to be correct (it is not the first time, that I do such thing).
Using the code for HANA everything is fine only in the first step. That is to say, the objects got their correct values and I can update the Businesspartner without any error-message. The new address is created in the bp-masterdata.
The only thing is, that despite of the address-name all other data are not saved. The fields are simply empty.
Is there any difference between SQL-Server and HANA when using the di-api-objects?
I really do hope for fast and helpful answers.
Thank you very much in advance!!!
with kind regards,
Toby
my code is:
Set GP = sapComp.GetBusinessObject(oBusinessPartners)
blnupdate = GP.GetByKey(MyWsh.Cells(zeile, FieldColumn(HdrRange, "CardCode")))
If blnupdate Then
Set GPAdr = GP.Addresses
Dim AdrCount As Long
Dim AdrCurrLine As Long
AdrCount = 0
AdrCurrLine = -1
For AdrCount = 0 To GP.Addresses.Count - 1
GPAdr.SetCurrentLine (AdrCount)
If GPAdr.AddressName = MyWsh.Cells(zeile, FieldColumn(HdrRange, "AddressName")) Then
AdrCurrLine = AdrCount
End If
Next AdrCount
If Not AdrCurrLine = -1 Then  
GPAdr.SetCurrentLine (AdrCurrLine)
End If
With GPAdr
If Not AdrCurrLine = -1 Then .Add
.AddressName = ADR_AddressName(MyWsh.Cells(zeile, FieldColumn(HdrRange, "AddressName")))
.Street = ADR_Street(MyWsh.Cells(zeile, FieldColumn(HdrRange, "Street")))
.Block = ADR_Block(MyWsh.Cells(zeile, FieldColumn(HdrRange, "Block")))
.ZipCode = ADR_ZipCode(MyWsh.Cells(zeile, FieldColumn(HdrRange, "ZipCode")))
.City = ADR_City(MyWsh.Cells(zeile, FieldColumn(HdrRange, "City")))
.County = ADR_County(MyWsh.Cells(zeile, FieldColumn(HdrRange, "County")))
.Country = ADR_Country(MyWsh.Cells(zeile, FieldColumn(HdrRange, "Country")))
.State = ADR_State(MyWsh.Cells(zeile, FieldColumn(HdrRange, "State")))
.FederalTaxID = ADR_FederalTaxID(MyWsh.Cells(zeile, FieldColumn(HdrRange, "FederalTaxID")))
.TaxCode = ADR_TaxCode(MyWsh.Cells(zeile, FieldColumn(HdrRange, "TaxCode")))
.BuildingFloorRoom = ADR_BuildingFloorRoom(MyWsh.Cells(zeile, FieldColumn(HdrRange, "BuildingFloorRoom")))
.AddressType = ADR_AddressType(MyWsh.Cells(zeile, FieldColumn(HdrRange, "AddressType")))
.AddressName2 = ADR_AddressName2(MyWsh.Cells(zeile, FieldColumn(HdrRange, "AddressName2")))
.AddressName3 = ADR_AddressName3(MyWsh.Cells(zeile, FieldColumn(HdrRange, "AddressName3")))
.TypeOfAddress = ADR_TypeOfAddress(MyWsh.Cells(zeile, FieldColumn(HdrRange, "TypeOfAddress")))
.StreetNo = ADR_StreetNo(MyWsh.Cells(zeile, FieldColumn(HdrRange, "StreetNo")))
End With
UDF:
If GPAdr.UserFields.Fields.Count > 0 Then
For uf = 0 To GPAdr.UserFields.Fields.Count - 1
GPAdr.UserFields.Fields(uf).Value = UDF(GPAdr.UserFields.Fields(uf), MyWsh.Cells(zeile, FieldColumn(HdrRange, GPAdr.UserFields.Fields(uf).Name)))
Next uf
End If
If MyWsh.Cells(zeile, FieldColumn(HdrRange, "Standard")) = "Y" Then
With GP
If GPAdr.AddressType = bo_BillTo Then
GP.BilltoDefault = GPAdr.AddressName
Else
GP.ShipToDefault = GPAdr.AddressName
End If
End With
End If
lngRst = GP.Update
If Not lngRst = 0 Then
MyWsh.Cells(zeile, FieldColumn(HdrRange, "")) = SAPErrorHdl(False)
ErrCount = ErrCount + 1
End If
End If

Good morning everybody,
the reason for these problems described in my post is a "general error; -10760 Memory allocation faild."
Does anyone have an idea how this problem can be solved?
Thanks for any hint in advance!
Kind Regards,
Toby

Similar Messages

  • Business Partner can not was created in a hire

    Hi, Good night.
    I have the following issue. I am check an employees that was hired with earlier date to the current date and not generated Bussiness partner. I understant that the system not create the business partner when the employees are hire to future date.
    However i did the hire in the client of test and the system if create the BP. The question is:
    What are the reasons for which a Business Partner can not be created in a hire, in the role of employee?
    Regards
    sanew2

    Hello,
    Please check if infotype 6 (addresses) is maintained for the employee. If not maintain a record for address and try.
    Also, what are the infotypes that you create for an employee during hire?
    Br,
    Remya.

  • Customer number of business partner can not be determined

    Hello,
    I created the BP for role TR0100 Main Loan Partner and I also added the role for FLCU00 for FI Client where I put the Company Code information and link this BP with the customer number in FI.
    When I am create a general loan (SAP Banking) the system did not determine the customer number in the Partner view, so when I go to make a Disburse (FN5V), I put the company code and the contract number, and then I get the error message "Customer number of main loan partner cannot be determined" Message no. 67087.
    I have reviewed the configuration and the SAP help for this scenario but I have not resolved this problem. We are starting this project so do you think this error could be generated because FI has not been fully customized ?
    Thank you for your help.

    Thank you Prasad,
    But I have not resolved the issue,
    I reviewed you 2 suggestions but the issue still continues.
    1. I configured 2 company codes and the settings for product types and the activities for the loans are completed. In fact, I can save contracts and see the cash flow.
    2. I am using for example the condition 201 A_Nominal Interest and the flow type assigned is 0110 and the check "Payment transaction" is set.
    I hope you can tell me others suggestions,
    Thank you.
    Regards

  • Change in Address of Business Partner in CRM is not replicated in ISU

    Hi Gurus,
    In CRM ,modification in address of Business Partner is not replicated in the ISU system.
    when we check the Bdocs we get the Bdoc in fail status with error " An address with GUID & 2 does not exist for business partner &1".

    Hi Harry
    Could you please provide the error message ID and number in the BDoc /
    Thank you
    best regards
    Christophe

  • Err while confrm  Business partner  does not exist (Notification E R1 201)

    I am for the first time into CRM serv implementation.I have 2 issues. Please provide your valuable suggestions at the earliest.
    I raised a serv order, released items, confirmed it and changed the status to complete. now when i try to raise an invoice, in billing due list, serv order num is showin up but not confirmation number. Billing relevance in item category for
    service item in Serv order ---> Order related billing acc to order quantity
    confirmation item category--> Transaction related billing after completion.
    The reason i expect is that i have used a crm employee as employee responsible as HR is not yet in place. At the time of confirmation and data transfer to r/3 system is throwing a message that BP doesnot exist. Long text is as follows
    "Business partner  does not exist (Notification E R1 201)"
    I am unable to trace out which BP is it unable to find. The Sold to i am using is on the other hand available in R/3.
    1) Is service confirmation incomplete and hence is not appearing in Billing due list or is there any other reason?
    2) How can i analyse which BP number is not avilable. i.e.. how can i check the contents of bdoc system is sending and because of which value of BP is the transfer getting stopped
    Regards,
    Kiran

    Hi
    The link is not working.
    The contents of the message is as follows
    follow all the following steps
    Setting up Transfer of Employee (HR Master) from R/3 to CRM
    1. Logical system XXX assigned to R/3 client XXX. Logical system YYY assigned to CRM client YYY – view through SCC4
    2. Create RFC Destination YYY for CRM client YYY in R/3 and
    Server ID with user details and client YYY.
    3. Transaction code SALE : Application Link Enabling (ALE)  Modelling and Implementing Business Processes  Maintain Distribution Model and Distribute Views. (Direct transaction code : BD64)
    Go to change mode and select ‘Create Model view’.
    You get a popup. Fill in the details – Technical name, short text and validity
    Select ‘Add message type’ from the application tool bar.
    Fill in the following details
    Model view : HRCRM
    Sender logical system : XXX
    Receiver logical system : YYY
    Message type : HRMD_ABA
    Note : Only this message type works for employee transfer.
    4.Save the model. From the same screen select the distribution model and from the menu Environment  Generate partner profiles
    Don’t change anything in the next screen. Simply Execute.
    4.Distribute the distribution model HRCRM
    Select the distribution model. From the menu bar, Edit  Model View  Distribute
    You get a dialog showing the receiver logical system. Execute.
    You get a log ‘Model view HRCRM has been created in target system YYY
    5.Go to the CRM system and check up whether this model has been created.
    Transaction code BD64
    The model has got copied. No changes can be made in CRM
    6. Generate partner profiles for the distribution model in CRM by selecting
    Environment  Generate partner profiles.
    In the next screen, do not make any changes and Execute.
    Partner profiles can be seen in transaction WE20
    Delta Download Settings
    7. So far, the above settings will ensure the initial download. However for any changes / new employees to be transferred, i.e delta changes, changes pointers need to be activated.
    In R/3, Transaction code SALE, Application Link Enabling (ALE)  Modelling and Implementing Business Processes  Master Data Distribution  Replication of Modified Data  Activate Change Pointers – Generally (BD61)
    This activates change pointers globally for all message types.
    8. In R/3, Transaction code SALE, Application Link Enabling (ALE)  Modelling and Implementing Business Processes  Master Data Distribution  Replication of Modified Data  Activate Change Pointers for Message Types
    Activate change pointer for message type HRMD_ABA
    9. CRM : Number Assignments. Generally, there are 3 types of number assignments (also called switches) when business partners are created.
    1 – The system uses the number from the general internal interval of the number
    range object BU_PARTNER
    2 – The system uses the number from a specific internal interval of the object
    3 – The number is transferred from HR and a prefix is added. In this case, a specific external interval, which must be defined as XX00000000 (upto
    XX99999999), is used (where XX denotes any two letters).
    The number range object for all switch positions is BU_PARTNER, with the interval depending on the switch value.
    For switch value 1, the system uses the internal standard interval, otherwise for switch values 2 and 3 you must also create a grouping (transaction BUC2) for these intervals. For the system to be able to connect the grouping and the number range interval, the name of the grouping must be exactly the same as the name of the corresponding number range interval (the name of the grouping is contained in the first column of the table). If you select 3 (HRALX/PNUMB = 3) for the number assignment of busienss partners of the employee role, create HRALX/PSUBG switch manually in table T77S0.
    In table T77S0, HRALX/ONUMB is used to set the number assignment for organizational units and HRALX/PNUMB is used to set the number assignment for employees.
    Create a number range ZZ
    Transaction code BUC2. Create a grouping of the same ID as that of the number range. Eg. Number range ID : ZZ and grouping ID should also be ZZ
    In table T77S0, maintain the following combinations
    HRALX-PNUMB = 2
    HRALX-PSUBG = ZZ
    10. Make the following customizing changes in CRM
    Transaction code SM30 : Table T77S0
    Group Sem Abbr Value Abbr
    HRALX HRAC X Activate HR Integration with CRM
    HRALX OBPON ON Activate integration between Business partners and Org Units
    HRALX PBPON ON Integration between business partners and employees
    HRALX OPROL BUP004 Role definition for org unit – Business partner
    HRALX PPROL BUP003 Role definition for Employee – Business partner
    HRALX ONUMB 1 Number range assignment for org units
    HRALX PNUMB 2 Number range assignment for Employees
    HRALX PSUBG ZZ Number range grouping only if PNUMB is not 1.
    11. Create Employee Master in R/3. Employee master consists of Infotypes. The mandatory infotypes are Actions, Address, Personal data and Organizational Assignment. You can ignore the remaining. Click on next and dont save the other infotypes.
    Transaction code : PA30
    12. In R/3 Initial Download : SE38 – RHALEINI
    Plan version : 01
    Object type : P – Person (always)
    Object ID : Employee ID eg. 1
    Receiver Partner no. : YYY
    Select further details
    You get all the data transfer details
    13. In CRM, transaction code PP01 – View HR Master objects
    You see that the employee 1 has got transferred. To see the corresponding business partner go to the infotype Relationships (the first row)
    Screen 2 gives you the business partner ID in CRM
    Regards
    Rekha Dadwal

  • Synchronization from vendor to business partner is not active?

    Hi there
    I am busy performing data migration of business partners and vendor accounts and have hit an issue on the last step of linking the uploaded BP to the uploaded Vendor.
    On execution of the transaction FLBPC2 (Link Vendor to Business Partner), it issues the error "CVIV_UI015 Synchronization from vendor to business partner is not active" which I believe is a product error because:
    1. I have configured BP to a new internal number range (and all other config requirements)
    2. I have configured a new Vendor account group with an external number range which is a duplicate of 1. above
    3. I have enabled BP to Vendor synchronisation in "Master Data Synchronisation" (from BP to VENDOR).
    I have tested my configuration successfully by creating a business partner via transaction BP and extending him to a vendor in a company code perfectly (works like a charm).
    My data migration process includes:
    - Creating a business partner using BAPI BUSISB990/FSCREATEFROMDATA.
    - Creating a vendor using the external number given above using a recording of FK01.
    - Linking the two using a recording of transaction FLBPC2 (Link Vendor to Business Partner).
    I am not trying to synchonise a business partner from vendor, but to synchronise the vendor via the business partner (which works using transaction BP) when the issue is received.
    Any ideas as to why I cannot do the operation manually which works via automation and why the error is not appriate?
    Regards
    Joe

    Good morning,
    I had a similar problem and solved by disabling
    the integration of the PI / XI of the PPO.
    To make sure that the PPO is working properly.
    You can check this setting by BUPA_CALL_FU transaction.
    Checks if the items are BUPA_OUTBOUND_MAIN and BUPA_OUTBOUND_REL
    integration of the disabled for PI / XI, according to the objects you need to be replicated.
    If they are uncheck them and rerun your tests.
    Use MDS_PPO2 the transaction log to check the copy of BP
    to the Vendor.
    I hope it helps, Good luck,

  • BDoc Error-Business partner is not a person

    HI
    We have a error in the  BUPA_MAIN Bdoc for only one customer that "Business partner is not a person". What could be reason for this? How this can be rectified?
    Thanks
    Prince

    Hello Varun,
    If you want to have as contact Person for relationship XXXX as well organization , that could be an issue. Because in standard it is only forseen that  Persons can be assigned as Contact Persons. There for you have to create a Z-Relationship type.
    A Group can have a Contact PERSON, but no Contact ORGANIZATION. As stated in standard it is not possible to have an Organization as Contact Person.
    thanks

  • BAPI_BUPA_CENTRAL_CHANGE: Business partner does not exist

    Hello,
    I'm trying to change a business partner, which I created with BAPI_BUPA_CREATE_FROM_DATA.
    But I get the error message "Business partner does not exist"
    I do following:
    1. create the BP with the BAPI_BUPA_CREATE_FROM_DATA
         get the BUSINESSPATNER- number
    2. fire BAPI_TRANSACTION_COMMIT.
    In the SAP-GUI transaction BUP3 I can see my BP, ok
    3. I try to change this BP with BAPI_BUPA_CENTRAL_CHANGE
         and I get an error "Business partner does not exist"
    Why?
    I'm using JCO, I used to set BUSINESSPARTNER with and without leading zero - it doesn't work.
    Can some one give me an advice?
    Thanks,
    Sergej Berg

    Hi,
    The "VALID_DATE" should be set to the date of execution (at least this is what I'm doing in my system).
    If you execute it via SE37 you can give it in the format of DDMMYYYY, but if you are testing an IDOC via WE19 you have to give it in the format of YYYYMMDD.
    Enjoy,
    Ayal.

  • Segment Builder: 'Business partner does not exist in target group'

    After having built a target group in the segment builder the following error message occurs: 'Business partner does not exist in target group'. What is meant by this error message and what has caused this error?

    Hi Mahesh,
    Are data sources based in infoset¿? If the are based in infoset u can do simple queries.
    I create infoset in t-code 'SQ02', once the infoset has been created u can go to 'Enviroment' --> Queries, and here u can created simple queries based in the infoset. With this tool u can check if this infoset has been created sucessfully.
    Hope it helps u.
    Regards,
    Mon

  • Error R1201 Business Partner does not exist (Treasury)

    Please could you help.
    I have created a Treasury Business Partner using transaction BPC1. When I display using BPC3, the partner exists.
    I then create the Transaction Authorisations using TBI6.
    However when I try to create a transaction e.g. through TX01, the error message says "R1201 Business Partner does not exist"
    Any ideas or advice would be much much much appreciated, and points awarded accordingly.
    Thanks in advance

    The transaction code to Maintain Business partner is BP. I am not sure in which version you are.
    When you create a BP it creates inthe role of Business Partner - Gen - 000000.
    In order to create a transaction using a BP, they should exist in the role of Counterparty - TR0151.  But since you say that you have maintained TBI6, then I thinkyou should have the BP in the role of counterparty. SO I am not sure what is wrong. If you can send screen shots, I can help.
    Send it to my email id [email protected]

  • "Business Partner Does Not Exist" SUS admin user registration

    We are currently using SUS.
    After business partner is transfered from EBP to SUS via XI, an email is generated to the vendor with a registration ID that allows him/her to use SRMSUS_SELFREG to register an admin user for that company.
    When the user registers based on the auto-generated registration ID, the screen outputs "Business Partner Does Not Exist".
    I am very stuck at this stage and can't find more places for an error log or any leads.
    Please help.

    Hi Derek Xu
    I saw your message about the problem and hope you have solved the problem, I would like to ask you a help to solve a problem that I have.
    I am configuring the SUS-EBP on version 5.5 they are in the same client, and my process must rum as follow:
    Acepted vendors can be transfered from EBP to SUS in this moment the vendor must receive an e-mail with user and password to acces the SUS and create a user .
    The problem is e-mails are not generated and I think the URLs in img Make Settings for Business Partners:
    URL for UM  I have doubt about what is the correct URL
    URL for Notification   I have doubt about what is the correct URL
    Could you send me an example of these URLs
    Thanks
    Nilson Fonseca
    [email protected]

  • TS1389 Similar problem with our iPad.  Apps purchased with "old" USR name that is not an email address can not be updated.  Free Apps update OK, but purchased ones show box asking for the non-email USR ID which Apple no longer recognizes.  HELP

    Have tried to get Apple Tech Support and local Apple techs to deal with this problem to no avail.  Apple store "genius" throws up hands and says nothing can be done.  Root of the problem seems to be that the old non-email AppleID is stuck in their system creating a catch22 that it appears as the account purchasing Apps, then is not recognized as a valid ID, and then disallows any attempt to change it to a recognized email address.
    Consequence is that Apps appropriately purchased can not be updated.  Apple store advises us to delete them and repurchase, but this seems more Windowsian than Applian.  Any Ideas??

    Hello J_DougBC,
    Thank you for posting in the Apple Support Communities.  I found an article that addresses Apple IDs that are different than the Primary Email Address on the account.  You will need to go to https://appleid.apple.com/ to "Make your Apple ID and email address one and the same."
    If your Apple ID and primary email address do not match, or they match but the email address is unverified, you can edit them.
    1. Sign in to My Apple ID to manage your account information.
    2. If you want to add and verify an email address that matches your Apple ID, follow the dialog box that says "Make your Apple ID and email address one and the same." This will automatically unverify that email address from any other Apple ID for which it was previously verified.
    3. If you want to change your email address to one that does not match your Apple ID, click Edit next to your Primary Email Address. If this email address is already associated with another Apple ID, you will need to sign in with that Apple ID and delete it before you can add it to your preferred Apple ID.
    Note: If you have an @me.com or @mac.com Apple ID and primary email address, you cannot edit your primary email address once it has been verified. To change your @me.com or @mac.com primary email address to another email address, contact Apple Support for assistance.
    You can find the full article here:
    Associating and verifying email addresses with your Apple ID
    http://support.apple.com/kb/HE68
    I hope this helps get you back on track!
    Best,
    Sheila M.

  • Problem while enter address for business partner-tcode BPC1

    Dear Experts,
    I have already enter address for business partner completely in BPC1, but after saving, the data has been entered always gone and message appears: "Enter address for business partner".
    Please somebody advice me about this issue.
    Thank you in advance.

    Please check this thered follow the steps.
    [BDT|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6173fb9e-0701-0010-6083-a0001827a6ff]
    Create  a field group--> attch fields over there.
    Create a view > attach a field group over there.->If you double click the view , you have to create one screen and attach function modules for PBO and PAI.
    create a section --> Attach your view.
    Create a screen ---> Attach your section.
    Regards,
    Siva

  • Error R1201 "Business partner ### does not exist" with new contact person

    Hi,
    We have configured CVI masterdata synchronization for Customer<->BP and this is working well for customer masters without contact persons.
    However, when we try to add a contact person to an existing customer (or synchronize an existing Customer with contact persons) we get the error message R1201 "Business partner ### does not exist".
    I have checked the wiki.
    We are able to manually create a Person with role BUP001 (Contact Person) and link it to the BP with relationship cat TBUR001 (Is Contact Person For). Here the synchronization BP->Customer seems to be working, as the new contact person is successfully created in the Customer.
    Any ideas why we cannot synchronize Contact Persons, Customer->BP?
    Thanks in advance,
    JJ23

    Hi James,
    may i know if you had find a solution for this.
    I have same issue.
    Thanks in advance
    Vijay

  • HT201342 i changed my email address and now I can not access iCloud because the old address keeps popping up.

    i changed my email address and now I can not access iCloud because the old address keeps popping up.

    Is this happening on your iOS device or your Mac? 
    And is the iOS device or Mac signed into the old ID ("email") in Settings>iCloud (System Preferences>iCloud)?

Maybe you are looking for

  • MSI K8T Neo2 F 939 pin, any known video or other driver issues?

    Using a MSI K8T Neo2 F, AMD 64 3500+ winchestor, 1gb DDR400 3200 memory, New WD 740GD SATA HDD, ATI 9800 GT Pro 256 videocard. Fresh XP Pro SP2 install with all the update, latest Via 4 in 1s. Seems like my problems began when I upgraded video driver

  • No Functional Area Found Error while creating service data in me22n

    Hello, While creating service data for a purchase order in ME22n I am getting error like " No functional area found"  . Please tell me how to maintain the Functional area for a particular GL account In the help i can found that we can find the functi

  • How do I get a Graphics card to work in an Xserve?

    Hi everyone, I have a 2008 Quad Core Xeon Xserve. However, my Mini-DVI adapter doesn't work reliably. I have a PCIe Graphics card from my 2006 Mac Pro that I'd rather use. It shows up under PCIe devices in the system report, but it won't display anyt

  • Problem in SAP BW Report iview

    Hi All, I have created a BW iview. When i am clicking on iview it is asking for user id and password again. I have created BW system and have specified all the properties and have done the user mapping. Is there any configuration which i need to do f

  • Waveform initialize

    Why when I initialize the maximum and minimum values of my x-axis on my waveform to be certain values does it show huge values when I run the VI.  A screen shot in the attachment shows the problem.  I initialize the waveform (Heartbeat) from 0-0.02 s