in my program I need to determine if a purchase order has any lines, I have the PO number.
Is there a function or bapi that lets me determine this,
or should I be looking at a DB table?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Use this Fm
If you are looking at just getting the number of items you can directly get it from EKPO.
However, if you are looking for details also you can get them as well from EKPO. If you are looking for more details, you can use the following functions.
I am sure that you can use the foll BAPI.
where ebeln eq <- PO number
Why do you want a function or a BAPI to do that ?