cancel
Showing results for 
Search instead for 
Did you mean: 

Generic File Proxy

Former Member
0 Kudos

Hi,

We have around 10 file to file scenarios from SAP R/3 to external system.All the scenarios are 1 to 1 mapping, no complex mapping is involved.

For these interfaces i want to created one genric proxy, which will be used by all of them.

Please anybody can give me an idea, how can i make this work.

Thanks

Srinivas

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Srinivas,

I think its a good idea to do it as this will reduce the number of development and support time.

You can follow the following approach:

1. Make a master structure for the sender file structure. This master structure will include all the fields from sender 10 interfaces.

2. Similarly create a master structure for reciever interface. Make sure you set the occurence of all the target fields as 0..1 if you set the occurrence 1 then whenver that field is not populated in the target structure; PI mapping will give runtime error.

3. Do your message mapping as it is.

3. Create the ID objects including File sender and reciever as it is. (Configure FCC properly!!)

Let us know if you face any issue with this approach..

Former Member
0 Kudos

Hello Punnet,

Thanks for your suggestion, But i see a issue with this approach.

1)If we add any additional field, then the whole structure will be regenerated -- by doing this we should test all the interfaces which are using this structure.

In the structure along with the fields i will pass 2 more fields

<External_System>

<Delimeter>

In the file contnent conversion i should specify the field seperator, Can we get the value of field seperator from the payload into FCC

Thanks

Srinivas

agasthuri_doss
Active Contributor
0 Kudos

Srinivas,

>1)If we add any additional field, then the whole structure will be regenerated -- by doing this we should test all the interfaces which are using this structure.

Yes, If I were you I will test all the interface

>>In the file contnent conversion i should specify the field seperator,

Yes

>>Can we get the value of field seperator from the payload into FCC

I don't think it is possible

Cheers

Agasthuri