Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Dynamic File Name with PayloadSwapBean

$
0
0

I’ve  created an abap proxy with a small schema containing PO and PO_Line with an attachment that is a zipped PDF file (.zip).


I have configured a File adapter with the payloadswapbean to place the attached .zip file in an FTP folder.  Now I need to dynamically name the .zip file using the proxy payload values.


<PONUM>_ <POLine>.zip


Variable Substitution takes place after the payload has been swapped so I am not able to use that.  How can I take my proxy XML payload and dynamically create the file name?  I have tried DynamicConfigurationBean but it seems to come back null when trying to read the XI FileName:


Write http://sap.com/xi/XI/System/XI FileName I have flagged the Adapter Specific Message Attributes for FileName.


What options do I have?


Viewing all articles
Browse latest Browse all 7030

Trending Articles