BAPI_PO_CREATE1 ... Net Price error in calculation

Question:
Hi
Need your help to pass necessary paramete in item for creating a po using BAPI_PO_CREATE1
in poheader and poheaderx , the following fields are passed
comp_code ; doc_type ; vendor ; purch_org; pur_group; currency
In poitem and poitemx , following fields are passed ..
PO_ITEM; material; QUANTITY; plant; NET_PRICE; PO_PRICE
if PO_PRICE is '2' and Netprice is not blank .... then bapi creates PO but
if PO_PRICE is ' ' and Not pass Netprice then the bapi gives error as
Error in net price calculation
My problem is how to pick up price automatically while creating PO using BAPI ... which parameters should be passed ... Pls help ..
Thanks
AMy
Answer:
Try this program RM06BB20 in debug.

More Articles:

BAPI?
Extension of Customer Sales area BDC?
Internal Material number creation with BAPI_MATERIAL_SAVEDA?
Change Pointers?
Big Message?
Decimals out in ALV?