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

SQVI

Former Member
0 Likes
553

HI ALL

i need to create a report on and selection critera is

plant: from / to

date : from /to

wbs element : from / to

fields to be displayed on the screen are

material

plant

good reciept

value

unit price

data to be fetched is based on this critera

select mblnr from mseg where BWART EQ 101,105,501,561 and SOBKZ EQ Q.

*i need to prepare this through tcode SQVI so pelase tell me can i write this query in sqvi and how to give selection critera *

4 REPLIES 4
Read only

Former Member
0 Likes
512

Hi,

for u requirement no coding is needed in sqvi, u can achieve ur requirement in se11 also.

since ur fetching all the details from single table.

sqvi procedure.

go to sqvi

give quick view name(any)

go for create

give title name,

data source : table

table/view : give table name (mseg) as per ur reqirement,

enter

u will see new screen

there select selection fields tab

move the filed which u want in selection screen., press enter

then go for list fiels selected ( give which fiels u want for out put )

then save

then execute.

in the selection screen give the selection criterial u can get the output desire.

for tcode.

execute the report.

go for system status , note program name crete tcode for this program name.

regards

siva.

Read only

0 Likes
512

this i am already aware of but tell me how to give selection cirtera

Read only

0 Likes
512

Hi,

In a Report program do the coding and create a tcode for it. NO-DISPLAY will not display the selection screen, but INITIALIZATION event sets the selection field values.

TABLES : MSEG.

SELECT-OPTIONS : s_bwart FOR mseg-bwart NO-DISPLAY.

PARAMETERS : p_sobkz TYPE mseg-sobkz NO-DISPLAY.


INITIALIZATION.

s_bwart-sign = 'I'.
s_bwart-option = 'EQ'.
s_bwart-low = '101'.
APPEND s_bwart.

s_bwart-sign = 'I'.
s_bwart-option = 'EQ'.
s_bwart-low = '105'.
APPEND s_bwart.

s_bwart-sign = 'I'.
s_bwart-option = 'EQ'.
s_bwart-low = '501'.
APPEND s_bwart.

s_bwart-sign = 'I'.
s_bwart-option = 'EQ'.
s_bwart-low = '561'.
APPEND s_bwart.

p_sobkz = 'Q'.

START-OF-SELECTION.

"SELECT query and output.

Regards

Bala Krishna

Read only

Former Member
0 Likes
512

there is another check box next to list one enlarege the screen and mark that check box