Version 2.3.1.18
 —  SAP R/3 Gateway Documentation  —

Generating IDoc Type Information

Some transformation processes need IDoc type information. For example, the outbound IDoc is received as plain text. The subsequent transformation process must interpret the plain text. The generation process calls the Rpc2Rfc function IDOCTYPE_READ_COMPLETE. The transformation process in the pipelines needs the IDoc type information. To generate the specific IDoc type information, go to the development IDoc Type page of IDoc XML Gateway or to http://YourGateway:8080/sapr3idocxmlgateway/transformer/IDocType_ToFile

graphics/idocTypes.png

The first table shows the Available IDoc Types that have already been successfully generated by SAP R/3. The Delete button will delete the corresponding type. The IDL button generates the webMethods EntireX interface definition in a new window.

To start the generation process, you must set the fields in the Generate IDoc Type Information dialog:

Field Default Description
IDoc Type None Enter the IDoc type name.
R/3 Client None. See Rpc2Rfc parameter Gateway Logon Strategy Connect with R/3 client.
R/3 User ID None. See Rpc2Rfc parameter Gateway Logon Strategy Connect with R/3 user ID.
R/3 Password None. See Rpc2Rfc parameter Gateway Logon Strategy Connect with R/3 password.
Broker localhost with default port 1971 IP connection parameter
Service RPC/R3RFCD/CALLNAT Name of broker service

The generation process waits until all data have been retrieved from the SAP application server. The next page will show an update of available IDoc types or the System Log, if an error occurs. In this case, the first two lines will show the error message.

Tip:
Type information contains many comments on the groups and fields. The comments are language dependent. You can change the language parameter on the Rpc2Rfc kernel to get the comments for your language.

Important:
Pipeline processing stops if an IDoc type is missing. If this happens, generate the IDoc type and restart the pipeline step for transformation for processing to continue.

The IDoc types in the file system work for the transformation step as a cache. It is possible to change the default handling and to get the IDoc type for each transformation step at runtime from the SAP R/3 system. Note however, that this requires considerable resources and will have an effect on performance. To change the default file cache handling, edit the IDocType.xsl stylesheet. Change the documented xsl:import statement.

Top of page