Skip to Content
author's profile photo Former Member
Former Member

EVENTS

HI

can we use AT-LINE SELECTION

& AT USER-COMMAND in one single program

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

9 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 09:23 AM

    hiii

    defenitely we can use it..

    if we want to have detail list and on screen we need some button like for sorting or for selection..we use these both events.

    regards

    twinkal

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 09:24 AM

    Yes..

    U can use ..

    AT USER-COMMAND .

    AT LINE-SELECTION.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 09:25 AM

    Hi Vijaya,

    Yes we can definitely use AT-LINE SELECTION & AT USER-COMMAND in one single program

    Hope this helps you.

    Regards,

    Chandra Sekhar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 09:25 AM

    Yes you can use both the events in one program

    AT LINE-SELECTION event can be used in Interactive reporting for navigating from one list to another list

    AT USERCOMMAND can be used to trigger any function codes in your program.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 09:25 AM

    Yes you can use both the events in one program

    AT LINE-SELECTION event can be used in Interactive reporting for navigating from one list to another list

    AT USERCOMMAND can be used to trigger any function codes in your program.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 09:27 AM

    sure you can use it.....because at line selection is for the double clicking at any one of the lines ....and at user command is for the buttons(pushbuttons)...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 09:27 AM

    hi

    u can

    beoz both have diffrent funtionality at diffrent point of time

    like on an output of classical report

    if u double click on any record at that time the event triggred is At line selection

    and on output if u have some button like for sorting

    here u can use At user comand .

    and there no restrictio of which is to be used frist or after wards

    it depend on ur need

    Cheers

    Snehi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2008 at 09:34 AM

    Hii!

    Yes you can use both events in one program.

    Regards

    Abhijeet

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 24, 2008 at 09:39 AM

    Hi Vijay,

    Yes. U can.

    Just write one sample program.

    SE41=>Click on copy status button

    In from program give SAPMSSY0 and in status give PICK

    In to program give ur program and in status give any name. Press enter. Now go in side, Expand Application toolbar + sign. Here give some text in empty field, Double click on that give some function code, save and activate.

    Now in ur program put this code, Execute and double click on output and click the button u have created.

    SET PF-STATUS 'VINU'.
    WRITE: 'Test'.
    
    AT LINE-SELECTION.
    WRITE 'At line selection'.
    
    AT USER-COMMAND.
    WRITE 'At user command'.
    

    Thanks,

    Vinod.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.