cancel
Showing results for 
Search instead for 
Did you mean: 

Using variable in Payload Zip Bean

Former Member
0 Kudos

Hi to everyone, in my scenario I'm using receiver file adpater to create a zip file with payload and its attachment using Payload zip bean Module.

In the parameter Transform.ContentType I insert:text/xml;name = 'test.xml' for the payload and text/xml;name = 'test.txt' for the attachment.

I would zip theese files keeping their orinal file name, so is it possible to use the variable %filename% that contains the name of the message interface, or also the original file name?

Thank's in advance for your help.

Anassap_XI.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please check :

/people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework

You find more information about the PayloadZipBean in SAP note 965256.

*Pls: Reward points if helpful*

Regards,

Jyoti

Former Member
0 Kudos

Hi Jyoti,

thank's for your answer, I read the weblog and the SAP note, but are not heplful for my problem.

What I try to do is to use variable for the name of the file that want to include in zip file, keeping original name, I woudn't assign a file name like "test.xml" ....

Any ideas?

Regards.