Hi Experts,
In my Idoc to file scenario implementation, I need to put the file generated after mapping in a directory (via FTP) but the determination of the directory is dynamic and based on one of the fields in the incoming idoc.
I mean the Idoc which comes from the SAP system has a field which gives the store number (length 4) like S001, S002 etc. Now based on this store number I have to determine the folder in which that file has to be posted, folder like STORES001, STORES002 etc. which is already there in the file server.
Hence I have to read that field in idoc and apend it to "STORE" and put that in the target directory field of the communication channel. Can you please help me in achieving this step by step.
The receiver is the same file system just the folder/directory where the file has to be put is different.
Please help.
Thanks and regards,
Yash