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

ALV Report

Former Member
0 Likes
596

Hi All,

I have developed an ALV Report.

When i enter the inputs in Selection screen and execute the data will appear in ALV Layout design.

The ALV Layout consist of 5 lines of comments (Like Heading, Date, Page No, etc) and ALV output.

Now, when i click BACK, a screen will be displayed where the Comments will appear.

Why am i getting this screen when i click BACK..????

I should get the selection screen instead of this.....

Where is the bug...???? Can anyone Help me in this issue..???

Regards

Pavan

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
579

Hi,

ALV display do not allow you use WRITE statement on the same screen as ALV so it always appear on the separate screen.

Regards,

Amit

Rewards all helpful replies.

Hi All,

I have developed an ALV Report.

When i enter the inputs in Selection screen and execute the data will appear in ALV Layout design.

The ALV Layout consist of 5 lines of comments (Like Heading, Date, Page No, etc) and ALV output.

Now, when i click BACK, a screen will be displayed where the Comments will appear.

Why am i getting this screen when i click BACK..????

I should get the selection screen instead of this.....

Where is the bug...???? Can anyone Help me in this issue..???

Regards

Pavan

4 REPLIES 4
Read only

Former Member
0 Likes
579
Read only

amit_khare
Active Contributor
0 Likes
580

Hi,

ALV display do not allow you use WRITE statement on the same screen as ALV so it always appear on the separate screen.

Regards,

Amit

Rewards all helpful replies.

Read only

Former Member
0 Likes
579

I THINK YOU ARE USING WRITE STATEMENT IN ALV GRID DISPLAY FOR TOP-OF-PAGE SO WHEN YOU ARE PRESS BACK IT WILL SHOW THE WRITE STATEMENTS YOU HAVE USED. IN ALV YOU HAVE TO WRITE TOP OF PAGE IN

IN REUSE-ALV_GRID_DISPLAY.

II_CALLBACK_TOP_OF_PAGE = 'TOPOFPAGE'.

FORM TOPOFPAGE.

DATA : ILIST SLIS_T_LISTHEADER,

WLIST SLIS_LISTHEADER.

WLIST-INFO = 'TOP OF PAGE'.

WLIST-TYP = 'H'.

APPEND WLIST TO ILIST.

WLIST-INFO = 'TOP OF PAGE1'.

WLIST-TYP = 'H'.

APPEND WLIST TO ILIST.

USE FM REUSE_ALV_COMMENTARY_WRITE .

IT_LIST_COMMENTARY = ILIST.

PASS ILIST HERE.

ENDFORM.

REGARDS

SHIBA DUTTA

Read only

Former Member
0 Likes
579

Thanks a lot...