Writing an Upload Program for Business Partner, its address and Attributes

Hi SAP Gurus,
I am in process of writing a tech design and code for an upload program which requires uploading a list of million Business Partners, its address (primarily Zip Code) and a list of Marketing Attributes of those Business Partners. The data will come in a .csv extract which will contain the BP Name, Zip Code, Marketing Attributes (X, Y, Z, etc) and then through this upload we will be creating BPs in the system and then updating its address and then Marketing Attributes.
The approach that I have chosen is -
1) Select the file from the presentation server using the class/method CL_GUI_FRONTEND_SERVICES /GUI_UPLOAD FM
2) Call the FM TEXT_CONVERT_XLS_TO_SAP to transfer the content of the MS Excel file to an internal table for further processing.
3) Call the FM - BAPI_BUPA_CREATE_FROM_DATA and pass the necessary parameters to upload/create the Business Partner and then call the FM BAPI_TRANSACTION_COMMIT to ensure the upload is complete.
4) Once the upload of BP is complete, then upload the address (Zip Code) data through the FM - BAPI_BUPA_ADDRESS_ADD and then call the FM BAPI_TRANSACTION_COMMIT to ensure the address upload is complete.
5) Post the upload of BP and address data, call the FM CRM_MKTBP_PROCESS_BP_LIST to upload the Marketing Attributes of the Business Partners to the relevant tables and then again call the BAPI_TRANSACTION_COMMIT.
I just wanted to check if the above steps are correct or am I missing something important there??
Would appreciate expert opinion/guidance on this.
There is a time constraint on completing this; hence would appreciate a quick and reliable response to it.
BR,
Ravi

Hi Clemens,
Thanks for your input.
So, just wanted to re-iterate the points you highlighted -
1) Instead of presentation server, you want the file to be read from application server and schedule this program as a background job? Am I following you correctly?
2) Link the address upload along with the BP upload only (at the same time instead of separately) to ease of double processing through one FM - BAPI_BUPA_CREATE_FROM_DATA
3) Calling BAPI_TRANSACTION_COMMIT every 1000 BPs or so for faster processing.
However, you did not mention anything about attribute upload. Is that approach fine? or do I need to include anything more there?
Please confirm and then I can close this question.
BR,
Ravi

