Top Banner
After launching BICMD for the first time, you can either choose to use the default workspace located in <BICMD Root>/User/bicmd or you can create a new workspace. When creating a new workspace you can choose the path. Select the new workspace name from the dropdown list and click OK.
34

BICMD Cookbook

Mar 03, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: BICMD Cookbook

After launching BICMD for the first time, you can either choose to use the default workspace located in <BICMD Root>/User/bicmd or you can create a new workspace.

When creating a new workspace you can choose the path.

Select the new workspace name from the dropdown list and click OK.

Page 2: BICMD Cookbook

A fresh version of BICMD will only contain the Global_Procedures tree. In order to perform any mapping work, you will have to create projects.

Projects are used to house and organize message structures and mappings. You can create projects by right-clicking anywhere in the project explorer window and selecting New-Project.

Page 3: BICMD Cookbook

Give the new project a name and a description (optional). Click OK.

By default, any newly created project will contain trees for each message standard type supported by BICMD. The more commonly used formats are ANSI_X12, EDIFACT, INHOUSE (fixed length flat files), CSV, XML, and SQL.

Page 4: BICMD Cookbook

To import message structures, right-click anywhere in the project and select import.

Message structures will either be single XML files in a proprietary BICMD format, or zip files that contain the XML and a folder containing element codelists like the example above.

Page 5: BICMD Cookbook

The import results in a new message structure being displayed in the ANSI_X12 message structure tree. The default naming convention for ANSI structures in <message>_<version>.

Page 6: BICMD Cookbook

You can also import Idoc message structures which are generated from SAP using the Seeburger transport transaction /n/seeag/idocstruct. This transport has to be installed in the development SAP environment.

Idoc message structures are single XML files with no codelists. The default naming convention is <Idoc type>_<Idoc release>_<language code>.

Page 7: BICMD Cookbook

It is not uncommon for an autocorrection dialogue to open as a result of importing Idoc message structure. Just choose Commit autocorrection to proceed. Choosing Cancel will result in the message structure not being imported.

Page 8: BICMD Cookbook

Idoc message structures will appear in the INHOUSE message structure tree.

Page 9: BICMD Cookbook

Once you have the appropriate message structures imported for source and destination, you are now ready to create a new mapping. Right-click on the Mapping tree and choose New-Mapping.

Page 10: BICMD Cookbook

Choose the source and destination message structures from the dropdown lists. This will result in a default map naming convention of <source message type>_<source message name>_to_<destination message type>_<destination message name>.

Page 11: BICMD Cookbook

You can alter the default mapping name or just add a prefix or suffix to indicate the trading partner the mapping is intended for. Leave the Programming language option as BIC_BASIC_V2. You can optionally fill out Company, Department, and User fields as well. Click OK.

Page 12: BICMD Cookbook

The result will be a new map under the Mapping tree of the project. Note that the source and destination message structures are indicated under the map name. You are now able to perform mapping instructions in the new map and test the map using the self-contained BICMD test environment to compile and run sample data through for conversion tests.

Page 13: BICMD Cookbook

Once you are ready to load your mapping to the BIS server, right-click anywhere in the project explorer window and choose Repository-Create repository connection to establish a connection to the BIS server mapping repository.

Page 14: BICMD Cookbook

Type the hostname or IP address of the BIS server, leaving the port and logical system values as the defaults (10000 and 000 respectively) and click OK.

Type in your BIS username and password and click OK.

You will receive a message like the one above if you entered in the server information correctly and the BIS server is running and available. Click OK.

Page 15: BICMD Cookbook

After establishing the server repository connection, you can now export the contents of your project to the server. Right-click on your project name and choose Repository-Export to Repository.

Page 16: BICMD Cookbook

Choose your repository connection from the dropdown list and click Browse.

Click New folder to create a new repository project on the server.

Page 17: BICMD Cookbook

Type in the name of the new project folder and click OK.

Select the new project folder name and click OK.

Page 18: BICMD Cookbook

Type in a mandatory comment and click OK.

Page 19: BICMD Cookbook

Choose the BICMD project objects that you want to export to the server and click OK. Note that you cannot export mappings without their dependent message structures.

Page 20: BICMD Cookbook

Once the export is complete, the names of your BICMD project and any items that you exported will be red and will have a repository version indicated to the right in parentheses. The red color indicates that the objects are in read-only mode.

Page 21: BICMD Cookbook

In order to gain exclusive write access on repository objects, you have to check them out by right-clicking on the object and choosing Repository-Check Out.

In the case of a map check out, BICMD will offer to check out the associated message structures as well. It is only necessary to check the message structures out if you intend to alter them. Otherwise, just click OK without selecting them.

Page 22: BICMD Cookbook

You will receive a success message like the one above, but only if the object is not already checked out by someone else. Click OK.

Checked-out objects will be green in color to indicate write access.

Page 23: BICMD Cookbook

If you open a checked-out object, make changes and save those changes, the font of the object name will appear in italics.

Page 24: BICMD Cookbook

After you have made all of the changes you need to make, check the object back in by right-clicking on the object and selecting Repository-Check In.

Enter a mandatory check in comment and click OK.

Page 25: BICMD Cookbook

A dialogue like the one above will indicate that the object was successfully checked in and that a new version number was assigned.

The object will once again appear in red and will display a new version number in parentheses.

Page 26: BICMD Cookbook

In order for a mapping to be accessible in the BIS converter runtime environment, you must activate (compile) the mapping source code by right-clicking on the map and choosing Repository-Activate.

Page 27: BICMD Cookbook

Confirm that the map name is selected, enter a mandatory activation comment and click OK.

Page 28: BICMD Cookbook

You will receive the dialogue above if the activation is successful. Click OK.

Page 29: BICMD Cookbook

Next go to the BIS server frontend and select Mapping Management under the Converter tree of the Configuration tab.

From the file menu choose New.

Page 30: BICMD Cookbook

Select the map from the available activated mappings in the repository folder and click deploy.

Enter a mandatory deploy comment and click Continue.

Page 31: BICMD Cookbook

Your mapping will then appear in the mapping management and is ready to be used in the BIS process solution.

Once Projects and maps are loaded to the server repository, additional BICMD clients can download the objects from the server by creating a repository connection and then right-click anywhere in the project explorer window and choose Repository-Import from repository.

Page 32: BICMD Cookbook

Choose your server connection from the dropdown list and click Browse.

Choose the repository project you wish to import and click OK.

Page 33: BICMD Cookbook

Click OK

You can either choose an existing BICMD project to import into or you can create a new project. Note that in this example, the TEST project in BICMD is already linked to the server and all objects are read only, so an import into that project would fail. Click New.

Type a new project name to link with the server project and click OK.

Page 34: BICMD Cookbook

Click OK.

The new project will be created and linked with the server project.