cancel
Showing results for 
Search instead for 
Did you mean: 

Map Filename to field within mapping

Former Member
0 Kudos

I have a requirement to map the filename to a field in the header of a file to file scenario and then create a new filename based upon the fields of the data structure of the header record.

I am comfortable using the variable substituion to either map the filename from sender to reciever and to use dynamic file names to create the new file name, but I am unsure how i can the read filename from the Adapter Specific Message Attributes and pass this value to a field on the outbound structure of the mapping.

Can anyone give me some pointers on how i can map the sending "Filename" to the outbound field within PI7.1 SP6?

Accepted Solutions (1)

Accepted Solutions (1)

henrique_pinto
Active Contributor
0 Kudos

Is it any different from PI 7.0?

http://help.sap.com/saphelp_nwpi71/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm

In your UDF, just use .get() (no need for .put() ).

Regards,

Henrique.

Former Member
0 Kudos

Thank you Henrique.

henrique_pinto
Active Contributor
0 Kudos

sure, no problem.

Regards,

Henrique.

Answers (0)