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

hi all alv

hi

i want to pass all standard menu application tool bar and application tool bar to my alv .

how can i copy from starndard???

steps pl.

thanx

rocky

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Dec 04, 2007 at 09:20 AM

    Hi,

    You Can Copy it from Se41 Tcode..

    Add a comment
    10|10000 characters needed characters exceeded

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

    goto se41-->type STANDARD in status field and copy it to zstatus and use it.

    Add a comment
    10|10000 characters needed characters exceeded

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

    Hi

    Just tr this...it will be usefull....to you...

    Copy the standard gui status in ur program using tcode SE51 ->user interface


    >copy->target prog name.activate it

    and add a button there.Use FM 'REUSE_ALV_EVENTS_GET' to get user-command event.

    sample code :

    form Z8_EVENTCAT using p_i_eventcat TYPE SLIS_T_EVENT.

    DATA : L_EVENT TYPE SLIS_ALV_EVENT.

    • FOR GETTING ALL 17 EVENTS

    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'

    EXPORTING

    I_LIST_TYPE = 0

    IMPORTING

    ET_EVENTS = P_I_EVENTCAT

    EXCEPTIONS

    LIST_TYPE_WRONG = 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.

    CLEAR L_EVENT.

    READ TABLE P_I_EVENTCAT WITH KEY NAME = SLIS_EV_PF_STATUS_SET INTO L_EVENT.

    IF SY-SUBRC = 0.

    MOVE 'Z8_PF_STATUS' TO L_EVENT-FORM.

    APPEND L_EVENT TO P_I_EVENTCAT.

    ENDIF.

    CLEAR L_EVENT.

    READ TABLE P_I_EVENTCAT WITH KEY NAME = SLIS_EV_USER_COMMAND INTO L_EVENT.

    IF SY-SUBRC = 0.

    MOVE 'Z8_USER_COMMAND' TO L_EVENT-FORM.

    APPEND L_EVENT TO P_I_EVENTCAT.

    ENDIF.

    form Z_MENU using p_extab type slis_t_extab.

    SET PF-STATUS 'MENU_LIST'.

    endform. " Z_MENU

    form z8_user_command using p_ucomm type sy-ucomm

    p_selfield type slis_selfield.

    case p_ucomm.

    WHEN '&IC1'.

    call screen 100.

    endcase

    endform.

    Use these links it will be usefull..

    http://help.sap.com/saphelp_nw04s/helpdata/en/74/121ecb6094104bbc78263c1e396b51/frameset.htm

    http://help.sap.com/saphelp_nw04/helpdata/en/47/d4fed1c60a9743ade3b4cf306d5d48/frameset.htm

    Thanks,

    Sakthi C

    *Reward points if helpful.*

    Message was edited by:

    Sakthi Saravanan C

    Add a comment
    10|10000 characters needed characters exceeded

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

    Hi Rocky,

    Plz GOTO SE$! >type ur program name in program field >STANDARD over there in status field and test it .you will get ur application and menu toolbar copied.

    Plz reward if useful.

    Thankx.

    Add a comment
    10|10000 characters needed characters exceeded

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

    Hi Rocky,

    Plz GOTO SE41 >type ur program name in program field >STANDARD over there in status field and test it .you will get ur application and menu toolbar copied.

    Plz reward if useful.

    Thankx.

    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.