on 10-04-2007 9:04 AM
Hi All,
Is it possible to Dynamically construct target/Source Directory in File Adapter? If yes can anyone plz provide details about the same.
regards
Vinay
Hi Sudheer,
Target directory is fine but what about soruce directory?
regards
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check the option Advance selection for source files in this link.
http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Regards,
Sudheer.
Hi All,
Thankx for ur replies. What i am looking for is constructing the directory dynamically not the filename.
for eg: I am moving payslips from SAP ECC6.0 system to a 3rd party Java Application which functions as a ESS tool. For every month i need to put the payslips in the particular months folder and this as of now is done manually.
The path structure as of now is /oracle/CP1/2007/09/abc.html and everytime i need to change the month. so for September its 09 and for October it becomes 10.
can i get rid of this by any ways.
regards
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vinay,
yes its possible....
check these two blogs..
Dynamic File Name Part 1
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
Dynamic File Name Part 2
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
regards
BILL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Dont think itz possible in Sender File Adapter.
In Receiver file adapter you can do the same.
Search in sdn -- " Dynamic File Directory " . You will get lotz of useful links.
Regards,
Sumit
Message was edited by:
Sumit Khetawat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can use variable substitution. Check
http://help.sap.com/saphelp_nw70/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
Regards,
Sudheer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the receiver communicatio channel for file adapter, there is an option "Create Target Directory". It will automatically create the folder on the server specified.
At the source side, there is no logical reason for creating a file. XI pickes up the file from the location specified.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Only logical thing for creating the directory on sender side is for the purpose of Archiving which can be achieved by using the " Processing Mode " as " Archive ".
I never tried creating it dynamically but seems to be a good exercise.
Poll the file & then archive it in a folder with name as <ddmmhhss>.
Regards
Lalit
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.