Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting “Buffer table not up to date” error if we did not specify [ ] for internal table

0 Kudos

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

4 REPLIES 4

horst_keller
Product and Topic Expert
Product and Topic Expert

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)?

0 Kudos

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.

0 Kudos

answer to your question: read the link above.

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

Again, without [] you do not pass the internal table but the header line.