on 09-14-2012 12:45 PM
Hi Experts,
I have a requirement:
File server folder will have files like : abc1,abc2,abc3..... We need to pick these files and place in application server folder with same name: abc1,abc2.abc3...
Since PI is only being used to pick and drop file, no ESR is involved .
Can you pls provide suggestions as to how can this be achieved without dynamic configuration code.
Regards
Pankaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In ASMA,
Please check my Filename in both sender and receiver side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to keep the filename of the sender side in the receiver side you could tick this:
Later to thick the Variable substitution the upper check:
17. If you want missing message attributes to trigger error messages, select Fail If Adapter-Specific Message Attributes Missing.
If the indicator is set and the header for adapter-specific message attributes or one of the set attributes is missing from the message, this leads, in asynchronous cases, to a delivery exception in the audit log of the message. In synchronous cases, the sender of the message is notified.
If you do not set the indicator, and message attributes are missing, the adapter accesses information from the adapter configuration.
To evaluate the following attributes in the PI message header, set the corresponding indicators:
- File Name (technical name: FileName)
- Directory (technical name: Directory)
- File Type (technical name: FileType)
- File Encoding (technical name: FileEncoding)
You use FileName as variable.
Example of variable substitution in sameer blog:
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Pankaj,
Please check the below link which will be usefull...
http://wiki.sdn.sap.com/wiki/display/XI/Dynamic+file+name+for+pass-through+scenario
also you can search in sdn you can get more links for this issue.
Regards,
Naveen.
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 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.