Submit Blog Login Last Submitted Blogs RSS Archive Contact  
Free Download SAP XI Books,Projects And Interview
 
 
 
Free Download SAP XI Books,Projects And Interview
Application to Application,SAP XI Books,SAP XI Basics, Business Logic,XI Configuration,XI Configuration Objects,Free SAP XI Downloads,Integration Builder,Integration Editor,SAP XI Interfaces,SAP XI Mappings,Process Integration,SAP XI Proxy,Security Settings,Software Logistics,SAP XI TCodes,SAP XI,SAP XI XSD Editor
Language:
RSS Feeds for this Blog
Statistics
Unique Visitors: 23
Total Unique Visitors: 41086
Visitors Out: 199
Total Visitors Out: 199
 
 
Articles
Java Proxy Generation
2008-04-01 07:31:11
Use Using the Java proxy generation function, you can generate Java classes or Java proxy objects from the interface description in the Integration Repository. Using these objects, you can then implement sender and receiver applications in Java; the proxy objects establish the connection to the Integration Server by using the Java proxy runtime. Features You can generate Java proxies for J2EE applications on the SAP Web AS. Proxy generation generates J2EE beans and proxy classes for this purpose. The generated beans satisfy the EJB 2.0 standard. Java proxy generation is part of the Integration Builder and has the following functions: · Create an archive (as a Jar or Zip file)...
 
Naming Java Proxy Objects
2008-04-01 07:30:55
Use Compared to ABAP, Java has fewer restrictions regarding names for labels (for example, for classes or data types). This documentation deals with cases where proxy generation cannot copy names without making adjustments. Features The length of labels in Java is practically unlimited and they are case-sensitive. The technical names of the generated Java proxy classes are based on the JAX RPC specification: · Namespaces are mapped to packages. · Classes for interfaces have the suffix _PortType. · Classes for data types have the suffix _Type. The suffixes correspond to the element names from the imported WSDL document and help to avoid naming collisions. For this reason, naming conflicts are ...
 
Attachment: Mapping XSD to Java Proxy Generation
2008-04-01 07:30:40
Built-In XSD Data Types and Their Exact Equivalent in ABAP XSD Java string java.lang.String boolean boolean float float double double int int short short long long byte byte date java.util.Calendar time java.util.Calendar No global types are generated for simple data types (tag ), because they only reference built-in data types. Tags Supported for Complex Data Types (in Alphabetical Order) XSD Java (local) Attributes of a class (including access methods) (global) Class (local) Inner class · Attributes of an (inner) class (including access methods) · Inner table class (local) Attribute of an (inner) class (including access methods) Only those ...
 
Data Types Developing Message Interfaces
2008-04-01 07:25:20
Use A data type is a basic unit for defining the structure of the data for a message type and, as a result, for the message to be exchanged. Integration A data type is an XML Schema Definition (XSD). This definition determines how the valid payload of a message will look. Data types in XML schema are only an abstract description of a structure that you can assign to elements in an XML schema definition. A message type or a fault message type that references a data type determines the name of the root element of a message. Alternatively, you can use external definitions, which already contain data types, or import an XSD definition as a template. Customers and partners can use data type enhancements to add their own fields to SAP data types in the Int...
 
