Select r/3 kna1 from CRM
Hi Gurus,
I have to look at R/3 tabla kna1 and knvp. I'm in CRM but I don't know how to search in the r/3 system.
Please help.
Thanks
Hi,
There's an RFC-enabled function module which allows you to select data in a remote R3 system - I think it's called RFC_TABLE_READ (or something similar). Basically, you just supply your selection criteria in one table and a list of fields you'e looking for (along with the table name, of course) and then you get a list of matching records back.
Hope this helps, Andy
Similar Messages
-
BP replication from CRM to R3 Error
Hi All,
We are working on CRM 4.0 Unicode version. The details of the system are as follows
SAP_BASIS 620 0056 SAPKB62056
SAP_ABA 620 0056 SAPKA62056
BBPCRM 400 0009 SAPKU40009
PI_BASIS 2005_1_620 0005 SAPKIPYJ55
We are working with R/3 4.7 Non Unicode version the details of which are as follows
SAP_BASIS 620 0056 SAPKB62056
SAP_ABA 620 0056 SAPKA62056
SAP_APPL 470 0021 SAPKH47021
SAP_HR 470 0030 SAPKE47030
ABA_PLUS 100 0009 SAPKGPBA09
EA-IPPE 200 0013 SAPKGPIB13
PI 2004_1_470 0001 SAPKIPZI51
PI_BASIS 2005_1_620 0005 SAPKIPYJ55
EA-APPL 200 0007 SAPKGPAB07
EA-DFPS 200 0007 SAPKGPDB07
EA-FINSERV 200 0007 SAPKGPFB07
EA-GLTRADE 200 0007 SAPKGPGB07
EA-HR 200 0011 SAPKGPHB11
EA-PS 200 0007 SAPKGPPB07
EA-RETAIL 200 0007 SAPKGPRB07
BP-R3PF 470V2 0000 -
ST-A/PI 01F_R3_470 0000 -
ST-PI 003C_620 0000 -
I ] Problem
We are having problem while replicating the Business Partners from CRM to R3. When we create a Business Partner ( Type People) through transaction BP on the CRM server it creates an entry in table but000 on the CRM side but the same entry does not exist in kna1 table on R/3 server.
When we check the BDOC through transaction smw01 on the CRM server there exist an entry with BDOC State Description " Send to receivers (not all have confirmed)" for BDOC Type BUPA_MAIN.
II ] Configurations
We have done following settings before creating Business Partners through CRM
Settings on CRM Server
1> RFC Destination "CARDONR3_DEV" for R3 server is defined in sm59 on the CRM side and is working OK.
2> Through transaction BUCF we have defined a number range named C1 ( 0005000000 to 0005999999) with External flag deselected.
3> Through SPRO we have defined a grouring C001 (CRM Customer) and assigned number range C1 to it.
Settings on the R3 server
1> RFC Destination "CMDCLNT110" for CRM server is defined in sm59 on the R3 side and is working OK.
2> Through transaction OVZC we have defined cutomer number range named C1 ( 0005000000 to 0005999999) with External flag selected.
3> Through transaction OVT0 we have created Cutomer Account Group named Z001 which is copy of 0001 (Sold to Party). Number range C1 is assigned to the account group Z001.
4> Through transaction VOPA we have maintained the Partner function for customer master i.e Acct Grp Z001 is assigned to Function SP.
5> In transaction PIDE under CRM -> R3 assignment we have selected account group Z001 to Classification type B (i.e Customer)
III ] Procedure Followed
1> On the CRM server we execute the transaction "BP" .
2> We Click on Create Person button.
3> Following Selections are made
a) Create in role : Sold-To-Party
b) Grouping : CRM Customer
c) Field Title, First name and Last name are selected
d) In the tab Classification we select R/3 Account Group as "0001". System does not allow us to select the R/3 Account group "Z001"
4> On Saving the entry Business Partner is created in table but000 on the CRM side.
5> The above entry is not replicated in table kna1 on R3 side as expected.
IV ] Observation
We are not able to select account group "Z001" in the BP creation screen. When we run the Intial Load (R3AS) on CRM server for object "DNL_CUST_ACGRPB" (i.e AccountingGrp Business Partner) (Replication from R3 to CRM) it shows the status done in screen R3AM1 but the entry for account grouip Z001 which is created manually on R3 side during the configuration phase is not replicated on the CRM side.
We have referred a note for the above error which said that the basis patch "SAP_BASIS" should be at level 56 but we are already on Patch Level 56.
Please guide us.
Thanks & Regards,
YatinHi Yatin,
Glad to hear one of the problem has resolved.
In order to simplify the analysis, I assume few things
from your information :
1. Connection between CRM and R/3 are correctly run
2. Other necessary customizing Objects relate to BP
have been downloaded properly to CRM.
Few things you can check :
1. Did you enter Correspondence Language & Language
in CRM BP ? just make sure you did.
2. Try to complete minimum data such as Search Term,
Street/House, Postal Code / City and Country in CRM BP.
3. Check the detail Error message in SMW01 (can you get
more detail - normally you can click on SHOW BDOC Msg
ERROR)
You also can trace/debug LUW,:
- use tcode SMQ1 to see the stopped queue for that error
transfer
- Click menu Go To -> QOUT Scheduler
Click on R/3 destination and deactivate/deregister it
- In SMQ1 select the error queue, double click on it.
and after next screen double click again
- Then Start DEBUG LUW
- Insert debug breakpoint in statement Call Transaction
and execute F8
- When it stopped, Change the variable mode to A
it will show you the missing/incomplete fields.
You need to register/activate back the R/3 destination after you have finish debugging.
Hope this helps, let me know the result
Cheers,
Gun. -
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 -
Error while extracting data from CRM
Dear all,
I have used some standard and generic datasources to extract data from CRM. These were working fine for more than a year and are scheduled in Process chains. For the past few days I am getting Caller 09 error as shown below, only for the generic datasources. I have checked the connection,replicated the datasources and activated them, reinitialized and have tried all the solutions that were posted earlier, but still the process chain fails. When I execute the process chain for generic datasources manually, it is working fine.
When I tried in RSA3 for both standard and generic datasources in CRM with update mode D, I get a message 'Error occured during the extraction',
Kindly suggest what can be the problem.
Error message from the source system
Diagnosis
An error occurred in the source system.
System Response
Caller 09 contains an error message.
Further analysis:
The error occurred in Extractor .
Refer to the error message.
Procedure
How you remove the error depends on the error message.
Note
If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
Thanks all in advance.
Regards
Adhira AnandHi Meyappan,
I have checked SM37, SM21 and ST22. There are no errors.
in SM37 the below log is displayed.
Job started
Step 001 started (program SBIE0001, variant &0000000005420, user ID ALEREMOTE)
Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
DATASOURCE = ZCRM_SRV_DEFECT
RLOGSYS = CLNT645BIP
REQUNR = REQU_4JHQ8HH6KA40JHC1TYLYIV2W2
UPDMODE = D
LANGUAGES = *
Current Values for Selected Profile Parameters *
abap/heap_area_nondia......... 2000000000 *
abap/heap_area_total.......... 2000000000 *
abap/heaplimit................ 40000000 *
zcsa/installed_languages...... DE *
zcsa/system_language.......... E *
ztta/max_memreq_MB............ 2047 *
ztta/roll_area................ 6500000 *
ztta/roll_extension........... 2000000000 *
1 LUWs confirmed and 1 LUWs to be deleted with function module RSC2_QOUT_CONFIRM_DATA
IDOC: Info IDoc 2, IDoc No. 101415, Duration 00:00:00
IDoc: Start = 13.10.2010 22:51:39, End = 13.10.2010 22:51:39
Synchronized transmission of info IDoc 3 (0 parallel tasks)
IDOC: Info IDoc 3, IDoc No. 101416, Duration 00:00:00
IDoc: Start = 13.10.2010 22:51:42, End = 13.10.2010 22:51:42
Job finished -
Creation of an ERP Sales Order or ERP Quotation from CRM Opportunity
Hello Experts,
The scenario is as follows:
I have done the cross-system copy control of transaction types and item categories to enable ERP Quotation and ERP Sales Order creation from CRM Opportunity. However, after saving the CRM Opportunity, when I click on the follow-up transaction and select ERP Quotation or ERP Sales Order from the list, the screen doesnt change and instead I got the following error:
"Diagnosis
An exception occurred during request processing. This was handled centrally. It changed the program flow and the result of the request probably contains errors.
Procedure
Contact your system administrator.
Procedure for System Administration
Activate checkpoint group BSP_WD_EXCEPTION_DISPLAY. To do this, use transaction SAAB. If the error recurs, further details are displayed.
Exception Details
CX_BSP_WD_INCORRECT_IMPLEMENT - Define component usage 'CUERPFollowUp'
Method: CL_BSP_WD_REPOSITORY=>GET_CMP_USAGE_DEF
Source Text Row: 20"
Experts, kindly help me understand what the error is about and pointers to resolve it.
Points would be awarded.
Thanks,
VSK.
Edited by: venkatskumar on Feb 21, 2011 8:37 PMHello Robert,
Thanks for the quick reply.
I have followed your instructions and I wanted to confirm one more thing with you.
When I enter the component usage it gave a pop-up which said:
"Enter either a reference or an interface view"
Any information on what should be entered in the reference or the interface view? What should be the used component name and interface view name in this scenario?
Kindly confirm.
Points awarded
VSK.
Edited by: venkatskumar on Feb 22, 2011 12:37 PM -
Middleware debug problem for BP's from CRM to ECC
I tried few steps to debug BP changes from CRM to ECC but nothing is working ...
I deregistered the Queue thru SMQS, made changes to BP.. went SMQ1 select the Queue name Double Click 2 times.. then select the Tool bar (Debug LUW).. I'm getting "Nothing was selected"
When is see SMW01, BDOC is processed green and data is transferred to ECC.
I want to do debug the BP queue and go to ECC system as some of my custom EEWB fields are not passing to ECC correctly.
Any help is highly appreciated.
Thank you.Hi,
Put a break point in FM SMW3_MFLOW_UPDATETASKBDOC.
Create a BP and before save type /h to activate debug, mark update debugging option.
When stops in FM SMW3_MFLOW_UPDATETASKBDOC you must be sure to set header-dbgmode = 'X' this will make the bdoc stay stopped in SMW01.
Go to SMW01 and type /h and process the bdoc.
Put a break in FM CRM_UPLOAD_AFTER_MAP_HANDLER and be sure to change LV_SYNCHRON = 'X' this will allow you to connect in ECC.
Put a break-point in the "CALL TRANSACTION" command. Change the mode of call transaction and you be able to debug XD* update.
Best Regards,
Caíque Escaler -
Replication of custom-fields in BP from CRM to ECC
Hello all,
I have created additonal attributes for a Business Partner in CRM7.0 (ZZKATR1 and ZZKATR2) using the tool AET.
In ECC I've added these attributes to tabel KNA1 using an append structure.
The replication of the BP from CRM to ECC is already working fine.
So when I change a standard field this is replicated succesfully.
Only now I want to enhance this replication with these additional attributes (custom-fields ZZKATR1 and ZZKATR2).
So they also appear in ECC in table KNA1.
Can anyone tell me how this is done? And what steps I have to take?
Thanks a lot.
MarcoHello Marco,
Please see note 736595 and also the links below explaining the scenarios.
http://wiki.sdn.sap.com/wiki/display/CRM/EnhancingtheCRMMiddlewareExample2
/people/vikash.krishna/blog/2009/07/21/exchange-ecc-customer-master-standard-field-with-the-crm-z-fields-ecc--crm
I hope this helps.
Kind regards,
Vanessa -
Replication of BP and Sales order from CRM to R/3
Hello everyone,
I have a peculiar condition in my hands.The requirement is to replicate 10 business partners from crm to R/3 ,then the next 4 Business partners need not be replicated and then the next three replicated..How do we do this kind of replication....
One thing more regarding the replication of sales order.When we save a sales order in CRM,is it automatically replicated to R/3 or do we need to release it manually??
If yes,then if we do not want to replicate the sales order from crm to R/3,then what will we do?
Consider that all the middleware settings are configured and working fine..
PuneetHi Bokhal,
Please consider my answer from your recent thread dealing with apparently the same issue :
Hi Bhokal,
For filters in uploads please consider below:
For Filtering the BP-upload, use the Administration Console
(tx. SMOEAC) in the corresponding subscription of the "All Business
Partners (MESG)" publication assigned to the R/3 site.
Some publications (and the replication objects they are based on) are
delivered as type "Simple bulk" which does not give you the opportunity
to assign criteria values for filtering.
You might have to re-create the publication. To do that:
1) First delete the subscriptions "All Business Partners (MESG)" and its
publications & the replication object.
2) Recreate the replication object as type "Simple intelligent".
3) Afterwards you can create a new publication via wizard of type
"Simple intelligent (msg)" assigned to the BDOC-Type BUPA_MAIN. Then,
you will be able to select some "filter criteria".
The reason for deleting the "old" publication is, that you
are not allowed to assign a BDOC-Type to more than one publication.
4) But please keep in mind that there is no realignment supported. So
you should only use fields for filtering, which cannot be changed
afterwards.
This is the "simple" solution for filtering on fields. This
will not provide complex filter criteria.
If you need this, you shall create a filter function in R/3- and/or
CRM-Inbound and -outbound.
If you want to keep the control about the upload trigger, you can add an
additional module in transaction CRMC_BUT_CALL_FU, position > 200000.
BUPA_MWX_BDOC_BPS_FILL_CENTRAL. Within this new module, you can delete
all partners within the complex structure that you don't want to upload.
Hoping that above will be helpful.
Best regards
Christophe Sturzel -
WBS Elements not getting created in ECC Project System from CRM 7.0
Dear all,
We are trying to integrate SAP CRM 7.0 with SAP ECC-PS module. The objective is to bring in the marketing plan and elements data from the CRM system, and to create the corresponding WBS in project system. We have done most of the configuration as recommended by SAP in both the systems, and we see that the BDOCS are getting generated and sent to the ECC system. The following steps have been successfully completed:
1. Set up the RFC connections between the two systems
2. Selected the connection type as Middleware in CRM system.
3. Installed the cProject Add on in CRM box.
4. Created a project scenario (with project and network profiles) in the PS system and assigned the same in the CRM system.
5. The Project Scenario in PS config has the same name as the Project Type in CRM config.
6. Created and released the campaign ids being created in the CRM system.
As already mentioned, we can see that the BDOCS are coming to the ECC system and are getting stored in BDOC_TRACK table. However the issue is that the corresponding WBS elements are not getting generated in the ECC system. Is there anything that that we are missing in the ECC box which would trigger the WBS element creation?
Request you all to share your inputs which would be immensely beneficial for us in achieving this integration.
Thanks and Kind Regards,
Aditya ShrivastavaHello Aditya,
We too are facing this issue.. if you have resolved the issue could you please let us know the solution ?
Some inputs related to our system,
We have upgrade from CRM 4.0 to CRM 7.0 SP07 and R/3 backend system is on 4.7 SP27, earlier we have completed the upgrade on sandbox without any issues which was upgrade to CRM 7.0 SP04 but with SP07 we are facing the problem of WBS Element not getting created in R/3.
Your help is highly appreciated.
Thanks & Regards,
Sumukh Kapoor. -
Hi Gurus,
Iam replicating the master data from CRM 5 to ECC 6,
iam getting the following error for the BUPA_MAIN
"Runtime error MESSAGE_TYPE_X has occurred"
it is very urgent.
Can anbody help me outHi Devi,
You need to identify where exactly this problem is occuring. I would suggest to debug the R/3 inbound and check whether you are passing all the fields to the R/3 batch parameters.
Follow the steps mentioned below.
In transaction SMQS deregistor your R/3 system by pressing the button "Deregistration" then create a BP in CRM and save the data. Come back to the transaction SMQS again select your R/3 system and press the button QRFC monitor. Here you will find the queue related to your. Double click on it twice and then press the button Debug LUV. You will reach to the R/3 system ( make sure that the RFC user is dialog user in R/3 system).
but the break point at the statement " <b>call transaction</b>" and press F8. Here you change the value of mode from "<b>N</b>" to "<b>A</b>" in debugger and then press F8 again. by doing this you will get the batch input screen. Just keep on pressing enter and the system will fill the values.
With this you can check whether you are passing all the data to R/3 or not. Hope this will help.
<b>Reward points if it helps!!</b>
Best regards,
Vikash. -
BP Data replication from CRM to R/3
Hi All,
I could not see the BP replicated to R/3. The status is processing for 'BUPA_MAIN' type of BDOC.
-I have set RFC (not trusted RFC)
- At PIDE
CRM->R/3 [ type A (classification) is mapped to 0001 (Account group)]
and vice versa.
Waiting for any sugessions.
Regards,
EddieHi,
Admin console (subscriptions based on rep.objects & publications) is for the CRM outbound process, based on CRM changes -> cannot be used for the initial load.
The download objects can be used for initial loads, and this in three directions: CRM-> R/3, R/3-CRM and CRM->MSA. If you wish to download data from CRM to R/3, select CRM as the source site and R/3 as the destination site in an initial load.
Normally if your RFC settings and filters are defined corrrectly, you should get an indicator that the download is in a running state. After that you can check the queues (smq1 & smq2) and the bdocs (smw01) for the results of the download.
hope this helps,
Michael. -
Transfer of Business Partner Master data from CRM to TIBCO.
Hi All,
We intend to integrate CRM4.0 with TIBCO for transfer of Business Partner Master data from CRM to TIBCO.
Can anyone provide solution for the same. One of the think is through XI.Please correct if it is the right way to do it?.
Also, would appreciate if someone can provide documentation or links for integration.
Regards,
Mehul Shah.Hi Rahul,
Yes you can integrate CRM and TIBCO using XI.
Check the below links
transfer the Business Partners from the CRM system to XI and to MDM.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/406efa7e-388a-2910-f9b8-81913b0ca57f
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50260ae5-5589-2910-4791-fc091d9bf797
any XI content delivered by SAP can be found in the SAP service marketplace which you can enter http://www.sap.com/services/bysubject/servsuptech/index.epx.
a) After you entered the service marketplace go to Software Download under the header SAP Support Portal.
b) Next navigate to Download -> Support Packages and Patches -> Entry by Application Group
c) In the main window select SAP Content and then Process Integration Content (XI Content).
d) Now you should see a list of XI content packages.
The package containing XI content for CRM is
XI CONTENT BBPCRM
In addition you find some packages that offer mappings from CRM interfaces to industry standards like RosettaNet or STAR standard, like
XI CONTENT ROSETTANET CRM
XI CONTENT STAR CRM
Some of these packages may require a license, therefore I am not sure if they are visible to you.
As per my knowledge, XI has CRM pre-delivered content and usually it communicates thru Proxies,Http, RFCs..
And in your scenario , you can always go for Proxy communication
Have a look into these threads
CRM and SAP XI
SAP CRM integration with XI
How to access the pre-delivered XI Integration Content for APO ,SCM or CRM
Dont forget to Reward points if this helps
Regards
Pragathi. -
SD customer replication from CRM 2007 in ISU
Hi Experts,
I am creating a Business partner in CRM 2007 in role sold to party which is getting replicated in ISU system(Entry is saved in table BUT000) also the entry for SD customer gets saved in table KNA1; however system can not retrieve sales area for customer (No entry in table KNVV).
Sales area has already been maintained for Reference customer and required configuration is also in place.
Please let me know if anyone has faced similar kind of issue.
Regards,
Amit GuptaHello Amit,
As far as I know the reference customer is used when your business partner is created in ISU only.
If you create your business partner in CRM you will have to add your sales area manually, or via "mini-templates" for example... but the reference business partner won't be used (check the relevant cookbook: ref BP is used for data transfer from ISU --> CRM but not from CRM --> ISU).
Kind regards,
Nicolas. -
BI process has gotten stuck and the data from CRM hasn't gotten updated
hai friends am working for BI in CRM....
BI process has gotten stuck and the data from CRM hasn't gotten updated in the BI cubes.
can any one help me to solve this issue???
WHAT MAY BE THE PROBLEM AND WHAT WILL BE THE SOLUTION???
IS THERE I NEED TO RESTART THE PROCESS CHAINS OR WHAT?Is it already scheduled for a daily run or manually you are running the process chain?
If its manually running then you can select your process chain, and then right click on the start process --> Maintain variant --> Scheduling --> in the scheduler screen , you can click on the Immediate, save the changes and save in the next screen, once it comes back in the main screen, you have a scheduling Icon (Clock idoc). Click on it. Once done then it will be oK.
Or firs the process only failed, then you can right click on the failed process and then choose "Repeat" option to repeat the process.
Also you can check the source system connection is fine or not? RSa1 --> Source system --> CHECK
Edited by: Murali M on Sep 2, 2010 6:37 AM -
Data Extraction from CRM and Informatica
Hi Guru's,
Could any one tell me how to extract the data from the CRM and Informatica in to BW.
Please give me the steps.
Thanks in advance....Steps for Extracting data from CRM:
Configuration Steps
1.Click on ->Assign Dialog RFC destination
If your default RFC destination is not a dialog RFC destination, you need to create an additional dialog RFC destination in addition and then assign it to your default RFC destination
2.Execute Transaction SBIW in CRM
3.Open BC DataSources.
4.Click on Transfer Application Component Hierarchy
Application Component hierarchy is transferred.
5.SPRO in CRM .Go to CRM->CRM Analytics
6.Go to transaction SBIW-> Settings for Application specific Data Source ->Settings for BW adapter
7.Click on Activate BW Adapter Metadata
Select the relevant data sources for CRM sales
8.Click on Copy data sources
Say yes and proceed
9.Logon to BW system and execute transaction RSA1.
Create a source system to establish connectivity with CRM Server
A source system is created. (LSYSCRM200)(Prerequisites: Both BW and CRM should have defined Back ground, RFC users and logical systems)
10.Business content activation for CRM sales area is done
11.Click on source system and choose replicate datasources.
KJ!!!
Maybe you are looking for
-
No pop-ups with partner determination in Interaction Center Web UI
Hi, We are working with SAP CRM 7.0 SP06 and have the following problem. In Interaction Center Web UI, when we create a sales order, the partner determination is triggered. But no pop-ups are shown to choose the right business partner. When we use We
-
Photos uploaded to facebook have incorrect date in iPHOTO
I found about 30 events in iPHOTO with a single photo in them. I panicked - thinking all the remaining photos from each event were missing. Then I noticed every single event had the same date - Jan 1, 2013 - even though all of the photos were from ea
-
I've found a workaround and now his bookmarks are back in order by date added, but they are reversed, i.e., the last bookmark is at the top. For those wanting the workaround (as I see this question was never properly answered) I opened "Show all Book
-
Mix duplex with simplex printing in one form
Dear experts, I have a tricky problem to solve. But I'm sure the experts among you will be able to help me! I would like to print the first page duplex (double-sided) and the rest of the document simplex (one-sided). My document consists of 3 master
-
We are using Bell Wimax to connect to the internet and due to their towers being down for 2 weeks, we had lost our internet connection. It is back up and running, however we no longer can connect wirelessly to the computer. I was using the imac as th