Showing results for 
Search instead for 
Did you mean: 

How can I create a redirect to an URL like in SICF?

0 Kudos


we offer the payroll ( / in our portal which is a Java-WD. Whenever we import a modified version of the corresponding HRFORM into the P-system the application aborts with an error because the HRFORM has to be generated first after the import.

I wanted to get rid of this problem by using the SICF where you can define a redirect to an URL (I wantet to switch to a "service is under construction"-WD). Unfortunately the SICF can only be used for WD4ABAP-services as I know - not for Java.

Has anybody an idea how to solve my problem? I want to switch to a "service is under construction"-WD whenever there's an abort while processing the payroll application.

We don't have any Java skill.



Accepted Solutions (0)

Answers (1)

Answers (1)

Active Contributor
0 Kudos

You can place the html in component folder. src>mimes>Components. and can be accessed by code

try {
String url = WDURLGenerator.getAbsoluteWebResourceURL(wdComponentAPI.getDeployableObjectPart(),"<redirect>.html");

} catch (WDURLException e) {

1) you can use the url to navigate to the redirect page or can try exit plug.