| home / infca / mb / SAP (navigation links) | Ella amó esa noche como si fuera mortal
y él fue inmortal mientras duró esa noche |
| Lee Hollingdale | ODA | RFC trace | Links | End |
SAP is the largest Enterprise Resource Planning (ERP) solution provider. SAP is actually the name of the company, officially SAP AG, based on the phrase Systeme, Anwendungen und Produkte in der Datenverarbeitung.
Systems Applications Products in Data Processing (SAP) is a client/server application that helps you manage your business processes in sales, materials management, and distribution. SAP has mainframe and UNIX solutions to support an interface for an EDI subsystem.
The R/3 product is their client-server solution for Enterprise Resource Planning. mySAP.com is the current offering. It is an evolution of R/3 bundled with a number of additional components, as CRM, Business Warehouse plus SAP's middleware platform, SAP NetWeaver.
El XI es la eina de integració de moduls SAP,
així com la única via de comunicació amb l'exterior.
Parla MQ i JMS amb el "Adapter for (SAP) XI" que porta el MB.
.--------. .--------.
| | | |
| SAP | | SAP |
| | | |
.--------. .--------.
| | |
| | XI |
| | |
| .--------.
| |
| |
.-----------. .-----------.
| | | |
| Adapter | | Adapter |
| for mySAP | | for XI |
| | | |
.-----------. .-----------.
Detalls XI :
SAP Exchange Infrastructure (SAP XI) enables you to implement cross-system processes. It enables you to connect systems from different vendors (non-SAP and SAP) in different versions and implemented in different programming languages (Java, ABAP, and so on) to each other.
SAP generates application data in the SAP Intermediate Document (IDOC) layout.
The connected systems transfer or receive IDocs through their IDoc RFC interface.
iDoc sample and links
SAP designed IDocs ("Intermediate Documents") for exactly this purpose -- for encapsulating, moving around, and processing just the sections of data needed for specific purposes.
Un mensaje IDoc ALE típico que se ha enviado desde SAP al enlace WebSphere MQ para R3 consta de una cabecera MQMD, una cabecera MQSAPH y el propio IDoc ALE. El IDoc consta de estructuras de tamaño fijas:
MQSAPH fields - 12 parser's ! WS MB Information Center [*****] See Pager sample {com.ibm.etools.mft.samples.pager.res} & See Soccer Results sample ! {com.ibm.etools.mft.samples.soccer.res} [ VMware MB - c:\PF\ibm\ws\evtoolkit\eclipse\plugins\com ... ]
See Manipulating messages in the IDoc domain - url from SAP IDOC to XML and viceversa - url
Your best bet to answer this question before someone else does is to use AMQSBCG to dump a message produced by SAP.
Todos los campos se deben especificar y establecer. La sintaxis es:
Los nombres de campo, que se deben especificar en orden, son:
The R3/Link product consists of an inbound server, reading IDOCs from an input queue and passing them into SAP, and an outbound server, reading IDOCs from SAP and writing them to an output queue. Both these apps run on the MQ machine, and make a TCP connection to the SAP system using SAP RFC calls.
MQ Series link for R/3 User Guide
MQ Series link for R/3 User Guide (on-line)
MQ Series Link for R/3 v 1.2 CSD03
What is
RFC ? Remote Function Call
ICS had a "RFC trace" - does MB have anything similar ?
David : the adapter uses JCO to access LIBRFC32.DLL, the RFC API.
Yo prefiero el JCA adapter que viene con Broker 6.1 [emir]
Toolkit [6.1] + "SAP" ; [int]
You get everything in the standard version
and you are allowed to use them in "unit test"
but to use them for real
you have to pay an additional license fee for the sap nodes
(they have a pid I believe).
Their sales person should be able to work out a price.
From the technical side nothing else has to be installed.
In fact there is no direct checking or enforcement on our part in the code.
Regards, John.
John Reeve, WebSphere Message Broker Developer
SAP delivered files:
Download these files for your operating system from the SAP Service Marketplace, and save them to a directory, such as C:\SAP_LIB.
Set the location of the SAP prerequisite files using the following command:
To check that the values have been set correctly, run the following command:
MB v 6.1 "Message Flows", page 236 [244/1580]
Pend8888
The SAPInput node allows you to interact with SAP applications. For example, the SAPInput node monitors an SAP system for any new purchase orders. When a new purchase order occurs, the SAPInput node generates a message tree that represents the business object with the new purchase order details. The message tree is propagated to the Out terminal so that the rest of the message flow can use the data to update other systems, or to audit the changes.
MB v 6.1 "Message Flows", page 996 [1004/1580]
When you get a message, try it this way
Have you looked at the data coming into the flow with a trace node ? This will help you name the folders correctly ( get a trace of the root )
The SAPRequest node allows you to interact with SAP applications. For example, the SAPRequest node requests information from a SAP Enterprise Information System (EIS). A customer business object is sent to SAP, causing SAP to retrieve information about a customer, such as an address and account details. The response information that is retrieved by the SAPRequest node can then be used by the rest of the message flow. The SAPRequest node can send and receive business data.
MB v 6.1 "Message Flows", page 1000 [1008/1580]
Els samples diuen de fer servir :
Inbound adapters allow data to be passed from the EIS system to the MB.
Outbound adapters allow data to be passed from the MB to the EIS system.
Open
The Object Discovery Agent (ODA) and Bussiness Object Designer (BOD) are two design-time tools that can be used to extract metadata from the target system - in this case, SAP.
The ODA is the connector-specific component that connects to the targer system and then waits for requests to obtain metadata. The BOD connects to the ODA and requests metedata from it. The BOD displays the data returned, allowing the user to edit it if they wish, and then saves this metadata as XML schemas (.xsd files).
The ODA acts as an intermediary between BOD and SAP, and is used to extract IDoc metadata from the target SAP system.
ALE & iDoc
RFC & BAPI
SAP and WBI MB Integration for Dummies v0.pdf (?)
SAP and WebSphere Message Broker Integration for Beginners v1.2.pdf (?)
The IBM MQSeries Link for SAP R/3 allows us to both put and get data into and out of SAP R/3 from and to other data sources and legacy applications. It consists of three parts:
The MQSeries SAP Link uses ALE
to load SAP IDoc metadata into the MQSeries Integrator Formatter.
This means that it can handle bidirectional IDoc formats.
A library of IDocs is provided and additional or customized IDocs can be
loaded dynamically into the Formatter via the IDoc loader.
Using the MQSeries Integrator Version 1.0 , SG24-5386-00
Generates :
High-level steps :
Adapter Connection Wizard can be invoked from :
WMB61_Beta_Adapters.ppt
Lola:\h:\SAP_SAG - Win & Linux
ST11 = see RFC trace
Description, download & License Key
Requires : "SDN User id" & "Hardware key (HWID)"
|
|
|
|
Updated : 12/01/2009.
|
|