on 11-11-2014 5:14 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashok,
It can be a cache issue, try to copy the communicattion channel to another one or to refresh the CPA cache.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.