ebook img

Important Configurations for Calling ABAP Function from Java PDF

19 Pages·2007·0.59 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Important Configurations for Calling ABAP Function from Java

Important Configurations for Calling ABAP Function from Java Web Dynpro Application Important Configurations for Calling ABAP Function from Java Web Dynpro Application Summary To use an ABAP Function Module (Remote Function Enabled) from a Java Webdynpro Application you have to configure several systems like System Landscape Directory (SLD), SLD Data Supplier etc. This document describes the configuration steps in details. Author: Sudip Das Company: HCL Technologies Created on: 28 June 2007 Author Bio Sudip Das is working as a Netweaver Consultant for HCL Technologies, Kolkata. SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2007 SAP AG 1 Important Configurations for Calling ABAP Function from Java Web Dynpro Application Table of Contents Introduction......................................................................................................................................3 Configure SLD Data Supplier..........................................................................................................4 Prerequisite:.................................................................................................................................4 Procedure:....................................................................................................................................4 Configure System Landscape Directory..........................................................................................8 Prerequisite..................................................................................................................................8 Procedure.....................................................................................................................................8 Server Settings............................................................................................................................8 Data Supplier Bridge Settings....................................................................................................11 Import CIM Model Data..............................................................................................................12 Create New Technical System...................................................................................................13 Related Content.............................................................................................................................18 Disclaimer and Liability Notice.......................................................................................................19 SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2007 SAP AG 2 Important Configurations for Calling ABAP Function from Java Web Dynpro Application Introduction To use an ABAP Function Module (Remote Function Enabled) from a Java Webdynpro Application you have to configure several systems like System Landscape Directory (SLD), SLD Data Supplier etc. The scenario is that, we have two WAS, one is installed with Java Stack (let hostname hooghly) and another is installed with ABAP Stack (let hostname sindhu, a R/3 system). The webdynpro application will be deployed in hooghly server and the ABAP function modules are located in sindhu server. Some important information are needed for configuration, these are listed below. For hooghly server (Java Stack) Hostname: hooghly Remote login credential Login credential to use Visual Administrator tool Login credential to configure SLD Login credential to use Webdynpro Content Administrator. For sindhu server (ABAP Stack) Hostname: sindhu SID: DEV System Number: 00 User name and password, which has the access to ABAP function module Client: 200 Installation Number: 00 Database Hostname: sindhu Logon group in which the user is assigned SAP Logon PAD i.e SAP GUI (optional) SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2007 SAP AG 3 Important Configurations for Calling ABAP Function from Java Web Dynpro Application Configure SLD Data Supplier Prerequisite: Access for remote login to SAP J2EE Engine Access to Visual Administrator Procedure: Open Visual Administrator using go.bat (for Windows) file of \\<server>\usr\sap\<SAPSID>\ JC00\j2ee\admin folder Go to SLD Data Supplier service under the Services node of Cluster tab. Now open HTTP Settings tab and provide the following information and Save the information. Figure 1.1 shows the information visually. Host hooghly Port 500000 User administrator Password user_password Figure 1.1 SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2007 SAP AG 4 Important Configurations for Calling ABAP Function from Java Web Dynpro Application Now under the RFC Setting (Figure 1.3) tab provide the R/3 System’s host name as Gateway Host and sapgw00 as Gateway Service/Port. The convention of the value of Gateway Service/Port is sapgw<system_number>. Now Save the information using save button. You can also find this value using the transaction code RZ70 in your SAP GUI. Figure 1.2 shows the result. Figure 1.2 Figure 1.3 SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2007 SAP AG 5 Important Configurations for Calling ABAP Function from Java Web Dynpro Application Under the CIM Client Generation Settings (Figure 1.4) provide the following information, tabulated below. Host Hooghly Port (http/https) 50000 User administrator Password user_password Figure 1.4 Click Save button. Now test the CIM Client using CIMCleint Test button. A pop-up window will appears, if the test is successful then a successful message will be displayed on the pop-up window. Figure 1.5 illustrate the result. SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2007 SAP AG 6 Important Configurations for Calling ABAP Function from Java Web Dynpro Application Figure 1.5 You can also find the settings summery in the information tab. Figure 1.6 shows the settings summery. Restart the SLD Data Supplier Service, if required. Figure 1.6 SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2007 SAP AG 7 Important Configurations for Calling ABAP Function from Java Web Dynpro Application Configure System Landscape Directory To access Adaptive RFC (ABAP function module) from java webdynpro application you have to create a JCO connection for that application. To create JCO connection first you have to configure SLD. The following section describes the detailed procedure to configure SLD in step by step. Prerequisite Login credential to configure SLD. Both SAP J2EE engine and R/3 System are running. Login credential to connect R/3 System like client number, system number etc. Procedure Open SLD configuration screen via web browser using http://<hostname>:50000/sld/ URL. i.e in our case the /. In the pop-up window provide the user name and password.http://hooghly:50000/sldURL will be Now go to the Administration tab and click on the stop server button (Figure 1.7), if the server is already running. Figure 1.7 Server Settings Now click the Server Settings link on the same web page. Provide some vital information in the server settings page. Figure 1.8 shows the server settings page. For Server Parameters: Object Server: sindhu Working Directory: "<X>:\usr\sap\<SAPSID>\SYS\global\sld Now press Set Button. SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2007 SAP AG 8 Important Configurations for Calling ABAP Function from Java Web Dynpro Application Persistence: Select Database option for persistence storage. Now press Set Button. ABAP Connection Parameters Client: 200 System Number: 00 User: user_name Host: sindhu Password: user_pasword Language: en Now press Set Button. SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2007 SAP AG 9 Important Configurations for Calling ABAP Function from Java Web Dynpro Application Figure 1.8 SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com © 2007 SAP AG 10

Description:
Important Configurations for Calling ABAP Function from Java Web Dynpro Application SAP DEVELOPER NETWORK (SLD), SLD Data Supplier etc. This document
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.