Here is my program starting at the select options.
SELECT-OPTIONS:
so_zshpc for vbap-zzshipto_cust,
so_nwgew FOR vbap-ntgew,
so_name1 for kna1-name1,
so_vdatu for vbak-vdatu,
so_vbeln for vbak-vbeln.
START-OF-SELECTION.
PERFORM f_populate_table.
PERFORM f_write_list.
END-OF-SELECTION.
FORM f_populate_table.
SELECT zzshipto_cust vbeln ntgew into (int_cust_tab-zzshipto_cust, int_cust_tab-vbeln,
int_cust_tab-ntgew)
FROM vbap
WHERE zzshipto_cust in so_zshpc
AND vbeln IN so_vbeln
AND ntgew IN so_ntgew.
The syntax error is in the last line.
Any ideas?