on 04-22-2008 3:58 AM
Attempt to process file failed with com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message hi am getting error .
and i am not getting
When we run our file to file scenario we can now see that there's a new section called DynamicConfiguration....
will you please tell me what should i do . i have configured
adapter specifc properties
thanking you
please help me it is very urgent
thanmking you
sridhar
Hi Sridhar,
Refer to below links its about Dynamic configuration
Refer- http://help.sap.com/saphelp_nw2004s/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
Hope your problem wil get solved....
Thanks
Sai
PS: kindly reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sridhar,
Since your scenario is proxy you are getting this error as there is no concept dynamic configuartion for PROXY.
It is part of file adapter. Yet you can set value for FileName if your scenario is PROXY To FIle
DynamicConfiguration conf = (DynamicConfiguration)
container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey KEY_FILENAME = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String Filename = arg[0]; // means you have to pass the file name(ABAP PROXY) from Source structure to UDF as a parameter.
conf.put(KEY_FILENAME, Filename );
.
what is your scenario. ABAPPROXY -
>?
Thanks
Gujjeti
Hi,
Then use code which I replied earlier.
DynamicConfiguration conf = (DynamicConfiguration)
container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey KEY_FILENAME = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String OurFileName= arg[0]; // means you have to pass the file name(ABAP PROXY) from Source structure to UDF as a parameter.
conf.put(KEY_FILENAME, OurFileName);
return OurFileName;//if you need this in target structure
Any doubts, you are welcome
Thanks
Gujjeti
Edited by: Praveen Gujjeti on Apr 22, 2008 6:29 AM
hi thank you very much , i have done the same , but let me expalin i am getting the same error ,
mean while
this what i am giving in the adapter configuration
target directory /xxxx/einv/xx/xxx
file name schema %filename%
,
variable name filename refference payload:MT_eINVOICE_RECV,1,Filename,
pease help me it is very urgent
Hi,
>target directory /xxxx/einv/xx/xx
>file name schema %filename%
You are using variable substitution. Dont use that.
Instead, Give . in the FileName Schema and Check the Adapterspecific parameters and check file name and activate the file Adapter. Then execute the scenario. It should work.
Thanks
Gujjeti
Edited by: Praveen Gujjeti on Apr 22, 2008 7:52 AM
Hi
I guess there will be check box for variable substitution. just uncheck the box. save and activate the scenario then execute the scenario.
Else remove what ever you mentioned in the variable substitution fields save and activate and execute your scenario.
Thanks,
Gujjeti
Edited by: Praveen Gujjeti on Apr 22, 2008 8:19 AM
Refer- http://help.sap.com/saphelp_nw2004s/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
is not available as you have solved the problem?
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.