XSD Editor Developing Message Interfaces
2008-04-01 07:25:04
Use The XSD editor enables you to define data types and data type enhancements without needing extensive knowledge of XML schema. You construct a data type in the XSD editor by using a table that returns the structure of the data type. As in XML schema, you can define both simple and complex data types that are automatically converted to XML Schema Definition (XSD) by the editor. The XML Schema Definition determines which tags can be transferred with which values in the payload. When defining a data type, the selection of values that you can enter in the table is context-dependent. Therefore, you cannot enter invalid entries. Prerequisites You have already created a data type. To access the XSD editor, select the Definition tab page (see: Data Types...
 
Elements and Attributes XSD Editor Developing Message Interfaces
2008-04-01 07:24:40
You create complex data types using elements and attributes in the XSD editor: Node Type Use Example Instance Element Create structured data types. Elements that have a type cannot contain subelements. Value of f1 Value of f2 Attribute Add attributes to elements. Attributes cannot usually have subnodes. myAttr="AttributeValue"> Element Value You can flag an attribute as optional or required in the Occurrence column. These values mean the same for elements with an occurrence of 0..1 or 1. The only difference between elements and attributes is that attributes cannot have subnodes and that the same attribute cannot be used more than once in an element. Frequently Occurring Elements ...
 
Facets XSD Editor Developing Message Interfaces
2008-04-01 07:24:26
Use Facets enable you to restrict the value range of a data type in XML schema to a particular subset. This enables you to determine exactly which value is expected in a special case for a simple data type, an element, or an attribute. For example: · A telephone number (using a pattern on a string) · A selection of permitted values, for example to classify the different classes for a flight (using an enumeration) Prerequisites Before you can use a facet, you must have selected a built-in data type in the Type column for your simple data type, element, or attribute. Otherwise the input field in the Details column remains locked. Features Using the XSD editor, you can further restrict the value range of a built-in data type for simple ...
 
Defining Simple Data Types Developing Message Interfaces
2008-04-01 07:24:09
Procedure ... 1. Create a data type in your namespace on the design maintenance screen of the Integration Builder (see also: Creating a New Object). 2. Choose the Definition tab page. The XSD editor automatically selects the category Simple Type when you create a data type. 3. In the Type column, define a built-in data type by clicking or double clicking the cell and selecting a value from the list box. You can also reference other simple data types by using the input help in the toolbar or in the list box. You cannot reference complex data types. You cannot make any entries for simple data types in the Occurrence column. 4. To define the facets of the simple data type in the Details column, call ...
 
Defining Complex Data Types Developing Message Interfaces
2008-04-01 07:23:53
Procedure ... 1. Create a data type in your namespace on the design maintenance screen of the Integration Builder (see also: Creating a New Object). 2. Choose the Definition tab page. The XSD editor automatically selects the category Simple Type when you create a data type. 3. To insert a subnode, call the context menu for the root element and choose either Insert Subelement or Insert Attribute. This is only possible if the root element has not yet been assigned a type. If a type has already been specified in the Type column, you can delete it again by selecting the type with the cursor, deleting the selected text by choosing the Del button, and then confirming the change by choosing Return. 4. The ty...
 
Importing XSD as a Template Developing Message Interfaces
2008-04-01 07:23:37
Use If you have already defined a data type as an XML Schema Definition (XSD) outside the Integration Builder, you can import this definition for a data type in the XSD editor. You use this as a template and can change it as required using the XSD editor. If more than one data type is defined in an XSD definition, the XSD editor can only import one of the globally defined data types. If the XSD data type to be imported contains references to other data types, the XSD editor does not import these referenced data types. After import, the references no longer link to these data types. However, you can import data types that reference each other to the Integration Repository one after the other. The Integration Builder recognizes automatically if data type...
 
Data Type Enhancements Developing Message Interfaces
2008-04-01 07:23:21
Use SAP applications enable customers to enhance application source code without making modifications and thus meet customer-specific requirements that are not provided for in the standard shipment. The applications can use Business Add-Ins (BAdIs) for this purpose. Furthermore, if customers use applications that exchange messages by using XI, they can define data type enhancements for Integration Repository data types. Customers can use these enhancements to send additional data with a message and can access this data by using BAdIs, for example. Prerequisites Customers or partners have to create data type enhancements in a separate software component version and a separate namespace. This software component version must be based on the SAP software co...
 
Proxy Objects Developing Message Interfaces
2008-04-01 07:23:02
Use Proxy objects implement message interfaces from the Integration Repository. That is, you use proxies to implement the actual message exchange that is described in the Integration Builder. Integration You create proxy object in the development system by using proxy generation. Features You can use message interfaces to create the following proxy objects: · ABAP proxy objects or · Java proxy objectsABAP Proxy GenerationProxy Generation Developing Message InterfacesExporting XSD and WSDL Documents Developing Messag...Java Proxy Objects Enumerations Developing Message...Java Proxy Objects Tables Developing Message Inter...Java Proxy Objects Developing Message InterfacesABAP Proxy Objects Developin...
 
ABAP Proxy Objects Developing Message Interfaces
2008-04-01 07:22:49
Definition All ABAP objects that are created when you generate an interface object from the Integration Repository in an SAP system are called ABAP Proxy Objects. Structure You can divide the different interface objects (the objects from the Integration Repository from which you generate proxies) into two classes: The message interface itself and the corresponding parameters and data types (also see: Converting WSDL to the Target Language). Each generated proxy object can be assigned to its corresponding interface object in the Integration Repository even after generation. The ABAP proxy generation function notes this assignment using metadata, which is transported with the proxy object. Interfaces Message interfaces can have the mode synchronous or as...
 
Java Proxy Objects Developing Message Interfaces
2008-04-01 07:22:15
Definition All Java objects that are created from a message interface from the Integration Repository in an SAP system, are called Java Proxy Objects. Multiple proxy objects are created in the system for each message interface (Java classes or Java interfaces). Message interfaces contain message types, and these in turn contain data types.All objects referenced to message interfaces (including fault message types), are also called Interface Objects. They are the counterparts of the generated proxy objects. Structure You can divide the different interface objects into two classes: The message interface itself and the corresponding parameters and data types (also see: Converting WSDL to the Target Language). Each ge...
 
Java Proxy Objects Tables Developing Message Interfaces
2008-04-01 07:21:48
Unbounded Occurring Elements in XSD Neither XSD nor Java has an explicit table type. However, in XSD you can define elements so that there is no limit to how often they may occur (also see: Elements and Attributes). For example, assume you require a data type staff, which you can use to select a group of colleagues as members of staff and assign them a manager. The following table reflects the definition of this data type in the XSD editor: Definition of an Unbounded XSD Element Within a Structure Structure Category Type Occurrence Description staff Complex Type [-] manager Element 1 staff manager name Element xsd:string 1 birthday Element xsd:date 1 [-] employee Element 1..unbounded staff members name Element xsd:s...
 
Java Proxy Objects Enumerations Developing Message Interfaces
2008-04-01 07:21:30
An enumeration is a facet that you can use to restrict the value range of a simple data type, attribute, or element. Java proxy generation generates a Java class for accessing the values. This class provides a type and value secure mapping of the enumeration by generating constants for each value and only enabling access using methods: There are two constants for each value that, where possible, have the same name as the value itself (for example, in the case of string values). Otherwise, the constants have the names value1, value2,...., valueN (with or without an underscore): A value constant of the type of the simple data type, attribute, or element. The constant therefore has the value of a possible value in the enume...
 
Exporting XSD and WSDL Documents Developing Message Interfaces
2008-04-01 07:21:02
Use The Integration Builder editors access repository objects directly. For example, you can load message types in the mapping editor to define a message mapping. You can also use tools from a third-party to design a mapping and then import the XSLT or Java mapping into the repository. The Integration Builder supports the export of interface objects for such scenarios. Interface Object Export Format Message Interface WSDL (Web Service Description Language) Data type, (fault) message type XSD (XML Schema Definition) Note the following here: · When exporting WSDL, the XSD of the referenced message type is contained in the exported file. · When exporting (fault) message types or data types, the Integration Builder checks whether there are any references to ...
 
Proxy Generation Developing Message Interfaces
2008-04-01 07:20:40
Purpose Proxy generation converts non-language-specific interface descriptions in WSDL into executable interfaces known as Proxies. Depending on the target programming language, you choose one of the following: · ABAP proxy generation is part of the SAP Web AS 6.40. ABAP proxy generation enables you to generate proxies to communicate by using the Web service infrastructure and by using SAP Exchange Infrastructure. ABAP proxies that were generated from message interfaces in the Integration Repository (IR) can be used in both infrastructures. This means that if none of the Integration Server services are required for a proxy-to-proxy communication scenario in ABAP, you can use a point-to-point connection using t...
 
ABAP Proxy Generation
2008-04-01 07:20:15
Use Using ABAP the proxy generation function you can generate ABAP proxy objects to an SAP system from an interface description in the SAP Exchange Infrastructure Integration Repository. Prerequisites ABAP proxy objects can only be generated for SAP systems that are based on SAP Web Application Server 6.40. The proxy generation retrieves the WSDL description of the interface from the Integration Repository using HTTP. The address of the appropriate server is taken from the exchange profile (parameters 1, 2, and 3 – see below). Queries to the Repository are subject to authentication. The user and password for these queries are also taken from here (parameters 5 and 6). Information used to navigate from the ABAP Pr...
 
Converting WSDL to the Target Language ABAP Proxy Generation
2008-04-01 07:19:56
As illustrated in the graphic below, a WSDL document converted by proxy generation comprises two parts, namely a description of data types and an interface description, the parameters of which are used by these data types: During proxy generation, WSDL descriptions are converted into proxies. · The WSDL elements of the interface description are converted on a 1:1 basis into objects of the respective target language (classes, interfaces, methods). · The conversion of the data types to XSD (XML Schema Definition Language) can be subject to restrictions, depending on the target language.ABAP proxy generation does not support the full range of XSD commands. These r...
 
Tips for Generating ABAP Proxies
2008-04-01 07:19:39
Translation and Package Assignment When proxy objects are generated, the number of ABAP Dictionary objects, classes, and interfaces created can lead to a considerable volume of translation. This translation is pointless, however, since these proxy objects do not appear in user interfaces. You should therefore ensure that proxy objects are separated at package level. Create a separate package for the proxy objects and flag it as Not relevant for translation. Use Declaration The packages that contain or use proxy objects must have a use declaration for the package interface SAI_TOOLS. In addition, the corresponding structure package must contain a use declaration for the package interface SAPPINT. For the proxy runtime, a use declaration must be available for the package interface SAI_S...
 
Proxy Generation ABAP Proxy Generation
2008-04-01 07:19:21
Use You can generate client or server proxies in ABAP to send or receive messages. You generate client proxies from outbound message interfaces and server proxies from inbound message interfaces. Integration For more details about programming with proxies, see Proxy Runtime. Procedure Generating Proxies By Using Transaction SPROXY ... 1. Call transaction SPROXY in the system in which you want to generate a client or server proxy. The system displays a navigation tree on the left-hand side of the screen; it has the same structure as the interface maintenance tree in the Integration Builder. The interface objects are ordered according to software component version, namespace and object type (also see: ABAP Proxy
Naming Proxy Objects ABAP Proxy Generation
2008-04-01 07:19:04
Use The different naming conventions in XSD and ABAP have the following consequences for naming in proxy generation. In addition, the length of names of interfaces, messages types, and data types is unlimited in the Integration Repository. Also, unlike ABAP, the system differentiates between upper case and lower case text; this is normally used to distinguish between words within a name (for example: FlightBooking). Features Standard Procedure · When the text switches from lower to uppercase, the generation function inserts an underscore to make the change more clear (for example: FLIGHT_BOOKING). · The system shortens names that are longer than 30 characters. · If a naming conflict occur...
 
Regenerating Proxy Objects ABAP Proxy Generation
2008-04-01 07:18:40
Use If the source of a WSDL document has changed, then you must regenerate the proxy objects. Procedure You also use the Integration Builder for XI-message-interface proxies after you have generated a proxy to manage the corresponding platform-independent interface. Therefore, proxy generation locks the objects created in the system against manual changes. To change a proxy object that has already been generated, change the object on the interface maintenance screen of the Integration Builder, and regenerate the object. ... 1. Change the interface (for example, a data type) in the Integration Builder and save your changes. 2. Change your proxy object: ○ Call transaction SPROXY and...
 
Appendix: Mapping XSD to ABAP Proxy Generation
2008-04-01 07:18:27
Simple XSD Data Types and Their Exact Equivalent in ABAP XSD ABAP string (Length > 65535) STRING string (Length ...
 
 
 
 
eXTReMe Tracker