cancel
Showing results for 
Search instead for 
Did you mean: 

Error in receiver File Adapter: <Trace level="3" type="T">Unknown channel type: File</Trace>

Former Member
0 Kudos

Hi SAP Guru's,

My scenario is IDOC to FILE Interface, here Interface is succes in SXMB_MONI and failed in receiver file adapter with below error.

Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header: 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 header

Also when I removed Dynamic Configuration and checked, success in SXMB_Moni but file not generated in directory,I could see the error in trace.Please check attachment for Trace Log.

Prior activity before Error: we had updated Java patches to our SAP PI 7.0 version.

Please help me out as we have Production down. PFA Trace log.

Thanks in Advance.

Ashok

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Nabendu,

Thanks everyone for you inputs.

My issue is resolved, Please find the below description.

RCA: To get the FileName at runtime SAP-PI defined UDF at Message Mapping Level for the node: REVISION. Here at node level we configured the UDF with Dynamic Configuration to define the FileName at runtime but the parent node (CNTRLAREA) to Revision node is not mapped, so Dynamic Configuration is not working/define the FileName at runtime.


Solution: Now the parent node CNTRLAREA is mapped with default value constant and SAP PI is able to generate the FileName at runtime.

sorry to update you late and I hope this might help someone.

Regards

Ashok

JaySchwendemann
Active Contributor
0 Kudos

Would you mind marking your question as "answered"? You could of course mark your own message as the solution, if that happens to be so

Answers (3)

Answers (3)

nabendu_sen
Active Contributor
0 Kudos

Hi Ashok,

I think when using Dynamic Configuration, either you have not checked Adapter Specific Message Attributes at your Sender Channel or your UDF code is not properly populating Dynamic Header.

If you remove Dynamic Configuration from your code, then you need to mention proper name at "File Name Scheme" of the receiver File channel. Otherwise again it will fail.

Take a close look into the below document and cross check all the steps:

http://www.saptechnical.com/Tips/XI/ASMA/Index.htm

Regards,

Nabendu.

Harish
Active Contributor
0 Kudos

Hi Ashok,

according to your trace file there is the dynamic configuration variable FileName is not populated, instead of that IDOC control parameter is set in dynamic configuration.

<Trace level="3" type="T">Dynamic Configuration ( http://sap.com/xi/XI/System/IDoc SNDPOR SAPQAS ) ( http://sap.com/xi/XI/System/IDoc SNDPRN QASCLNT100 ) ( http://sap.com/xi/XI/System/IDoc SNDPRT LS ) ( http://sap.com/xi/XI/System/IDoc RCVPOR NWDCLNT001 ) ( http://sap.com/xi/XI/System/IDoc RCVPRN NWDCLNT001 ) ( http://sap.com/xi/XI/System/IDoc RCVPRT LS ) ( http://sap.com/xi/XI/System/IDoc RCVPFC LS ) ( http://sap.com/xi/XI/System/IDoc MESTYP ORDCHG ) ( http://sap.com/xi/XI/System/IDoc IDOCTYP ORDERS05 ) ( http://sap.com/xi/XI/System/IDoc CIMTYP ZORDEXT ) ( http://sap.com/xi/XI/Message/30 CALLER_CODEPAGE 4103 )</Trace>

Please check if you have uploaded the correct trace file. the error is because FileName dynamic configuration variable is not set and it is mandatory in receiver communication channel.

If the receiver comm channel is change and dynamic configuration is removed then the issue is with cache update as mentioned by Inaki.

regards,

Harish

iaki_vila
Active Contributor
0 Kudos

Hi Ashok,

It can be a cache issue, try to copy the communicattion channel to another one or to refresh the CPA cache.

Regards.

Former Member
0 Kudos

Hi Inaki Vila

Thanks for your prompt response.

CPA cache refresh on full mode is done twice but no effect,issue is still existing.

@Suman Shah: i maintained the UDF for dynamic configuration and configured ASMA parameters.but i kept it aside now and working on Trace log issue for work around.Please suggest.

Regards

Ashok

Harish
Active Contributor
0 Kudos

Hi Ashoke,

As per your error, communication channel is still looking for dynamic configuration variable FileName. try to make some dummy changes in comm channel and reactivate the channel.

regards,

Harish