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

Window in ALV ...

Former Member
0 Likes
431

Hi gurus ...

I made a report that it was a print output . I used the following code and it worked .

AT LINE-SELECTION.

WINDOW STARTING AT 032 05

ENDING AT 100 30.

WRITE:/ 'Detail Data for object : ', XHIDEKEY COLOR 4.

....

....

....

....

Now i made another report that is An ALV .

I tried to do it again but i can't do it ....

How can i do it when i press a button to display a small window with some data (Not alv) ..

look my code ....

...

....

....

CASE R_UCOMM.

WHEN '&IC1'.

CASE RS_SELFIELD-FIELDNAME .

WHEN 'PERNR'.

RS_SELFIELD-REFRESH = 'X'.

SET PARAMETER ID 'PER' FIELD RS_SELFIELD-VALUE.

CALL TRANSACTION 'PA20' AND SKIP FIRST SCREEN.

WHEN OTHERS .

ENDCASE. " RS_SELFIELD-FIELDNAME .

********************EVENTS IN BUTTONS ********************

WHEN 'DISPLAY'.

WINDOW STARTING AT 032 05

ENDING AT 100 30.

WRITE:/ 'Detail Data for object : '.

WRITE:/ 'Detail Data for object : '.

WRITE:/ 'Detail Data for object : '.

WRITE:/ 'Detail Data for object : '.

WRITE:/ 'Detail Data for object : '.

Thanks ....

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
397

Hello,

You cannot use Window command here as it use the ALV uses Object oriented model, here you can do this using

Call screen and displaying it in another alv list

As normally you see the F2 pick button on ALV list.

Thanks and Regards

Pushkar Joshi

1 REPLY 1
Read only

Former Member
0 Likes
398

Hello,

You cannot use Window command here as it use the ALV uses Object oriented model, here you can do this using

Call screen and displaying it in another alv list

As normally you see the F2 pick button on ALV list.

Thanks and Regards

Pushkar Joshi