2006 Dec 19 8:38 AM
Hi,
I need to download the data to XML file. I have hard coded the file path in the Report Program. This Report should be shceduled for every night.
But the problem is that since I have hard coded the path, whenever the program is deployed to production system there will be a problem regarding the file path.
Can any body throw some light on how to avoid hard coding of the filepath ?
Reward points are assured.
Best Regards
Bhagat.
2006 Dec 19 8:43 AM
Since it is schedule job, i'm assuming you are using application server. In that case, you will have same directory structure like DIR_TRANS, DIR_DATA etc. Otherwise, you can use logical filename.
Since it is schedule job, i'm assuming you are using application server. In that case, you will have same directory structure like DIR_TRANS, DIR_DATA etc. Otherwise, you can use logical filename.
2006 Dec 19 8:43 AM
Since it is schedule job, i'm assuming you are using application server. In that case, you will have same directory structure like DIR_TRANS, DIR_DATA etc. Otherwise, you can use logical filename.
2006 Dec 19 9:07 AM
Hi sanjay,
Thanks for your reply.
Can we have XML down load to application server ?
I am not using Application Server for it. Can I use Application Server for XML down load also ?
I am using GUI_Download.
Can you throw some light on it ?
Best Regards
Bhagat.
2006 Dec 19 9:18 AM
Yes, you can download XML to application server also. You need to use OPEN DATASET, TRANSFER etc for downloading.
For XML, are you using CALL TRANSFORMATION or other FM?
2006 Dec 19 9:36 AM
Yes I am using CALL TRANSFORMATION ID.
Can you send me some example code for Down loading the data to XML output on Application Server ?
2006 Dec 19 11:06 AM
I dont have sample code but you can search this forum with XML and download and you will find the example.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |