# please help me in creation of schema for this edi fact file

**URL:** <https://techcommunity.softwareag.com/t/please-help-me-in-creation-of-schema-for-this-edi-fact-file/109749>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [November 12, 2008, 12:49pm UTC](https://techcommunity.softwareag.com/t/please-help-me-in-creation-of-schema-for-this-edi-fact-file/109749 "2008-11-12T12:49:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leela.venkat](https://avatars.discourse-cdn.com/v4/letter/l/ecb155/32.png) [@Leela.venkat](https://techcommunity.softwareag.com/u/Leela.venkat)\
**Post date:** [November 12, 2008, 12:49pm UTC](https://techcommunity.softwareag.com/t/please-help-me-in-creation-of-schema-for-this-edi-fact-file/109749/1 "2008-11-12T12:49:32Z")

</div>

Hi,

Can anyone of you help me in getting schema creation content for this below EDI fact file as I dont have TN installed in my ssystem.

UNA:+.? ’  
UNB+UNOA:3+STYLUSSTUDIO:1+DATADIRECT:1+20051107:1159+6002’  
UNH+SSDD1+ORDERS:D:03B:UN:EAN008’  
BGM+220+BKOD99+9’  
DTM+137:20051107:102’  
NAD+BY+5412345000176::9’  
NAD+SU+4012345000094::9’  
LIN+1+1+0764569104:IB’  
QTY+1:25’  
FTX+AFM+1++XPath 2.0 Programmer?‘s Reference’  
LIN+2+1+0764569090:IB’  
QTY+1:25’  
FTX+AFM+1++XSLT 2.0 Programmer?‘s Reference’  
LIN+3+1+1861004656:IB’  
QTY+1:16’  
FTX+AFM+1++Java Server Programming’  
LIN+4+1+0596006756:IB’  
QTY+1:10’  
FTX+AFM+1++Enterprise Service Bus’  
UNS+S’  
CNT+2:4’  
UNT+22+SSDD1’  
UNZ+1+6002’

Thanks,  
Leela.

---

<div class="post-metadata">

**Author:** ![nagendragp](https://avatars.discourse-cdn.com/v4/letter/n/eada6e/32.png) [@nagendragp](https://techcommunity.softwareag.com/u/nagendragp)\
**Post date:** [February 5, 2012, 10:49pm UTC](https://techcommunity.softwareag.com/t/please-help-me-in-creation-of-schema-for-this-edi-fact-file/109749/2 "2012-02-05T22:49:30Z")

</div>

Hi All,

I have a inbound file of Edifact format, for which I need to write the schema.  
Does any one have any idea how to go about, any ideas or solutions will be greatly appreciated.  
Is creating COBOL copybook a right solution?

Thanks,  
Nagendra

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [February 6, 2012, 8:20pm UTC](https://techcommunity.softwareag.com/t/please-help-me-in-creation-of-schema-for-this-edi-fact-file/109749/3 "2012-02-06T20:20:00Z")

</div>

Are you trying creating some canonical document for your Inbound EDIFACT mapping…Its better some business analyst involve with mapping specs…I belive you are talking about mainframe target and yes you can get a copy book sample file and then you can create Flatfile dictionary schema based out of it:

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![nagendragp](https://avatars.discourse-cdn.com/v4/letter/n/eada6e/32.png) [@nagendragp](https://techcommunity.softwareag.com/u/nagendragp)\
**Post date:** [February 8, 2012, 8:31pm UTC](https://techcommunity.softwareag.com/t/please-help-me-in-creation-of-schema-for-this-edi-fact-file/109749/4 "2012-02-08T20:31:38Z")

</div>

Hi RMG,

Thanks for the reply…To explain in Detail, this particular EDIFACT format is a inbound file which gets processed by a middleware. I am basically automating the whole scenario here using an Automation tool. So, for inbound file creation of Edifact Format, I have to prepare the schema and call this prepared schema in the automation tool and automate the process.  
I have already created a copybook for the same, just wanted to know if I am progressing properly.

Thanks,

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [February 8, 2012, 9:08pm UTC](https://techcommunity.softwareag.com/t/please-help-me-in-creation-of-schema-for-this-edi-fact-file/109749/5 "2012-02-08T21:08:42Z")

</div>

YES it sounds you are in right direction…So create the flat file schema (fixed length/positional) out of it and then test the inbound EDIFACT mapped to the new flat file document and pass it to backend and see if they can accept format in your automation process:

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:05pm UTC](https://techcommunity.softwareag.com/t/please-help-me-in-creation-of-schema-for-this-edi-fact-file/109749/6 "2021-04-02T15:05:51Z")

</div>


