Create Business Partner from XMl String not a file

Hi,
Is it possible to create a BP from an XML string. 
I know about GetBusinessPartnerFromXml(string FileName, int index)
but I dont want to save the string in a file before creating a BP from it
Hope there's a method to do that

Marc,
This looks like it is a duplicate of this post, so I am closing this thread as it looks like you answered your own question!
Create Business Partner from XMl String not a file
Eddy

Similar Messages

  • Creating a Business Partner from XML

    I have a problem creating a Business Partner from an XML
    First I did get the XML from an existing one.  Deleted the DocEntry element but I always get this error :
    -5002 : Employee is not a Technician  [OCRD.DfTcnician] , '0'
    Even if I go to this element and put NOTHING, I get the error anyway
    What that means ?

    Yeah, I succeeded.  I had to get rid of dtfncien element completly and DocEntry element too and the bp was created
    Would have been so much useful to get an EMPTY xml representation of an object so we juste have to fill the needed properties to an empty one and create the object afterward.
    According to various threads, we have to GetAsXML() then, change whatever needs to be changed and then we create the object from this xml but there are a lot to get rid of sometimes in these objects

  • How to create Business partner from uploaded file by Function module?

    Hi Experts,
    I have uploaded Business partner data from a file to server now from individual records I have to create Business partner and have to update the records in the tables. Means from on record i have to create one business partner in sap system.
    I have uploaded the records in the system and stored in a internal table.Now my task is to create business partner and have to update tables.
    I need a function module which create BP by each records uploaded and update the respective tables of BP and exports business partner ID.
    Please respond soon Its a requirement form the client.
    Prem.

    HI,
       You can use the bapi 'BAPI_BUPA_CREATE_FROM_DATA' to create a business partner .
    call function 'BAPI_BUPA_CREATE_FROM_DATA'
              exporting
                businesspartnerextern              = g_bpartner-partn
                partnercategory                    = partnercategory
                partnergroup                       = partnegroup
                centraldata                        = centraldata
                centraldataperson                  = centraldataperson
                centraldataorganization            = centraldataorganization
    *       CENTRALDATAGROUP                   =
                addressdata                        = addressdata
    *       DUPLICATE_MESSAGE_TYPE             =
    *         IMPORTING
    *            BUSINESSPARTNER                    = G_BPARTNER-BUSINESSPARTNER
             tables
                telefondata                        = telefondata
                faxdata                            = faxdata
                e_maildata                         = e_maildata
                return                             = return
    *       ADDRESSDUPLICATES                  =
                addressnotes                       = addressnotes.

  • FLBPC1 - Create Business Partner from Vendor

    Hi Experts,
    Please suggest what could be the reason that i will be getting error message while FLBPC1 stating  "the vendor-1055123 is already assgined to business partner-1055123"
    Regards,
    Shankar

    Hi shankar,
    This might be happening as in dev or quality system initially when the system was configured they might have tested the creation of vendors from BP but it might not have created Vendor but BPs were created. so u see a gap between the BP and vendor. but in production when the BP were created all the config was in place and it created vendors as soon as u created a BP so the numbers are same.
    Same number range does not mean that the numbers of BP and Vendors have to be same. if by any reason the system skips the vendor creation u will have the different numbers for BP and vendors even with same number range.
    Same is true for vice versa case i.e. creating BP from Vendors.
    Regards,
    Deepak

  • Create Business Partner from foreing customer

    Hi all.
    I have a problem. When I create a customer by transaction XD01, if customer is Spanish (I'm in Spain),
    business partner is created automatically, I see this is right in transaction BP. But if I create a foreing customer, business partner isn't created, I mean, in transaction BP, the new customer doesn't exist.
    Could you help me?
    Thanks a lot.
    Marta.

    I am not sure, whether the issue is in R/3 or in CRM.  If the issue is there when you try to create an overseas customer via XD01, then you need to check the partner determination procedure configuration.  If the issue is there when you execute BP, then you need to check in CRM.  By the way, what is the message system was popping up and in which transaction code.
    G. Lakshmipathi

  • XML Parsing From A String (Not a File)

    Hi all,
    I've been looking throughout this forum and still can't find a total answer to my question. I was wondering if it is possible to do the following:
    I want to pass in a string of XML code to a java stored procedure; the XML string looking like the following (for example):
    <Table-Name="PersonalInfo">
    <row>
    <First-Name>Bob</First-Name>
    <Last-Name>Smith</Last-Name>
    <Age>55</Age>
    </row>
    </Table-Name>
    We don't want to be passing in an XML file; we want to pass in the actual string of XML code that would be in the file.
    Is it possible to put into the DOM format (like every example I've seen so far) by parsing an XML formatted string? If so, how would I go about doing that?
    Thanks in advance!
    Jadie

    <Table-Name="PersonalInfo">
    <row>
    <First-Name>Bob</First-Name>
    <Last-Name>Smith</Last-Name>
    <Age>55</Age>
    </row>
    </Table-Name>This is exactly what JAXB is for! :)
    With JAXB unmarshalling against an XSD file can be applied to any InputStream, etc.
    Take a look at JAXB, and you'll find it'll be just what you're looking for. :)
    In fact, here's a short segment of the XSD you'd write for the above:
    <xsd:complexType name="PersonalInfo">
    <xsd:sequence>
    <xsd:element name="row" type="PersonalInfoRow" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="PersonalInfoRow">
    <xsd:sequence>
    <xsd:element name="First-Name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
    <xsd:element name="Last-Name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
    <xsd:element name="Age" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    <xsd:sequence>
    </xsd:complexType>
    Also, perhaps redesign your XML a little, since each table will be different, simply use its name as the tags...i.e. <PersonalInfo></PersonalInfo> and change the <row> to <PersonalInfo> since <row> is pretty generic and will probably occur many times in other places.
    Hope this helps you along your way. :)
    -G

  • Creation of Business partner from customer

    Dear Friends,
    I am trying to create business partner from customer thorugh T-code FLBPD1 but unable to do so. Also. whenever i create a customer, a corresponding business partner is automatically created which is not desirable. Rather system should allow me to create business partners from customer separately when required. Kindly suggest any solution for the same.
    Regards

    Hi,
    please have a look at this threat
    [Auto creation of customer/vendor for BP;
    or search the forum for other threats that are handling this topic.
    Regards, Franz

  • Problem in creating business partner

    Hi,
    When we create business partner from customer in RE Classic in Create lease out(T-code FOV1) , system is not copying the address of customer to business partner.
    Thanks in Advance

    Hi,
    Check note:
    Note 681760 - Business partner: No copy of object address
    Regards,
    DAS

  • Problem when creating business partner

    Dear Expert,
    I have a problem when creating business partner from T-code BP
    I can't input vendor number in company code header data
    The vendor account field is set to required entry.
    When create business partner, I make some entry like :
    Business partner category : organization
    BP Role                           : Landlord with vendor account
    Grouping                          : external number assignment
    Company Code                 : 1000
    The problem is everytime i try to input vendor number, it always failed.
    The Vendor account field always display ' <external> '
    It's strange.. the vendor field it's seem locked by grouping
    What should I do?? 
    ___Company Code Header Data___
    Company Code  :   1000
    Customer          :   <external>
    Vendor              :   <external>
    I need your advise.. thank you very much
    Thanks,
    tweety

    Hi,
    I would like to suggest you some SAP notes that contain useful information aobut customer-vender intergration of ERP2005.
    956054  BP_CVI Customer-vendor integration as of ERP2005 (ECC600)
    This notes describes the changes (new development) of CVI AND the necessary customizing settings.
    In short, CVI is now bidirectional.
    1. BP -> Customer/Vendor: it depends on the roletype configuration, if a customer/vender is created.
    2. Customer/Vendor -> BP: it depends on the account group if a BP is created.
    Data is changed then synchronoously.
    Further notes that might be of interest.
    851445 BP_CVI: Details about reports to be executed for ERP 2005
    727205 Conversion of industry Customizing in BUPXPRA12
    1077616 Business Partner Upgrade FAQ
    If you have further questions please let me know.
    Regards, Franz

  • Setting required to create Business partner record in SAP GTS for the customer who transferred from the SAP ECC system

    Dear Experts,
    Can you please suggest me list of activities require to automatically  create Business partner record in SAP GTS for the customer who transferred from the SAP ECC system .
    i.e If I create the customer master record and transfer the same CMR to SAP GTS , what are the setting requires to maintain in SAP GTS sytem to automatically create the Business partner .
    Ram

    Hi Raghu,
    Below are the main settings required to enable you to transfer Customer Master Data to SAP GTS. Please note that their is a difference between, Customer Master Record and Customer Master Data in terms of data and for GTS, we transfer Customer Master Data. Hence, below are the settings required:-
    In SAP ECC system:-
    Activate the change pointers for Customer Master Data apart from enabling basic connection settings.
    Schedule a job to run at regular intervals to transfer all the customer master data for the available change pointers to the SAP GTS system
      2.  In SAP GTS system:-
    Maintain the Mapping for ECC Customers to SAP GTS Business Partners in the General settings area of the SPRO in SAP GTS system
    Ensure that the Number range is maintained for those GTS  Business Partners.
    Also, some time you may be required to maintain the organisational structure to ensure full working.
    I hope this will be helpful to you.
    Regards,
    Aman

  • Possible to change the business Partner from a created Contract in ICWEB??

    Hello experts,
    I would like to know if it is posible to change the BP from a created contract in ICWEB.
    I check the option "CONTRACT MANAGMENT" and there is an option to change the premise with the button "Move To Other Premise" but I don't find an option to change the Business Partner from a created contract.
    Can you help me, please??
    Thank in advance.
    Edited by: Javier Garcia on Aug 19, 2008 7:01 PM

    Hello S Reddy and a lot of thanks for your help.
    But I don't know where I can select this option, there isn't the  where I can associate the option in customizing or what transaction. Could you explain me with more details, please ??
    Thanks in advance.
    Regards.

  • Can you create an object from a string

    I have been working on creating a dynamic form, creating the
    form items from an xml file. I am getting very close to conquering
    this task. I will share it when it's complete.
    However, I am stuck at the moment trying to create an object
    from a string. For example, if the xml item is an HBox I want to
    create an HBox. Like this: parentObject = new arrayOfFormItems[
    index ]..type ()
    This isn't working. First, is this possible using some syntax
    I am unaware of in Flex? I don't want to use a large if or case
    statement if possible.
    Thanks in advance for your help!

    Thank you very much. Indeed that did solve the one problem. I
    missed the casting as a Display Object. That is awesome!
    I do still however, have to instantiate one of every item I
    want to dynamically create or I get the following error when I try
    to create a dynamic object that I have not instantiated before.
    ReferenceError: Error #1065: Variable HBox is not defined.
    at global/flash.utils::getDefinitionByName()
    at MyForm/buildForm()
    at DynamicForm/::onComplete()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()
    I read that you have no choice but to instantiate one of each
    type to force the linker to link the code for that class into the
    .swf. Unless you know another way to force it.
    This is what I have in my Application mxml to get it to work:
    <mx:HBox>
    <mx:Text visible="false"/>
    <mx:TextArea visible="false"/>
    <mx:TextInput visible="false"/>
    <mx:DateField visible="false"/>
    </mx:HBox>
    And those are the types I'm using to test with. . . I will
    have to add all the others I want to use as well . . .

  • Error in creating Business Partner using FLBPD1

    Dear All,
    While creating the Business partner using tcode FLBPD1, I get the following error.
    Also I need help to understand how to start Post Processing Office.
    No business partner could be created for customer CFM0031
    Message no. CVIC_UI018
    Diagnosis
    No business partner could be created from the customer selected.
    System Response
    An error occurred when creating a business partner from the customer selected. This error prevents data from being transferred and saved. This could be due to the following:
    Fields have been left blank in the customer that are set as required entry fields for the business partner.
    Settings for assigning Customizing values for the customer to the business partner are incorrect.
    Procedure
    Start the Post Processing Office and check the error message. Make the necessary corrections.
    Regards
    Arpita

    Hello Arpita,
    I faced exactly the same issue and we had to check the entire customer/vendor master data synchronization configurations. We found that many of them were missing when we upgraded to ECC 6.0.
    I would suggest you go through the following SAP notes and check whether all configs are in place or not. Then try again.
    Note 954816, 956054 and then also 1077616.
    Hope the first two notes will be able to help you cope with the issue.
    Regards,
    Suvarghya

  • Error in creating business partner through transaction FPP1 in ECC6.0

    HI,
    We have upgraded our system from 4.7E to ECC6.0.Now when we are trying to create business partner through transaction FPP1 we are getting error as " Exception condition "NO_ACTIVE_TAB" raised."
    Can any one help us in rectifying the error and tell us the possible causes of error.. .??
    Regards,
    Shruti Singh

    Hello,
    Notes  696189 & 618123 may be of some help to you....:)
    Regards
    Olivia

  • Downloading business Partner from R/3 to CRM

    Hi All,
    Can any one pls help me how to transfer business partner from R/3 to CRM system? If it can be done through ALE pls explain me the detailed step how to do it like wht message type should be used etc. If there are some other way pls let me know.
    Thanks
    Sathish

    Dear Satish
    download of BP will be done from CRM to R/3 will be done and from R/3 to  CRM it will be upload
    and this process is done through middleware with adaptors and plug ins which build relation b/w R/3 and CRM servers
    and before downloading we have to do fielsmaping i.e. which fields are mandatory, optional, that too b/w account group og R/3 and BP role of 
    CRM  this is the process
    it requires basic settings and there r two types of downloads they are initial and delta downloads  initial is one time activity and delta is ongoing activity where ever u create customer in R/3 it should replicate in CRM and the same case with CRM to R/3
    still not clear pls send me an mail on [email protected]
    I can share more derails with u
    if useful pls award points

Maybe you are looking for

  • Features comparison of SharePoint Foundation 2010 & Office 365

    Hi, I there any documentation/chart or table comparison of features between Office 365 and SharePoint Foundation 2010? I can only search comparison between office 365 and SP Foundation 2013. Thanks!

  • How do i delete an itunes account that i am no longer using?

    i have an account that i never use and i have already deleted that email account so i need to know how to delete the account that i am no longer using

  • X200 hangs during restart or shut down when connected to ultrabase

    My X200 hangs during a Windows restart or shut down when I'm connected to my ultrabase.  The laptop appears to go through most of the processes to restart/shut down but eventually hangs at a blue screen with unmoveable cursor (note, not a Windows BSO

  • Error in Data Migration tool when issuing a ReadAll Role

    Hello, I am able to use the DMT for Read AccessProfile, Read PickList, etc. Unfortunatelly when trying a ReadAll Role or ReadAll PageLayout I do get an error. At the console, just after the command msg: An error Occurred while connecting to Oracle CR

  • Assess into COPA

    Hi Friends, Could you enlighten me, how is cost center allocation to CO-PA done? Does it mean that Sender is Cost center and Receiver should set to P&L Line? I am trying to understand what happens when "cost center is assessed into CO-PA". Please adv