Creating a Process Flow
A process flow is a set of activities arranged in a sequence to perform a specific task(s). Combining various activities i.e. Source, Target, Schema or Transformer etc. creates a process flow.
This section explains the steps to process IDoc using Adeptia's process flow and transformation features. You can design process flow in Adeptia to read the IDoc file from the location where SAP server places it and further can transform the file using Adeptia Data mapper to text or any data format as per requirement.
To know more about process flows, please refer to the Working with Process Flow section of the Developers Guide.
Alternatively, you may send or receive IDocs Using Data interface method. With this method you don't need to create a new process flow, you can simply use the Default_Data_Interfaces process flow.
Refer to the Using Data Interface. section of the Developers Guide for details.
- On the Adeptia Suite home page, click the Develop tab.
Go to Services > Source to create an xml source activity.
Adeptia Suite enables you to transfer data from any source location to any target location. In order to transfer any data, you need to first fetch the data. To perform the same, you need to create a Source activity. The Source activity enables you to specify the location, where the data is stored.
To know how to create the Source activity, refer to the Creating Source Activity section of the Developer Guide.Ensure that the eventContextEnabled property of the source activity is set to true. This overrides the source file with the file received from SAP server.
- Go to Services > Schema and then click XML.
Click the IDoc Schema link to create a SAP IDoc schema.
You use a schema activity to parse data from all the supported data type formats and transform it into any of the supported data types. What a schema actually does is that, it apprehends data from the source, transforms it into XML, and then commits it to the source in the requested format. If you want data transformation then you need to use different types of schema activities both at the source and target end of your Process flow.
To know how to create Schema activity, refer to the Creating Schema Activity section of the Developer Guide.Go to Services > Target to create a Target activity.
Adeptia Suite enables you to transfer data from any source location to any target location. Once you have fetched the data (by creating a source activity) and defined the file format for the source data or the target data (by creating a schema), you will be required to create a target activity. A Target Activity allows you to identify specific data that you can create and the means to deliver it.
To know how to create the Target activity, refer to the Creating Target Activity section of the Developer Guide.- Go to Services > Schema to create a schema for your Target activity.
- Go to Services > Data Transformation and then click Data Mapping to map the SAP IDoc schema with the Target schema (see Figure 2).
Figure 2: Mapping ActivityData Mapper is a visual data-mapping tool used for mapping elements in advanced data integration projects. This tool allows you to specify source and target schemas and to map data fields from source schema to target schema.
To know how to Map Source and Target Elements refer to the Map Source and Target Elements section of the developers Guide. - Go to Process > Process Flow to create a new process flow. The Process Designer window is displayed.
- Arrange these activities in the following sequence through process designer (see Figure 3).
Source > SAP IDoc Schema > Mapping > Target Schema > Target
Figure 3: Process Flow
The Process Designer is easy to use and enables both technical and non-technical users to design processes.
To know how to use process designer, please refer Understanding Process Designer section of the Developer Guide.
The received files are then transformed in the format you selected.