cancel
Showing results for 
Search instead for 
Did you mean: 

Target Filename using Dynamic Configuration

Former Member
0 Kudos

Hello SAP experts,

Please advise what would be the correct UDF code, which will cater the below file naming requirements..

Scenario: IDoc to flatfile conversion ---

File Receiver

REQUIREMENT:  xpo_xxxx_yyyymmdd_parcel.dat

 

- where 'xxxx' is the customer’s XPO account number that can be obtained from the payload.

Example:

xpo_1234_20110121_parcel.dat

- where '1234' is the value of account number produced in the map/payload.

Please advise.

Thanks,

Fred

Accepted Solutions (0)

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

There are plenty of links for the code sample for dynamic configuration. If you want to learn about

dynamic configuration, ASMA and variable substitution and their usages, Please glance these  links

http://scn.sap.com/community/pi-and-soa-middleware/blog/2009/03/26/dynamic-configuration-vs-variable...

http://scn.sap.com/people/madanmohan.agrawal/blog/2009/05/20/combining-three-different-aspects-of-pi...

former_member184681
Active Contributor
0 Kudos

Hi Frederick,

Use this Wiki as a reference for possibilities to dynamically set the receiver file name:

http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=272171407

It also covers an example code for a UDF when using ASMA & Dynamic Configuration.

Regards,

Greg