03-08-2017 3:31 AM
Hi all,
The program is declaring internal table with header line.
If we passing the internal table into BAPI_PO_CHANGE without [ ], the BAPI will hit error "Buffer table not up to date".
If we passing the internal table into BAPI_PO_CHANGE with [ ], then the error disappear.
Any idea on this?
Thank you.
Regards,
Ying Heng
03-08-2017 5:13 AM
Without [] you pass the header line. With [] you pass the table body. Enter [] in the ABAP help. Is there any reason that you use obsolete header lines (especially if you are not familiar with them)?
03-08-2017 8:31 AM
Hi Horst Keller,
Thanks for your time to look into this question.
Yes, I understand that without [] we pass the header line and with [] we pass the table body.
This code is not done by me but done by previous ABAPER.
I am just curious how the internal table without [] will prompt the error from the BAPI.
Can I conclude it as, if the internal table without [] been put into the BAPI, the BAPI will treat it as a work area but not a internal table?
Thank you.
03-08-2017 8:39 AM
03-08-2017 8:50 AM
Again, without [] you do not pass the internal table but the header line.