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.

Similar Messages

  • 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

  • How to create business partner temblet

    Dear friends,
            how to create business partner temblet .
      please send the following mail address
       [email protected]
                      Thangs in advance
    Regards,
    S.Siva

    hi
    Refer to the links below might get u some info
    General Business Partner-initial screen
    http://help.sap.com/erp2005_ehp_02/helpdata/en/39/0b77a9df3011d189fc0000e829fbbd/frameset.htm
    Business partner as Template
    http://help.sap.com/erp2005_ehp_02/helpdata/en/2f/3a2a09969611d2ac750000e829fbfe/frameset.htm
    Business Partner
    http://help.sap.com/erp2005_ehp_02/helpdata/en/43/a0dfe510d825e5e10000000a1553f7/frameset.htm
    Creating or Changing Master data Template
    http://help.sap.com/erp2005_ehp_02/helpdata/en/c7/adcef39296f94e8ef7077ce160200e/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/57/92f63aad7e3014e10000000a11402f/content.htm
    http://b1up.net/index.php?id=modules
    Reward if USeful
    Thanx & Regards.
    Naren..

  • How to Create Business Partner with  fix number in t-code :BP

    Dear SIr,
    Normally I will set number range for auto  to create Business Partner. In case , If we would like to crea How to Create Business Partner with  fix number in t-code :BP , howe to do?
    Please kindly advise.
    THnak you and best regards,
    Vimol

    Dear Shobhit,
    How to put the thread as you mentioned.
    Best regards,

  • How to create business partner in solman

    How to create business partner in solman?...

    Hi,
    Check pages 8 - 11 in this document.
    https://websmp209.sap-ag.de/~sapidb/011000358700001197002005E/Addtional_Information.pdf
    This would solve your problem.
    feel free to revert back.
    --Ragu

  • How to create Inbound Idoc from XML file-Need help urgently

    Hi,
    can any one tell how to create inbound Idoc from XML file.
    we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml'  we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
    Please let me know the process to trigger inbound Idoc with out using  XI and any other components.
    Thanks in advance
    Dora Reddy

    Hi .. Did either of you get a result on this?
    My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
    I see lots of mention of using a Function Module.
    Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
    Or is there something tht can be done with Standard SAP?
    Thanks
    Lee

  • How to create Billing Plan in sales order using Function module /BAPI

    hi,
    How to create Billing Plan in sales order using Function module /BAPI
    i hv check few FM such
    BILLING_SCHEDULE_READ
    BILLING_SCHEDULE_GET_NUMBER
    BILLING_SCHEDULE_SAVE
    But unable to create billing plan for a sales order.....any other method to create???

    Hi,
    Use this link.
    Create sales order with billing plan via LSMW and BAPI BUS2032
    BAPI or Function to update Billing Plan in Sales Order Items
    Hope this will help you.
    Regards,
    Vijay

  • How to create JSF application from xsd files?

    Hi,
    We have many xsd files describing xml's which we are supposed to send to web services. Application which we are creating should allow user to fill xml documents with data and then we should send those xml files to some web service. We want to automatize as much as possible the process of application creation to avoid possible errors and to minimize our efforts (there are plenty of quite complex xsd files).
    Our first approach was: we used Oracle JSXB to generate java classes basing on xsd files (using JDeveloper 10.1.3.2.0.4066). Then we tried to generate DataControls, but this action fails with following error:
    Window title: Error in init bean
    Message: Could not complete initbean because it would result in an invalid document
    Details: oracle.bali.xml.model.XmlInvalidOnCommitException: SEVERE: Wartość atrybutu Name nie jest typu ID (Value of Name attribute is not of ID type)
    Wartość musi być następującego typu: (Value must be of following type)
    Nazwa typu: ID (Type name)
    Typ pierwotny: string (Primitive type)
    Z następującymi więzami: (With following constraints)
    zgodne z wzorcem: [\i-[:]][\c-[:]]* (Compliant with template)
    [ node = Name ]
    <JavaBean version="10.1.3.40.66" id="XSLStylesheet" BeanClass="oracle.xml.xslt.XSLStylesheet" Package="oracle.xml.xslt" isJavaBased="true">
    <Attribute Name="classMethodParams" IsUpdateable="0" Type="java.util.Hashtable" />
    We tried Sun implementation fo JAXB - it generated different java classes (with annotation mechanism). Creation of DataControls using those classes was successful. Then we created simple JSF page and tried to put those DataControls on it in order to let the user fill it with data. The thing is that those controls are read only as there is no row created in those DC. We can't create any row in those DC as there are only 'commit' and 'rollback' operations. When we try to call 'CreateInsert' operation on child elements of those DC we get error in JDeveloper log window:
    2007-05-29 10:08:46 oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNING: JBO-29000: DataControl:createRowData
    2007-05-29 10:08:46 oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNING: DataControl:createRowData
    new row is not created and controls are still read-only.
    The question is:
    1. is there another, more efficient way to create JSF application from xsd files?
    2. if this is the best way to do it, what do we do wrong?
    Leszek

    To anyone who might find it useful: our solution to mentioned problem.
    Few tips how to solve described problem:
    1. Do not use JAXB (we checked Oracle and Sun)
    2. Use castor http://www.castor.org/
    a) for each xsd generate java files in separated package
    b) use java 1.5 to let castor generate lists
    c) use mapping of xml namespaces to java packages to have only 1 implementation of each xsd
    3. Create facades - java files for you root-level java objects
    4. Right click those facades and choose 'Create DataControl' in jdev
    5. Now you may drag and drop you DataControls and use them in your JSF (or UIX) application
    I hope it will help someone :)
    Leszek

  • How to create Business Partner in CFM

    Hello,
    I want to Know which TCode should be use while creating Business Partner in CFM Module
    Regards
    Reshma

    Dear Reshma,
    Please, use the transaction "BP" in CFM module to create a business partner.
    Regards,
    Paulo

  • How to create Business Partner in CRM 2007

    Hi gurus!! how are you? I´m a rooky to sap crm and I would like your help and guidance to know how can I create a Business Partners and Roles.
    Whatever detailed help or documentation you may give me will be rewarded =)
    Thanks a lot in advanced!!!
    Lorena.

    Hello!
    In the WebUI there are different Business Partner Types (Person, Organization, Group).
    From user perspective you can differentiate between:
    - Corporate Account (Organization)
    - Individual Account (Person)
    - Group Account (Group)
    - Employee (Person)
    - Contact Person (Relationship) (Person)
    All these Business Partner have an own Overview-Page. Usually you can create the Business Partner starting from the related Search-Result-List (by default the new-button is not available for Employees as a Sales Rep usually doesnu2019t create new Employees u2026).
    You can assign Business Partner Roles to these Business Partners (there is an own Assignment-Block within every Overview-Page of a Business Partner). Some roles will also get assigned automatically, if you create this Business Partner.
    However it is possible to assign multiple roles to the Business Partner. Itu2019s also possible to have different Views of one Business Partner. E. g. an Individual Account can also be a Contact Person for another Account. But here it is not the Role determining the View it is the Contact Person Relationship doing this.
    The Role itself also has an impact on the UI of the Business Partner as dependent on the Roles some Assignment-Blocks are displayed or not.
    I hope this was not confusing u2026
    Best regards
    Arno

  • How to create business partner in a specific role

    Hi experts,
    We are implementing CRM 4.0 Business package in EP 7.0.
    When we checked the business partner creation screen, we couldnt find an option to create the business partner in a specific role (eg, prospect, sold to party, ship to party etc).
    When we create a business partner, it is automatically added to the "business partner - general" role.
    Can anyone suggest us how to enable the option of adding to different roles from the BP creation screen itself?
    Thanks alot in advance
    Shobin

    Hi Shobin
    For Creating a BP with only one specific role.
    You can enhance the BP by creating a transaction code that allows you to create BP only with specific roles.
    Tx code: to create a transaction code is SE93
    To assign the Tx code to a specific role related activity: BUSF
    Hope this would help.
    Regards,
    Rekha Dadwal
    <b>You gain a point for every point that you reward. So reward helpful answers generously</b>

  • How to create ICon/Cursor from pdf files

         I was able to create ICon from jpg file without problem but I couldn't create ICon from pdf files.
    Here my code:
    var myDoc = app.newDoc();
    myDoc.importIcon("myIcon"); // it worked when I chose a jpeg image, but it didn't
    //when chose a pdf file.
    icon = myDoc.getIcon("myIcon");
    oIcon = util.iconStreamFromIcon(icon);  
    myDoc.closeDoc(true);
    app.addToolButton({
                   cName: "myButtoon",
                   oIcon: oIcon,
                   cExec: "app.alert('Someone pressed me!')",
                   cTooltext: "Push Me!",
                   cEnable: true,     
                   nPos: 4
       //app.removeToolButton("myButtoon");
    My goal is to create buttons which have icons from a pdf file (stamp) and when user click on these buttons, the cursors become the icon . And then, when user click on the document, the iCon will be showed in the document. The point is: is there anyway to create icons/cursors/stamps from one pdf file. Because the stamp is changeable, when user changes the color/shape of the pdf file, the icons/cursors/stamps will automatically change
    What kind of pdf format do I have to use?
    I used the sample "SignHere.pdf" in stamps folder of Acrobat but it didn't work.
    Thanks.

    The SDK has all the information - but certainly there are only samples for those common actions that users have been doing for years.  Most developers don't recreate stuff already present in the application - such as the Stamp plugin - so we don't have samples of such things.
    But all the pieces you need are present in the SDK - it's just necessary obvious.  You will need to learn about the details of how the plugin APIs work to create the toolbars and toolbuttons, and then how to handle cursors.  You will then need to learn about PDF details in order to be able to take an existing PDF, potentially modify it (eg. Change the color(s)) and then place it onto another PDF.  
    The methods you listed are from JavaScript - there are alternative methods for plugins, such as the AVConversion APIs.

  • How to create business partner with Role : "Loyalty Partner"

    Hello,
    During the creation of Loyalty Program, we can add loyalty partners which are Business Partners created with Role --> "Loyalty Partner". In standard package I could not see the the Role "Loyalty Partner"
    For this role to be available during the creation of Business Partner, does any business functionality needs to be activated or should we create new role "Loyalty Partner" through BDT
    Thanks
    Ram

    Hi Vishal
    Thanks for your explanation but I think it has not answered my question fully.
    Yes, I do agree that only Loyalty Partners can be added in a Loyalty Program and those are Business Partners.
    If you read through my question, I have asked how the system differentiates between Business Partners for example a sold to party and Loyalty Partner.  In other words, which part of data in the Business Partner is the one which actually differentiates a Loyal Partner with other Business Partners. I think, just creating a Business Partner with Role --> Loyaly Partner will not serve our purpose.
    The BP view is the same and the BP Role category does not contain my customization to differentiate this
    Hope you understand what I am trying to say. Please let me know if you have any questions !!
    Regards
    Ram

  • How to create Blu-Ray from previous files?

    Back in November of 2010 thefifthlion posted a similar question, but the thread was archived so I could not post a follow up in that same thread.
    My question is similar:  how to create a Blu-Ray from previous Compressor files.  His answer was to create a disc image by selecting "Hard Drive" from the Output Device pop up menu.  Then use Toast or Disc Utility to burn the copies.  Fine, but here's my revised question to that:
    Compressor just spent nearly 20 hours compressing a 2+ hour video with "Create Blu-Ray" selected for the When Job Completes.  Before it completed the Blu-Ray burner apparently fell asleep or went offline somehow because the computer wouldn't recognize the drive by the time Compressor was done.  So I had no choice but to selct "Cancel Burn" and stop the process, restart the computer, and get the Blu-Ray burner back online.
    You probably know where I'm going with this.  I now have two files on my desktop - the video and the audio file created of the project from Compressor.  BUT WHAT CAN I DO WITH THOSE FILES NOW?  Needless to say I don't want to go through the entire 20 hour process again - only to have the same thing happen with the burner drive.  As per the below paragraph (copied from thefifthlion's original post in November) is this the best way to burn Blu-Rays in Compressor?  Always create a disc image rather than burn right away... and then use a third party burner like Toast 10 or Disc Utility to burn the disc?  I can't believe Compressor doesn't have an option to open the project again and burn a Blu-Ray straight away.
    > Output Device pop-up menu: Use this pop-up menu to choose the device to format to. The pop-up menu displays a list of your system’s suitable output devices, including optical drives and the computer’s hard disk. Each device also includes the words Blu-ray or AVCHD to indicate which type of disc it creates. Choose Hard Drive to create a disk image (.img) file that you can burn to Blu-ray Disc media at a later time using the Disk Utility application (available in the Utilities folder). Other settings may change depending on the device you choose.
    Thanks very much for any feedback.
    Eric

    Follow up question:
    I went through the process again (approx 20 hours!! ) and this time made the video a disc image.  I don't have Toast (though I think it might be time to get it) but I keep reading that Disc Utility can burn a Blu Ray using that disc image.  So, I went through another multi hour process to burn that 20+ gig file onto a Blu Ray, but it appears that it didn't burn it as a playable disc, rather, more like it put the file on the disc as data files.  All the info is there, 20 some gigs, I can see all the files, but the disc doesn't play.
    Now I apologize if it's a silly question if it's known that you can't make a playable blu ray with Disc Utility, but I don't know either way, that's just what I've read and this is the first time I've tried it. 
    Soooooooo, if I always make a disc image, should I just get Toast and use that to make the blu ray?
    By the way, a brief update:  the whole reason this thread came up was because my Pioneer blur ray burner goes offline (sleep) after an hour or so and doesn't come back or wake up.  So with a long processing time in Compressor the drive goes offline and then can't burn the disc, so I lose that whole session.  Turns out that Pioneer (by their own admission) is not made to be fully compatible with Macs!!  In particular Mac Pros.  I took that drive out and replaced it with an LG.  Haven't tested it yet but I'm looking forward to it.
    Eric

  • 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

Maybe you are looking for

  • Data not displayed in Infoset

    Hi, I created Info set based on two Info cubes which contains data. I  used common Characteristic  based on condition. Activated with out errors. But when I check data on GOTO ->Data display It  displays  message like u201CThe data from the Info prov

  • I don't have PAL schema in my HANA Studio

    Hello all, I was studying and trying to solve some problems I'm having with Hana/Predictive Analysis. I was showing some error of insufficient privileges while trying to run some algorithms. So then I was whatching the following video: http://www.sap

  • Can't copy/paste in photoshop since yesterday !

    (mac pro 6.1 / 3,5 GHz 6-Core Intel Xeon E5 / 32Go / OS 10.10.2) It was working fine and since yesterday (nothing special have been changed on my machine)... WTF ? Please Help, it's so boring to use text edit or thunderbird to paste in photoshop text

  • 3 Finger Gesture Problem with 10.6.2 update

    Hello Everyone, I have just noticed tonight that my 3 finger gestures on my macbook pro have stopped working after i have installed 10.6.2. The side by side scrolling works, but the scroll from top to bottom of a page doesn't. The strange thing is, i

  • Deleting uninstalled apps

    My nokia 930 lumia, has a small bug, If I uninstall an app,and then go to store and check my apps by pressing the three little dots at bottom of screen, the deleted apps show, when you check the boxes next to them , there is no function to completely