I have this code which reads the given file and attempts to write it to the lines on the purchase screen.
The issue is that it is populating the data into the fields, but it isn't actually "creating" the line on the screen, the same way that it does when you press the tab key?
Subprog B17_NBLIG Local Integer ZROWNUM(10) Local Char ZPRODUCT(30) Local Char ZDESCR(30) Local Double ZQTY(6) Local Decimal ZPRICE(9) Openi filpath('EDI/IMPORT', "Test", "csv") Using [MULTI] adxifs = ";" adxirs = chr$(13)+chr$(10) I = 0 Repeat Rdseq ZROWNUM,ZPRODUCT,ZDESCR,ZQTY,ZPRICE Using [MULTI] [M:POH2]ITMREF(I) = ZPRODUCT [M:POH2]ITMDES(I) = ZDESCR [M:POH2]ITMDES1(I) = ZDESCR [M:POH2]QTYUOM(I) = ZQTY [M:POH2]EXTRCPDAT(I) = [M:POH0]ORDDAT [M:POH2]GROPRI(I) = ZPRICE Affzo [M:POH2] I = I + 1 Until fstat <> 0 Openi Using [MULTI] End