Generating Document Types
Generating Document Types for RFC Structure
About this task
This feature allows you to generate an RFC document type for an RFC structure defined at an SAP system.
To create a document type for RFC Structure
Procedure
- In Designer, select File > New > Document Type.
- Select the parent namespace and name for the document type, and click Next.
- From the list of source files, select SAP as the type of source file from which to create the document type. Click Next.
- Select RFC as the SAP Document Type and click Next.
- Select the SAP System ID and click Next.
- Select the RFC Structure. If no structures have been cached, you must type the structure name into the field.
- Click Next and then Finish.
Generating Document Types for IDocs
Create an IDoc Document Type Using the DDIC
About this task
You can create an IDoc document type using the metadata describing the IDoc structure that is available in the DDIC. This is the best approach for creating an IDoc document type.
To create a document type using the DDIC
Procedure
Generating an IDoc Document Type from an XML Document
About this task
To create an IDoc document type from an XML document
Procedure
Generating an IDoc Document Type from a DTD
About this task
To create a document type from an IDoc DTD
Procedure
Generating a Document Type from a Sample IDoc
About this task
If you do not have access to an SAP system or if you do not have, or cannot create, a DTD for your IDoc, you will have to generate your document type from a sample document that you submit to Designer at design time. If you have to use this option, you must obtain or create a comprehensive sample document before you begin building the service. The sample document should contain examples of all possible fields in the IDoc. Fields that are not represented in the sample document will not appear in the document type.
- Save a pipeline image capturing the IDoc.
- Retrieve the created pipeline image.
Saving a Pipeline Image Capturing the IDoc
About this task
To save a pipeline image capturing the IDoc
Procedure
Results
When the routing listener receives the document that you submit, it invokes the flow service you created above, which captures the IDoc by making a copy of the pipeline. In the next step, you will retrieve the saved image of the pipeline.
Retrieving the Created Pipeline Image
About this task
To retrieve the pipeline image you created