12-01-2005 6:54 AM
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
12-01-2005 8:56 AM
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