cancel
Showing results for 
Search instead for 
Did you mean: 

Procedure for Mapping two types of Idocs from RFC function Module

Former Member
0 Kudos

Hi

My Scenario is RFC -- XI -- IDOC

Here i have 2 custom Idocs

First IDOC for Creation

second is for Deletion/Changing

Based on the condition from RFC it should trigger either one of the IDOC above.

Please provide me the procedure to do in IR and ID..

Regards,

Yeswanth.

Accepted Solutions (1)

Accepted Solutions (1)

former_member859847
Active Contributor
0 Kudos

Hi,

You can use the configured recivers in reciver determination step of ID.

in u rscenario, you need two receivers for two custom idocs.

1. for creation

2. deletion and changing.

in reciver detemination, u have condition to triger the two idocs.

warm regards

mahesh.

Answers (2)

Answers (2)

Former Member
0 Kudos

Since you just have one receiver system to receive your two IDOCs, You need to have conditional interface determinations:

In your interface determination, you can add more then one interface deteremination based on XPATH condition which is your RFC condition:Type = Create / Deletion/ Update:

Saying if Field = "Create", then choose IDOC 1 as your receiving interface.

Similarly, if Field = "Update", choose IDOC 2 ad your receiver interface.

Your mapping is multi mapping, so you will spcify same mapping program for both interface determination.

The rest of configuration is just regular steps.

Liang

Former Member
0 Kudos

Hi Liang Ji,

Thanks for the Reply .I am having only one Receiver for both the IDOCS but the mapping is not Multimapping .It is mapped based on the condition that is given in Receiver Determination and i has two interface Determinations.

Can u please explain me how to do this.

Regards,

Yeswanth Raj.

Former Member
0 Kudos

in the interface determination u can provide ur condition so that the required interface (idoc) gets triggered

Former Member
0 Kudos

Thanks Aravind

Can you please explain more elaboratively...

I need exact solution here..

Actually, I have SenderRFC and 2 IDOCs (for add/change/delete)

Note : add : 1 idoc and change/delete 2nd IDOC

Finally how many ways can i do this..

for eg., if i do 2 Message Mappings then i need to check the conditions in Receiver Determination and i require 2 Interface Determinations

or else

If i done with 1 Message Mapping where Receiver side if i import both the idocs and done the mapping.

Please provide me the easiest way to do above...

It's very urgent...Thanks in advance...

Regards,

Yeswanth Raj.

Former Member
0 Kudos

YeswanthRaj:

I found your conflicted statements

The following statement you say you just have one receiver, to receive two IDOCs

But i have only one receiver where the 2 IDOcs needs to be send based on the condition..

The following statements showing that you have more than one receiver,

the condition editor for receiver determination usually used for multiple receivers based on XPATH or Context Object condition

It is mapped based on the condition that is given in Receiver Determination and i has two interface Determinations.

It seems that the first scenario is your situation.

If your answer is yes, and your source interface is just one,and target interface is two (two IDOC), then this should be typical

muti-mapping scenario, and the propose I gave to you should fit

Regards.

Liang

Former Member
0 Kudos

Thanks for your reply Mahesh..

Could you please provide me the steps in ID

like, Communication Channels, etc.,

Regards,

Yeswanth

former_member859847
Active Contributor
0 Kudos

Hi,

You have two recivers for creation and change or delete.

you have to create the following steps.

1. sender agreement(1)

2. reciver determination(1), where you have to choose configured recivers option and select the related services.

and chhose the Rfc field for condition.

3. Interface determination(2)- where u have the two interface mappings

4. Reciver agreement(2)- you have two recivers, then u need two communicatioon channels.

let me know, any more help required.

warm regards

mahesh.

Former Member
0 Kudos

Thanks Mahesh..

But i have only one receiver where the 2 IDOcs needs to be send based on the condition..

Can you please explain this more elaboratively..if possible.

Regards,

Yeswanth Raj.