Problem Updating Business Partner DI Object loaded via XML
Hello,
I'm working with SB1 8.81 PL 08
I have to Update a Business Partner Object in a Target SB1 Company Database starting from a Business Partner Objects saved as XML from the Source SB1 Company Database.
Normally this works fine, I load from XML this Object and calling the Method Update all data is Syncronized in the Target DB.
But if the Business Partner Object has at least a Contact Person and in the Target Company DB a Marketing Document has been created for this particular Business Partner the Update Method called on the loaded by XML object always fail giving the following error:
Error: -10
Message: Contact Person is referenced by another object. , 'Sales Quotations [...contact Person ID...]'
The modifications I need to update do not involve contact person in the BP object but only other simple properties like Tel Nr. ...
In conclusion ... if the target BP has a marketing document created it seems no more possible to update it with an XML load, instead if a load the BP using the GetByKey() Method and changing manually some properties of the object the Update works fine.
Thank you for support.
Max
Hi,
First Use the getbykey to get the Business partnet then update.
sample code is available with B1WS package
Regards.
Similar Messages
-
Getting info on objects loaded via xml
Hello:
i am a beginner/intermediate as3 coder, and i am stuck on
something related to objects loaded via XML.
i am able to load JPEG images onto a simulated "shelf", but i
am trying to arrange them on the shelf (like a store shelf) so that
each new item is placed directly next to the previous item as they
load. i can get it to work on a very basic level by specifying the
spacing between items manually betwen the code, but to makre this
reuseable and efficient, the ideal is to have the "next" object
loaded be placed on the shelf based on the width of the previous
object. but when i try to access the width of the object that is
loaded via the imageLoader, i can;t find it. if i trace the image
loader wifth, it is 0; i have tried several ways to name the object
as it loads and then get/save its dimensions somehow, but i am not
having any luck. i use all the Lynda titles and i also use some of
the better books, but i just can;t seem to solve this.
any hellp would be appreciated.
thank you.Thak you for this -- it did help somewhat, but i am still
stuck.
When i use the contentLoaderInfo listener, you are right, i
can discern the width of the loader. but when i do this it only
works for the last item loaded. here is my problem -- i am trying
to load graphics dynamically, and have each graphic go to it's
proper "place" on a simulated shelf -- so the foirst object might
go to (0,0), then next object should go directly to the right of
the first object, etc, etc. and i am loading all this dynamically
from an xml file. if i just specify a distance, then i can get
everything to load at uniform distances from each other. problem is
each of the graphics has a unique width, height, etc, so i need to
be able to "catch and capture" this info as each one is loaded.
when i wait until the entire loader has loaded, the only
peopoerties left for me to capture and use are the propoerties of
the last itm loaded.
any ideas on how to do this -- anyone?
thanks very much, i just can't seem to figure this out. -
DTW problem when updating business partner
Hi Experts,
I want to update business partner master data via DTW.
I only want to update the Remarks.
In my import file only the fields RecordKey, CardCode and FreeText are filled.
Example:
RecordKey: 1
CardCode: C20000
FreeText: My Remarks
The import is successful and the remarks were filled but the DTW has also updated other fields in the business partner master data.
Before update via DTW the business partner has no payment methods included on the payment system tab but after update via DTW the payment method is included and is defined as Standard.
Any idea?
Thanks for help.
JacquelineHi,
yes, the existing payment methods were defined manually before update.
But the payment method was not included for that business partner.
Here are some hardcopys before update and after update.
[BP Master Data Before Update DTW|http://www.sap-potsdam.de/BoneUpload/BP_before_Update.JPG]
[BP Master Data After Update DTW|http://www.sap-potsdam.de/BoneUpload/BP_after_Update.JPG]
Jacqueline -
Create or Update Business Partner in CRM ?
Dear Folks ,
Scenario is to Create or update Business partner in CRM from thirdparty system via PI
It would be great if you could clarify the following
Hope we have BAPI to create and Update Business partner in CRM system but my question is
1. Can we use any predelivered PI content - Message Interfaces - as proxies ( Server proxies ) to create BP from system ?
2. Same interface will work for Update as well ?
IF so what is that content ? where to find for our PI System ?
3. Can we use the same way for Client proxies as well when we want to update the business partner ?
4. What are the inbound and outbound Message Interfaces are available ?
Any help will be highly appreciated
Thanks.,
ShivaHi Ravi ,
I think that i am not described my question properly , Say i have CRM system where i have to create BP for this input comes from external system (forget about the system ) , Here i want to use Proxy (Server proxy ) which helps me create Business partner in CRM system .
Here my question is If sap delivers the Inbound interface ( where server proxy already generated by SAP) , which i will use to create BP ?
Can we do in this way ?
Thanks
Shiva -
IDOC to update business partner data in FSRI(part of CRM system) .
Hi ,
I want to know an INBOUND IDOCs to update business partner data in FSRI (part of CRM system) .
Please help .
Regards
Chetan
Moderator message: please do your own research before asking.
Edited by: Thomas Zloch on Dec 21, 2010 5:14 PM
Moderator message -
Also, when closing old threads, there is no need to add a comment. Adding a pasted answer like "rectified" only brings old threads to the top of the forum list and pushes current ones down. If you do add a comment, please indicate just how the problem was resolved.
Edited by: Rob Burbank on Dec 21, 2010 1:20 PMMass not available in 4.0, could write your own LSMW routine but you still will create bdocs for updates so not sure how that will improve your performance.
-
Updating business partner hierarchy in CRM
Hi,
I Need to build a interface to update business partner hierarchy (Transaction BPH) in CRM. I can not find a suitable FM/BAPI for this purpose. Please advise me how to accomplish this.Hi,
Where do you start to activate or configure Business Address Services in R/3 Business partners. Any links to user guides or startup documents will be greatly helpful.
Thanks very much
Cheers!
Padi -
Updating business partner addresses in CRM
Hi,
I Need to build a interface to update business partner addresses in CRM and assign it to a address usage. I can not find a suitable FM/BAPI for this purpose. Please advise me how to accomplish this.Hi,
Where do you start to activate or configure Business Address Services in R/3 Business partners. Any links to user guides or startup documents will be greatly helpful.
Thanks very much
Cheers!
Padi -
Update Business Partner via SAP Business One Webservices
Dear all,
We use the SAP Business One Webservices to add/update businesspartners and items.
We can add/update items without any problem.
We can also add businesspartners without any problem.
But when we try to update a businesspartner.
We always get the error message : "Entry already exists in following tables:"
This is the code we use to update BusinessPartner:
Dim bpsService As BP.BusinessPartnersService = New BP.BusinessPartnersService()
Dim msgheader As BP.MsgHeader = New BP.MsgHeader()
msgheader.SessionID = sSessionID
msgheader.ServiceName = Global.BP.MsgHeaderServiceName.BusinessPartnersService
msgheader.ServiceNameSpecified = True
bpsService.MsgHeaderValue = msgheader
' fill business partner class
Dim oBp As BP.BusinessPartner = Nothing
Dim myBPParams As BP.BusinessPartnerParams = New BP.BusinessPartnerParams()
myBPParams.CardCode = sCardCode
' Call GetByParams command
oBp = bpsService.GetByParams(myBPParams)
oBp.CardName = "Test update BP"
Can someone tell me what is going wrong when I call this function :
bpsService.Update(oBp)
Kind regards
BartHi Bart,
I think the problem is because you are using the BPService twice without initializing it one more time in the middle.
You call first GetByParams and then Update.
The following code works for me:
myBPService = New BusinessPartnersService()
Dim myBP As BusinessPartner = New BusinessPartner()
Dim myBPParams As BusinessPartnerParams = New BusinessPartnerParams()
' Create Header
Dim msgHeader As MsgHeader = New MsgHeader()
msgHeader.SessionID = B1WS_WindowsSample.GlbData.sessionID
msgHeader.ServiceName = MsgHeaderServiceName.BusinessPartnersService
msgHeader.ServiceNameSpecified = True
myBPService.MsgHeaderValue = msgHeader
myBPParams.CardCode = MainForm.CardCodeTextBox.Text
myBP = myBPService.GetByParams(myBPParams)
myBPService = New BusinessPartnersService()
' Create Header
msgHeader = New MsgHeader()
msgHeader.SessionID = B1WS_WindowsSample.GlbData.sessionID
msgHeader.ServiceName = MsgHeaderServiceName.BusinessPartnersService
msgHeader.ServiceNameSpecified = True
myBPService.MsgHeaderValue = msgHeader
System.Console.Out.WriteLine("Update a BP")
myBP.CardName = "CardName MOD"
'/ call Asyncronous Add
myBPService.Update(myBP)
Hope it works also for you
Regards
Trinidad. -
Problem with Business partner flow from R/3 to CRM
Hi,
We are setting up a process to flow of Business Partners from R/3 to CRM.
We have configured PIDE correctly but the problem is when I am creating any customer in R/3 we are getting DUMP.
Kindly help me in this regards.
ThanksHi,
Check out the following Middleware Configuration :
<b>CRM Middleware configurations</b>
1. Source client for Client copy
Using t-code SCC3 in both CRM and ISU to get the source client used for client copy. Get source client for profile SAP_ALL.
2. RFC Destinations
Use t-code SM59 and check if the following RFC destinations have been created:
CRM
o R/3 Destination for CRM e.g. CRTCLNT240
o R/3 Destination for ISU e.g. ISTCLNT240
o Logical Destination for Middleware R&R queues one for current client and one for client 000. e.g. SAPCRM_MW_RR_240, SAPCRM_MW_RR_000
o TCP/IP Destination for IPC dispatcher e.g. IPC_RFC_DISPATCHER
o TCP/IP Destination for IPC server e.g. IPC_RFC_SERVER
ISU
o R/3 Destination for CRM e.g. CRTCLNT240
o R/3 Destination for ISU e.g. ISTCLNT240
3. Logical Systems
Using t-code SALE check if the following logical systems have been created:
CRM
o Own logical system e.g. CRTCLNT240
o Logical system for ISU e.g. ISTCLNT240
o Logical system for source client used in client copy e.g. CRTCLNT200
ISU
o Own logical system e.g. ISTCLNT240
o Logical system for CRM e.g. CRTCLNT240
o Logical system for source client used in client copy e.g. ISTCLNT200
Check if own logical system is assigned to the client.
Path: Sending and Receiving systems -> Logical Systems -> Assign Client to Logical System.
Convert Logical System name in application tables
Use t-code BDLS to convert logical system names in the application system.
1. Enter old logical system name retrieved in step 1. e.g. CRTCLNT200
2. Enter new logical system name e.g. CRTCLNT240.
3. Select radio button Conversion of Client-Dependent Tables and execute the transaction.
This process needs to be carried out 4 times: twice in CRM and twice in ISU.
CRM
o Old CRM logical system -> New CRM logical system. e.g. CRTCLNT200 -> CRTCLNT240.
o Old ISU logical system -> New ISU logical system. e.g. ISTCLNT200 -> ISTCLNT240.
ISU
o Old CRM logical system -> New CRM logical system. e.g. CRTCLNT200 -> CRTCLNT240.
o Old ISU logical system -> New ISU logical system. e.g. ISTCLNT200 -> ISTCLNT240.
4. Middleware Parameter tables
Use t-code SM30 to maintain middleware parameters in following tables
CRM
o Table SMOFPARSFA:
Change value for following parameter entry:
Key - R3A_COMMON
Para name - CRM_DEFAULT_DESTINATION
Value - Old ISU logical system -> new ISU logical system
E.g. ISTCLNT200 -> ISTCLNT240
ISU
o Table CRMRFCPAR:
Delete the previous entry for the following key:
User - CRM
Object name - *
RFC Destination - Old RFC destination for CRM e.g. CRTCLNT200.
Load types - All Load Types
Create new entry with following data:
User - CRM
Object name - *
RFC Destination - New RFC destination for CRM e.g. CRTCLNT240.
Load types - All Load Types
In Queue flag - X
Send XML No XML
o Table CRMPAROLTP:
Change value for following parameter entry:
Para name - CRM_DEFAULT_DESTINATION
User - CRM
Value - Old CRM logical system -> new CRM logical system
E.g. CRTCLNT200 -> CRTCLNT240
5. Admin Console (Sites and subscriptions)
Using t-code SMOEAC in CRM change attributes for the following sites.
CRM site
o Name: Change name from old CRM logical system -> new CRM logical system e.g. CRTCLNT200 -> CRTCLNT240
o Description: Change description from old CRM logical system -> new CRM logical system e.g. CRTCLNT200 -> CRTCLNT240
o Site attributes: Change RFC destination from old CRM RFC destination to new CRM RFC destination e.g. CRTCLNT200 -> CRTCLNT240
o Click on get values button to refresh logical system details.
ISU site
o Name: Change name from old ISU logical system -> new ISU logical system e.g. ISTCLNT200 -> ISTCLNT240
o Description: Change description from old ISU logical system -> new ISU logical system e.g. ISTCLNT200 -> ISTCLNT240
o Site attributes: Change RFC destination from old ISU RFC destination to new ISU RFC destination e.g. ISTCLNT200 -> ISTCLNT240
o Click on get values button to refresh logical system details.
Check if ISU site is assigned to following subscriptions.
All Business Agreements (MESG)
All Business Partner Relationship (MESG)
All Business Partners (MESG)
All Business Transactions
IS-U Connection Objects (MESG)
IS-U Contracts (MESG)
IS-U Points of Delivery (MESG)
Product Materials (MESG)
6. CRM Middleware Queues
Inbound Queues:
I. Execute transaction SMQR.
II. Change AS group from DEFAULT to parallel generators. Path: Edit -> Change AS Group
III. Register following queues:
CRM
o CSA*
o R3A*
ISU
o R3A*
Outbound Queues:
I. Execute transaction SMQS.
II. Change AS group from DEFAULT to parallel generators. Path: Edit -> Change AS Group
III. Register following queues:
CRM
o CSA*
o R3A*
ISU
o R3A*
R&R Queues:
I. Execute transaction SMOHQUEUE in CRM.
II. Check if all queues have status Released.
III. Start Queue Demon by clicking on Start Queue Demon.
<b>Please reward points if it helps.</b>
Regards,
Amit Mishra -
Archive Link Authorization problem for Business Partner.
Hi Experts,
Currently we are attaching documents to respective objects through Tr. OAWD & these documents are available in service for object as attachment, until this it is working fine.
But we are facing problem of authorization for archive link of ISU- Business Partner. Letu2019s say we had two users USER-A & USER-B responsible to upload documents of Business partners started with 1 & 2 respectively.
We needed authorization control for USER A&B so that,
USER-A should upload documents for Business Partner 1001 to 1999
& USER-B should upload documents for Business Partner 2001 to 2999
we need to know can we restrict USER A&B so that they can not upload documents for Business Partner for which they are not responsible. we allready checked the roles "SAP_BC_SRV_ARL_* " but not found useful to restrict USER A&B.
Thanks in advance....Hi Sam,
as this sounds like you search for suitable authorization objects I think that the authorization trace in transaction ST01 could be useful for you. For further information please see the following link: http://wiki.sdn.sap.com/wiki/display/PLM/AuthorizationTraceintransactionST01
Best regards,
Christoph -
Update Business Partner Master Data for Incident Management
Hi fellow SAP-ians,
I have two questions that I need to ask in relation to Incident Management SOLMAN 7.1:
1) Can Business Partner (BP) master data be mass updated via a catt script? (recording of transaction BP)
2) What BP roles can I use if i need to capture profit center, cost center and department info for each BP and to be able to display those info from Incident Management (CRM Web UI)?
Thanks in advance. Your swift response is highly appreciated.
B.Regards,
KhairulHi Vikram,
I appreciate your quick response. I went over the document that you've mentioned. However, nothing in there seemed to help.
Just FYI, i need to create/change approx. 25,000 Business Partners in SOLMAN 7.1 by 1)creating system users in SOLMAN and 2) execute report AI_SDK_USER_BP_GEN to generate/update BP IDs accordingly.
My question was, lets say if i needed to enter profit center, cost center and division info into each BP. In what BP role and fields, besides the standard BUP001 (Contact Person) & BUP003 (Employee), that I can use to enter those type of information?
For example, profit center - 88KUL186; cost center - 88KUL186; division - KLIA.
Thanks in advance. -
Messagw while trying to create Business partner (BP) object for Recruiter
Hi,
We have upgraded E-Recruitment from EHp2 to EHP4.
When I tried to access Recruiter dash board through recruiter ID, I got error "You are not authorized to see this". After checking it is found that business partner object is not created for Recruiter ID. So tried to create through program RCF_Create_user. But while running this report, I am getting message like "candidate number is already exist" and I am not able to proced further. I checked relationship A650, also table HRP5102 for candidate details for this Recruiter personeel number. But no where it is available.
Could anybody please tell how to proceed on this? Where to see candidate details for an employee? How to delete candidate details if exists so that I can create business partner object again via program RCF_create_user.
Anybody's help is appreciated.
Regards,
PurnimaHello Purnima,
as you started from an authorization error message, have you tried to assign SAP_ALL to the user and check if the application was working? Did you regenerated SAP_ALL after the upgrade as otherwise the authorization for the new application might still be missing.
I first thought the BP relation was missing after your upgrade but in your 2nd post you said you deleted CP-BP relation among others. Was this a typo or was the relation existing but the business partner missing. This would be very suprising as it is not that easy to get rid of one.
It is very strange if RCF_CREATE_USER is still not working after deleting all relations. If you only deleted one relation from CP it might be necessary to delete the other direction for all objects being internal. BUT be aware! Changing HRP1001 data this way will lead to inconsistencies in the system.
The only additional thing which comes to my mind is the integrated installation. Here the user for the candidate is not read from HRP1001 but directly from the PA infotype 0105. So there might be another candidate joined to the user this way if you use an integrated landscape.
But before you start changing hrp1001 by hand please always get the CP id for the candidate, go to SE80, open class cl_hrrcf_candidate and test the get method. (you need the cp id as you have to enter the first id on the method test screen, the others won't work due to the usage of "is supplied" in the method combined with the methgod tester). In the result check if there is really no BP Id resolved.
If the relation or the bp object really got lost during the upgrade, I'd check if this is a single case or more candidates were effected. If so I'd in every case get in contact w/ sap suppport.
Kind Regards
Roman
Edited by: Roman Weise on Mar 14, 2010 6:43 PM -
Hi all,
I have import some BP master data , but i have to change the 'Cardcode'. Is that possible?
Thanks in advance.Hello,
Could you describe more detail what template you have used when importing business partner master data beside business partner template ? I usually use business partner, contact employees and BP address. if I import the wrong data (incorrect data), I usually re -import the data after delete the existing BP master data. I just use these queries :
delete from OCRD where cardcode between 'cust1000' and 'cust3000'
delete from CRD1 where cardcode between 'cust1000' and 'cust3000'
I consider the update existing object task can also be useful feature in DTW to correct the incorrect data in database after importing but give consideration to record key.
Rgds, -
Error updating Business Partner with DI Server
Hi experts,
I'm using the DI Server in SAPBO 9 PL 11. I can add, get and delete a Business Partner with AddObject, GetByKey and RemoveObject messages, respectively. But if I try to update one of them, the UpdateObject message always returns "Failed to execute command".
I'm using the following code:
XmlDocument xmlDoc = getClientData(SessionID, CardCode); // Returns a correct business partner
string sCmd = @"<?xml version=""1.0"" encoding=""UTF-16""?><env:Envelope xmlns:env=""http://schemas.xmlsoap.org/soap/envelope/"">"
+ "<env:Header><SessionID>" + SessionID + @"</SessionID></env:Header><env:Body>"
+ @"<dis:UpdateObject xmlns:dis=""[http://www.sap.com/SBO/DIS]"">" + xmlDoc.InnerXml
+ "</dis:UpdateObject></env:Body></env:Envelope>";
SBODI_Server.Node DISnode = new SBODI_Server.Node();
string sSOAPans = DISnode.Interact(sCmd);
What's happening?
Regards,
PedroHi Maik,
the getByKey method returns the following xml:
<BOM xmlns="http://www.sap.com/SBO/DIS">
<BO>
<AdmInfo>
<Object>oBusinessPartners</Object>
</AdmInfo>
<BusinessPartners>
<row>
<CardCode>c000002e</CardCode>
<CardName>TEST S.A.</CardName>
<CardType>cCustomer</CardType>
<GroupCode>100</GroupCode>
<Address nil="true" />
<ZipCode nil="true" />
<MailAddress nil="true" />
<MailZipCode nil="true" />
<Phone1 nil="true" />
<Phone2 nil="true" />
<Fax nil="true" />
<ContactPerson nil="true" />
<Notes nil="true" />
<PayTermsGrpCode>1</PayTermsGrpCode>
<CreditLimit>0.000000</CreditLimit>
<MaxCommitment>0.000000</MaxCommitment>
<DiscountPercent>0.000000</DiscountPercent>
<VatLiable>vLiable</VatLiable>
<FederalTaxID nil="true" />
<DeductibleAtSource>tNO</DeductibleAtSource>
<DeductionPercent>0.000000</DeductionPercent>
<DeductionValidUntil nil="true" />
<PriceListNum>1</PriceListNum>
<IntrestRatePercent>0.000000</IntrestRatePercent>
<CommissionPercent>0.000000</CommissionPercent>
<CommissionGroupCode>0</CommissionGroupCode>
<FreeText nil="true" />
<SalesPersonCode>-1</SalesPersonCode>
<Currency>EUR</Currency>
<RateDiffAccount nil="true" />
<Cellular nil="true" />
<AvarageLate nil="true">0</AvarageLate>
<City nil="true" />
<County nil="true" />
<Country>ES</Country>
<MailCity nil="true" />
<MailCounty nil="true" />
<MailCountry>ES</MailCountry>
<EmailAddress nil="true" />
<Picture nil="true" />
<DefaultAccount nil="true" />
<DefaultBranch nil="true" />
<DefaultBankCode>-1</DefaultBankCode>
<AdditionalID nil="true" />
<Pager nil="true" />
<FatherCard nil="true" />
<CardForeignName>TEST</CardForeignName>
<FatherType>cPayments_sum</FatherType>
<DeductionOffice nil="true" />
<ExportCode nil="true" />
<MinIntrest>0.000000</MinIntrest>
<CurrentAccountBalance>0.000000</CurrentAccountBalance>
<OpenDeliveryNotesBalance>0.000000</OpenDeliveryNotesBalance>
<OpenOrdersBalance>0.000000</OpenOrdersBalance>
<VatGroup nil="true" />
<ShippingType nil="true">0</ShippingType>
<Password nil="true" />
<Indicator nil="true" />
<IBAN nil="true" />
<CreditCardCode>-1</CreditCardCode>
<CreditCardNum nil="true" />
<CreditCardExpiration nil="true" />
<DebitorAccount>4300000</DebitorAccount>
<OpenOpportunities nil="true">0</OpenOpportunities>
<Valid>tNO</Valid>
<ValidFrom nil="true" />
<ValidTo nil="true" />
<ValidRemarks nil="true" />
<Frozen>tNO</Frozen>
<FrozenFrom nil="true" />
<FrozenTo nil="true" />
<FrozenRemarks nil="true" />
<Block nil="true" />
<BillToState nil="true" />
<ExemptNum nil="true" />
<Priority>-1</Priority>
<FormCode1099 nil="true">0</FormCode1099>
<Box1099 nil="true" />
<PeymentMethodCode nil="true" />
<BackOrder>tYES</BackOrder>
<PartialDelivery>tYES</PartialDelivery>
<BlockDunning>tNO</BlockDunning>
<BankCountry nil="true" />
<HouseBank>2100</HouseBank>
<HouseBankCountry>ES</HouseBankCountry>
<HouseBankAccount>0200013205</HouseBankAccount>
<ShipToDefault nil="true" />
<DunningLevel nil="true">0</DunningLevel>
<DunningDate nil="true" />
<CollectionAuthorization>tNO</CollectionAuthorization>
<DME nil="true" />
<InstructionKey nil="true" />
<SinglePayment>tNO</SinglePayment>
<ISRBillerID nil="true" />
<PaymentBlock>tNO</PaymentBlock>
<ReferenceDetails nil="true" />
<HouseBankBranch>5420</HouseBankBranch>
<OwnerIDNumber nil="true" />
<PaymentBlockDescription>-1</PaymentBlockDescription>
<TaxExemptionLetterNum nil="true" />
<MaxAmountOfExemption>0.000000</MaxAmountOfExemption>
<ExemptionValidityDateFrom nil="true" />
<ExemptionValidityDateTo nil="true" />
<LinkedBusinessPartner nil="true" />
<LastMultiReconciliationNum nil="true">0</LastMultiReconciliationNum>
<DeferredTax>tNO</DeferredTax>
<Equalization>tNO</Equalization>
<SubjectToWithholdingTax>tYES</SubjectToWithholdingTax>
<CertificateNumber nil="true" />
<ExpirationDate nil="true" />
<NationalInsuranceNum nil="true" />
<AccrualCriteria>tNO</AccrualCriteria>
<WTCode nil="true" />
<BillToBuildingFloorRoom nil="true" />
<DownPaymentClearAct>4380001</DownPaymentClearAct>
<ChannelBP nil="true" />
<DefaultTechnician nil="true">0</DefaultTechnician>
<BilltoDefault nil="true" />
<CustomerBillofExchangDisc nil="true" />
<Territory nil="true">0</Territory>
<ShipToBuildingFloorRoom nil="true" />
<CustomerBillofExchangPres nil="true" />
<ProjectCode nil="true" />
<VatGroupLatinAmerica nil="true" />
<DunningTerm nil="true" />
<Website nil="true" />
<OtherReceivablePayable nil="true" />
<BillofExchangeonCollection nil="true" />
<CompanyPrivate>cCompany</CompanyPrivate>
<LanguageCode>23</LanguageCode>
<UnpaidBillofExchange nil="true" />
<WithholdingTaxDeductionGroup>-1</WithholdingTaxDeductionGroup>
<ClosingDateProcedureNumber nil="true">0</ClosingDateProcedureNumber>
<Profession nil="true" />
<BankChargesAllocationCode nil="true" />
<TaxRoundingRule>trr_CompanyDefault</TaxRoundingRule>
<Properties1>tNO</Properties1>
<Properties2>tNO</Properties2>
<Properties3>tNO</Properties3>
<Properties4>tNO</Properties4>
<Properties5>tNO</Properties5>
<Properties6>tNO</Properties6>
<Properties7>tNO</Properties7>
<Properties8>tNO</Properties8>
<Properties9>tNO</Properties9>
<Properties10>tNO</Properties10>
<Properties11>tNO</Properties11>
<Properties12>tNO</Properties12>
<Properties13>tNO</Properties13>
<Properties14>tNO</Properties14>
<Properties15>tNO</Properties15>
<Properties16>tNO</Properties16>
<Properties17>tNO</Properties17>
<Properties18>tNO</Properties18>
<Properties19>tNO</Properties19>
<Properties20>tNO</Properties20>
<Properties21>tNO</Properties21>
<Properties22>tNO</Properties22>
<Properties23>tNO</Properties23>
<Properties24>tNO</Properties24>
<Properties25>tNO</Properties25>
<Properties26>tNO</Properties26>
<Properties27>tNO</Properties27>
<Properties28>tNO</Properties28>
<Properties29>tNO</Properties29>
<Properties30>tNO</Properties30>
<Properties31>tNO</Properties31>
<Properties32>tNO</Properties32>
<Properties33>tNO</Properties33>
<Properties34>tNO</Properties34>
<Properties35>tNO</Properties35>
<Properties36>tNO</Properties36>
<Properties37>tNO</Properties37>
<Properties38>tNO</Properties38>
<Properties39>tNO</Properties39>
<Properties40>tNO</Properties40>
<Properties41>tNO</Properties41>
<Properties42>tNO</Properties42>
<Properties43>tNO</Properties43>
<Properties44>tNO</Properties44>
<Properties45>tNO</Properties45>
<Properties46>tNO</Properties46>
<Properties47>tNO</Properties47>
<Properties48>tNO</Properties48>
<Properties49>tNO</Properties49>
<Properties50>tNO</Properties50>
<Properties51>tNO</Properties51>
<Properties52>tNO</Properties52>
<Properties53>tNO</Properties53>
<Properties54>tNO</Properties54>
<Properties55>tNO</Properties55>
<Properties56>tNO</Properties56>
<Properties57>tNO</Properties57>
<Properties58>tNO</Properties58>
<Properties59>tNO</Properties59>
<Properties60>tNO</Properties60>
<Properties61>tNO</Properties61>
<Properties62>tNO</Properties62>
<Properties63>tNO</Properties63>
<Properties64>tNO</Properties64>
<CompanyRegistrationNumber nil="true" />
<VerificationNumber nil="true" />
<DiscountBaseObject>dgboNone</DiscountBaseObject>
<DiscountRelations>dgrLowestDiscount</DiscountRelations>
<TypeReport>atCompany</TypeReport>
<ThresholdOverlook>tNO</ThresholdOverlook>
<SurchargeOverlook>tNO</SurchargeOverlook>
<DownPaymentInterimAccount nil="true" />
<OperationCode347>ocGoodsOrServiciesAcquisitions</OperationCode347>
<InsuranceOperation347>tNO</InsuranceOperation347>
<HierarchicalDeduction>tNO</HierarchicalDeduction>
<ShaamGroup>sgServicesAndAsset</ShaamGroup>
<WithholdingTaxCertified>tNO</WithholdingTaxCertified>
<BookkeepingCertified>tNO</BookkeepingCertified>
<PlanningGroup nil="true" />
<Affiliate>tNO</Affiliate>
<Industry nil="true">0</Industry>
<VatIDNum nil="true" />
<DatevAccount nil="true">0</DatevAccount>
<DatevFirstDataEntry>tYES</DatevFirstDataEntry>
<GTSRegNo nil="true" />
<GTSBankAccountNo nil="true" />
<GTSBillingAddrTel nil="true" />
<ETaxWebSite nil="true">0</ETaxWebSite>
<HouseBankIBAN>ES4121005420430200013205</HouseBankIBAN>
<VATRegistrationNumber nil="true" />
<RepresentativeName nil="true" />
<IndustryType nil="true" />
<BusinessType nil="true" />
<Series>74</Series>
<AutomaticPosting>apNo</AutomaticPosting>
<InterestAccount nil="true" />
<FeeAccount nil="true" />
<CampaignNumber nil="true">0</CampaignNumber>
<AliasName nil="true" />
<DefaultBlanketAgreementNumber nil="true">0</DefaultBlanketAgreementNumber>
<EffectiveDiscount>dgrLowestDiscount</EffectiveDiscount>
<NoDiscounts>tNO</NoDiscounts>
<GlobalLocationNumber nil="true" />
<EDISenderID nil="true" />
<EDIRecipientID nil="true" />
<ResidenNumber>rntSpanishFiscalID</ResidenNumber>
<RelationshipCode nil="true" />
<RelationshipDateFrom nil="true" />
<RelationshipDateTill nil="true" />
<UnifiedFederalTaxID nil="true" />
<AttachmentEntry nil="true">0</AttachmentEntry>
<U_TexImprimir nil="true" />
<U_LastMod nil="true" />
<U_UserMod>1</U_UserMod>
<U_Especial nil="true" />
<U_Cadena nil="true" />
<U_RutaDoc nil="true" />
</row>
</BusinessPartners>
<BPAccountReceivablePayble>
<row>
<AccountType>bpat_OnCollection</AccountType>
<AccountCode>4312000</AccountCode>
<BPCode>c000002e</BPCode>
</row>
<row>
<AccountType>bpat_DownPayment</AccountType>
<AccountCode>4380000</AccountCode>
<BPCode>c000002e</BPCode>
</row>
<row>
<AccountType>bpat_Discounted</AccountType>
<AccountCode>4311000</AccountCode>
<BPCode>c000002e</BPCode>
</row>
<row>
<AccountType>bpat_OpenDebts</AccountType>
<AccountCode>4360000</AccountCode>
<BPCode>c000002e</BPCode>
</row>
<row>
<AccountType>bpat_Receivable</AccountType>
<AccountCode>4310000</AccountCode>
<BPCode>c000002e</BPCode>
</row>
<row>
<AccountType>bpat_Unpaid</AccountType>
<AccountCode>4315000</AccountCode>
<BPCode>c000002e</BPCode>
</row>
</BPAccountReceivablePayble>
<BPPaymentMethods>
<row>
<PaymentMethodCode>ChCob</PaymentMethodCode>
<RowNumber>0</RowNumber>
<BPCode>c000002e</BPCode>
</row>
<row>
<PaymentMethodCode>RecCobDom</PaymentMethodCode>
<RowNumber>1</RowNumber>
<BPCode>c000002e</BPCode>
</row>
<row>
<PaymentMethodCode>TransCob</PaymentMethodCode>
<RowNumber>2</RowNumber>
<BPCode>c000002e</BPCode>
</row>
</BPPaymentMethods>
</BO>
</BOM>
When I try to update it with my code I receive this:
<?xml version="1.0" ?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Body>
<env:Fault>
<env:Code>
<env:Value>env:Receiver</env:Value>
<env:Subcode>
<env:Value>0</env:Value>
</env:Subcode>
</env:Code>
<env:Reason>
<env:Text xml:lang="en">Failed to execute command</env:Text>
</env:Reason>
<env:Detail>
<Object>2</Object>
<ObjectIndex>1</ObjectIndex>
<Command>UpdateObject</Command>
<SessionID>835948FD-E199-4D86-89EA-D39F50F4BB34</SessionID>
</env:Detail>
</env:Fault>
</env:Body>
</env:Envelope> -
Add/Update Business Partner Error 5002
Hi,
I'm having problem with the DI API. We are testing our application with SAP B1 SP1 PL 34. With this version, it seems impossible to add or update a business partner. oBP.add and oBP.update always return the error -5002 with no description.
I even have the error if I remove every line of code that change something on the bp. So, I have a code like this that return the error -5002
oBP.GetByKey(intBPID)
oBP.Update
How this can return an error if we change nothing otherwise it is a bug ?
Anybody has an idea or suggestion ?
Thank you for your help
Jodérick PicardHi,
I've more details.
I was testing the update with my code :
oBP.GetByKey(intBPID)
oBP.Update
and I found some business partner where the code works ok, BUT most of the business partner doesn't work.
All business partners update without error in SAP B1. So how could it not work with the SDK when the data itself is valid for SAP B1 when using the GUI?
Thank you
Jodérick Picard
Maybe you are looking for
-
Unable to pick up the file from Receive Location
BizTalk is unable to pick up the files from receive location. My admin console is working so slow. It is showing the problem of snap-in as follows: I have checked all my receive location and its masking,it is working fine. Actually it is working fin
-
Why wont os x mavericks download
every time i try to install OS X Mavericks, it wont work. When i click download, the Mavericks icon appears in my hot bar, with a load bar under it. the load bar wont progress. At all. My iMac is v. 10.6.8, 4gb of ram, 64.22gb of available space, mad
-
I CANT GET MY NANO OUT OF DISK MODE!!!!
i accidentaly put my ipod into disk mode and now i cant get it out. I tried turning it off but it doesnt do anything no clue Windows XP no clue Windows XP
-
Error: State cannot be saved as variables are not submitted in WAD (Portal)
Hi Gurus, I am getting the following error : After opening the report and selecing the free characteristics if I want to go back one screen by right click(context menu)-> Back->Back one Navigation Step it is throwing the following below short dump in
-
I want to move my picture out of my phone and into my computer
I want to learn how to move my pictures out of my IPhone 4 on to the computer