cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to IDOCs

Former Member
0 Kudos

Hi Experts,

I have a scenario for RFC -- XI -- IDOC

In my XI dev. system already i have imported RFC and IDOC's

I have 2 Custom IDOC's

First IDOC is for Create

Second IDOC is for Change/Delete

Based on the condition i should select either one of the above IDOCs.

So, How many Message Mappings shall i need to create or

If i import both IDOCs at Receiver side and can i do the Mapping.

Awaiting for your response and Reward points for helpful answers...

Thanks & Regards,

Ramana Kumar. A

Accepted Solutions (1)

Accepted Solutions (1)

venky_b
Participant
0 Kudos

Hi,

Create two message mapping. At receiver determination put a condition to check if it has to be create then call Create maaping else call change/delete mapping.

Thanks,

Venkatesh

Former Member
0 Kudos

Thanks Venkatesh...

I understood i have to create 2 Message Mappings and need to write conditions in Receiver Determination....

But, could you please give me further...like if i create 2 MM then i need to create 2 IM also..

and what are the ID objects i have to create here.

Meanwhile..i am mapping RFC to IDOC

in IDOC i created one duplicate subtree from XI system and mapped with my field at RFC side. When i tried to save this after i did the mapping it is saying Target Structure has no such path and that is skipping Mapping.

Could you please let me know the issues above ASAP...

Thanks & Regards,

Ramana.

Former Member
0 Kudos

When i tried to save this after i did the mapping it is saying Target Structure has no such path and that is skipping Mapping.

You have to map the parent node also along with fields in the duplicate subtree

Former Member
0 Kudos

Thanks Mr. Sekhar

I will explain you in detail about i need to map

Sender : RFC

HEADER

field1

field2

Receiver : IDOC

ZORDERS

IDOC

Begin

E1EDK03

IDDAT-001

E1EDK03(I have created duplicate subtree)

IDDAT-002

Here i mapped with

field1 to IDDAT-001

field2 to IDDAT-002

which header i need to map here.

Regards,

Ramana.

Former Member
0 Kudos

you have to map the both E1EDK03 nodes.Because if you duplicate the E1EDK03 the occurence of those nodes change into (0 to ...) automatically.

Former Member
0 Kudos

I understood..

but, when i create duplicate subtree of E1EDK03, the same fields again created with the same type of occurrences of those nodes..

already i mapped the fields with source and target

but, to whom both E1EDK03 i should map here at sender side.

is it Sender Header to both E1EDK03 ??

here sender Header occurence is 1...1 and

Receiver both E1EDK03 is 0...10

Pls guide me to which nodes i need to map with sender side

Regards,

Ramana.

former_member192892
Active Contributor
0 Kudos

Ramana,

You can map E1EDK03 to constant. Both of the E1EDK03 i.e.

This is just to confirm that the E1EDK03 node will occur always in the receiver side

Former Member
0 Kudos

Thanks Varun,

based on the condition here,

field1 map with E1EDK03 (field: IDDAT) and the description here is, Fixed value = 001 set up in connection with the next field.

Here i map constant 001 to E1EDK03 node

Is this correct?

Next Field here is DATUM and the desc. here is If = `1´ then map date from field1 else if `blank`

field2 map with E1EDK03 (field: IDDAT) and the description here is, Fixed value = 002 set up in connection with the next field.

Here i map constant 002 to E1EDK03 node

Is this correct?

Next Field here is DATUM and the desc. here is If = `1´ then map date from field2 else if `blank`

Regards,

Ramana.

Answers (1)

Answers (1)

Former Member
0 Kudos

Could you pls give me the solution ASAP...

Regards,

Ramana.