Similar Messages

  • Change history of User for Business Partner Number attaching and removing

    Hi Experts
    Is there any t-code in SRM which will show change history of User for Business Partner Number attaching and removing.
    Thanks--
    Guru Prasad Dwivedi

    Serene,
    I am not too sure if anyone can DELETE a Payment Term linked to a BP. The system would not allow this.  If at all a Payment term was deleted, I don't think it can be traced.
    It is therefore very important to use Proper user authorization so that only people authorized to do certain things are doing it and not everyone.
    Suda

  • Archive Link Authorization problem for Business Partner.

    Hi Experts,
    Currently we are attaching documents to respective objects through Tr. OAWD & these documents are available in service for object as attachment, until this it is working fine.
    But we are facing problem of authorization for archive link of ISU- Business Partner. Letu2019s say we had two users USER-A & USER-B responsible to upload documents of Business partners started with 1 & 2 respectively.
    We needed authorization control for USER A&B so that,
    USER-A should upload documents for Business Partner 1001 to 1999
    & USER-B should upload documents for Business Partner 2001 to 2999
    we need to know can we restrict USER A&B so that they can not upload documents for Business Partner for which they are not responsible. we allready checked the roles "SAP_BC_SRV_ARL_*  " but not found useful to restrict USER A&B.
    Thanks in advance....

    Hi Sam,
    as this sounds like you search for suitable authorization objects I think that the authorization trace in transaction ST01 could be useful for you. For further information please see the following link: http://wiki.sdn.sap.com/wiki/display/PLM/AuthorizationTraceintransactionST01
    Best regards,
    Christoph

  • Creation of Interaction object programatically for Business partner

    Hello,
    How to create Interaction object ( BUS20004  )programatically for  Business partner ? If anybody worked on it , plz let me know how we can create it for BP.
    BOR object for InteractionObject is: BUS20004 Interaction Object
    Regards
    Sandeep

    Dear Sandeep,
    Please use FMs CRM_ORDER_MAINTAIN and CRM_ORDER_SAVE to create Interaction Record using the program.
    Thanks
    Vishal

  • XI Content for Business Partner

    hi,
    can anyone suggest what is the XI Content for Business Partner in CRM.  i just need the exact name so that i can download it from the service marketplace.
    thanks.
    krishnan

    Hi,
    We have uploaded the XI Content for CRM Business Partner into the Repository.  We are able to find the Message Type --> ABABusiness Partner. 
    How do I proceed further.  Shall I copy this message type to my namespace and create Message Interfaces and proceed with mapping the source and target.
    In that case, how will the function module BUPA_OUTBOUND_MAIN identify the message interface created in XI.  I understand that there is some proxy code within the function module BUPA_OUTBOUND_MAIN.  How this proxy calls the message interface which I have created in XI.
    Krishnan

  • How to import balance for business partner by DTW

    Hi all .
    Now , I want to import balance for Business partner by Data trasfer workbench , but I don't know use template ,
    Please help .

    Hi Tranba,
    I would advise using the Service AR Invoice/AP Invoices to import balances of the Customers & Vendors.
    By doing this you will be able to accept/make payments against these balances which you will not be able to do if you import the balances using Journal Entries.
    To import debit (positive) balances of your customer, use the oInvoices template in DTW. Otherwise for credit balances (balances where you owe money to customer) use the oCreditNote template.
    Simlarly for Vendors, use the oPurchaseInvoice template (credit balances) & oPurchaseCreditNote template (debit balance)
    Hope this information will help you in uploading the balances as per the requirements.
    All the best!
    Regards,
    Gyanesh

  • Not all fields for Business partner are exported

    Hello,
    I am exporting Business partner data from CRM to another system, through XIF. I get on target system XML file with Business partner data. But I have only standart fields. I can't get fields, which was created my company for own use.
    For example, for Business partner I have Business Agreement, but after export to XML, I have no Business agreement data in another system. But I have standart data, for example, Business partner Name, ID, ets.
    Anybody know what I can do to export all the fields for Business partner? Some transaction or somthing else? Where can I customize output XML with Business partner data?
    Best regarda,
    Alexander.

    Hi,
    You have the right observation. There is no mandatory fields for BP. It means you can update any single field against CardCode. CardCode is the only mandatory field which is the only primary key must be unique.
    Thanks,
    Gordon

  • Number ranges for Business Partner

    Hello experts,
    Can you please guide how to define different number ranges for differenet different parner functions such Bidder and Employee.
    Presently when I create a new employee for a Business partner who has newly registered with SRM, they both are getting same range of BP number, which makes the user list very long to manage/search while creating BID/Auction invitation.
    Please guide me. Thanks in advance
    Vijay

    Hello,
    find below the settings of table T77S0 in our system. We use grouping Z4 for org units. Be aware of the fact that number range and grouping have to have the same ID in this case.
    Regards
    Wolfgang
    GRPID SEMID GSVAL      ETEXT
    HRALX HRAC  X          Activate HR Integration
    HRALX MERID X          Enter Integration Error in IDOC
    HRALX MSGRE 0          Recipient of Error Message When Creating BP
    HRALX OADBP            Business Partner of Standard Address
    HRALX OADRE            Address Necessary for Business Partner?
    HRALX OBPON ON         Integration O-BP Activated
    HRALX OBWIG X          Ignore Business Partner Warnings
    HRALX ONUMB 2          Business Partner Number Assignment (Org. Unit)
    HRALX OPROL BUP004
    HRALX OSUBG Z4         Business Partner Subgroup (Organizational Unit)
    HRALX PALEO            Log: Organizational Units in ALE
    HRALX PALEP            Log: Employees in ALE
    HRALX PBPHR OFF        Employees Are Replicated from HR System
    HRALX PBPON ON
    HRALX PCATS            Integration P-BP for CATS Activated
    HRALX PINAC            Activate ALE Distribution of Inactive Employees
    HRALX PLEVE 3          Log: Detail Level of Error Messages (1 - 5)
    HRALX PNUMB 3          Business Partner Number Assignment (Employee)
    HRALX PPROL BUP003
    HRALX PQUAL            Import Qualifications
    HRALX PRTON            Log Active
    HRALX PSUBG            Business Partner Subgroup (Employees)
    HRALX PSYNO            Log: Organizational Units in Dialog
    HRALX PSYNP            Log: Employees in Dialog
    HRALX USRAC X          Create Relationship to User

  • Search help for business partner ID in segmentation applet

    Hello,
    In CRM 2007 I'm using the segmentation toll. When creating filters for Business Partner ID criterium I'm using a search help functionality to find the desired records. However search help for business partners used in this area is very different from the search help used in any other parts of WEB UI (it is restricted to only few fields, that are not enough for our requirements).
    Segmentation applet is written in Java but the search help looks like normal WEB UI screen. I wonder if any of you could help me with replacing this serach help called by segmentation applet (java application) with a standard search help for business partners (BP_HEAD_SEARCH)?
    Kind reagrds
    Marek

    Hello there,
    I think the requirement/question is not very clear in your post.
    However, the segment Java applet calls a CRM class which has related code and methods.
    Class:  CL_CRM_MKTTG_SEGAP_COM
    Package: CRM_MKTTG_SEG_APPLET.
    Please explain the problem in detail.
    Regards,
    Vinamra.

  • Grouping of number range for Business Partner

    Hi Team,
    Where do we maintain grouping of number range for Business Partner and assignment of number range to group?
    Thanks,
    Sanjay

    Hi Sanjay
    Go to SPRO > Cross Application Components > SAP bussiness partner > Bussiness Partner > Basic Settings > Number Ranges and Groupings.
    Thanks
    pravin

  • Need to create a mass upload program for appraisal document creation for multiple employee

    Hi Expertise,
    I need to create a mass upload program for appraisal document creation for manager and his multiple employee
    at a time using tcode appcreate.
    Please help me out.
    Best regards,
    Priyaranjan

    Hi Priyaranjan,
    I think you can take the abap'ers help in creating the program. But u need to provide them the exact functionality and the required specifications in creating the appraisal document.
    Even tcode also u can get it prepared by Abap'ers.
    Thanks and Regards
    Balaji

  • Need to create a mass upload program for appraisal document creation for multiple employee in abap hr

    Hi Expertise,
    I need to create a mass upload program for appraisal document creation for manager and his multiple employee
    at a time using tcode appcreate.
    Please help me out.
    Best regards,
    Priyaranjan

    Hi,
    I have done appraisal document creation for bulk using txt file.
    this fm used for single for creation in standard tcode (phap_prepare):  'WZ_HRHAP_0DOC_WZ01_START'.
    So create ztcode  usinh this fm for single form then record BDC for this tcode and called this tcode in that bdc for bulk creation .
    While recording for single I have used manual option instead of automatic .

  • Custom screen field in the SRM portal screen for Business Partner Bidder

    I need to add a custom screen field in the SRM portal screen for Business Partner. I have added this custom field in the include structure: CI_EEW_BUT000 and activated it.
    I was expecting to see the enhanced field available in the SRM portal screen when I create the bidder. But is not available.
    The new field are available if I edit an Business partner only.

    Hi,
    Please look into the following OSS Notes:
    Note 675800 - Business partner enhancement SRM on maintenance screen
    Note 672960 - User-defined fields 2
    Thanks,
    Pradeep

  • SD Account determination for business partner items

    Hi All!
    I need to understand how does the account determination works for business partner items. I know that al trx VKOA is where I can customize the account that is gonna be used at the GL items, but I can't find where is the customizing of the accounts for the business partner items. Could you help me?
    Thanks in advance!
    Fred

    Hi
    When you create a billing document (trx VF01) in SD, you can then go to trx FPE3 and the this document from a finantial point of view.
    In trx FPE3 you will see the ducument splited in two parts, the business partner items and the GL items. If you doble click over any line of the GL items (excluding taxes) you will see more information about this line and one of it is the GL account. This account is set via trx VKOA.
    Going back, if you doble click over any line of the Business partner items, you will see more information about this line and one of it is the GL account. But in this case I don't know where it should be customized.
    I hope I was clear enoght.
    Regards,
    Fred

  • Problem while enter address for business partner-tcode BPC1

    Dear Experts,
    I have already enter address for business partner completely in BPC1, but after saving, the data has been entered always gone and message appears: "Enter address for business partner".
    Please somebody advice me about this issue.
    Thank you in advance.

    Please check this thered follow the steps.
    [BDT|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6173fb9e-0701-0010-6083-a0001827a6ff]
    Create  a field group--> attch fields over there.
    Create a view > attach a field group over there.->If you double click the view , you have to create one screen and attach function modules for PBO and PAI.
    create a section --> Attach your view.
    Create a screen ---> Attach your section.
    Regards,
    Siva

