cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic File Name and File size

Former Member
0 Kudos

Hi All

I need some help in calling Dynamic File Name and Dynamic File size of a file in my adapter Module.

Could you please provided some help on the same?

I have tried the same through UDF it is working. Could anyone provide me the steps for the same

Regards

Abhishek Mahajan

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>Could you please provided some help on the same?

you can get dynamic adapter properties with

getMessageProperty method

and set them with

setMessageProperty

is that what you're looking for?

Regards,

Michal Krawczyk

http://mypigenie.com XI/PI FAQ

Former Member
0 Kudos

I have an interface where I have to do File Validation for which I require File size, File Name and hashcode. So I need to get the parameters details dynamically. Can you please provide some help in devloping the Adapter module.

Regards

Abhishek Mahajan

MichalKrawczyk
Active Contributor
0 Kudos

hi,

we already did:

adapter module dev try guide on:

http://www.mypigenie.com/adapter-module

the methods I already gave you - use the one with get to get

the dynamic properties

you don't need anything more

Regards,

Michal KRawczyk

http://mypigenie.com XI/PI FAQ

Answers (1)

Answers (1)

former_member200962
Active Contributor
0 Kudos

Hi,

You can use the already available adapter module "DynamicConfigurationBean". Have this adapter module at the top of the module list in CC.

Have the parameter value as insert http://sap.com/xi/XI/System/File FileName and http://sap.com/xi/XI/System/File SourceFileSize (corresponding to the key names)

For more info:

http://help.sap.com/saphelp_nw04/helpdata/en/45/da2239feb22e98e10000000a155369/frameset.htm

There is also a SAP note available for the same....dont remember the note number:(.....

Regards,

Abhishek.