Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Select statement

Hi Gurus,

I have a condition :

I need to go to knvh and collect planning group from knvh-kunnr where knvh-hityp = "D" and knvh-hkunnr = cid, after that go to knvh and collect sold to party from knvh-kunnr where knvh-hityp = "D" and knvh-hkunnr = planning group

so far I have written this thing

select kunnr into table it_knvh

from knvh

for all entries in it_header

where hkunnr = it_header-cid

and hityp = 'D'.

Can you please twll me what should be the further process to accomplish the desired result.

Thanks

Rajeev Gupta

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question