on 11-25-2005 10:48 AM
Hi,
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?
Thanks
Hi Use this Fm
BAPI_PO_GETITEMS
regards
vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sims,
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.
BAPI_PO_GETITEMS
BAPI_PO_GETDETAIL
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sims,
I am sure that you can use the foll BAPI.
BAPI_PO_GETITEMS
Regards,
Abdul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sims,
select count...
from ekpo
where ebeln eq <- PO number
Why do you want a function or a BAPI to do that ?
Rgd
Frédéric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.