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

Fetch Scheduling Agreement using Condition Record no.

Former Member
0 Likes
438

Dear All,

We have a requirement wherein user can change a condition record using MEK1, MEK2, VK11 or VK12. I have a Z program which given the changed condition record no (KNUMH) should fetch the affected scheduling agreements that are using this condition record. Any idea on how to achieve the same is appreciated.

Thanks,

Suganya

1 REPLY 1
Read only

Former Member
0 Likes
334

Suganya,

for SD: get KONV-KNUMV for your KNUMH, then get VBELN in VBAK for the KNUMV

But this way is very slow, I'm not aware of indexes or index tables here...

Cheers

carsten