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

simple alv report displaying double click on that goto application

HI Experts,

i will working for that simple alv display the report . when ever user double click on that go to next scren . i will work for ECC 6.0 and function module is REUSE_ALV_LIST_DISPLAY i will write the logic is

at user-command

SET PARAMETER ID 'LIF' VALUE FVAL.

CALL TRANSACTION 'LF03' AND SKIP FIRST SCREEN.

so any body plz help me.

advance thanking u.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2007 at 10:56 AM

    Hi

    try this code...

    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = W_PROG
    I_CALLBACK_USER_COMMAND = 'PICK'
    I_STRUCTURE_NAME = 'EKKO'
    TABLES
    T_OUTTAB = T_EKKO
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2
    .
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    
    *&--------------------------------------------------------------------*
    *& Form pick
    *&--------------------------------------------------------------------*
    * -->UCOMM text
    * -->SELFIELD text
    *---------------------------------------------------------------------*
    FORM PICK USING COMMAND LIKE SY-UCOMM
    SELFIELD TYPE SLIS_SELFIELD.
    READ TABLE T_EKKO INTO FS_EKKO INDEX SELFIELD-TABINDEX.
    
    CASE COMMAND.
    WHEN '&IC1'.
    SET PARAMETER ID 'LIF' VALUE FS_EKKO-EBELN. "here write your field name
    CALL TRANSACTION 'LF03' AND SKIP FIRST SCREEN.
    

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2007 at 09:01 AM

    Hi,

    Example is here

    http://www.sapfans.com/forums/viewtopic.php?t=22036

    Regards,

    Satish

    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.