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

Summing the delivery quantity in Dialog Programming

Former Member
0 Likes
554

Hello ppl,

I've to sum the delivery quantity for all the deliveries in the group from table LIPS.(LFIMG). How should I do it in Screen Programming. In the PAI, I receive the deliveries for the group(VBSS-VBELN). In other words, how to manipulate the records when i use only the TABLES statement.

Thanks.

Karthikeyan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
478

Hi

U need to select the quantity from lips, u can use the SELECT stament with option SUM:

SELECT SUM(LFIMG) INTO V_QTA FROM LIPS WHERE VBELN IN .........

Max

Hello ppl,

I've to sum the delivery quantity for all the deliveries in the group from table LIPS.(LFIMG). How should I do it in Screen Programming. In the PAI, I receive the deliveries for the group(VBSS-VBELN). In other words, how to manipulate the records when i use only the TABLES statement.

Thanks.

Karthikeyan

2 REPLIES 2
Read only

Former Member
0 Likes
479

Hi

U need to select the quantity from lips, u can use the SELECT stament with option SUM:

SELECT SUM(LFIMG) INTO V_QTA FROM LIPS WHERE VBELN IN .........

Max

Read only

0 Likes
478

Thanks a lot Max. Appreciate it.