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

problem in alv

Former Member
0 Likes
1,298

Moderator message: please use a more informative subject for your questions in future

I am able to display output in ALV format. But,After ALV display,

when I click back button, I am getting blank page.

Any idea what may be the mistake?

Edited by: Matt on Dec 4, 2008 1:10 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,281

Dear Mounika,

YOu need to write logic for the same.

Call screen when the Fcode = ' functiuon code ' .

write code like this.

case sy-ucomm.

when fcode.

call screen ............................

endcase.

Best Regards,

Flavya

15 REPLIES 15
Read only

Former Member
0 Likes
1,281

Hi,

Did you call selection screen after that?

Read only

tarangini_katta
Active Contributor
0 Likes
1,281

Hi Mounika,

Have you written any write statement after displaying the alv list .

May be that would be the problem.

Thanks

Read only

0 Likes
1,281

Hi Tarangini,

I did not use any write statements after alv.

Read only

0 Likes
1,281

Can you let me know what you have done. is it a normal report or an module pool, so that it will be easy to answer the question. before giving you the correct answer

Read only

0 Likes
1,281

Hi Kar,

It is a normal report.

This is the function module which I have called.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_CALLBACK_PROGRAM = repid

IT_FIELDCAT = it_fcat

IS_LAYOUT = layout

IT_EVENTS = i_events

TABLES

T_OUTTAB = GT_OUT.

Read only

0 Likes
1,281

Hello ,

Case SY-UComm.

when '&F03'.

Leave to Screen 0.if doesn't work use Exit.

endcase.

Thanks,

Read only

0 Likes
1,281

hi,

U just have to write,

When 'BACK'.

Leave to screen 0.

Regards,

Chitra

Read only

Former Member
0 Likes
1,281

Hi ,

Can you paste your code here used for alv display.

Regards,

Rohan.

Read only

Former Member
0 Likes
1,282

Dear Mounika,

YOu need to write logic for the same.

Call screen when the Fcode = ' functiuon code ' .

write code like this.

case sy-ucomm.

when fcode.

call screen ............................

endcase.

Best Regards,

Flavya

Read only

Former Member
0 Likes
1,281

Hi,

check the GUI status of ur programa,

the function key that u have to assign to the back button is &F03

using that, ur program will come back to the initial screen automatically.

Regards

Read only

Former Member
0 Likes
1,281

Hi,

use CALL SELECTION-SCREEN or CALL SCREEN 0.

Or find the Screen number of selection screen and put the number in call screen.

Thanks,

Uma.

Read only

0 Likes
1,281

How can I find the selection-screen number?

Read only

0 Likes
1,281

go to se80

and click on screens options and see your screen number

Read only

0 Likes
1,281

Hi,

Goto SE80.

Find your report.

Then in the tree structure of ur program you will have the screen. under that you will have the screen number.

By default the seln-screen number will be 1000 only.

Thanks,

Uma.

Read only

Former Member
0 Likes
1,281

Hi Mounika,

Check your code. You may have used any output statement like SKIP, ULINE, etc.