cancel
Showing results for 
Search instead for 
Did you mean: 

CRM sales order data to be sent as an IDoc

Former Member
0 Kudos

Hello,

Can someone help me on this? I have created a sales order in CRM and now i need to send this data to an external EDI subsystem through an Idoc.

In R/3 we have the option of message control in output determination where i can handle this but I am not able to figure out a way to this on CRM side. I checked quite a lotta previous mails on this forum but could not reach anything concrete.

Also please note that we dont have a R/3 system here and are trying to create orders directly on CRm, send them through an IDOC to an external EDI system and further.

Please respond if you have any insight into this.

Regards

Priyanka

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Priayanka

Idocs can be used to send messages to an EDI sub system in contrast to an ALE converter ,The EDI sub-system does not use direct program to program communication for transferring IDocs.

Create RFC destination (SM59)

Create logical ssystem(sale)

Create receiver port WE21

Create partner profile WE20

Enter outbound parameter

Create Site(SMOEAC)

Maintain subscription for publication

Assign maintained site to interface type

I hope this helps

Former Member
0 Kudos

Hi Natarajan,

Thanks a lot for your answer. But can you please elaborate a bit. As per my understanding we cannot go for an outbound EDI transfer through message control in SAP CRM. Coz unlike R/3 i am not able to find any output control on CRM side.

Priyanka

Former Member
0 Kudos

Hi Priyanka

You can go to transaction SALE >PREPARE SENDER AND RECEIVER SYSTEMS>SETUP LOGICAL SYSTEMS >NAME LOGICAL SYSTEM >

CREATE PARTNER PROFILE (WE20)

ENTER A SUITABLE MESSAGE CRMXIF_***_SAVE_M(In the inbound Parameters)

Former Member
0 Kudos

Thanks a lot !!

Will try the guidelines and let u know...thanks again

Regards

Priyanka

Former Member
0 Kudos

Hey thanks for all ur help..

Now see lemme jot down the scenario and the solution that I have thought of (with ur help)...

See we have only CRM and no R/3 here...right

Now using CRM transaction CRMD_BUS2000115(Maintain sales Transaction) I create an order. Ok..the transaction type attached to it is a Z transaction type ZSAM...ok ...and I have a Z action profile ZST_ORDER_MESSAGES where I have scheduled the automatic method call to send Bdocs...ok...

Now this will send Bdocs to the site which I will define using transaction SMOEAC and assign here. Now the Bdocs structure is complex as it flows as per GUIDS in this case (i.e. CRM ) right.....

So I need to map these Bdocs to Idocs throgh some selection programs (e.g RBDMIDOC) but I don’t know if this is right or will it at all help?

Then my plan is that once I get the Idocs I can have all the normal config as in R/3 wherein I will

1. define the RFC

2. define the Logical system

3. define the receiver port

4. define the partner profile

5. create the site and assign it to the interface type.

But how will I map the Bdocs to the idoc ...can u please help me with this?

Priyanka

Former Member
0 Kudos

Hi

See we have only CRM and no R/3 here...right

yes,Right.

Now using CRM transaction CRMD_BUS2000115(Maintain sales Transaction) I create an order

Yes,Thats Right

the transaction type attached to it is a Z transaction type ZSAM...ok

OK

have a Z action profile ZST_ORDER_MESSAGES where I have scheduled the automatic method call to send Bdocs...ok...

OK.

Now this will send Bdocs to the site which I will define using transaction SMOEAC and assign here. Now the Bdocs structure is complex as it flows as per GUIDS in this case (i.e. CRM ) right.....

RIGHT.

Use the ABAP editor.

Message was edited by: Natarajan

Former Member
0 Kudos

Hi Guys,

we are working on the same issue and the question is:

what do you mean with "use ABAP editor" to map the BDOC to the IDOC.

Thanks in advance

Mario

Former Member
0 Kudos

Look in CRM IMG, CRM -> Enhancing Data with External Components -> XIF Adapter Setup.

Answers (0)