Application Development and Automation 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: 
Read only

PO Net Value

Former Member
0 Likes
673

Dear Friends,

From where i can get PO Net value. I dont want to calculate from line items ( EKPO ).

any help highly appricated.

regards

Naeem

Dear Friends,

From where i can get PO Net value. I dont want to calculate from line items ( EKPO ).

any help highly appricated.

regards

Naeem

4 REPLIES 4
Read only

Former Member
0 Likes
609

Hi,

Try using this way

Select KNUMV from EKKO by passing the Purchase Order No.

With the retrieved KNUMV, go to KONV and get the KBETR, which should give you the Net Amount

Regards

Hiren K.Chitalia

Read only

Former Member
0 Likes
609

get it from EKKO. its the header table.

Read only

Former Member
0 Likes
609

Hi,

Try the following as suggested,


data: begin of it_knumv occurs 0,
         knumv like ekk0-knumv,
        end of it_knumv.

select knumv 
into it_knumv
where ebeln = p_ebeln.

select kbetr 
into it_out
for all entries in it_knumv
where knumv = it_knumv-knumv.

Regards,

Vik

Read only

Former Member
0 Likes
609

Hi,

Please use following,

BAPI_PO_GETDETAIL

BAPI_PO_GETDETAIL1