|
Blogs
IntroductionThe Adobe cross-domain policy file: http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html has to be located in the root folder of your application server. For the ABAP Web AS it is not so easy to place file into the root folder. One option is to use a default service (e.g. BSP) and place the file into the mime repository of this BSP. But what if you also want to have a "real" default service? Here I would like to show you a different method what eliminates this issue, and is simple to implement. Crossdomain.xml in the ICM Server cacheWe will use the caching mechanism of the ICM to store the file for us in the root folder. We upload the file in a periodic job every day, and let the ICM will keep the file for us for a day in the cache.
Here is the code you can use in your report. You only need to modify the 'concatenate' section with the content of your crossdomain.xml file. REPORT ZCROSSDOMAIN. Creating a background job to upload the file into the cache.
Now you have a job that will upload the file into the server cache every day. Only thing you have to take care about: Run the report after you have restarted the ICM or deleted the ICM cache.
Dezso Pap works as Senior Support Consultant at SAP
| |||||||||||||||||||||||