‎2011 Feb 09 8:38 AM
Hi all
I have a little problem I can't solve: when creating a table control with screen painter, I can set a row marker. (the one you use for example in almost all transaction when you select rows before clicking "delete lines").
well
What I would like to do is really simple:
when user clicks on the marker an event is associated; for example I click on a row and on another part of the screen details of the row selected is shown.
Tecnichally the problem is that (also activating debugging) the PAI is not triggered, BUT also a double click does not trigger PAI until I set a Fcode on status for detail (F2).
I think it's possible because many transaction do what I need ..
can anyone help me?
Regards
Gabriele
‎2011 Feb 09 9:04 AM
‎2011 Feb 09 9:19 AM
I don't understand. I don't want to use something else. I want to use the row marker in table control (so that row selected is highlighted)
‎2011 Feb 09 9:15 AM
Hi,
you have to write the set PF status and title bar inside the PBO module.
module status_0100 output.
set pf-status 'MAIN'.
set titlebar 'MAIN_T'.
endmodule.
Hope your problem will be solved.Please let me know if you will face same problem in your program.
Regards,
Suvajit
‎2011 Feb 09 11:49 AM
I think it's possible because many transaction do what I need ..
Thats is an ALV grid and not a table control. Now most of the enjoy transactions are built using ALV. You have to use the Object oriented ALV for this. Those are events which gets triggered. You can search in SCN or Google for many related examples.
‎2011 Feb 09 1:14 PM
I was almost sure about what you say, and you confirmed it to me. I think anyway it's really strange: bind the double click and not the simple selection ...
thank you