SDN Community Contribution
|
|
- Amberlynn Flynn
- 5 years ago
- Views:
Transcription
1 Step by step guide to develop a module for reading file name in a sender file adapter SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.
2 Step by step guide to develop a module for reading file name in a sender file adapter Applies To: SAP NW 04 XI 3.0 Article Summary This is a step by step guide for developing, deploying and configuring a module exit to read the file name in a sender file adapter. This module will get the file name and add it as an element to the XML Payload By: Krishnakumar Ramamoorthy (KK) Deloitte Consulting Title: Product Management Date: 05 May 2005 Table of Content Step by step guide to develop a module for reading file name in a sender file adapter... 2 Applies To:... 2 Article Summary... 2 Table of Content... 2 Introduction... 3 Prerequisites... 3 Step by Step procedure... 3 Copy the required JAR files from XI Server... 3 Set up class path variables in NW Developer Studio... 4 Create an EJB module project... 4 Create an EJB module bean... 5 Implement the bean... 7 Edit the bean deployment descriptors ejb-jar.xml... 9 Create bean archive Create Enterprise application project Create references in the Enterprise Application Project Build Application archive and deploy Appendix Disclaimer & Liability Notice... 17
3 Introduction An integration scenario involving a sender file adapter, it may be necessary to know the name of the file which was processed. This is particularly true when the files are picked up using * and the file name is to be used in the condition editor for receiver determination. This can be accomplished by developing a module processor exit bean. Please read SAP Help documentation for more information on Module Processor and extending the module chain. Prerequisites SAP XI 3.0 SP 9 or above SAP Netweaver Developer Studio JDK 1.4 Step by Step procedure Copy the required JAR files from XI Server The following JAR files are required to develop the module. The jar files need to be externally referenced in the application. Copy these jars files from the provided location in the XI server, to you local system. Jar Name aii_af_ms_spi.jar aii_af_cci.jar aii_af_ms_api.jar aii_af_trace.jar aii_af_mp.jar aii_utilxi_misc.jar aii_adapter_xi_svc.jar aii_af_cpa.jar aii_af_svc.jar aii_util_xml.jar ejb20.jar exception.jar Location <serverdir>*\bin\ext\com.sap.aii.af.lib\ <serverdir>*\bin\ext\com.sap.xi.util.misc\ <serverdir>*\bin\services\ com.sap.aii.adapter.xi.svc\ <serverdir>*\bin\services\ com.sap.aii.af.cpa.svc\ <serverdir>*\bin\services\ com.sap.aii.af.svc\ <serverdir>*\bin\ext\com.sap.xi.util.xml\ \usr\sap\j2e\jc00\j2ee\j2eeclient <serverdir> -> If XI has been installed on Windows under drive D, then server directory will look like : d:\usr\sap\<sid>\<instance>\j2ee\cluster\server0\. <SID> -> System ID, <INSTANCE> -> J2EE Instance. Example: d:\usr\sap\xi3\dvebmgs00\j2ee\cluster\server0\ While saving the jar files in the local system (for e.g. c:\jarfiles), suggestion is to follow the below pattern C:\jarfiles\com.sap.aii.af.lib\aii_af_ms_spi.jar C:\jarfiles\com.sap.xi.util.misc\aii_utilxi_misc.jar
4 Set up class path variables in NW Developer Studio We need to set up a class path variable for referencing these.jar files in our application. Open up NW Dev Studio and follow the below steps Choose menu Window->Preferences. In the popup window, choose Java->Classpath Variables. Add a new variable by clicking Provide an arbitrary name in the Name field. For e.g. SAP_USER_ADD_LIBS. (If the variable is already available, edit the same) In the Path field, choose the folder where you have stored all the jar files from step 1. Use the button to choose the folder. Confirm your entries by clicking OK. Create an EJB module project The module we are going to develop is an EJB. Hence, in the NW Dev Studio, we need to create an EJB module project first. Choose File->New->Project. In the popup screen, choose J2EE. From the right frame, choose, EJB Module Project. Click. Provide a project name. In our example, we will say SampleFileAdatperModule. Leave the Check box Use Default checked. This will place all your developments in the default workspace.
5 Click to confirm your entries. This will create the project as shown below Now we have to set up reference to the jar files in our project. To do this, choose the J2EE Explorer view in your left frame if not already chosen and then select the project, right click and choose Properties In the popup window, choose Java build path. On the right frame, choose tab libraries. Click on button In the next window, choose SAP_USER_ADD_LIBS and click. Please note that this is the variable we created in the previous steps. Select the required jar files and click confirm all by clicking OK. This will create the build paths. Make sure that all the jar files are included this way. Create an EJB module bean We now create the module bean under the EJB module project created above. Follow the below steps for the same Choose the folder ejbmodule in the J2EE Explorer view and from the context menu (right click), choose New->EJB.
6 In the next screen, provide the following information EJB Name -> A name for your bean. For example: GetFileName EJB Project -> SampleFileAdatperModule Bean Type -> Stateless Session Bean Default EJB Package -> Some arbitrary package name. For e.g. com.kk.filemodule. Remove the check box generate default interfaces. We do this, because we are going to have only a local interface for this bean. Click Next In the next screen, remove the check box on Remote Interfaces and click Next. Click to confirm your entries. Now, in the J2EE explorer, expand the folder ejb Module ->com->kk->filemodule. You will find a file named GetFileNameBean.java. This is where we are going to code our main module.
7 Please refer SAP Help documentation and API documentation from the samples provided under Adapter development. Implement the bean Below is provided, the code snippet for implementing the bean. The full code is provided in the appendix. First, we need to import the referenced classes. // Classes for EJB import javax.ejb.createexception; import javax.ejb.sessionbean; import javax.ejb.sessioncontext; // Classes for Module development & Trace import com.sap.aii.af.mp.module.module; import com.sap.aii.af.mp.module.modulecontext; import com.sap.aii.af.mp.module.moduledata; import com.sap.aii.af.mp.module.moduleexception; import com.sap.aii.af.ra.ms.api.message; import com.sap.aii.af.service.trace.trace; import java.util.hashtable; // XML parsing and transformation classes import javax.xml.parsers.*; import org.w3c.dom.*; import java.io.inputstream; import java.io.bytearrayoutputstream; import com.sap.aii.af.ra.ms.api.xmlpayload; import javax.xml.transform.*; import javax.xml.transform.source; import javax.xml.transform.result; import javax.xml.transform.dom.domsource; import javax.xml.transform.stream.streamresult; The bean class MUST implement SessionBean and Module interface. public class GetFileNameBean implements SessionBean, Module { Add a business method process(). This method will be called by the Module Processor.
8 public ModuleData process(modulecontext modulecontext, ModuleData inputmoduledata) throws ModuleException { Read the XML payload and message for getting the needed data. Object obj = null; // Handler to get Principle data Message msg = null; // Handler to get Message object String filename = null; // File Name which is being processed try { obj = inputmoduledata.getprincipaldata(); msg = (Message) obj; // Get the Supplemental data which is available as hash table Hashtable mp = (Hashtable) inputmoduledata.getsupplementaldata ("module.parameters"); // Get the file name which is being processed if (mp!= null) filename = (String) mp.get("filename"); catch (Exception e) { // Throw any exceptions ModuleException me = new ModuleException(e); throw me; Now, we have read the file name, we now have to get the XML payload and add this file name at the appropriate place in the XML. For parsing and adding new element, we use DOM. try{ // Get the XML Payload XMLPayload xmlpayload = msg.getdocument(); DocumentBuilderFactory factory; factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newdocumentbuilder(); // Parse the XML Payload Document document = builder.parse((inputstream) xmlpayload.getinputstream()); // Get the XML payload root element Element rootnode = document.getdocumentelement(); if(rootnode!= null){ // Create an element node for with name FileName
9 Element childelement = document.createelement("filename"); // populate the Filename element with the value of the filename obtained from supplement data childelement.appendchild // Append the newly created element to the root (document.createtextnode(filename)); rootnode.appendchild(childelement); Now, we have to transform our XML document in DOM stream to Byte stream so that it can be assigned back to the XML payload. TransformerFactory tfactory = TransformerFactory.newInstance(); Transformer transformer = tfactory.newtransformer(); Source src = new DOMSource(document); // DOM source is our DOM doc // Create a new instance of ByteArrayOutputStream ByteArrayOutputStream mybytes = new ByteArrayOutputStream(); Result dest = new StreamResult(myBytes); // Transform the DOM source to Stream Result (ByteArrayOutputStream) transformer.transform(src,dest); // Get the byte array for the payload byte[] doccontent = mybytes.tobytearray(); if(doccontent!= null){ // Set the content for xmlpayload and the principal data of ModuleData to be returned. xmlpayload.setcontent(doccontent); inputmoduledata.setprincipaldata(msg); You can add additional tracing information for error handling, which out of scope of this document. Edit the bean deployment descriptors ejb-jar.xml From the J2EE Explorer tab, double click on node ejb-jar.xml. On the right side pane, choose tab source and replace the home, remote, local-home and local nodes as below <enterprise-beans> <session> <ejb-name>getfilenamebean</ejb-name> <home>com.sap.aii.af.mp.module.modulehome</home> <remote>com.sap.aii.af.mp.module.moduleremote</remote>
10 <local-home>com.sap.aii.af.mp.module.modulelocalhome</local-home> <local>com.sap.aii.af.mp.module.modulelocal</local> <ejb-class>com.kk.filemodule.getfilenamebean</ejb-class> <session-type>stateless</session-type> <transaction-type>container</transaction-type> </session> </enterprise-beans> Create bean archive Now, we have to create an archive (.jar) for our bean. In the J2EE explorer, right click on the EJB project (KKSampleAdapterModule) and choose option Build Archive This will add a.jar file to the EJB module project. Create Enterprise application project To deploy our bean, we need to create an enterprise application project. Follow the below steps Menu File -> New -> Project -> J2EE -> Enterprise Application Project In the next screen, provide an arbitrary project name. In our example, we will give it a name com.kk.filemodule. Click Next and choose EJB Module project as Referenced Projects.
11 Confirm your entries by clicking Finish Create references in the Enterprise Application Project The deployed application need to reference the libraries and services in the deployed J2EE engine. In the created enterprise application project, double click on the node application-j2eeengine.xml. On the right hand pane, choose the tab General Click on the References folder and click Add In the next popup screen, click on button Create New Provide the following information Reference Target :- com.sap.aii.af.lib Reference Type :- weak Reference target type :- Library Provider Name :- sap.com Repeat the above steps with the below values for other references Reference Target Reference Reference Provider Name Type Target type com.sap.xi.util.misc Weak Library sap,com com.sap.aii.adapter.xi.svc Weak Service sap.com com.sap.aii.af.svc Weak Service sap.com com.sap.aii.af.cpa.svc Weak Service sap.com com.sap.xi.util.xml Weak Library sap.com Now you should have six references created as shown
12 Once done, save the changes Build Application archive and deploy Now we have to build an.ear file and deploy the same to the J2EE engine. Right click on the Enterprise application project. In our example, it is com.kk.filemodule. Click on Build Application Archive Once the.ear file has been generated, right click on it and choose Deploy to J2EE Engine. You may need the SDM password for deploying. Please note that the application will be deployed to the engine provided under preferences in your NW Developer Studio. To verify the same, follow the menu path Window -> Preferences -> SAP J2EE Engine. On the right hand pane, check the entries. You can either provide a local J2EE engine or a remote host.
13 Once successfully deployed, you should be able to use this bean in your communication channel. In the communication channel, the module is referred as localejbs/jndi Name. In our case, it will be /sap.com/com.kk.filemodule/getfilenamebean. This module should be placed before the module localeejbs/callsapadapter in the sender file communication channel. Appendix package com.kk.filemodule; // Classes for EJB import javax.ejb.createexception; import javax.ejb.sessionbean; import javax.ejb.sessioncontext; // Classes for Module development & Trace import com.sap.aii.af.mp.module.module; import com.sap.aii.af.mp.module.modulecontext; import com.sap.aii.af.mp.module.moduledata; import com.sap.aii.af.mp.module.moduleexception; import com.sap.aii.af.ra.ms.api.message;
14 import com.sap.aii.af.service.trace.trace; import java.util.hashtable; // XML parsing and transformation classes import javax.xml.parsers.*; import org.w3c.dom.*; import java.io.inputstream; import java.io.bytearrayoutputstream; import com.sap.aii.af.ra.ms.api.xmlpayload; import javax.xml.transform.*; import javax.xml.transform.source; import javax.xml.transform.result; import javax.xml.transform.dom.domsource; import javax.xml.transform.stream.streamresult; /** <{com.kk.filemodule.getfilenamelocal> <{com.kk.filemodule.getfilenamelocalhome> Container */ public class GetFileNameBean implements SessionBean, Module { public static final String VERSION_ID = "$Id: //tc/aii/30_rel/src/_adapters/_sample/java/com/sap/aii/af/sample/mod ule/getfilenamebean.java#1 $"; private static final Trace TRACE = new Trace(VERSION_ID); private SessionContext mycontext; public void ejbremove() { public void ejbactivate() { public void ejbpassivate() {
15 public void setsessioncontext(sessioncontext context) { mycontext = context; public void ejbcreate() throws CreateException { public ModuleData process(modulecontext modulecontext, ModuleData inputmoduledata) throws ModuleException { Object obj = null; Message msg = null; String filename = null; try { obj = inputmoduledata.getprincipaldata(); msg = (Message) obj; Hashtable mp = (Hashtable) inputmoduledata.getsupplementaldata("module.parameters"); mp.get("filename"); if (mp!= null) filename = (String) catch (Exception e) { ModuleException me = new ModuleException(e); throw me; try{ XMLPayload xmlpayload = msg.getdocument(); DocumentBuilderFactory factory; factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newdocumentbuilder(); Document document = builder.parse((inputstream) xmlpayload.getinputstream()); Element rootnode = document.getdocumentelement(); if(rootnode!= null){ Element childelement = document.createelement("filename");
16 childelement.appendchild(document.createtextnode(filename)); rootnode.appendchild(childelement); // Transforming the DOM object to Stream object. TransformerFactory tfactory = TransformerFactory.newInstance(); Transformer transformer = tfactory.newtransformer(); Source src = new DOMSource(document); ByteArrayOutputStream mybytes = new ByteArrayOutputStream(); Result dest = new StreamResult(myBytes); transformer.transform(src,dest); byte[] doccontent = mybytes.tobytearray(); if(doccontent!= null){ xmlpayload.setcontent(doccontent); inputmoduledata.setprincipaldata(msg); catch (Exception e) { ModuleException me = new ModuleException(e); throw me; return inputmoduledata;
17 Disclaimer & Liability Notice This document may discuss sample coding, which does not include official interfaces and therefore is not supported. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing of the code and methods suggested here, and anyone using these methods, is doing it under his/her own responsibility. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of the technical article, including any liability resulting from incompatibility between the content of the technical article and the materials and services offered by SAP. You agree that you will not hold SAP responsible or liable with respect to the content of the Technical Article or seek to do so. Copyright 2004 SAP AG, Inc. All Rights Reserved. SAP, mysap, mysap.com, xapps, xapp, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product, service names, trademarks and registered trademarks mentioned are the trademarks of their respective owners.
Virus Scan with SAP Process Integration Using Custom EJB Adapter Module
Virus Scan with SAP Process Integration Using Custom EJB Adapter Module Applies to: SAP Process Integration 7.0 and Above Versions. Custom Adapter Module, Virus Scan Adapter Module, Virus Scan in SAP PI.
More informationCreate Modules for the J2EE Adapter Engine
How-to Guide SAP NetWeaver 04 How To Create Modules for the J2EE Adapter Engine Version 1.00 September 2005 Applicable Releases: SAP NetWeaver 04 Exchange Infrastructure 3.0 Copyright 2005 SAP AG. All
More informationSAP NetWeaver Process Integration 7.1 Developing User Enhancement Modules in the Adapter Engine
SAP NetWeaver Process Integration 7.1 Developing User Enhancement Modules in the Adapter Engine SAP NetWeaver Regional Implementation Group SAP NetWeaver Product Management December 2007 SAP NetWeaver
More informationSDN Community Contribution
SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces
More informationDeveloping Adapter User-Module to Encrypt XML Elements in Process Integration 7.1
Developing Adapter User-Module to Encrypt XML Elements in Process Integration 7.1 Applies to: SAP NetWeaver Process Integration 7.1. For more information, visit the Service Bus-based Integration homepage.
More informationHow to Create Tables in MaxDB using SQL Studio
How to Create Tables in MaxDB using SQL Studio Wipro Technologies January 2005 Submitted By Kathirvel Balakrishnan SAP Practice Wipro Technologies www.wipro.com Page 1 of 11 Establishing a connection to
More informationSDN Community Contribution
SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces
More informationEasy Lookup in Process Integration 7.1
Easy Lookup in Process Integration 7.1 Applies to: SAP NetWeaver Process Integration 7.1 For more information, visit the SOA Management homepage. Summary Unlike previous version of PI (7.0) / XI (3.0,
More informationHow to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3
How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3 Applies to: SAP NetWeaver Portal 7.3, NWDS 7.3. For more information, visit the Portal and Collaboration homepage. Summary This
More informationExternal Driver Configuration for Process Integration 7.0
External Driver Configuration for Process Integration 7.0 Applies to: This article will applies to XI3.0 and PI 7.0. If it needs to talk to the other database, we ll need to deploy the drivers in PI. Summary
More informationFiltering Portal Content Based on User Attributes
Filtering Portal Content Based on User Attributes Applies To: SAP Enterprise Portal EP6 SP2 SAP Enterprise Portal 6.0 SP9 and above Article Summary This technical paper will cover how to implement a filtering
More informationAdding Files as Attachments to SAP Interactive Forms in the Java Environment
Adding Files as Attachments to SAP Interactive Forms in the Java Environment Applies to: SAP NetWeaver 7.0, For more information, visit the SAP Interactive Forms by Adobe. Summary This document demonstrates
More informationHow to Create and Execute Dynamic Operating System Scripts With XI
Applies To: SAP Exchange Infrastructure 3.0, SP 15, Integration Repository and Directory Summary This document describes how to create, store and execute a non static operating command script. In this
More informationSDN Community Contribution
SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces
More informationMDM Syndication and Importing Configurations and Automation
MDM Syndication and Importing Configurations and Automation Applies to: SAP MDM SP 05 Summary This document was written primarily for syndication and import of records into SAP NetWeaver MDM from different
More informationReplacement Path: Explained with an Illustrated Example
Replacement Path: Explained with an Illustrated Example Applies to: SAP NetWeaver BW. For more information, visit the EDW homepage Summary The document explains the purpose and implementation method of
More informationMDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3
MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3 Applies to: SAP NetWeaver Master Data Management (MDM) SP3, SP4, SP5. Summary This article provides a step-by-step procedure for manually
More informationCreating a Development Component
Applies To: SAP WAS 6.40 SP9, NWDS 2.0.9 Summary This blog attempts to develop a reusable utility component which can be used in WebDynpro development using NWDS and there by reducing the development time.
More informationMaterial Master Archiving in Simple Method
Material Master Archiving in Simple Method Applies to: This article is applicable for SAP MM Module of SAP Version SAP 4.7 till SAP ECC 6.0 Summary This article describes a process called Material Master
More informationMDM Syndicator: Custom Items Tab
MDM Syndicator: Custom Items Tab Applies to: SAP NetWeaver Master Data Management (MDM) SP04, SP05 and SP06. For more information, visit the Master Data Management homepage. Summary This article provides
More informationHow to Create and Schedule Publications from Crystal Reports
How to Create and Schedule Publications from Crystal Reports Applies to: SAP BusinessObjects Enterprise. For more information, visit the Business Objects homepage. Summary This white paper describes how
More informationList of Values in BusinessObjects Web Intelligence Prompts
List of Values in BusinessObjects Web Intelligence Prompts Applies to: This solution is implemented for a combination of SAP NW BI 7.0 and SAP BO XI 3.1. For more information visit Business Objects Home
More informationExternal Driver Configuration in Process Integration 7.1 Using JSPM
External Driver Configuration in Process Integration 7.1 Using JSPM Applies to: This article applies to PI 7.1. If PI 7.1 needs to talk to the other external database, we ll need to deploy the respective
More informationE-Sourcing System Copy [System refresh from Production to existing Development]
E-Sourcing System Copy [System refresh from Production to existing Development] Applies to: SAP Netweaver 7.0 and E-Sourcing 5.1/CLM 2.0 Summary This document discusses about the steps to do an E-Sourcing
More informationBW 3.1 Open Hub Extraction Enhancement: Using Literal Filename & Path
BW 3.1 Open Hub Extraction Enhancement: Using Literal Filename & Path Applies To: SAP BW Open Hub Extraction Article Summary With the help of Open Hub, you can extract data from BW and save it to the application
More informationProgrammatical Approach to User Management in Enterprise Portal
Programmatical Approach to User Management in Enterprise Portal Applies to: SAP Netweaver 2004 SPS15/ SAP Enterprise Portal 6.0 or higher. Summary This article provides information to create user in EP,
More informationSEEBURGER BICMD for SAP Exchange Infrastructure - Configuration Guide
SEEBURGER BICMD for SAP Exchange Infrastructure - Configuration Guide Applies to: The Business Integration Converter Mapping Designer (BIC MD) version 5.5.2/6.3.2 is a visual tool used for creating mappings,
More informationjar command Java Archive inherits from tar : Tape Archive commands: jar cvf filename jar tvf filename jar xvf filename java jar filename.
jar & jar files jar command Java Archive inherits from tar : Tape Archive commands: jar cvf filename jar tvf filename jar xvf filename java jar filename.jar jar file A JAR file can contain Java class files,
More informationHow to Develop a Simple Crud Application Using Ejb3 and Web Dynpro
How to Develop a Simple Crud Application Using Ejb3 and Web Dynpro Applies to: SAP Web Dynpro Java 7.1 SR 5. For more information, visit the User Interface Technology homepage. Summary The objective of
More informationSAP BusinessObjects Translation Manager Functionality and Use
SAP BusinessObjects Translation Manager Functionality and Use Applies to: SAP BusinessObjects Enterprise XI 3.0, SAP BusinessObjects Enterprise XI 3.1 all support packs. For more information, visit SAP
More informationSDN Community Contribution
SDN Community Contribution (This is not an official SAP document) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces
More informationios Ad Hoc Provisioning Quick Guide
ios Ad Hoc Provisioning Quick Guide Applies to: Applications developed for all kinds of ios devices (iphone, ipad, ipod). For more information, visit the Mobile homepage. Summary This article is a quick
More informationFetching User Details from the Portal and Displaying it in Web Dynpro with Authentication in the Portal
Fetching User Details from the Portal and Displaying it in Web Dynpro with Authentication in the Portal Applies to: SAP NetWeaver Web Dynpro. For more information, visit the Portal and Collaboration homepage.
More informationIntegration of Web Dynpro for ABAP Application in Microsoft Share Point Portal
Integration of Web Dynpro for ABAP Application in Microsoft Share Point Portal Applies to: Web Dynpro ABAP. Summary This tutorial explains how to display Web Dynpro ABAP Application in Microsoft Share
More informationException Handling in Web Services exposed from an R/3 System
Exception Handling in Web Services exposed from an R/3 System Applies to: SAP WAS 6.2 onwards Summary We expose an RFC enabled function module as web service in R/3. While creating the function module,
More informationUpload Image file from system in Web dynpro view
Upload Image file from system in Web dynpro view Applies to: Web Dynpro for Java UI Development, SAP NetWeaver 2004s. For more information, visit the User Interface Technology homepage. For more information,
More informationGraphical Mapping Technique in SAP NetWeaver Process Integration
Graphical Mapping Technique in SAP NetWeaver Process Integration Applies to: SAP NetWeaver XI/PI mappings. For more information, visit the Repository-based Modeling and Design homepage. Summary This guide
More informationPOWL: Infoset Generation with Web Dynpro ABAP
POWL: Infoset Generation with Web Dynpro ABAP Applies to: WebDynpro ABAP Developer. For more information, visit the Web Dynpro ABAP homepage. Summary: This document explains how to create an Infoset, generate
More informationSAP PI/XI: Generating Sequence Number Between Multiple Instances of Mapping Execution
SAP PI/XI: Generating Sequence Number Between Multiple Instances of Mapping Execution Applies to: SAP XI 3.0, PI 7.0 and 7.1. Summary The paper discusses about how to obtain sequence number between multiple
More informationConfig Tool Activities
Applies to: This Article applies to Enterprise Portal 7.0. For more information, visit the Portal and Collaboration homepage. Summary This article describes a few of the activities in Config Tool. Author:
More informationHow to Perform Value Mapping A Walkthrough
How to Perform Value Mapping A Walkthrough Applies to: SAP XI 3.0 /SAP PI 7.0 Summary In general, there might be a scenario where a value being sent depends upon various constraints and needs to be looked
More informationDeploying BusinessObjects Explorer on Top of a SAP BI Query
Deploying BusinessObjects Explorer on Top of a SAP BI Query Applies to: SAP BI NetWeaver 2004s, BusinessObjects Explorer 3.1. For more information, visit the Business Intelligence homepage. Summary The
More informationWeb Services Testing and SAP NetWeaver Application Server, Java EE 5 Edition
Web Services Testing and SAP NetWeaver Application Server, Java EE 5 Edition Applies to: SAP NetWeaver Application Server, Java EE 5 Edition Summary With the introduction of SAP NetWeaver Application Server
More informationOpen Text DocuLink Configuration - To Access Documents which are Archived using SAP
Open Text DocuLink Configuration - To Access Documents which are Archived using SAP Applies to: Open Text DocuLink for SAP Solutions 9.6.2. For more information, visit http://www.opentext.com Summary Open
More informationPurpose of Goods Receipt Message indicator in Purchase Orders
Purpose of Goods Receipt Message indicator in Purchase Orders Applies to: This article is applicable for SAP MM Module of SAP for version SAP 4.7 till SAP ECC 6.O. For more information, visit the Supply
More informationSAP BI BO Unit/Currency Logic for Unknown Units Case Study
SAP BI BO Unit/Currency Logic for Unknown Units Case Study Applies to: This solution is implemented for a combination of SAP BO XI 3.1 SP2 FP 2.1 and SAP NW BI 7.0 EHP1 SP6 For more information, visit
More informationCreating Your First J2EE Application
Creating Your First J2EE Application SAP NetWeaver 04 Copyright Copyright 2004 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without
More informationAdd /Remove Links on ESS Home Page in Business Package 1.5
Add /Remove Links on ESS Home Page in Business Package 1.5 Applies to: SAP ECC EHP5. For more information, visit the Enterprise Resource Planning homepage. Summary Customizing links on ESS Overview page
More informationSAP NetWeaver Identity Management Identity Center. Implementation guide. Version 7.2 Rev 4. - Extension Framework
SAP NetWeaver Identity Management Identity Center Implementation guide - Extension Framework Version 7.2 Rev 4 2014 SAP AG or an SAP affiliate company. All rights reserved. No part of this publication
More informationSDN Community Contribution
SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces
More informationStep By Step Procedure to Implement Soap to JDBC Scenario
Step By Step Procedure to Implement Soap to JDBC Scenario Applies to This scenario is implemented in PI 7.0 server, service pack: 14. For more information, visit the SOA Management homepage. Summary This
More informationCreating Multiple Methods/Operations and Exposing BAPI as a Webservice
Creating Multiple Methods/Operations and Exposing BAPI as a Webservice Applies to: SAP Netweaver 7.0 SP14. For more information, visit the SOA Management homepage. Summary This article discuss about how
More informationSteps for XML Validation by Adapter Engine in PI 7.1
Steps for XML Validation by Adapter Engine in PI 7.1 Applies to: SAP PI 7.1, esoa. Summary In this article I have shown the steps required to do XML Validation by an Adapter Engine.. Author: Hemant Negi
More informationHow to Configure User Status in mysap SRM
How to Configure User Status in mysap SRM Applies to: mysap SRM 5.5 For more information, visit the Supplier Relationship Management homepage. Summary There had been quite a few instances in SRM Forum
More informationReferences between Mapping Programs in SAP-XI/PI as of Release 7.0 and 7.1
References between Mapping Programs in SAP-XI/PI as of Release 7.0 and 7.1 Applies to: This article talks about how different mapping programs can cross refer other archives, this is applicable to SAP-XI/PI
More informationA Simple search program for Dictionary objects
A Simple search program for Dictionary objects Applies To: ABAP Programming Article Summary This Code sample is a simple search utility for the dictionary objects. This has three kinds of search functionality
More informationUsing Radio Buttons in Web Template
Using Radio Buttons in Web Template Applies to: SAP BW 3.5. For more information, visit the Business Intelligence homepage. Summary One of the ideal requirements in the BW Web Reporting is the user wants
More informationThis article explains the steps to create a Move-in letter using Print Workbench and SAPScripts.
Applies to: SAP IS-Utilities 4.6 and above. Summary This article explains the steps to create a Move-in letter using Print Workbench and SAPScripts. Author: Company: Hiral M Dedhia L & T Infotech Ltd.
More informationDownload SAP Query Output to Local/ Network Folders in Background
Download SAP Query Output to Local/ Network Folders in Background Applies to: SAP release where SQUE0001 enhancement (SMOD) available For more information, visit the ABAP homepage. Summary This article
More informationTutorial. Interactive Forms Integration into Web Dynpro for Java Topic: Working with the PdfObject API
Tutorial Interactive Forms Integration into Web Dynpro for Java Topic: Working with the PdfObject API At the conclusion of this tutorial, you will be able to: Generate PDF forms and fill them with XML
More informationIntegrating NWDS with a Non-SAP Server (JBoss AS) to Develop and Deploy Java EE Applications
Integrating NWDS with a Non-SAP Server (JBoss AS) to Develop and Deploy Java EE Applications Applies to: This article applies to SAP NetWeaver Developer Studio, SAP NetWeaver 7.1 CE SP03 PAT0000 Summary
More informationCalculate the Number of Portal Hits Part 2
Calculate the Number of Portal Hits Part 2 Applies to: SAP Netweaver Enterprise Portal. Summary This article is an extension to the previous article where-in the solution is extended to the scenario where
More informationApplies To:...1. Summary...1. Table of Contents...1. Procedure..2. Code... Error! Bookmark not defined.0
Applies To: Usage of Table Control in ABAP Summary Normally we use wizard if we are working with table control. This document helps us how to create a table control without using a wizard and how to manipulate
More informationSUP: Personalization Keys and Synchronize Parameter
SUP: Personalization Keys and Synchronize Parameter Applies to: Blackberry Mobile. For more information, visit the Mobile homepage. Summary This article gives a brief idea about Personalization Keys and
More informationCustom Password Reset Tool in SAP Enterprise Portal Using Web Dynpro for Java
Custom Password Reset Tool in SAP Enterprise Portal Using Web Dynpro for Java Applies to: SAP Enterprise Portal, Web Dynpro for Java. For more information, visit the Portal and Collaboration homepage.
More informationImplying Security on Business Object XI 3.1 Universe having SAP BW as Source
Implying Security on Business Object XI 3.1 Universe having SAP BW as Source Applies to: SAP Business Object XI 3.1. For more information, visit the Business Objects homepage. Summary This article describes
More informationA Step-by-Step Guide on IDoc-ALE between Two SAP Servers
A Step-by-Step Guide on IDoc-ALE between Two SAP Servers Applies to: All modules of SAP where data need to transfer from one SAP System to another SAP System using ALE IDoc Methodology. For more information,
More informationPrinter Landscape Made Easy!!
Applies to SAP NetWeaver 2004s / SAP_BASIS 7.00. For more information, visit the Landscape Design and Architecture homepage. Summary This article deals with the step by step procedure to be carried out
More informationSolution to the Challenges in Pivoting
Solution to the Challenges in Pivoting Applies to: SAP NetWeaver 2004s/ MDM 5.5 SP 06. For more information, visit the Master Data Management homepage. Summary This article strives to describe the different
More informationDialog Windows in WebDynpro ABAP Applications
Dialog Windows in WebDynpro ABAP Applications Applies to: WebDynpro ABAP For more information, visit the Web Dynpro ABAP homepage. Summary This document explains how to create popup dialog windows, external
More informationSMT (Service Mapping Tool)
Applies to: This document applies to SAP versions ECC 6.0. For more information, visit the ABAP homepage. Summary This article contains the guidelines for using the SMT (Service mapping Tool) Mapping.
More informationBAPI Execution in offline Adobe Form
BAPI Execution in offline Adobe Form Applies to: Adobe form, Web dynpro JAVA, SAP ECC. For more information, visit the Web Dynpro Java homepage. Summary This article contains step by step description for
More informationHow To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0
How-to Guide SAP NetWeaver 04 How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0 Version 1.00 Nov 2005 Applicable Releases: SAP NetWeaver 04 SPS 13 and above
More informationIntegration Unit Testing on SAP NetWeaver Application Server
Applies To: This technical article applies to the SAP (Java), SAP NetWeaver Developer Studio, Unit Testing, Integration Unit Testing, JUnit, and JUnitEE. Summary Unit testing is an excellent way to improve
More informationStep by Step Guide for PI Server Start and Stop Procedure
Step by Step Guide for PI Server Start and Stop Procedure Applies to: This document applies to PI 7.0 and 7.1 and above. For more information, visit the Application Management homepage. Summary This document
More informationTable Row Popup in Web Dynpro Component
Table Row Popup in Web Dynpro Component Applies to Web Dynpro for ABAP, NW 7.0. For more information, visit the Web Dynpro ABAP homepage. Summary This document helps to create Table Rowpopin in a Web Dynpro
More informationStep by Step Method for File Archival in BW
Step by Step Method for File Archival in BW Applies to: SAP BW 3.x & SAP BI Net Weaver 2004s. For more information, visit the EDW homepage. Summary This document will give the reader step by step approach
More informationLinking Documents with Web Templates
Linking Documents with Web Templates Summary This article explains certain ways to link documents with our Web-Templates which is a useful way of attaching information with a query. When the enduser runs
More informationFederated Portal for Composite Environment 7.1
Federated Portal for Composite Environment 7.1 Applies to: This article applies to Federated Portal for Composition Environment. For more information, visit the Portal and Collaboration homepage Summary
More informationLab2: CMP Entity Bean working with Session Bean
Session Bean The session bean in the Lab1 uses JDBC connection to retrieve conference information from the backend database directly. The Lab2 extends the application in Lab1 and adds an new entity bean
More informationSAP Biller Direct Step by Step Configuration Guide
SAP Biller Direct Step by Step Configuration Guide Applies to: NW2004s, For more information, visit the Application Management homepage. Summary This is a step by step configuration guide for SAP Biller
More informationUNIT-III EJB APPLICATIONS
UNIT-III EJB APPLICATIONS CONTENTS EJB Session Beans EJB entity beans EJB clients EJB Deployment Building an application with EJB. EJB Types Types of Enterprise Beans Session beans: Also called business
More informationArtix Artix for J2EE (JAX-WS)
Artix 5.6.3 Artix for J2EE (JAX-WS) Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com Copyright Micro Focus 2015. All rights reserved. MICRO FOCUS, the Micro
More informationHow to Download Multiple Files in ZIP using WebDynpro Java
How to Download Multiple Files in ZIP using WebDynpro Java Applies to: SAP NetWeaver 7.0 SP15 and onwards, For more information, visit the Web Dynpro Java homepage. Summary The document provides the core
More informationStep by Step Guide How to Use BI Queries in Visual Composer
Step by Step Guide How to Use BI Queries in Visual Composer Applies to: SAP BW 7.x. For more information, visit the EBW homepage. Summary The objective of this Article is to explain step by step guide
More informationecatt Part 6 System Data Container
\ ecatt Part 6 System Data Container Applies to: SAP 5.0 Summary In the Part I of ecatt series, we covered the introduction to ecatt, its prerequisites, features, when to go for SAP GUI mode recording
More informationData Extraction & DS Enhancement in SAP BI Step by Step
Data Extraction & DS Enhancement in SAP BI Step by Step Applies to: SAP BI 7.0, SAP ABAP, For more information, visit the Business Intelligence homepage. Summary The objective of the article is to outline
More informationCreating Custom SU01 Transaction Code with Display and Password Reset Buttons
Creating Custom SU01 Transaction Code with Display and Password Reset Buttons Applies to: All versions of SAP. Summary This article will explain you the process of creating custom SU01 transaction code
More informationEnterprise Portal Logon Page Branding
Enterprise Portal Logon Page Branding Applies to: This document applies to Enterprise Portal 6.0 based on NW04 and 2004s platforms. Summary This document describes a procedure that uses the NetWeaver Development
More informationObjectives. Software Development using MacroMedia s JRun. What are EJBs? Topics for Discussion. Examples of Session beans calling entity beans
Software Development using MacroMedia s JRun B.Ramamurthy Objectives To study the components and working of an enterprise java bean (EJB). Understand the features offered by Jrun4 environment. To be able
More informationSDN Community Contribution
SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces
More informationCreation of Alert Data Service VC model for the BI query exception using Information Broadcasting
Applies To: SAP Netweaver 2004s Visual Composer 7.0 Summary The purpose of this document is to show how to create an alert data service VC model for the BI query exception using the Information broadcasting.
More informationA Step-by-Step Guide on IDoc-to- JDBC Using Business Service in the XI Integration Directory
A Step-by-Step Guide on IDoc-to- JDBC Using Business Service in the XI Integration Directory Applies to: SAP Exchange Infrastructure (XI) 3.0 / Process Integration (PI) 7.0 For more information; visit
More informationHow To... Reuse Business Objects and Override Operations of a Business Object
SAP NetWeaver How-To Guide How To... Reuse Business Objects and Override Operations of a Business Object Applicable Releases: SAP NetWeaver Composition Environment 7.1 Topic Area: Development and Composition
More informationIntroduction to Session beans EJB 3.0
Introduction to Session beans EJB 3.0 Remote Interface EJB 2.1 ===================================================== public interface Hello extends javax.ejb.ejbobject { /** * The one method - hello -
More informationCreating Rules in Process Composer and using them in Process
Creating Rules in Process Composer and using them in Process Applies to: SAP NetWeaver Composition Environment 7.1 EHP-1 Version. For more information, visit the Composition homepage. Summary This article
More informationOracle Developer Day Agenda
Oracle er Day Agenda 9.00 am 9:55 am 10:45 am 11:35 am 12.20 pm 1.15 pm 2.00 pm 2.30 pm SOA & The Agile Enterprise ing Enterprise JavaBeans EJB 3.0 ing Web Services Integrating Services with BPEL Lunch
More informationDisplaying SAP Transaction as Internet Application in Portal
Displaying SAP Transaction as Internet Application in Portal Summary This article explains how we can display SAP transaction as Internet Application Components (IAC) in portal to make it simpler for the
More informationMaterial Listing and Exclusion
Material Listing and Exclusion Applies to: Applies to ECC 6.0. For more information, visit the Enterprise Resource Planning homepage Summary This document briefly explains how to restrict customers from
More informationB2B Integration Using Seeburger AS2 Adapter with PI 7.1 Ehp1
B2B Integration Using Seeburger AS2 Adapter with PI 7.1 Ehp1 Applies to: SAP NetWeaver Process Integration 7.1x, Seeburger 2.1x Summary This article is about preliminary design & configuration aspects
More information