Trading Networks 10.3 | Administering and Monitoring B2B Transactions | webMethods Module for EDI | Using Module for EDI Decoupled from Trading Networks | Creating Flat File Schemas for EDI Documents | Creating a Flat File Schema from an IDOC
 
Creating a Flat File Schema from an IDOC
Module for EDI provides the wm.b2b.edi:createIDOCtemplate service to create flat file schemas from an SAP IDOC. This service queries the SAP system directly for the IDOC that you want to use to create the schema. For more information about this service, see webMethods Module for EDI Built-In Services Reference .
To create a flat file schema from an SAP IDOC, you must perform the following high-level steps.
Step
Description
1
Invoke the wm.b2b.edi:createIDOCtemplate service (e.g, from Designer). The inputs to the service include the SAP server name, the IDOC name, the IDOC version, and the package name and namespace name in which you want the service to create the schema.
For descriptions of all the input parameters, see the descriptions of the wm.b2b.edi:createIDOCtemplate service in webMethods Module for EDI Built-In Services Reference .
2
From Designer, make changes to the flat file schema to meet your site's needs. For example, you might want to assign format services to fields in the flat file schema.