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

want a code to get selected rows alv grid without objects

Is there any one can give a solution to get the selected row details from an alv grid ( without objects ), i shall be thankful

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 01, 2006 at 11:27 AM

    Hello,

    If you had used the checkbox, then it gets automatically updated.

    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

    EXPORTING

    • I_BYPASSING_BUFFER =

    • I_BUFFER_ACTIVE =

    • I_INTERFACE_CHECK = ' '

    I_CALLBACK_PROGRAM = W_PRGNM

    I_CALLBACK_PF_STATUS_SET = W_CON_CALLBACK_PF

    I_CALLBACK_USER_COMMAND = 'USER_COMAAND'

    ....

    &----


    *& Form USER_COMMAND

    &----


    FORM USER_COMMAND USING RS_UCOMM LIKE SY-UCOMM

    RS_SELFIELD TYPE SLIS_SELFIELD.

    CASE RS_UCOMM.

    WHEN '&IC1'.

    • access rs_selfield you get the line number for double click

    ENDCASE.

    ENDFORM. " USER_COMMAND

    regards,

    naimesh

    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.