Uploading prospects in crm 7.0.
Hi,
I want to upload prospects from ms excel sheet to crm 7.0 so here which one we need to choose ELM or BAPI or LSMW?
Which is the best for mapping data? If go with bapi means how many bapiu2019s I need to use and these 2 bapi isu2019t enough or not?
BAPI_BUPA_CREATE_FROM_DATA and BAPI_BUPA_ROLE_ADD.just provide some information.
Regards,
Jemmi.
Hi,please guide me in this code. i am trying to upload prospect data from txt file here i took bapi BAPI_BUPA_CREATE_FROM_DATA,BAPI_BUPA_ROLE_ADD_2 but it's showing dump error.please provide flat file what data i need to mention.
DATA : BAPI_CAT LIKE BAPIBUS1006_HEAD,
BAPI_CD LIKE BAPIBUS1006_CENTRAL,
BAPI_BP LIKE BAPIBUS1006_HEAD.
DATA : BAPI_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE .
DATA : W_FILE TYPE STRING.
*--- Internal to hold the records in the text file
DATA : BEGIN OF IT_DATA OCCURS 100,
BPARTNER(4), " Business Partner ID
PARTN_CAT(1), " Business partner category
PARTN_TYP(4), " Business partner type
PARTN_GRP(4) , " Business Partner Grouping
PARTNERROLE(6), " BP ROLE
ADDR_NO(10), " ADDRESS NO
PARTNERLANGUAGE(1), " Business partner: Language
END OF IT_DATA.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = W_FILE
HAS_FIELD_SEPARATOR = 'X '
TABLES
DATA_TAB = IT_DATA.
BAPI_CAT-PARTN_CAT = IT_DATA-PARTN_CAT.
BAPI_CAT-PARTN_GRP = IT_DATA-PARTN_GRP.
BAPI_CAT-PARTNERROLE = IT_DATA-PARTNERROLE.
BAPI_CD-PARTNERLANGUAGE = IT_DATA-PARTNERLANGUAGE.
BAPI_CD-PARTNERTYPE = it_data-partn_typ.
BAPI_BP-BPARTNER = IT_DATA-BPARTNER.
BAPI_BP-ADDR_NO = IT_DATA-ADDR_NO.
LOOP AT IT_DATA .
CALL FUNCTION 'BAPI_BUPA_CREATE_FROM_DATA'
EXPORTING
BUSINESSPARTNEREXTERN =
PARTNERCATEGORY = BAPI_CAT
PARTNERGROUP =
CENTRALDATA = BAPI_CD
CENTRALDATAPERSON =
CENTRALDATAORGANIZATION =
CENTRALDATAGROUP =
ADDRESSDATA =
DUPLICATE_MESSAGE_TYPE =
ACCEPT_ERROR = ' '
IMPORTING
BUSINESSPARTNER =
TABLES
TELEFONDATA =
FAXDATA =
TELETEXDATA =
TELEXDATA =
E_MAILDATA =
RMLADDRESSDATA =
X400ADDRESSDATA =
RFCADDRESSDATA =
PRTADDRESSDATA =
SSFADDRESSDATA =
URIADDRESSDATA =
PAGADDRESSDATA =
ADDRESSNOTES =
COMMUNICATIONNOTES =
COMMUNICATIONUSAGE =
TELEFONDATANONADDRESS =
FAXDATANONADDRESS =
TELETEXDATANONADDRESS =
TELEXDATANONADDRESS =
E_MAILDATANONADDRESS =
RMLADDRESSDATANONADDRESS =
X400ADDRESSDATANONADDRESS =
RFCADDRESSDATANONADDRESS =
PRTADDRESSDATANONADDRESS =
SSFADDRESSDATANONADDRESS =
URIADDRESSDATANONADDRESS =
PAGADDRESSDATANONADDRESS =
COMMUNICATIONNOTESNONADDRESS =
COMMUNICATIONUSAGENONADDRESS =
RETURN =
ADDRESSDUPLICATES =
CALL FUNCTION 'BAPI_BUPA_ROLE_ADD_2'
EXPORTING
BUSINESSPARTNER = BAPI_BP
BUSINESSPARTNERROLECATEGORY =
ALL_BUSINESSPARTNERROLES = ' '
BUSINESSPARTNERROLE =
DIFFERENTIATIONTYPEVALUE =
VALIDFROMDATE =
VALIDUNTILDATE = '99991231'
TABLES
RETURN = BAPI_RETURN
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
IF BAPI_RETURN-TYPE = 'E'.
WRITE:/ 'Error:' ,BAPI_RETURN-MESSAGE ,'for material:' ,it_data-BPARTNER.
ELSEIF BAPI_RETURN-TYPE = 'S'.
WRITE: 'Successfully created material' ,it_data-BPARTNER.
ENDIF.
ENDLOOP.
Similar Messages
-
Problem with upload data from CRM to BI system
When I try to perform full upload data from CRM to BI system with data source 0BPARTNER_ATTR (active version: Excutable). I waited for a long time but there are not any records were transfered (total records need to upload are 130) . I checked the log and can't find any errors.
Pls help me solve this problem.
Thanks and regardHi,
on the next day, the process finished with status not success.
The detail errors is:
Extraction(messages): Missing messages
Missing message: Request received
Missing message: Number of sent records
Missing message: Selection completed
Transfer (IDocs and TRFC): Errors occurred
Data package 1: arrived in BW; Processing: Selected number does not agree with transferred n
Request IDoc: Application document posted
Info IDoc 2: sent, not arrived; Data passed to port OK
Info IDoc 1: sent, not arrived; Data passed to port OK
Info IDoc 3: sent, not arrived; Data passed to port OK
Info IDoc 4: sent, not arrived; Data passed to port OK
However, the data has been uploaded to infoobject. Pls explain to me about this error and why the data can be uploaded with this error.
Regard -
Replication of Prospects from crm to r\3
hello Experts
is there any way to stop the replication of prospects from crm to r/3.....
we are facing a problem with out validating the prospect the prospects are replicating in r/3...
can u please help me out in this
thanks in advance
regards
sreeramShweta is right about the PIDE setting in R/3, but this does stop only the update in R/3, not the sending of prospects towards R/3.
To do it correctly, you need to create new subscriptions for the R/3:
1. Delete the subscription, publication and replication object on BUPA_MAIN in SMOEAC
2. Create a new intelligent replication object with filter on IS_CUSTOMER with option EQ (which means you want only customers to be replicated). Alternatively you can create a filter on IS_PROSPECT and option NE
3. You create the appropriate publication and subscription and assign it to the R/3 site
Now only BP's with the customer flag will get replicated (or those without the prospect flag). The customer flag will get set usually automatically with the customer role or can be manually set in the classification tab of role customer (field BPISCUST), but the prospect flag will stay if you turn the prospect into a customer.
So you need to make sure that when setting the BPISCUST flag that the BPISPROS flag is unset, when you do the alternative filtering on IS_PROSPECT (manually or in a BADI on customer save).
Regards, Kai -
Best method for initial upload data into CRM
Hey guys,
could someone tell me what is the best and fastest method to upload a mass of data (11 mio. BPs) to CRM? Now i am not sure. I thought you have to do that through the CRM middleware. Now i read you can do this also via IDOC. Which method should i use to do this? What about LSMW?
regards,
MingHello Ming,
Could you tell us where is the Mass Data of BP located?
Are you trying to upload the data from R/3 to CRM? or from legacy systems?
If its from legacy or non-R/3 systems then LSMW is the best approach.
But if its from R/3 to CRM, then better approach would be via MW since once initial load is performed using txn:R3AS,
subsequent delta changes would flow down automatically to CRM.
Hope this helps!
Best Regards,
Shanthala Kudva. -
How to upload products in CRM from flat file
Hi,
My requirement is to uplaod products from flat file. Flat file contains Products details. I have tried BDC method but didnt help much.
Please tell me is there any BAPI or other methods avialble to useiin CRM 4.0.
Regards
RamprasadHi ,
Can you tell for which transaction you want BAPI or Function Module to upload data ?
What issue you are facing in BDC so that I can help you. -
How to upload data into CRM using batch job
Hello,
I got some problem and need some hints.
I am uploading data from a flat text file (product data) into CRM using thefunction module GUI_UPLOAD. My program starts with a selection screen whereI enter the path and the filename of the program, then I click start, and
the data is transferred in CRM. This works perfect, and I can automaticallycreate service products in CRM.
Here comes the PROB:
But now I want to automize this procedure using a batch job that automatically picks up the file from the server and processes it automatically without any user interaction. BUT I always get an error saying that my function module GUI_UPLOAD can't run in batch mode. So
anyone has an idea how to do this? Any other function modules that can run in batch mode? Any other ideas?
Thx very much for ur help on this.Hi Bill,
GUI_UPLOAD, like the name says, uses the SAPGUI to upload the data to theserver.. and in a batch job, you don't have the connection to a SAPGUI.
So you should use following kind of coding:
DATA MSG(100).
OPEN DATASET "FILENAM" FOR INPUT IN TEXT MODE ENCODING DEFAULT MESSAGE
MSG.
IF sy-subrc = 0.
DO.
READ DATASET "FILENAM" INTO [Your internal table].
IF sy-subrc <> 0.
EXIT.
ENDIF.
APPEND [Your internal table]P_DATA.
ENDDO.
ENDIF.
The file should then be available on the server.
Regards -
Uploading Data Into CRM Using a Batch Job
Hi,
How can I automate the procedure of uploading data from a flat text file (product data) into CRM using the function module GUI_UPLOAD?
Thanks,
Rachita.Hi,
GUI_UPLOAD, like the name says, uses the SAPGUI to upload the data to the server, and in a batch job, you don't have the connection to a SAPGUI. So you should use following kind of coding:
DATA MSG(100).
OPEN DATASET "FILENAM" FOR INPUT IN TEXT MODE ENCODING DEFAULT MESSAGE
MSG.
IF sy-subrc = 0.
DO.
READ DATASET "FILENAM" INTO [Your internal table].
IF sy-subrc <> 0.
EXIT.
ENDIF.
APPEND [Your internal table]P_DATA.
ENDDO.
ENDIF.
Reward points if found helpfull...
Cheers,
Siva. -
How can we upload questionnaire to CRM 2007 during data migration activity?
Hi all,
I have an requirement where i have to upload questionnaires from an existing CRM system to SAP-CRM 2007 during data migration activity.
i just go through what are questionnaires, how we can create them and how we can assign them to transactions.
how can i upload during data migration activity ?
Thanks & Regards
Raman KhuranaHi,
According to your post, my understanding is that the 'Upload.aspx' page was missing or corrupted from many document libraries after migration to 2010 from 2007.
Per my knowleadge, the upgrade process sets the SPWeb.CustomUploadPage property for upgraded sites to a custom upload page titled
uploadex.aspx, as opposed to upload.aspx which is the default page for file uploads. And this custom upload page contains the “Destination Folder” field.
To removes the custom upload page (uploadex.aspx) from SPWeb, and reverts back to the default upload page (upload.aspx), we can use PowerShell script to loop through all Web sites that are contained within the site collection, including the top-level site
and its subsites, and checks to see if the SPWeb.CustomUploadPage property is not equal to blank. If true, then it sets the SPWeb.CustomUploadPage property to blank.
Here is a great blog for your reference:
Destination Folder field in site upgraded from MOSS 2007 to SharePoint Server 2010
More information:
What’s This Destination Folder Field On My File Upload Page?
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
UPLOAD OF EMPLOYEE BP FROM CRM TO ECC
Hi all,
Is it possible to upload Employee Business Partners from CRM to ECC system.
as per client business process we create Employee Business Partners in CRM system and they need to upload in to ECC system.
I have worked on downloading of Employees data from ECC to CRM using ALE IDOC.
Please suggest whether it is feasible or not? If standard solution is available kindly let me know.
Your help will be highly appreciated.
Best regards,
Raghu ramHi ,
The common practice is to download "Employee" from ECC to CRM thru ALE IDOC ,
But you can also take another approach :
1) Create employee as business partner in role "BUP003" "employee" in SAP CRM .
you can create manually or you can use BP upload program in CRM.
2) You need to configure "internal number range " for business partner "emplyee " in CRM , and "External " in ECC Backend
3) set up middleware for replication of BP from CRM to ECC .
4) Business partners - EMPLOYEES create in CRM will be replicated to ECC as Business partner ( and not as HR employee )
hope this helps,
PD -
Validate Prospect replication from CRM 7.0 to ECC
Hello Gurus
We have the rek which is as follows
We will create a BP with Partner Type prospect in CRM - This Prospect should not Replicate to R3.
Later we change this Prospect to Validate Prospect in CRM -this Validate prospect need to replicate to R/3
for that we have made the coding in CRM 4.0 erlier which was working fine, now we have upgraded the sytem to CRM7.0 the scinario is not working
below is the coding
POO1 :Prospect
p002:Validate Prospect
Sourcecode
DATA:
lv_assigned(1) TYPE c,
lv_task TYPE bus_ei_object_task,
lv_bpkind TYPE bu_bpkind.
FIELD-SYMBOLS:
<ls_bp> TYPE bus_ei_extern.
***Needed for Debugging Internet Sales
DATA: x TYPE i VALUE 1.
DO.
IF x = 0.
EXIT.
ENDIF.
ENDDO.
LOOP AT c_bp_struct-partners ASSIGNING <ls_bp>.
lv_task = <ls_bp>-header-object_task.
lv_assigned = 'X'.
ENDLOOP.
IF NOT <ls_bp> IS ASSIGNED.
EXIT.
ENDIF.
IF lv_task = 'I'.
lv_bpkind = <ls_bp>-central_data-common-data-bp_centraldata-partnertype.
ELSE.
IF NOT <ls_bp>-central_data-common-data-bp_centraldata-partnertype IS INITIAL.
lv_bpkind = <ls_bp>-central_data-common-data-bp_centraldata-partnertype.
ELSE.
By all other mutations read bpkind from but000 sind it is not present as input parameter
SELECT SINGLE bpkind FROM
but000
INTO
lv_bpkind
WHERE
partner = <ls_bp>-header-object_instance-bpartner.
IF sy-subrc <> 0.
EXIT.
ENDIF.
ENDIF.
ENDIF.
Check BPKIND = P001 (Propect) If yes do NOT replicate
IF lv_bpkind = 'P001'.
CLEAR c_bp_struct.
ELSE.
EXIT.
ENDIF.
Remote function call
u2022 Z_REPLICATION
Z_STOP_REPLICATION Stop replication based on P002
u2022 Interface
CALL FUNCTION 'Z_STOP_REPLICATION'
EXPORTING
IV_MODE =
TABLES
TI_BAPIIDLIST =
CHANGING
c_bp_struct =
u2022 SAP tables
The entry below is add to table CRMC_BUT_CALL_FU
150 CRMOU BUPA 0500000 Z_STOP_REPLICATION X
Here by requesting u to give ur inputs.....Hello Gurus
As per the note :757955 we have changed the item no for the functional module, but still the data is not following
(If there are additional customer-specific Z modules that are
registered in this table, you may have to change the item numbers. The
standard modules that are used to create business partners or
relationships have the line item number 1000000. Customer-specific
modules, which need these objects to exist before they can be
processed, must therefore have a line item number greater than
1000000. This applies especially to modules that have line item
numbers greater than 100000 but less than 1000000)
How to fix this ... -
Upload of Contracts and Pricing agreements from CRM to R/3 ?
Hi
As per SAP we cannot upload contracts from CRM to R/3. However, has anyone uploaded contracts to R/3. If yes, can you please reply with the steps involved ?
Your help is highly appreciated.
Sandyhi
please go through SAP best practice document C26
u can search it over google
it has your solution
look for C26 bbinstallation guide
best regards
ashish -
Mass upload of sales orders in crm
Hi gurus,
Could any one help me out in mass upload of sales orders in CRM
thanks in advance
Regards
[email protected]Hi Nitin,
From which system do you want to mass upload Orders to CRM? If its from a connected R3 sysem, you can use Middleware adaptors to do it.
If your data is in form of files, then you can use an abap program to do the same. If you want to write an ABAP program , do let me know & I could tell you the useful FMs.
- Alin -
Hello All ,
We have one way replication ERP => CRM.
Now I am trying to upload quotation from CRM to ERP.
We defined same document types in ERP and CRM.
We defined subscription "All business transaction" in Smoec,
and take care of number ranges.
I am creating quotation in CRM and getting green" B-doc" ,but the document still do not exists in ERP.
How can I monitor the problem?
Thank you,
RikaHi Rika,
This message means that the recieving system is not sending you back any acknoledgement (message).
Check if your Bdoc state is O01. If yes, follow my response to the following thread.
Re: How to reprocess BDOCs state O01 Sent to receivers not all have confirmed,
But, this is the general steps. Not all Transaction Types can be send from CRM to R3. Which version of CRM are you using?
Regards,
Alin -
Hi,
I have to upload banks in CRM system using t-code BAUP.
Now problem is I dont have any Layout : "1SAP" .
Can you please tell me where I have confirgure or create it.
Regards,
SoumilDear Dhananjay Kulkarni
Could you explain to us, why you don't want to upload the records from R/3?
You would sure need to use prices in R/3 for financial postings, even if you do all quotations, orders and billing in CRM.
Regards,
Claus Møldrup -
Uploading Adobe form/PDF in CRM Webclient UI u2013 Framework?
Anyone know if its his possible?
I need to upload a PDF that previously been generated by SAP, downloaded, edited locally, then uploaded from the CRM webclient UI.
What method/function module should I use to upload and extract the data?
Is there any other way I can complete this procedure? Any suggestion?
To me it seems normal ABAP cl_gui_frontend_services=>file_open_dialog doesn't work so I cant use the "normal" methods.
ThanksIt is possible, as it is available in Standard SAP without using Interactive Forms (assuming you just want to create a PDF with data from the system).
Take a look at the code present for the Account Fact Sheet PDF (use role SALESPRO and check an Account, the button is in the top frame under "More"; component BP_HEAD), it should give you a good idea. You just need a SmartForm that you populate correctly with your data, and you open that SmartForm in a pop-up after converting it into a PDF. The save/print buttons will come directly from Adobe Acrobat Reader.
My personal steps are:
1. Create a SmartForm
2. Create a Handler class (inheriting IF_HTTP_EXTENSION)
3. Create a service (transaction SCIF)
4. Change the HANDLE_REQUEST of the Handler class to manage your data, retrieve attributes from URL and call the SmartForm to retrieve OTF data which is to be transformed into XString and create a PDF out of it
5. Create a GET_URL method to create the URL string correctly
6. Create a button in the UI that opens a pop-up with the right URL
Maybe you are looking for
-
Web Authentication on HTTP Instead of HTTPS in WLC 5700 and WS-C3650-48PD (IOS XE)
Hello, I have configured a Guest SSID with web authentication (captive portal). wlan XXXXXXX 2 Guest aaa-override client vlan YYYYYYYYY no exclusionlist ip access-group ACL-Usuarios-WIFI ip flow monitor wireless-avc-basic input ip flow monitor
-
Apple Loops not dropping onto track area
I hope someone can help. I just upgraded to GB 11 and downloaded over a gig of apple loops. But whenever I drag a loop onto the blank track area it absolutely will not drop and creat the track as it is supposed to. I can demo all loops, and I can
-
Buying a 1st Gen Mac Pro nVidia GeForce 8800 GT 512MB from Applemacanix...
_*Hi to All:_* _First of all thanks for taking the time to read my post._ I am going to buy a 1st Gen Mac Pro nVidia GeForce 8800 GT 512MB Video Card from ebay to applemacanix, it looks like they give good service and I wont recive a bad product but
-
TS1702 Just bought Dramatic black and white HD , The down load is just a text code.
I just paid for a ap Dramatic Black and white, HD it sayd down loaded, and I fount the thing with cnet down loader, Fist how do you get rid of that, Secon, The program did not open all i get was a text file. How to down load the program properly to m
-
Everytime my iPod tries to update songs from iTunes, it says "Unknown error [-50]" what does that mean and how can i fix it?