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 Picard
Hi,
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
Similar Messages
-
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.
-
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 -
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 -
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> -
Error in updating business partner
When I update the business partner I get the following error-
Invalid Code Fiscal IDs for BP Master Data - Brazil CNAE Code line: 3 Message 173-36You may check your CRD7 table to see if the Fiscal ID for this BP is there or not. If not, create a new one. Someone might have deleted certain codes there.
Thanks,
Gordon -
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 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.
MaxHi,
First Use the getbykey to get the Business partnet then update.
sample code is available with B1WS package
Regards. -
Error Job REFRESH_ADMIN_DATA_FROM_SUPPORT - Business Partner error
Hello gurus,
System: Solution Manager 7.0 Ehp1 SPS22 (win 2008 + SQL Server 2005)
The problem is... I've been setting up the service desk for VAR option. We, our company, are VAR and the main goal for this configuration is link our own solution manager with our customers in order that they can send some messages to us asking for help. This type of service as you, is the Service Desk for VAR which runs on solution manager system.
So in this point, we are in phase of configuration of customer numbers and system numbers of all systems that customers have in your landscape.
We´re faccing with a problem about JOB - REFRESH_ADMIN_DATA_FROM_SUPPORT - the job that collects information from SAP Marketplace of customers. And this job log have some error, namely we couldn´t create a Business Partner which are necessary further for maintenance business partner (tcode BP) and for IBASE generate!
As you see in following image we have that error after that job runs:
http://img263.imageshack.us/img263/3233/businesspartner.jpg
09.04.2010 22:01:01 Business partner for customer number 813324 could not be created AI_SC_EN 137
For your information, the customer number for our customer is 813324 and our customer number is 891916!
I already check some view/tables, such the tables V_AIINSNRS ; V_AISAPCUSTNOS and also the tcode AISUSER, and they seems to me well.
Can you help me how can I solve that error.. on job!???
Best regards,
João Dimas - PortugalHello Fabricius Zatti,
Thank you for your answer, but that isn´t the solution for this problem. I already update that note 1023598...
The other note 1350853 is not for my release, the correction of this note is delivered in Support Package SAPKITL431... my system has the last Suport Package Stack which is 22!! (SAPKITL432) So the correction of that note is already suported in system!
Next I´ll show you what I have in tables v_aisapcustnos ; v_aiinsnrs:
http://img97.imageshack.us/img97/8554/vaisapcustnos.jpg
http://img97.imageshack.us/img97/272/vaiinsnrs.jpg
And the transaction aisuser:
http://img97.imageshack.us/img97/8662/aisuser.jpg
In that tables and transaction are some data that is related and relevant for that JOB - REFRESH_ADMIN_DATA_FROM_SUPPORT
Someone help me please.
Best regards,
João Dimas - Portugal -
Invalid State Code updating Business Partner
Hello.
I found (i do not know if there are more than this one) a business partner which, when I try to update any field, I get the message "Invalid State Code" Message [173 133].
I tried to change State field in every related address (and many other, in principle, not related) but I still get the same error.
Of couse, I am selecting the state from the list
I am talking about an imported data base from SBO2005 to SBO2007 and, after that, SBO8.8 SP00 PL05.
Looking for strange data in OCRD, CRDx, ... I could not find anything significative.
Does anyone knows some data control in SB08.8 that was no so estrict in other SBO versions about state?
Thank you very much.Thank you, Jitin.
The reason in the note (strange characters in bank data) was not exactly the point but it was near.
I checked every data in Payment Terms and there was no incorrect characters but code on OCRB.state field where '6' when in OCST table the key was '06', something about upgrade process, I suposse.
Thank you very much. -
Customer creation with Business Partner Error
Hello Experts,
I am a Functional consultant and trying to create Customer which has to create a Business Partner in one of the test system. All the config to create Business Partner is completed.
When trying to create customer it throws a RFC connection error. I have pasted the dump details below. Please help me to solve the issue.
Category
ABAP Programming Error
Runtime Errors
CALL_FUNCTION_OPEN_ERROR
ABAP Program
CL_RPM_FES_BUFFER_MANAGEMENT==CP
Application Component PPM-PFM
Date and Time
22.09.2014 19:43:45
Short text
Error when opening an RFC connection ("CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_RPM_FES_BUFFER_MANAGEMENT==CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An error occurred when executing a Remote Function Call.
"CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20 thRc=236#SAP gateway connection failed. Is
SAP gateway started? "
Status of connection.... "CODE=CM_PRODUCT_SPECIFIC_ERROR -1 -1 SAPCODE=236
CONV= "
Internal error code.... "RFC_IO5"
There is an error in the communication system. To clarify
and resolve the error, contact your system administrator.
Last error logged in SAP kernel
Component............ "NI (network interface)"
Place................ "SAP-Gateway on host KNACKS06 / sapgw01"
Version.............. 40
Error code........... "-10"
Error text........... "partner 'knacks06:sapgw01' not reached"
Description.......... "NiPConnect2: 54.201.94.167:3301"
System call.......... "connect"
Module............... "nixxi.cpp"
Line................. 3286
The error reported by the operating system is:
Error number..... 10060
Error text....... "WSAETIMEDOUT: Connection timed out"
Check the host name and service that define the remote program. Are
these parameters correct? You can use the "ping" command to check
whether the specified host is reachable. If the remote program is an
application server, check whether it is running and whether the local
gateway of this server is listening for the specified service. If the
service is sapgw<nn>, the remote server must run with SAPSYSTEM number
<nn>.
Trigger Location of Runtime Error
Program CL_RPM_FES_BUFFER_MANAGEMENT==CP
Include CL_RPM_FES_BUFFER_MANAGEMENT==CM00J
Row 2
Module type (METHOD)
Module Name CHANGES_BY_ORG
Source Code Extract
Line SourceCde
1 METHOD changes_by_org.
>>>>> CALL FUNCTION 'RPM_FES_RECALCULATE_BY_ORG' STARTING NEW TASK 'RPM_FES_RECALCULATE_BY_ORG'
3 EXPORTING
4 old_image = old_image
5 new_image = new_image
6 plog_tab = plog_tab
7 tb_plog_tab = tb_plog_tab
8 * IMPORTING
9 * ET_MSG =
10 * EV_RC =
11 .
12
13 ENDMETHOD.
Active Calls/Events
No. Ty. Program Include Line
Name
13 METHOD CL_RPM_FES_BUFFER_MANAGEMENT==CP CL_RPM_FES_BUFFER_MANAGEMENT==CM00J 2
CL_RPM_FES_BUFFER_MANAGEMENT=>CHANGES_BY_ORG
12 METHOD CL_IM_RPM_FES_ORG_CHANGES=====CP CL_IM_RPM_FES_ORG_CHANGES=====CM004 4
CL_IM_RPM_FES_ORG_CHANGES=>IF_EX_HRBAS00INFTY~IN_UPDATE
11 METHOD CL_EX_HRBAS00INFTY============CP CL_EX_HRBAS00INFTY============CM004 35
CL_EX_HRBAS00INFTY=>IF_EX_HRBAS00INFTY~IN_UPDATE
10 FORM SAPLRHAP LRHAPF1R 110
UPDATE_DATABASE
9 FUNCTION SAPLRHAP LRHAPU08 19
RH_BASE_UPDATE_DB_DIALOG
8 FORM SAPLRHAP LRHAPF30 248
UPDATE_PLOG
7 FUNCTION SAPLRHAP LRHAPU40 31
RH_UPDATE_DATABASE
6 FORM SAPLBUBA_4 LBUBA_4F31 14
HR_DATA_SAVE
5 FORM SAPMSSY0 SAPMSSY0 504
%_PROCESS_P_O_C
4 FORM SAPMSSY0 SAPMSSY0 249
%_COMMIT
3 FORM SAPMF02D MF02DFS0 511
SCHLUSS_BEARBEITUNG
2 FORM
SAPMF02D
MF02DFO0
2335
OKCODE_BEARBEITEN
1 MODULE (PAI) SAPMF02D
MF02DI00
5632
OKCODE_BEARBEITEN
Regards,
BV PATILHi,
It would make more sense to speak to a technical resource who is familiar with your system. Based on the error, it looks like you have connection issues in your landscape - I'm assuming you have CRM & ERP systems communicating and it looks like there is a problem with their connectivity. Best get some basis resource to help you out.
cheers,
G. -
How to update business partner in SRM through FM or using ABAP
Hi expert,
My requirement is to update the requester field in the Shopping Cart with another requester as well as some other CUF field. Through BBP_PD_SC_UPDATE i am able to update the CUF item fields but i am unable to update the business partner.
please help, its urgently...
regards,
RahulHi Sankar,
1)You can use the program BSP_UPDATE_MIMEREPOS to upload the photos in the mime repository.
2)Use the following code to get the content from your mime and set the content to your interactive UI element as Xstring format.
data:
mime_repository type ref to if_mr_api,
content type xstring,
url type string value '/SAP/BC/BSP/SAP/myBSPapplication/rajkumar.jpg' .
mime_repository = cl_mime_repository_api=>get_api( ).
call method mime_repository->get
exporting
i_url = url
importing
e_content = content.
wd_context->set_attribute( name = 'DATAS' value = content ).
Thanks,
Rajkumar.S -
Business Partner error in Nakisa 3.0 Succession Planning
Quick question for the experts out there...
ECC 6.0, EHP 4, Nakisa 3.0...
In the Succession Planning module, when we click on all employees we see several pages of blank employees. When we click on one, we get an error message like this:
An error occurred: Object CP50003101 attribute CENTRAL_DATA | Error reading the data for the business partner
We've run HRALXSYNC - and otherwise we get good data about org units, positions, jobs, etc. But on employees we have this trouble.
Any ideas or suggestions?
Thanks much.
David WattsHi David,
When running HRALXSYNC did you repair objects that had missing data? If not, this could be the cause of your problem.
Regarding SAP notes, you should do a search on Service Marketplace under component PA-TM to see if you can find something that fixes the issue (should repair not fix the problem). However, the only SAP note I could find that may relate to this error was 1386433 (Undesirable PA framework initialization).
Best regards,
Luke
Maybe you are looking for
-
How to Suppress a warning message in Reports
Hi All, I am getting REP-32751: Warning: Some text segments are missing warning message when ever i open a report and also while run the report in the browser. I am not able to find the missing text segments. Is there any way to suppress this warning
-
Unable to view uploaded files in Tomcat till server is refreshed
Hi All, I am building an application wherein the user would have an option to upload files (can be documents or images) and once the files are uploaded the user should be able to download it. I am using Apache Tomcat 6.0 and JDK1.6. Every thing seems
-
Interface IFGOSASERV not available
hi to all, I am trying to use concept called Generic Object Services. I used tcode SWO1 . we need to create interface IFGOSASERV in swo1, this interface is not available. is there any option for that. I searched lot in sdn , but solution i
-
Copying tunes from my iPod to my computer.
I recently built a new computer, and therefore the songs that are on my iPod are not on my computer. Is there a way to copy songs from my iPod (not the library!) to a folder on my computer? Thanks. Windows XP Windows XP
-
Login status Error after install of new security update on 3-11-15
I am having this issue only after I installed the latest Security update. Now I am unable to install the iMovie update, or log into the app store.