<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic list processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-processing/m-p/5231776#M1209314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;i have displayed values using write stmt in a list. Now my problem is that when i click on one of value and there is a pushbutton provided on screen, click on push button the next screen should appear and the selected row should get displayed on next screen&lt;/P&gt;&lt;P&gt;plz help me&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Parag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Feb 2009 13:43:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-18T13:43:58Z</dc:date>
    <item>
      <title>list processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-processing/m-p/5231776#M1209314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;i have displayed values using write stmt in a list. Now my problem is that when i click on one of value and there is a pushbutton provided on screen, click on push button the next screen should appear and the selected row should get displayed on next screen&lt;/P&gt;&lt;P&gt;plz help me&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Parag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 13:43:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-processing/m-p/5231776#M1209314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T13:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: list processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-processing/m-p/5231777#M1209315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi.&lt;/P&gt;&lt;P&gt;here is sample code for hot spot.&lt;/P&gt;&lt;P&gt;copy paste it in editor window and execute it.&lt;/P&gt;&lt;P&gt;then enter date. it will show some values in rows.&lt;/P&gt;&lt;P&gt;click on the value in any row and it will show the next screen.&lt;/P&gt;&lt;P&gt;hope it will help u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report  zfsl_hot_cust_docn." NO STANDARD PAGE HEADING LINE-COUNT 100 LINE-SIZE 125.
tables: zsd_credit_bal, tvm4t, t023t, kna1.

types : begin of t_sd_credit_bal,                 " To define Internal Table for holding following Data
          benid like zsd_credit_bal-benid,        " Customer ID
          botcp like zsd_credit_bal-botcp,        " Pack
          audat like zsd_credit_bal-audat,        " Date
          vehno like zsd_credit_bal-vehno,        " Vehicle Number
          vbeln like zsd_credit_bal-vbeln,        " Document Number
          movmt like zsd_credit_bal-movmt,        " Movement type
          quantity like zsd_credit_bal-quantity,  " Quantity
        end of t_sd_credit_bal.

select-options:  soaudat for zsd_credit_bal-audat no-extension obligatory default '20071121'.
*                sobenid FOR zsd_credit_bal-benid NO-EXTENSION NO INTERVALS OBLIGATORY,
*                sobotyp FOR zsd_credit_bal-botyp NO-EXTENSION NO INTERVALS OBLIGATORY,
*                sobotcp FOR zsd_credit_bal-botcp NO-EXTENSION NO INTERVALS OBLIGATORY,
*                soregio FOR zsd_credit_bal-regio NO-EXTENSION NO INTERVALS OBLIGATORY.

data :  sd_credit_bal1 type standard table of t_sd_credit_bal with header line,
        sd_credit_bal2 type standard table of t_sd_credit_bal with header line.


start-of-selection.
  data: vbenid(10), vbotcp(3), lineno type i   ."LIKE LINE OF sd_credit_bal1.
  perform main.


*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  MAIN
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
form main.


  select benid botcp audat vehno vbeln movmt quantity into corresponding fields of table sd_credit_bal1
    from  zsd_credit_bal
    where audat in soaudat.

  write: 'Main Menu'.
  write: / 'Select Entry to see its details.'.

  loop at sd_credit_bal1.
    write: /1 sd_credit_bal1-benid hotspot on, sd_credit_bal1-botcp hotspot on.
    vbenid = sd_credit_bal1-benid.  vbotcp = sd_credit_bal1-botcp.

    hide: vbenid, vbotcp.
  endloop.

endform.                    "main

at line-selection.

  window starting at 25 3 ending at 103 25.

  write: 1(78) sy-uline,
         /1 '|',
         3(10) 'Date' centered,
         14(1)'|',
         16(35) 'Vehicle Number' centered,
         52(1)'|',
         54(10) 'Pack' centered,
         65(1) '|',
         67(10) 'Movm Type',
         78(1) '|',
         /1 '|',
         1(78) sy-uline.

  loop at sd_credit_bal1 where benid = vbenid and botcp = vbotcp.
    write: /1'|',
           3(10) sd_credit_bal1-audat,
           14(1) '|',
           16(35) sd_credit_bal1-benid,
           52(1) '|',
           54(10) sd_credit_bal1-botcp,
           65(1) '|',
           67(10) sd_credit_bal1-movmt,
           78(1) '|',
           /1'|',
           1(78) sy-uline.
  endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 13:48:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-processing/m-p/5231777#M1209315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T13:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: list processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-processing/m-p/5231778#M1209316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your requirement you can use Hide Techinque or Get Cursor Technique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In current list display you can hide entire work area which can generate next screen by At Line-selection.&lt;/P&gt;&lt;P&gt;Then retrieve the correspodning values from internal table by using Read Statement and you can dispaly on newly generated screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have pushbuttom then you can write the code under At User-Command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the follwoing code is one example code but i am not sure you would get the required output or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex : Loop at it into wa.&lt;/P&gt;&lt;P&gt;       Write : / wa-f1,wa-f2,wa-f3.&lt;/P&gt;&lt;P&gt;       Hide : wa-f1.&lt;/P&gt;&lt;P&gt;       Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       At Line-Selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Read table it into wa with key f1 = wa-f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     write : / wa-f1,wa-f2,wa-f3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 14:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-processing/m-p/5231778#M1209316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T14:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: list processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-processing/m-p/5231779#M1209317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One thing more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;change the TABLES and Fields According to ur need.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 14:01:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-processing/m-p/5231779#M1209317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T14:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: list processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-processing/m-p/5231780#M1209318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use GET CURSOR FIELD concept inside AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sap Fan on Feb 18, 2009 3:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 14:55:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-processing/m-p/5231780#M1209318</guid>
      <dc:creator>awin_prabhu</dc:creator>
      <dc:date>2009-02-18T14:55:48Z</dc:date>
    </item>
  </channel>
</rss>

