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

Using select statements

Former Member
0 Likes
414

Hi,

I have a doubt in two things using select statements.

1. In sales report generation, do not select orders with del block or billing block ( LIFSK & FAKSK = 'x'.)

2. How to always group by document type and print total of net value.

Thanks,

Stalin.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
401

Hi Stalin.

1. In select query you have to neglect (in where condition).

del block LIFSK <> 'X'

billing block FAKSK <> 'X'

2. Use group by clause in select query.

Jayant Sahu

2 REPLIES 2
Read only

Former Member
0 Likes
402

Hi Stalin.

1. In select query you have to neglect (in where condition).

del block LIFSK <> 'X'

billing block FAKSK <> 'X'

2. Use group by clause in select query.

Jayant Sahu

Read only

Former Member
0 Likes
401

ANSWERS

1. In sales report generation, do not select orders with del block or billing block ( LIFSK & FAKSK = 'x'.)

2. How to always group by document type and print total of net value.

u can write query as........

SELECT F1 F2 F3

FROM TABLE

into ITAB

WHERE LIFSK = 'X AND

FAKSK = 'X'

GROUP BY DOC_TYPE

Reward if useful

Narendra