Loosing changed contents when used FM REUSE_ALV_GRID_DISPLAY


Posted on 16th Feb 2014 07:03 pm by admin

Hi,

I have used FM REUSE_ALV_GRID_DISPLAY in my program as below.

Did you know?Explore Trending and Topic pages for more stories like this.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = g_repid
i_callback_pf_status_set = c_pf
i_callback_user_command = 'USER_COMMAND'
is_layout = ist_layout "I_CALLBACK_TOP_OF_PAGE = C_TOP
it_fieldcat = ist_fieldcat
TABLES
t_outtab = ist_outtab.

and kept one column editable by setting EDIT = 'X' and INPUT = 'X' for one column in ist_fieldcat.
Now if user changes contents of a cell in this editable column and clicks on any toolbar button, then changed contetns are not received in USER_COMMAND routine.

But if user changes the contents of a cell in this editable column and then double-clicks anywhere inside the ALV grid, then changed contents are received in USER_COMMAND routine.

I dont want to loose the changed contents of ALV grid, can anybody help in this.

Thanks in advance.

Regards,
No comments posted yet

Your Answer:

Login to answer
97 Like 7 Dislike
Previous forums Next forums
Other forums

Must-Know Topics of PHP
Can you guys list the must-know topics of PHP. I am still a learner and I am trying to cover most of

Simpler method of getting variables from mysql
Hi Guys,

I'm trying to streamline my CMS's code and as I was writing a new page it occured to

Writing to the middle of a file
Hi I have a bit of a problem. Is there any way i can write some text to a middle of a text file. For

How to validate from 2 possible answers
Hi

I hope somebody can help me with what will probably be really simple, I'm pulling my hair

Extracting Long text from message class with parameters
Hi,

I would like to extract the long text from a message class. However, the long text ha

Shuffle Array
Hi,

I am writing a script for a game that needs players to randomly be assigned a target (ano

Displaying an image using echo command
I had done a query on my database, one of the fields being an image reference to a directory where a

Comment Mod System Effects all rows...
Sorry if its confusing but here is whats going on: I have a table in a database called comments and

Run function every 5 mins ??
I have a function PostMessage()

How can I run it every 5 mins ??

this code is strange !
Hi i got this code from the web.. It checks for live and dead socks
It is working perfectly on my

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash