on 03-05-2008 2:48 AM
Hello everyone!
I'm using the 'variable substitution' property in XI to replace the filename of the output file to a value in the message payload.
Here are the parameters I provided:
File Name Scheme: %filename%.xml
Variable Name: filename
Reference: payload:ORDERS05,1,recordset,1,IDOC,1,E1EDK02,BELNR,1
I'm getting this error in the adapter engine:
Caught exception while initializing variable substitution engine: Cannot parse pseudo-path for variable substitution: 'filename': Expected numeric element index, got 'BELNR': For input string: "BELNR"
Can anyone tell me what this means, and how I can fix this problem?
Thanks in advance!
Glenn
Glenn,
Is it IDOC to File Scenario? Are u writing the IDOC to file ? Can u try this ORDERS05,1, BELNR,1
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yup, raj! it's IDOC to file.... I did what you asked but I'm now getting this error:
MP: Exception caught with 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
any idea what it means?
Kind regards,
Glenn
Resolved the issue guys! I just ticked the 'Disable Security Checks'
Thanks for your replies!
Glenn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try with this Hope this helps:
payload:ORDERS05,1,IDOC,1,E1EDK02,1,BELNR,1
Reward points if found helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try the following
Variable Name: filename
Reference: *payload:ORDERS05,1,recordset,1,IDOC,1,E1EDK02,1,BELNR,1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.