cancel
Showing results for 
Search instead for 
Did you mean: 

Customized extractor FROM CRM to BW

Former Member
0 Kudos

Hello experts.

I need to create a customized extractor from the standard 0CRM_OPPT_H to send data from CRM to BW.

What I want to do is to leave 0CRM_OPPT_H as it is, and then create a custom one ZCRM_OPPT_H and add some new fields.

I created a function module zcrm_oppt_data, and inside the code, I call the standard function to get data from the standard extractor, and then later use the internal table returned by the standard function and create the custom one e_t_data based on this one.

As you can guess, this is not working properly. I would like to know if there is a way to do this, if there is any documentation or if somebody has ever done something like this.

Thanks in advance.

Regards, Inma

Accepted Solutions (1)

Accepted Solutions (1)

Ashwin
Active Contributor
0 Kudos

Hi!

There is a simpler option in CRM if you use CRM BW adapter functionality. there you can map fields of your datasource extract structure to the fields of a Bdoc. I think Bdoc will also contain the enhanced fields if these fields are from CRM transactions. so what i suggest you is to use the same bdoc which is used by 0crm_oppt_H in transaction BWA1 and map the appropriate fields to your data source.

with regards

ashwin.

Answers (1)

Answers (1)

Ashwin
Active Contributor
0 Kudos

Hi!

just reply to this post if you need anything specific in this area. It is not a standard practice to create a sperate datasource just tp have additional fields. in CRM normally datasource also will be enhanced if the changes are made using easy enhancement workbench. or elese you have an option to enhace the datasources.

but if you r fixed of developing a new generic datasource similar to that of a 0crm_OPPT_H and filling it with a function module then what you did is correct. What is the error that you are getting.and whats the exact problem

with regards

ashwin

former_member184494
Active Contributor
0 Kudos

You could use the BDocs for extraction and for the same you can also check the extraction diagrams given as part of the training material which is very explanatory.

Arun

Former Member
0 Kudos

Hi,

I need some help in this. I'm also trying to create CRM specific datasource using BW Adapters. Do you have any documentation or step-by-step process involved in this.

I just explained, what I did:

- Created by extraction structure

- Selected BDoc "BUS_TRANSACTION_MESSAGE"

- Mapped the segment fields to my extraction structure.

- I've defined my mapping FM in "Mapping Module" area.

But, the extractor is not working. I'm getting some core dumps.

My concern is, do I need to define any selection module? Do you guys have any sample codes or sample steps involved in this?

Regards,

Venkat

Former Member
0 Kudos

Hi,

Just to add to this, What is the purpose of using BADi "CRM_BWA_SFLOW" as mentioned in the documenation?

Regards,

Venkat

Former Member
0 Kudos

Were you able to do this ? If so can you please send the sample code and the steps.

Thanks