Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Generating Document Types | Generating Document Types for IDocs | Generating a Document Type from a Sample IDoc
 
Generating a Document Type from a Sample IDoc
 
Saving a Pipeline Image Capturing the IDoc
Retrieving the Created Pipeline Image
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.
To generate a document type from a sample IDoc, in Designer you must:
1. Save a pipeline image capturing the IDoc.
2. Retrieve the created pipeline image.