Skip to Content
Jun 02, 2022 at 09:27 PM

Parsing EDI X12 data


Hello experts, my requirement is that once I get EDI X12 formatted data, I have to store them in SAP system to make FI posting later.

I'm using FTP Function Modules, but I'm not sure how to parse the data.


Data look like this(I got this from Google search and would remove it if this matters) and I have to parse them so that I can work with them.

My questions are:

1) Once I use FTP_COMMAND FM, should I get the data table just look like above?

2) Main question: is there any great way to parse them? Ex. getting specific information(get numbers after BIG* in line 4).

Thank you.


image.png (285.4 kB)