Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

The PI B2BADDON comes with Test Tools which can be used to test the conversion of data from EDI to EDI- XML and also from EDI-XML to EDI. This is really helpful in checking the validity of EDI & EDI-XML documents and transactions. This helps in identifying the exact error details of the EDI / EDI- XML data.

This is Test tool option is available for the below EDI standards

Edifact

Ansi X.12

Odette

Tradacoms

VDA

To access this option, go to the EDI Maintenance GUI using the below URL

http://<hostname>:<port>/webdynpro/dispatcher/sap.com/converter~maintain~maintenance-app/Maintenance

The EDI to EDI- XML and EDI-XML to EDI conversion tool option for Ansi X.12 can be accessed as shown below

Let’s go through the Ansi X.12 EDI to EDI-XML conversion test option. This can be accessed by clicking the ‘Ansi X.12 to XML’ conversion option

Import the EDI file as shown below. Ansi X.12 850 EDI document is used in this example

The conversion options and interface details can also be provided to perform the test.

Click ‘Covert’ button to perform the conversion from ‘EDI’ to ‘EDI-XML’. The ‘EDI-XML’ converted data can be seen as shown below in the output area. In case of any errors, the details of the error will be displayed in the output area.

To convert from ‘EDI-XML’ to ‘EDI’ use the below option ‘XML to Ansi X.12’. Ansi X.12 850 EDI-XML document is used in this example

Import the ‘EDI-XML’ data and press the ‘Convert’ button to perform the conversion from ‘EDI-XML’ to ‘EDI’. The converted document can be seen in the output area. In case of any errors during the conversion, the details of the error will be displayed in the output area.

Similar EDI <> EDI-XML conversion test option is available for the other EDI formats - Edifact, Odette, Tradacoms and VDA under the corresponding menus.

7 Comments