cancel
Showing results for 
Search instead for 
Did you mean: 

File adapter - Additional field

Former Member
0 Kudos

Hi,

Can I pass an additional field in the file adapter. The scenario is

1. Inbound file - to XI - File adapter

2. XI to R3 - Proxy with no mapping.

I am trying to add a field at the end of the file to signify the source in the file adapter.

Any help is appreciated.

Joe Vellaiparambil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jose !

I think you will need to use mapping to populate the extra field, and populate it using dynamic configuration to get the source file name and/or source directory from the input file. You can create an input message type with an extra field that is not defined in the input file. Just make a reference to the field name in the FCC of the file adapter sender and the adapter will create that field in the message. Then you could us an UDF to get the dynamic configuration values of source filename and directory and map that to the target.

Regards,

Matias.

Answers (1)

Answers (1)

Former Member
0 Kudos

If you want to get the source directory from the file adapter, use the Adapter-Specific Message Attributes.

Look at the section "Advanced Tab Page" in

http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm

Then use the following to retrieve the information in your mapping.

http://help.sap.com/saphelp_nw70/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm