I have an RFC function module that call firstly to the BAPI_ENTRYSHEET_CREATE and then calls to the BAPI_INCOMINGINVOICE_CREATE.
I am getting the M8(607) error code Error in sobroutine frseg_fill read tab_esll estructure.
I have tried put a BAPI_TRANSACTION_COMMIT between both of the function modules. even I have tried to check if some entries have been added to tables essr and essl before processing the invoice creation.
If I put a delay, it works fine.
Anybody know how I can avoid this error, what I have to check, before call to the invoice creation.
Thanks for your attention.