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

select query

Former Member
0 Likes
388

I have to display price(netpr) of a material group matkl(74055)

for a particular costcentre (kostl) and purchase document(ebeln)

i found one table ACCTIT vth keys kostl and eblen

ekpo has netpr vth key ebeln

and zmm_dscs contains kostl as key also

csks table has key kostl.

i have to fill the field of netpr in a custom table zmm_dscs

i wrote the query as

select ekpo~netpr into corresponding fields of table i_netpr

from ekpo inner join acctit

on ekpoebeln = acctitebeln

where ekpo~matkl eq '74055'.

but i have to netpr based on kostl

PLZ SUGGEST ME\

bump to top

Edited by: Rich Heilman on Jan 25, 2008 1:26 PM

2 REPLIES 2
Read only

Former Member
0 Likes
367

Not sure exaclty what you are looking for. Is it the net prices of all the materials in the group?

Rob

Read only

0 Likes
367

hi Rob,

I am looking for the netpr of a material group 74055

based on puchase document number (ebeln) and costcentre

value (kostl)

ekpo contains netpr and ebeln(key)

but i have to get netpr based on kostl also

i found kostl ebeln as keys in acctit table

how to display netpr.