Skip to Content
-1

Double click not functioning properly in alv grid using OOPS

Sep 19, 2017 at 12:01 PM

54

avatar image
Former Member

Hi,

I am having a problem like when, I double click the second time it is immediately exiting program.

Like, I have created a 2 docking containers, 1st screen has notifications details. 2nd screen has orders based on aufnr from 1st screen.

Now, I have written a condition after reading from internal table as ( if ls_qmel-aufnr is initial. message e001(msg_class). If this condition is true message triggers after I double click 1st time. But the same if I double click 2nd time it exits the program.

Can you check and let me know on this.

Thanks.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Uwe Fetzer Sep 19, 2017 at 01:50 PM
2

Can you please try with an Info or warning message instead of the error message? For example i001(msg_class). Please report back whether this makes a difference or not. Then we may look deeper in your code.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Uwe Fetzer,

Here, as you said I have tried with following,

MESSAGE 'Its a message' TYPE 'I' DISPLAY LIKE 'E' ---- Its working i.e in 2nd double click or more it stays inside prg.

MESSAGE 'Its a message' TYPE 'E' DISPLAY LIKE 'S' ---- Its not working it exits prg after 2nd double click.

MESSAGE 'Its a message' TYPE 'W' DISPLAY LIKE 'E' ---- Its not working it exits prg after 2nd double click.

MESSAGE 'Its a message' TYPE 'E' DISPLAY LIKE 'S' ---- Its working but navigates to next screen after 2nd double click.

But it is working as per our requirement,

MESSAGE 'Its a message' TYPE 'S' DISPLAY LIKE 'E' ---- Its working i.e in 2nd double click or more it stays inside prg.

Thanks.

0
Satyabrata Sahoo Sep 19, 2017 at 02:08 PM
0

Debug and check what Function code is being executed upon double click.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Ok, when I double click 1st time, debugger stops exactly at event class implementation READ statement and executes the message statement. But, for 2nd time if I use External debugger and even if I write BREAK-POINT statement it doesn't hit the debugger at all.

I have not checked with sy-ucomm let me check and let you know.

0