Suspend in applications with the same namespace

[] [] [] [] [] [] []

Symptom

In Web Dynpro ABAP, you called a suspend plug to navigate to a different application. This does not work. Instead, the system navigates you to the old application. In addition, the URL for the source application must be part of the name of the URL for the target application to which you want to navigate: For example
The source application has the following URL: /sap/bc/webdynpro/sap/appl
The target application has the following URL: /sap/bc/webdynpro/sap/appl_new
Other terms

RFC 2965, cookies
Reason and Prerequisites

To return to the source application from the target application (in the example above, appl_new), the system must set a session cookie for the source application (in the example above, appl). The system uses the path for the application in the browser to set this. In this example, this would be /sap/bc/webdynpro/sap/appl. If you now redirect to the target application appl_new, the browser also sends the cookie for appl anyway.
After the specification, the browser compares the strings between the URLs. Since the URL for the cookie is part of the URL for the new application, the system also sends the cookie and does not start the new application; instead, you return to the previous application.
Solution

If possible, do not use any subnames for your applications.
After you implement the correction instructions, the path for the cookie is extended by a / to ensure that the string comparison in the browser causes a negative result. However, as a result, when you return to the source application, you must also add a / to the original URL. These corrections are contained in the relevant Support Package.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment