Application Development 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: 

Re : ALV Output Display

Former Member
0 Kudos

hi

i'm doing an ALV Report. In the output i'm double clicking on the Document field using user-command

it is taking me to a particular Transaction and my requirement is if i change any field for ex : Description

in that transaction and come back again to the output display the Changed Description should appear

when i refresh the Output.how to get it?

Regards

3 REPLIES 3

Former Member
0 Kudos

1. create one icon on allication toolbar which is REFRESH icon, and give some function for it.

2. write the code like:

CASE SY_UCOMM.

when 'FCODE'.

refresh itab.

perform get_data.

perform_displaydata.

it is nothing but u need to put the same code which u used earlier to show the data in output gaian after clicking on function code.

Regards,

Rajesh.

Former Member
0 Kudos

Hi,

For this u need to write the same logic wat u have written for ALV display.

In user-command, capture the Refresh button function code and write the logic to modify the description in the internal table and then call ur ALV FM.

qamar_javed
Participant
0 Kudos

Hi Murali,

First of all you modularize your program ie using subroutines (perform & form).In this modules write your database selection code, alv display code, field catalog creation etc.And after coming back from the transaction call this subroutine again ie your database selection and alv display.It will give you the correct data.

Hope this works.

Regards,

Qamar.