cancel
Showing results for 
Search instead for 
Did you mean: 

Payload Filename

Former Member
0 Kudos

Hi

I want to include the filename of my file I am sending in the XI system, along with the payload.

I have done dynamic settings in the communication channel and I can see the file name in the Dynamilc configuration.

Can you tell me in which table the name of the file is stored?

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

>>I want to include the filename of my file I am sending in the XI system, along with the payload.

1. Create a filed in to structure to hold the file name.

2. Use this UDF to retrieve the file name from the synamic configuration.

DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");

String ourSourceFileName = conf.get(key);

return  ourSourceFileName;

Thanks

SaNv...

Former Member
0 Kudos

Hi

I am trying to retieve the filename using ABAP, if I can get the name of the table where the name of the file being sent over is saved, then I can retrive it.

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

See this

Regards,

Prateek