cancel
Showing results for 
Search instead for 
Did you mean: 

File to Idoc ( RFC lookup )

Former Member
0 Kudos

Hi,

I need to create File to Idoc scenario with the use of RFC lookup. Need to do some currency lookups based on country specific values in file and pass this information to IDoc. what are the steps I need to follow to complete this scenario?

a) Do I need to create RFC function module for this or not?

b) Where do I need to store these lookup info ( country -- currency values )?

c) Do I need to create RFC Comm channel and RFC Receiver agreements?

Can anybody help me out!

-Esha

Accepted Solutions (1)

Accepted Solutions (1)

VijayKonam
Active Contributor
0 Kudos

Yes. You need to create an RFC which gives you the values u need for a given value. You can store these values on R3 Z table. You need to just create the RFC channel and use that in the UDF.

Search for the blogs on the forum.

VJ

Answers (3)

Answers (3)

0 Kudos

Hello Esha,

To start with, your requirement seems like is to do some currency lookups based on country specific values in file and pass this information to IDoc.

Of course you can go with the RFC lookup regarding which you have other postings already.

But I think, you should be directly able to use Value Mapping.

This is because, most of the time you will be knowing your required values.

So Why don't you create a Value Mapping in the ID and use the same to serve your purpose much easily.

Let me know if you need more information regarding this.

Thank you,

Anupam

sunilchandra007
Active Contributor
0 Kudos

Hi,

>a) Do I need to create RFC function module for this or not?

U can use a RFC Module RFC_READ_TABLE to read data from table in data dictionary.

>b) Where do I need to store these lookup info ( country -- currency values )?

Receiver RFC Communication channel is required for RFC Lookup, but there is no no need of Receiver Agreement.

>c) Do I need to create RFC Comm channel and RFC Receiver agreements?

U can store the lookup info ( country -- currency values ) in a Z table.

Regards,

Chandra

Shabarish_Nair
Active Contributor
0 Kudos