Archive for the ‘Java’ Category
In my previous blog SAP UME Configuration, I explained how to configure UME utilize ABAP user management. During web development, we always need to do coding for authorization or user management like search, creation and change. SAP provides an set of API for this purpose.
The UME API document can be visited at: http://help.sap.com/javadocs/NW04S/current/se/com/sap/security/api/IUserFactory.html
Before using these API, you need to add the public part of DC com.sap.security.api to your custom DCs like web dynpro which locates in software component SAP-JEE.
In 2003, SAP introduced a revolutionary vision for the future of business applications: Enterprise Services Architecture (ESA). Many of the world’s top-performing enterprises adopted ESA in the first year after it was announced, reducing the cost of IT maintenance, and freeing up resources for innovation.
To realize this ESA vision, SAP introduced SAP NetWeaver in 2003. A breakthrough platform based around the concept of integration, SAP NetWeaver has had the fastest ramp-up of any platform in history. Adopting SAP NetWeaver was the first step on the road to ESA for many SAP customers. One of the most unique capabilities of SAP NetWeaver is called “Composite Application Framework” (CAF), designed to reduce the cost of developing and deploying composite applications.
SAP Netweaver Developer Studio is an Java IDE that based on Eclipse platform. It includes the standard Eclipse features and SAP features. SAP NetWeaver Developer Studio provides several features for composing and developing business applications. You can select the features according to the components you have installed on your AS Java of the Composition Environment.
Before you start to install NWDS, make sure the NWDS and Netweaver server have the same version. It can keep you away from some werid issues.
When you have a central AS Java, you can access the update site from below URL:
http://<host>:<httpport>/updatesite
Make sure that the update site is properly installed and that the post-installation activities for the update site have already been performed. For more information, see section Post-Installation Activities -> Configuring the IDE Update Site -> in the installation documentation, available at:
Before we can do any developments related to SAP Java technology, the NWDI server must be well configured. NWDI (Netweaver Development Infrastructure) is used as an industry-strength development environment. It combines all functionality needed for the whole life-cycle of software development and provides processes from product definition to delivery and maintenance.
Below diagram shows the architecture and main components of NWDI. This post try to explain how to create a track for SAP Java development.

Download file is a common requirement in custom web dynpro application. As we all know, in web dynpro we cannnot direct enter html code. Everything is hidden behind the model which designed using NWDS. Web dynpro provides an UI element named ‘FileDownload’. Below is the steps for how to use FileDownload in web dynpro.
In the ABAP program, we can use ABAP statement to show the error, warning or information message to the user. In Web dynpro for Java, It is also very convenience to handle the message.
In some case, we need to pop up a new window to show some more data. Here, I will introduce how to pop up a new window using web dynpro Java.
Step 1. Create a new window in your WD component.
In the web dynpro applicaition, we always find some very cool icons. This post will tell you how to use the SAP standard icons or your custom icons in the custom web dynpro applications.
1. Use SAP standard icons
First, find a list of SAP standard icons here. This document contains all the icons,its bitmap name and description.
When developing web dynpro applications, we need to create two RFC destinations. One is used to retrieve RFM metadata and another one is used for retrieving transaction data. We can configure the JCo destination using web dynpro content administrator.

