This BLOG thread discusses the steps for Oracle B2B setup for SAP IDocs. The thread discusses the use of
- Oracle EDIFECS Spec Builder Version 7.0.5
- Oracle B2B Console for version 11.1.1.7
Steps for building the ECS file, the Parser and XSD
- Start the B2B Document Editor
- Click on File->New
- Choose Positional Flat File
- Choose Blank Positional
- Press Next
- You should be able to see a blank PFF guideline
- Click on File-> Import
- Select the SAP IDoc Guideline. Press next
- On the Analyzer / Data window, open a sample Data File
- On the Analyzer Wizard, verify the record terminator, Un-check the "First record in the guideline starts a new message and press Next, Press Finish in the subsequent window.
- For each tag in the sample data displayed on the Analyzer / Data window, verify the tags, in the event the tags are different,
- Select the Record ID whose tag needs to be set,
- Repeat this for all the elements.
Generate the Parser File
- Ensure that the Record Terminator is correct and click on the browse button and give tne name to the parser file.
- Copy the parser ecs file in the directory $Oracle_SOA_Home\soa\thirdparty\edifecs\XEngine\config\schema (for eg. - D:\OFMW11g\PS3MWHome\Oracle_SOA1\soa\thirdparty\edifecs\XEngine\config\schema)
- Add an entry for this parser ecs in $Oracle_SOA_Home\soa\thirdparty\edifecs\XEngine\config\XERegistry.xml
- To add this entry, edit the XERegistry.xml in a text editor and add below “Positional flat parser schemas”