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

Open quantity for scheduling lines

Former Member
0 Likes
2,395

Hi,

I need calculate open quantity from scheduling lines(based on date) for Scheduling Agreement (similar like VL10I works). I noticed that open quantity is not maintain in VBEP. So could you help me?

BR,

Z

2 REPLIES 2
Read only

Former Member
0 Likes
982

Hi,

You'll get all the data related to a schedule line in table EKET

You need to query the sales order number in table VBUK and check the field GBSTK ne C then it will be an open order.

You can look in table VBAKUK for this.

This is nothing but a Join of VBAK and VBUK entries. you can eliminate a join if u fetch it from VbakUk

Now once it is confirmed that it is open then fetch the entries from VBAP.

Regards,

Shamma

Read only

Former Member
0 Likes
982

Hi,

For calculating open quantity for scheduling lines ,u need to query the sales order number in table VBUK and check the field GBSTK , it will be an open order .

You can look in table VBAKUK for this .

This is Join of VBAK and VBUK entries. You can eliminate a join if you fetch it from VbakUk

Now once it is confirmed that it is open then fetch the entries from VBAP.

Hope it helps you.

Thanks,

Sarita Singh