Using the enterprise data discovery wizard, you create a business
object representing a data structure.
Prerequisite: You should have a module and a program. In this
set of steps, a COBOL program is used.
The enterprise data discovery wizard lets you create business objects
for your services based on applications available locally. Though similar
in use to the enterprise service discovery wizard, the enterprise data discovery
wizard does not require you to go through the steps of connecting to an EIS
system.
- Right-click your module and from the pop-up menu, select New
> Enterprise Data Discovery. The Data Import window
opens. Select the map you want from the data source to the business object.
Note that the map can also specify multiple possible outputs. Browse to the
source file. Click Next.

- The Importer page opens. Select the platform
and code page required. Show Advanced lets you specify
numerical format, endian characteristics, and compile options. Click Apply to
get the data structure from the source file. Click Next.

- The Saving Properties page opens specifying
the names, styles and folder for the properties. Note that you can choose
to change or create a new module at this point. Remember, at this point nothing
has been generated. The name will be the selected data structure name if you
do not change it. For our example, we changed it to DeptPersonnelInfo. The
default namespace is taken from the formula specified in the Default Namespace
preference under Business Integration in the Preferences page.
Specifying a folder is recommended since otherwise all generated files will
be put in the root module folder. Generation style lets you specify a variation
of generated names. Click Finish to complete the generation
of your business object.

- Selecting the business object the enterprise data discovery wizard
has produced, you can open it in the business object editor to see it or edit
it.

You have discovered a data structure in a program and generated a
business object from it. See
Business objects from data structures to
see what you can do in the assembly editor with the business objects you create
from this wizard and the enterprise service discovery wizard.