How to go back to a particulat list in interactive report.

hi experts,
              I have created an interactive report which has a primary list and 4 secondary list.Now from my 4th list i want to go to second list .
what i have to do .i know something has to be done with sy-lsind.
just check this code.
case sy-ucomm.
when 'BACK'.
sy-lsind = sy-lsind - 2.
endcase.
i have written this code in the code for 4th list.but it is not working .

sy-lsind it has got different list levels
at back user command write code
SET USER COMMAND 'BACK'.
it will help u surely
thanx n regards
plz award
keep rockin
vivek

Similar Messages

  • How will you go back to the previos list in interactive list

    how will you go back to the previos list in interactive list

    Hello Surya,
    Check the below program :
    REPORT  ZTEJ_INTAB1 LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
    HEADING.
    *TABLES DECLARATION
    TABLES : KNA1, VBAK, VBAP.
    *SELECT OPTIONS
    SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
    *INITIALIZATION
    INITIALIZATION.
        CUST_NO-LOW = '01'.
        CUST_NO-HIGH = '5000'.
        CUST_NO-SIGN = 'I'.
        CUST_NO-OPTION = 'BT'.
        APPEND CUST_NO.
    *SELECTION SCREEN VALIDATION
    AT SELECTION-SCREEN ON CUST_NO.
        LOOP AT SCREEN.
            IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
              MESSAGE E001(ZTJ1).
             ENDIF.
        ENDLOOP.
    *BASIC LIST SELECTION
    START-OF-SELECTION.
        SELECT KUNNR NAME1 ORT01 LAND1 INTO
               (KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
               FROM KNA1
               WHERE KUNNR IN CUST_NO.
              WRITE:/1 SY-VLINE,
                    KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
                    16 SY-VLINE,
                    KNA1-NAME1 UNDER 'NAME',
                    61 SY-VLINE,
                    KNA1-ORT01 UNDER 'CITY',
                    86 SY-VLINE,
                    KNA1-LAND1 UNDER 'COUNTRY',
                    103 SY-VLINE.
        HIDE: KNA1-KUNNR.
        ENDSELECT.
        ULINE.
    *SECONDARY LIST ACCESS
    AT LINE-SELECTION.
        IF SY-LSIND = 1.
            PERFORM SALES_ORD.
        ENDIF.
        IF SY-LSIND = 2.
            PERFORM ITEM_DET.
        ENDIF.
    *TOP OF PAGE
    TOP-OF-PAGE.
            FORMAT COLOR 1.
            WRITE : 'CUSTOMER DETAILS'.
            FORMAT COLOR 1 OFF.
            ULINE.
            FORMAT COLOR 3.
            WRITE : 1 SY-VLINE,
                    3 'CUSTOMER NO.',
                    16 SY-VLINE,
                    18 'NAME',
                    61 SY-VLINE,
                    63 'CITY',
                    86 SY-VLINE,
                    88 'COUNTRY',
                    103 SY-VLINE.
                    ULINE.
          FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR SECONDARY LISTS
    TOP-OF-PAGE DURING LINE-SELECTION.
    *TOP OF PAGE FOR 1ST SECONDARY LIST
        IF SY-LSIND = 1.
                     ULINE.
      FORMAT COLOR 1.
      WRITE : 'SALES ORDER DETAILS'.
                     ULINE.
      FORMAT COLOR 1 OFF.
      FORMAT COLOR 3.
            WRITE : 1 SY-VLINE,
                    3 'CUSTOMER NO.',
                    16 SY-VLINE,
                    18 'SALES ORDER NO.',
                    40 SY-VLINE,
                    42 'DATE',
                    60 SY-VLINE,
                    62 'CREATOR',
                    85 SY-VLINE,
                    87 'DOC DATE',
                    103 SY-VLINE.
                    ULINE.
          ENDIF.
          FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR 2ND SECONDARY LIST
    IF SY-LSIND = 2.
                     ULINE.
          FORMAT COLOR 1.
          WRITE : 'ITEM DETAILS'.
          ULINE.
          FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
            WRITE : 1 SY-VLINE,
                    3  'SALES ORDER NO.',
                    40 SY-VLINE,
                    42 'SALES ITEM NO.',
                    60 SY-VLINE,
                    62 'ORDER QUANTITY',
                    103 SY-VLINE.
                    ULINE.
        ENDIF.
    FORMAT COLOR 3 OFF.
    *END OF PAGE
    END-OF-PAGE.
         ULINE.
    WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
    SY-PAGNO.
          SKIP.
    *&      Form  SALES_ORD
    *&      FIRST SECONDARY LIST FORM
    FORM SALES_ORD .
    SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
           (VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
           FROM VBAK
           WHERE KUNNR = KNA1-KUNNR.
           WRITE:/1 SY-VLINE,
                   VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
                   16 SY-VLINE,
                   VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
                   40 SY-VLINE,
                   VBAK-ERDAT UNDER 'DATE',
                   60 SY-VLINE,
                   VBAK-ERNAM UNDER 'CREATOR',
                   85 SY-VLINE,
                   VBAK-AUDAT UNDER 'DOC DATE',
                   103 SY-VLINE.
          HIDE : VBAK-VBELN.
    ENDSELECT.
    ULINE.
    ENDFORM.                    " SALES_ORD
    *&      Form  ITEM_DET
    *&      SECOND SECONDARY LIST FORM
    FORM ITEM_DET .
      SELECT VBELN POSNR KWMENG INTO
             (VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
             FROM VBAP
             WHERE VBELN = VBAK-VBELN.
             WRITE : /1 SY-VLINE,
                       VBAP-VBELN UNDER 'SALES ORDER NO.',
                       40 SY-VLINE,
                       VBAP-POSNR UNDER 'SALES ITEM NO.',
                       60 SY-VLINE,
                       VBAP-KWMENG UNDER 'ORDER QUANTITY',
                       103 SY-VLINE.
            ENDSELECT.
            ULINE.
            ENDFORM.                    " ITEM_DET
    Just keep press one back button then you will able to go back to previous list.
    if you want to go to specific list then you need to use sy-lsind system variable,see the above logic
    Thanks
    Seshu

  • How do I back up my contact list

    How do I back up my contact list?

    You should be syncing it to your computer regularly as it is designed.
    iPhone User Guide (For iOS 4.2 and 4.3 Software)

  • How to create more than 21 lists in interactive reports

    hello everyone,
    I am new to ABAP as well as this site. Kindly help, I want to know how to create more than 21 lists in interactive reports.
    Also, how can i create them without using WHEN 1, wHEN 2 and so on...
    Kindly help.
    thank you

    Hello,
    Using Intracive Reports its not possible to cretate more than 21 lists.
    But its possible to create more than 21 using ALV concept.
    for sample ALV u can serch in SDN.
    Regards,
    Anil.

  • How to skip from one list to another list in interactive report?

    Hi Friends,
    How to skip from one list to another list in interactive report that means now i am in 7 th list how to skip 4th list ?
    Or  now i am in 7 th list how to skip 9th list ?
    can anybody send sample code please.
    Thanks in advance.

    hi,
    at line-selection.
    case sy-lsind.
    when 9.
    sylsind = 4.
    endcase.
    try like this when u r in 9th list next it goes to 4 th list

  • What is difference between interactive list and interactive reports?

    what is difference between interactive list and interactive reports?

    hi check this..
    interactive report/list means any input(double click or single click or user command ) on the screen will results a new screen with the corresponding fields....this is upto 20 levels only check this..
    report .
    start-of-selection.
    write:/ 'this is the source list'.
    at line-selection .
    if sy-lsind = 1 .
    write:/ ' this is the 1st list'.
    elseif.
    if sy-lsind = 2 .
    write:/ ' this is the 2 list'.
    if sy-lsind = 3 .
    write:/ ' this is the 3 list'.
    if sy-lsind = 4 .
    write:/ ' this is the 4 list'.
    if sy-lsind = 5 .
    write:/ ' this is the 5 list'.
    if sy-lsind = 6 .
    write:/ ' this is the 6 list'.
    if sy-lsind = 7 .
    write:/ ' this is the 7 list'.
    if sy-lsind = 8.
    write:/ ' this is the 8 list'.
    if sy-lsind = 9 .
    write:/ ' this is the 9 list'.
    if sy-lsind = 10 .
    write:/ ' this is the 10 list'.
    endif.
    regards,
    venkat

  • Select list within interactive report.

    Hello y'all,
    I have a need to develop an interactive report and am lost in how to proceed. I am asking for your help. The report requirements are as such:
    - There are 3 types of records that will be in the report
    - The is a checkbox to associate the records to a particular event.
    - If the record is of a certain value, 3 of the columns in that record have to show as select lists.
    - The records with the other 2 values should not have the select lists, just show a null in those columns.
    - The checkbox must be checked for the select lists to appear.
    - The select lists are based on a list of values. The values are populated with an existing common function used in many of the application pages.
    I am having no success in trying to get the select lists in the report. Has anyone developed an interactive report that uses select lists within the report? Is this even possible?
    I am using application Express 3.2.0.00.27. Any help that you can give is greatly appreciated. Thank you so much!
    *** Got it. It has to be a tabular report with updateable columns. ***
    Edited by: seashell on Sep 13, 2010 5:22 AM
    Edited by: seashell on Sep 13, 2010 7:07 AM

    Hi,
    I am not sure if the "equal to" condition applies to a DOM object... after all, a DOM object can be anything (any HTML element) not only a field.
    Try using a javascript expression instead, like this:
    $v('P6_IR_SELECT_LIST')=='Delete'UPDATE: Sorry, I just tested and "equal to" condition works for DOM objects... should have tested before posting!
    Luis
    Edited by: Luis Cabral on Feb 29, 2012 4:45 PM

  • How does the Filter Operator "Contains" work on the Interactive Reports?

    version 4.0.2.00.07
    Hello,
    I'm creating Tool Tip definitions for the Operators in the Filter on the Interactive Reports. I was looking for a definition for the 'Contains' operator and from what I've found this operator is used to do a text search and it returns a relevance score for every row selected.
    I've also read that in order for that score to be determined that the column(s) need to be indexed with a CONTEXT index. Non of the columns in the tables are indexed with a CONTEXT index, however, when I put a value in the Expression box for a column I get a record returned.
    If I run the same query in PL/SQL Developer like:
    SELECT <column>
    FROM <table>
    WHERE contains(<column>,<search text>,1) > 0;I get an error that the column is not indexed, so how does it work in APEX?
    Thanks,
    Joe

    Joe R wrote:
    I'm creating Tool Tip definitions for the Operators in the Filter on the Interactive Reports. I was looking for a definition for the 'Contains' operator and from what I've found this operator is used to do a text search and it returns a relevance score for every row selected.The IR "Contains" filter is not the same as the Oracle Text <tt>contains</tt> operator.
    The IR "Contains" filter performs a simple string comparison on all of the column values returned. It does not make use of any Oracle Text indexes on the underlying data.
    Despite < a href="https://forums.oracle.com/forums/thread.jspa?messageID=2434666">vague promises of enhancement</a>, no Oracle Text support has yet been included in Interactive Reports.

  • How to apply an accent-insensitive search to an interactive report?

    Hello all!
    I'm trying to put an accent-insensitive search on an interactive report here. For example, if I'm on the page that has the interactive report and if I click the column header of the interactive report, I get to see a search bar that dynamically shows the results that match your input. Now, when I enter "jager", I want to see *"Jägermeister"* as a search result. The search must be accent-insensitive, so that I don't have to enter the ä every time.
    My code is as follows:
    SELECT name
    FROM food_1
    WHERE name LIKE 'Jagerme%'
    AND NLSSORT(name) IS NOT NULL
    ORDER BY NLSSORT(name, 'NLS_SORT=GENERIC_M_AI');As you can see, I first tried getting a result through the SQL Command. It should return the row that has "Jägermeister" as name. However, it doesn't. It tells me "No data found". So, how do I alter my NLSSORT to search accent-insensitive?
    Some extra information, I edited the interactive report source to the following:
    SELECT DISTINCT a.name, a.foodid
    FROM food_1 a INNER JOIN foodunit_1 c
    ON a.foodid = c.foodid
    WHERE a.foodlanguageid = :P17_SET_LANGUAGE
    AND NLSSORT(a.name) IS NOT NULL
    ORDER BY NLSSORT(a.name, 'NLS_SORT=GENERIC_M_AI');I also tried doing ALTER SESSION before the SQL code, but it still gives me the same result: No data found.
    I'm using APEX version 4.1.1.00.23.
    Help and suggestions are more than welcome. ;)
    Thanks in advance,
    Magali

    I found it out!
    It's really ridiculous, actually.
    Remember this code?
    execute immediate ('ALTER session SET NLS_COMP=LINGUISTIC');
    execute immediate ('ALTER session SET NLS_SORT=BINARY_AI');Well, this code is perfectly fine. Only, it doesn't execute. This is because it was misplaced...This process is not executed when you place it in the current authentication scheme, under the "Post-Authenticatoin Process" part.
    You might wonder why this is, but I have the explanation to that.
    You see, when you use an interactive report, the page processing isn't executed when you use the search function of that interactive report... Because it's an interactive report, I guess.
    BUT.
    An ALTER SESSION from the security attributes, that will execute.
    So, the solution to my problem was, in this case:
    Go to "Application" --> "Shared Objects" --> "Security Attributes" --> "Database Session" --> "Initialization PL/SQL code". In there, you need to put:
    BEGIN
    EXECUTE IMMEDIATE 'ALTER session SET NLS_COMP=LINGUISTIC';
    EXECUTE IMMEDIATE 'ALTER session SET NLS_SORT=BINARY_AI';
    END;By doing this, there's no longer any need to edit the source code of the report!
    So, that's the solution. I can finally enter text without special characters in it, and get the corresponding data, with special characters... Ahh. :)
    I hope this is helpful to others as well now. ;)

  • Select List beside Interactive report

    Hi All,
    I am not able to place a SELECT LIST item beside an Interactive Report.
    What is happening:
    <selecting columns to search> Go Action SELECT LIST*
    I n t e r a c t i v e  R e p o r t
    Even though I am able to place a button beside the Interactive Report using the Button Position attribute for the button.
    <selecting columns to search> Go Action Button
    I n t e r a c t i v e  R e p o r t
    Sadly there is no such attribute for a SELECT LIST.
    What I want:
    |<selecting columns to search> Go Action SELECT LIST
    I n t e r a c t i v e  R e p o r t
    I tried using the Grid Layout Attributes but to no avail.
    Thanks,
    Sombit

    Hi,
    I do not know is that possible without styles or JavaScript.
    You can try this.
    Place to page JavaScript Execute when Page Loads
    $("#apexir_TOOLBAR").append($("#Px_YOUR_SELECT_LIST"));Change Px_YOUR_SELECT_LIST to your select list name
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai
    Edited by: jarola on Mar 27, 2013 8:32 AM

  • HT1766 How do I back up music and lists from my iPad to my computer?

    I am trying to back up all content from my iPad to  my PC, so I can transfer it afterwards to my new iPad.  How can I do it? Making  a backup from the old iPad does not transfer all music

    Backup and Restore
    http://support.apple.com/kb/ht1766

  • How will come back 5th list to 3rd list in interactive reporting

    hi all,
    which of this code is correct to comeback 5th to 3rd list
    at user-command.
    case sy-ucomm.
    when 'back'.
    if sy-lsind = 5.
    sy-lsind = 3.
    endif.
    endcase.
    or
    at user-command.
    case sy-ucomm.
    when 'back'.
    if sy-lsind = 5.
    sy-lsind = 2.
    endif.
    endcase.
    thanks in advance

    hi friend,
    try out this code: normal list..i think second one will be the correct one..
    START-OF-SELECTION.
      WRITE: 'Basic List, SY-LSIND =', sy-lsind.
    AT LINE-SELECTION.
      WRITE: 'Secondary List, SY-LSIND =', sy-lsind.
    if sy-lsind = 5.
    sy-lsind = 2.
    endif.
    thanks
    jaideep
    if useful reward points..

  • How can I back up my play lists to DVD?

    I would like to back up my ipod playlists to DVD. I have A DVD-RW which is external (i.e. not in built to my PC)
    When I try to save the playlist to disk through itunes, it tries to save it to my internal CDRW - but as the playlist is quite large a CD will not have enough space. I want to send the data to the DVD?
    How do I point itunes to the DVDRW and therefore save to DVD?

    have sorted it now

  • How to select the of rows seelct list from interactive search bar of intera

    hi all,
    Iam using apex 3.2 x
    I need select list value into my item :no_rows .
    How to take that value dyanamically.
    Thanks in advance
    Balu

    Hi,
    You can get value using JavaScript
    $v('apexir_NUM_ROWS')If you need set value to your item session state.
    You can do e.g.
    var irRows = $v('apexir_NUM_ROWS');
    var ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=DUMMY',&APP_PAGE_ID.);
    ajaxRequest.add('Px_YOUR_ITEM_NAME', irRows);
    var ajaxResult = ajaxRequest.get();Regards,
    Jari

  • How to add a dynamic drop down list in RDLC reports in WPF

    I have to Load an RDLC report in WPF application and need to include a drop down list in report.Based on the selection of drop down list different reports to be generated.I am using C# and WPF.
    Eg: I have to list the details of employees in in RDLC report.There is a country drop down list, Based on the selection of country drop down list we need to display details of employees in the selected country.

    Looking good.
    With rdlc I think you will have to use the windows report viewer control.
    If this was SAP crystal reports there's a wpf report viewer.
    I never actually tried that with rdlc and I suppose there is a small chance they turn out to be compatible.  
    If you have questions on rdlc specifically then you're probably better finding a forum specialises in that. Not sure where that would be but maybe in the sql server forums.  It's a business intelligence thing and people who do the likes of ssis are
    what you want really.
    I do reporting myself but I think you'll find few others who do so here.
    Good luck.
    Hope that helps.
    Recent Technet articles:
    Property List Editing;  
    Dynamic XAML

Maybe you are looking for

  • ECC 6.0 to XI 3.0 e-Filing GB EOYR Interface Issue

    Hi, We are experiencing the following issue when attempting to file EOYR returns via our XI system. We have other scenarios (INYMV) that work perfectly via the same technical setup. The config in our DEV ECC to XI 3.0 system works for EOYR! The error

  • Looking for Maintenance order detail table

    hi, AFIH - Maintenance order header I am looking for a Maintenance order detail table, is there any table..... In this same way like VBAK (Header) and VBAP (Item). Thanks, Fract

  • Images not showing

    I'm a photographer. For years I've been burning Back-Ups of my work to CD/DVD. I occasionally refer back to old jobs that I've burned without problem until now. Now, when I load any of the older discs, all I can see is folders. If I open a folder it

  • Please fix the ring tone!

    The ring tone is still broken for many users. This happened during a recent "update" this spring. Don't you guys do beta testing? http://community.skype.com/t5/Windows-desktop-client/No-ring-tone-when-receiving-incoming-call/td-p/...

  • Why Final Cut Pro X is filling up my internal hard drive?

    I have been using FCP X for a while now and have been getting "hard drive almost full" warnings. I have 2 external 6 tarabite drives to hold all my media. Now when I open up my movies folder in my home filder, there is over 800gb's of stuff  there.