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

Regarding reports

In an interactive report, after going to 5th list, can you come back to 2nd list? How?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2007 at 07:35 AM

    hi murali,

    AT LINE-SELECTION.

    case sy-lsind.

    when 5.

    sy-lsind = 2.

    endcase.

    regards,

    priya.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 27, 2007 at 07:20 AM

    Hi,

    By setting the sy-lsind you can get back to the list corresponding to that index.

    You can manipulate the sy-lsind field.

    Regards,

    Sesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2007 at 07:33 AM

    hi,

    Set sy-lsind = 5.

    or Try this.

    DATA: l TYPE i, t(1) TYPE c.

    DO 100 TIMES.

    WRITE: / 'Loop Pass:', sy-index.

    ENDDO.

    TOP-OF-PAGE.

    WRITE: 'Basic List, Page', sy-pagno.

    ULINE.

    TOP-OF-PAGE DURING LINE-SELECTION.

    WRITE 'Secondary List'.

    ULINE.

    AT LINE-SELECTION.

    DESCRIBE FIELD sy-lisel LENGTH l IN CHARACTER MODE

    TYPE t.

    WRITE: 'SY-LSIND:', sy-lsind,

    / 'SY-LISTI:', sy-listi,

    / 'SY-LILLI:', sy-lilli,

    / 'SY-CUROW:', sy-curow,

    / 'SY-CUCOL:', sy-cucol,

    / 'SY-CPAGE:', sy-cpage,

    / 'SY-STARO:', sy-staro,

    / 'SY-LISEL:', 'Length =', l, 'Type =', t,

    / sy-lisel.

    IF SY-LSIND = 15.

    SY-LSIND = 5.

    ENDIF.

    WRITE: 'SY-LSIND:', sy-lsind,

    / 'SY-LISTI:', sy-listi,

    / 'SY-LILLI:', sy-lilli,

    / 'SY-CUROW:', sy-curow,

    / 'SY-CUCOL:', sy-cucol,

    / 'SY-CPAGE:', sy-cpage,

    / 'SY-STARO:', sy-staro,

    / 'SY-LISEL:', 'Length =', l, 'Type =', t,

    / sy-lisel.

    _______________________

    try Sy-LSIND to 5.

    ____________________________________________

    In the logic

    case sy-lsind

    when lsind = 15

    Code

    sy-lsind = 5.

    endcase.

    pls : award points

    sri

    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.