Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Read EDI message file

Former Member
0 Kudos

Hi All,

I am getting EDI message INVRPT file and i would like to read that file and update one z table.so let me know how to read EDI file.

File is having structure like.

Header level

File generation No.

Inventory report No. (Reference PO No.)

Inventory Report Date

Document Date

Warehouse ILN

Item level Material code (Customer Code)

Qty actual stock

Qty Store Sales

Qty in-transit

Qty Backorder

Please reply.

Mukund

1 REPLY 1

Former Member
0 Kudos

Hi,

I hope I understand your question correctly. If your file is strcutured like you showed, then you should simply read it with the <b>OPEN DATASET</b> and <b>READ DATASET</b> commands - simply look at online help for exact syntax.

However, this will only work if the file is located on the application server or a volume mounted so the SAP server process can access that file.

Hope this helps (please reward me if it does),

Joerg