Hello,
PO line table is EKPO. But you may try the following:
After PO is created through BAPI_PO_CREATE, you should make a synchronous commit (COMMIT WORK AND WAIT) before calling BAPI_GOODSMVT_CREATE. This ensures PO has been saved before proceeding to make Goods Receipt.
Thanks,
Venu