Click on the blue dropdown arrow next to the folder in the Component Explorer you want to create your new profile and choose New Component.

From the process you want to create the EDI profile, Select New Component

Within the create component window:

Choose Profile

Give the profile a name

Make sure it is going to the correct location

Select EDI

Once the profile is displayed, select the Options tab to define your EDI file:

Select your Standard: X12( User Defined and EDIFACT are the others)

For File Options chose:

Delimited

Star Delimited (all X12 files are all delimited with *)

Tilde (~) for Segment Terminator (X12 is delimited with a tilde)

Composite Delimiters will vary based upon trading partners

X12 Version Options – Here you will select the Version and transmission type

X12 Options

Interchange control standard configures the control standard defined in your X12 EDI specifications. It can either be U-US EDI Community of AS12, TDCC and UCS (the default) or X-US EDI Community of ASC X12.

Use Loop Start/End – Check only if needed (rarely needed) to put start and end segments on each loop.

Ignore Undefined Segments – If checked the system will ignore undefined segments before and after each loop (rarely needed).

Ignore Undefined – If checked the system will ignore undefined data elements rather than generating an error.

From your EDI spec all you need to know is the name of the segments you want in your profile:

Then within your data definition you simply check off the segment names from your spec and you are ready to go! AtomSphere populates the rest including all of the looping.

I have done all of the above. There are few issues. can you please help

1. EDI document is received which is exactly as per the specifications, no error is thrown. However document property (Trading Partners --> Valid EDI Message) is set to false. I am not able to get this property to true. This flag is supposed to return true when EDI document is valid. Why is it returning false?

2. Modified an EDI document by adding garbage and then processed it. The Trading Partner stop and the Mapper (EDI --> XML) are NOT throwing any exceptions. I literally added the following line in the middle of EDI "This is wrong EDI......some other values" BEG***250**ST***BEG***RTS*******some*random*stuff. The trading partner step is not throwing any exceptions. Does trading partner doesn't throw exception when the EDI document is not as per the specifications?