Google+ Facebook Twitter MySpace SC

Sunday, November 25, 2012

Hiding SAP Netweaver login screen while opening Webdynpro Application


Hiding SAP Netweaver login screen while opening Webdynpro Application

Introduction
This article is to hide SAP Netweaver login screen by directly opening the Webdynpro ABAP application. Usually Webdynpro application first opens SAP Netweaver login screen then only it proceed to the application’s home page. This can be overcome by applying some setting to the specific application through SICF transaction. In this way, it is possible to improve the performance of the application by skipping the three successive login screen actions.

Objective

To hide SAP Netweaver login screen by directly opening the Webdynpro ABAP application.

Steps

In this application, first create a Webdynpro component and application to display text in the application. Then to do settings through SICF transaction to hide the login screens for that application.
Part 1
1.     Create one Webdynpro Component  
Go to SE80 -> Create Webdynpro component.  

Give name of Webdynpro component and click Display Icon.
Then it will show one pop up message to create the component.
Click Yes.  
2.     Create the component with view and window.
Give the description for Webdynpro component.  
3.     Save the component in local object or package.  
4.     Go to Layout tab of main view . Next step is to create text view .
Now Click continue.  
5.     Then enter text in properties of text view.
6.     Create a Webdynpro application for the Webdynpro component.
7.     Give name and description for the application.        
8.     Then Save and Activate the entire component.
9.       Go to web Dynpro application and then test the application.
If we usually test application without doing any settings, SAP Net weaver login screen will open then it   proceed to display the homepage of Webdynpro application.
 
 
After enter username and Password and hit login
Again another login screen will open here also user has to press Logon Button
10.   After hitting login one popup window will come here also user has to enter user name and password
11.   Then one login information screen will appear
12.   After giving continue only application will appear to user.
Part 2
In order to avoid these many transitions of login related screens, do the following steps.
1.       Go to SICF transaction and press execute
2. In the next screen , under node of default host -> sap -> bc -> Webdynpro  -> sap

3. Then  under sap select required application name. In this case select Zapp_auto_logon  and double click it.

4. This screen will open. In this select Logon Data TAB and edit.

  

5. Then check the Use all Logon Procedures and enter the appropriate client, user, Password and Language and hit save.

Now test the application. It will display directly the home page of the application.

Technology

Tool & Technology: Webdynpro ABAP, ABAP

Output

Now Webdynpro application homepage will open directly to user without displaying LOGIN screens.

Summary  

This article is to hide SAP Netweaver login screen by directly opening the Webdynpro ABAP application. Usually Webdynpro application first opens SAP Netweaver login screen then only it proceed to the application’s home page. This can be overcome by applying some setting to the specific application (Zapp_Auto_logon) through SICF transaction by providing logon related details. In this way, it is possible to improve the performance of the application by reducing the time through skipping three successive login related screens and further  actions in login screens .




No comments:

Post a Comment