I am having IDOC to Ftp scenario, where i need to send the IDOC on condition.
1. In IDOC there is a field Location, based on this field the target files has to be created.
1. for Location India ---> file has to be created in INDIAN folder
2. for Location USA ---> file has to be created in USA folder
3. 2. for Location Uk ---> file has to be created in UK folder etc.......
Like this there are nearly 20 folders where i need to create at the target side, based on the location field the fied has to be created at the respective folder automatically.
When i trigger the IDOC with the Location INDIA, automatically the file has to get created in INDIAN FOLDER.
Please help me...