Maybe you are looking for

  • Queries related to web-ui configuration.

    Hi Experts, I have some queries related to web-ui configuration : I have copied standard component of Lead with values Role Key  = Zconfig key, Component Usage, Object Type, Object Subtype= Default and made some changes(renamed some fields) and assig

  • 6 Plus: Screen rotation for pre-installed apps

    Having a bit of an argument on this one with the fiance, so some input would be greatly appreciated: With the Phone app on the iPhone 6 Plus, is the screen supposed to rotate or not? My fiance called Apple Support and was told that it was supposed to

  • Dolphin 4.8 mounting devices - not shown in Places

    Hello guys! "gvfs" is installed. Then I open "/etc/polkit-1/localauthority.conf.d/50-localauthority.conf" and set "AdminIdentities=unix-user:alex" which is my username. Then echo [Mount system internal media for group storage] Identity=unix-user:alex

  • Streaming to a wireless speaker-help

    Hi, I have a bose sound touch wireless speaker system which I stream my itunes across from my macbook. The problem is I have to have my mac on to access my itunes account. I was wondering if I had itunes match, would I be able to stream from say my i

  • ITunes freeze when on podcasts tab

    I have a problem with the latest itunes 10.2.  When i load itunes podcast tab it freezes. To sucessfully relaunch itunes, i need to delete the itunes.plist file in library/preferences directory and once i try to reload the podcast folder it freezes a