‎2007 Jun 04 1:25 PM
‎2007 Jun 04 1:34 PM
Hi,
Answer is AT LINE-SELECTION.
When the user triggers the function code PICK, AT LINE-SELECTION is always triggered if the cursor is positioned on a list line.
If the user chooses a function code during list processing that is neither processed by the system, or PICK or PFnn, the system triggers the event AT USER-COMMAND. For this event, you must define your own GUI status for a list. To react to your own function codes in a program, you must define the following event block:
AT USER-COMMAND.
statements.
please check
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9a1435c111d1829f0000e829fbfe/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9a1435c111d1829f0000e829fbfe/frameset.htm</a>
‎2007 Jun 04 1:38 PM
hi pradeep
At line selection will trigger first for sure.
user command triggers only when u press a button or check checkbox or radobutton. in other cases user command doesnot gets trigger.
but at line selection will get trigger when u select any line in classical reports.
regards
swati
<b>plz reward points if helpful</b>
‎2007 Jun 04 1:39 PM
Hi,
There is no sequence in this both commands.
if user double clicks on particalr line of the list, then at-line slection will be triggered.
if useer selects a partcular record or line and selects a push button, then at-user command will trigger.
There will be no sequenece for these commands as like Simple events of report.
Revert back if any issues,
Reward with points if helpful.
Regards,
Naveen
‎2007 Jun 04 1:39 PM
hi pradeep,
at line-selection will trigger first
at user-comm is triggered when use defined a gui status and any buttons which r having F.codes n when u clicked in that button.
if helpful reward some points.
with regards,
suresh.