cancel
Showing results for 
Search instead for 
Did you mean: 

How to do message mapping in IDoc or RFC to file transfer ?

harish_babu5
Participant
0 Kudos

Hello guys. I have a doubt. I know how to do an IDoc to file or RFC to file scenario. But how to do mapping in an Idoc to file or RFC to file scenario ? As I understand mapping is done in the sender. But IDoc or RFhas no interface as its used for SAP. So where do we need to perform mapping ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Hari,

In Message mepping,Select your RFC or IDOC form Imported objects and place them either in Source side or in target side,where evrr you want depending on scenario.

put file Message Type on other side and procede with mapping.

Award points if found usefull.....

Answers (4)

Answers (4)

Former Member
0 Kudos

u need to give the SAP server detyails from which u are importing the idoc.

Use the imported pbjects option to import Idoc/RFc

every idoc has a structure..

there are certain mandatory fields which u need to specify constants for every idoc and apart from that u can match the other fields based on ur file structure

Former Member
0 Kudos

hi

For rfc or Idoc there will be inbuild structure u don't required it again and coming to mapping part create datatype and message type for the file and then in the source side get the structure from the imported objects and the receiver side is your file and again in that map it required fields only.

Reward if useful.

harish_babu5
Participant
0 Kudos

But to do mapping you need interface insender, what i asked is where od I create the interface if its idoc or rfc the sender. they dont have an interface ..

Former Member
0 Kudos

you have to create Interface.

you have to select Message type as IDOC or RFC,From Imported objects.

But there is no need Creating Datatype or message type.

Former Member
0 Kudos

Hi,

You can directly use the IDOC or RFC from the Imported objetcs in your mapping program.

Regards,

Kumar

P.S: Reward Points if Helpful!!!!!!!!

Former Member
0 Kudos

Hi,

You dont need the Data type and message type for IDOC's, RFC's and for external definitions. so u just create one DT,MT for your File structure and you need 2 message interfaces, one for file and one for the Idoc/RFC. You can use them in your mapping program.

Regards,

Kumar.

P.S: Reward Points if Helpful!!!!!!!!!