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

reports

hi experts,

Can you have two detail lists from the basic list at the same time?

If yes how and if no why?

thanx,

loki.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Apr 26, 2007 at 04:19 AM

    Hi,

    Yes you can have..

    for example if you click on the customer number you should get the customer details and if you click on the material tou should show the material quantites text etc..

    This is an interactive report..

    Example program

    This is your grid FM..

    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' Or grid display

    EXPORTING

    I_CALLBACK_PROGRAM = GT_REPID

    :

    I_CALLBACK_USER_COMMAND = 'F_USER_COMMAND' " FORM NAME

    :

    :

    IT_FIELDCAT = GT_FIELDCAT

    .....................................

    TABLES

    T_OUTTAB = ITAB

    ...........................

    FORM F_USER_COMMAND USING R_UCOMM LIKE SY-UCOMM

    RS_SELFIELD TYPE SLIS_SELFIELD.

    CASE R_UCOMM.

    When '&IC1'.

    if rs_selfield-fieldname = '<xustomer number>'

    :

    Write your code here..get the customer details

    and use Grid FM to display//

    :

    endif.

    if rs_selfield-fieldname = '<material>'

    :

    Write your code here..get the material details

    and use Grid FM to display//

    :

    endif.

    endcase.

    ENDFORM.

    Hope I am not wrong with your question

    reward if useful..

    regards,

    nazeer

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 26, 2007 at 04:19 AM

    Hi Yogi,

    what do you meany by detail list.

    If you are talikng about secondary list, then you can generate 20 secondary list, but you cannot generate two list at the same time.

    regards,

    Navneeth.K

    Add a comment
    10|10000 characters needed characters exceeded

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

    hi

    good

    yes you can

    for the AT LINE SELECTION statement give different condition type,so that if you select the respective lines in your primary list it ll give you two different detail lists.

    thanks

    mrutyun^

    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.