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.

Similar Messages

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

    Hi,
    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.,
    Shiva

    Hi 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 PM

    Mass 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

  • Auto generation of Item Code And Business Partner

    Hello All,
    My client want to create Auto generation of Item Code And Business Partner with some prefix value.
    Thanks
    Deepak

    Hi Dipak Patel,
    i created BP code by BP Group use FMS . you can refer code.
    declare @temp as char(20)
    IF $[OCRD.GroupCode] =100
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =100) and (len(CardCode)=8))
    set @temp='C11'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 102
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =102) and (len(CardCode)=8))
    set @temp='C12'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 103
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =103) and (len(CardCode)=8))
    set @temp='C13'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 104
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =104) and (len(CardCode)=8))
    set @temp='C14'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 101
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =101) and (len(CardCode)=8))
    set @temp='V11'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 105
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =105) and (len(CardCode)=8))
    set @temp='V12'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 106
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =106) and (len(CardCode)=8))
    set @temp='V13'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 107
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =107) and (len(CardCode)=8))
    set @temp='V14'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 108
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =108) and (len(CardCode)=8))
    set @temp='V15'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 109
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =109) and (len(CardCode)=8))
    set @temp='V16'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 110
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =110) and (len(CardCode)=8))
    set @temp='V17'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    thanks
    H2

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

    You 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
    Bart

    Hi 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.
    Max

    Hi,
    First Use the getbykey to get the Business partnet then update.
    sample code is available with B1WS package
    Regards.

  • 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,
    Rahul

    Hi 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

  • 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,
    Pedro

    Hi 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 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

  • 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,
    Khairul

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

  • ISU_S_PARTNER_CHANGE - update business partner contact

    Hi There,
    Im trying to update a business partner's contact details.
    Currently I'm using ISU_S_PARTNER_CHANGE but it is not updating the details with the one being entered. and its still displaying the same old detail
    anyone if this is the correct function module to update contact detail or is there other function module to use. thanks.
    regards,
    r3venant

    Hi r3venant,
    Could you tell me in which transaction you are trying to update ?
    Generally, you have to call the Functions in sequence like ;
    1) ISU_O_PARTNER_OPEN
    2) ISU_O_PARTNER_ACTION <- here X_OKCODE will be 'SAVE'
    3) ISU_O_PARTNER_CLOSE
    Hope this helps.
    Regards
    Caglar

Maybe you are looking for

  • Spry Tabbed Panels overwritting Flash drop down menu in IE

    I am having an issue with Spry Tabbed Panels appearing above a Flash drop down menu in IE6 & IE7 but it works fine in Firefox. Would someone be able to educate me on what I can do to fix this problem. The page that is exhibiting this problem is http:

  • So i have a 32gb ipod classic and the usb port is never recognized??

    So my ipod is a 32 gb classic but i can't really use it because the usb port will not connect to my computer or anyone else's. the only reason why it's not completely useless is because i can still charge it using the firewire port but i can't restor

  • Provide - Endprovide with SD n MM modules

    Hi experts can any one tell me im learning ABAP-HR, in this im working with LDB, i have a doubt that can't we use Provide - Endprovide of LDB with SD and MM Modules .

  • Error in BDC session Insert.....

    Hi All, Guys iam running BDC pgm for MEK1 create condition records transaction and i get an error while executing through BDC_INSERT. Its an internal error with text "Error in BDC session Insert..".The text file iam using contains 26 line items for t

  • Just one question

    Has the iPod Touch matured into a good and workable traditional business PDA yet?