<?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 output in Module pool programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-output-in-module-pool-programming/m-p/4199661#M1003711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        I need to use write statement to display output using Call Screen xxx starting at xx ending at xx as dialog box .. How can i achieve this ...I tried the following in PBO of the screen but only a blank screen comes as output ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  STATUS_0102  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_0102 OUTPUT.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'MENU1' OF PROGRAM 'ZHM053C_MB01_J1IFQ_J1IF13'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SET TITLEBAR 'xxx'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;  WRITE: / '                                                *************&lt;STRONG&gt;EXECUTION SUMMARY&lt;/STRONG&gt;*************                                               ' COLOR 4.  ULINE.&lt;/P&gt;&lt;P&gt;  WRITE / ''.&lt;/P&gt;&lt;P&gt;  SKIP 1.&lt;/P&gt;&lt;P&gt;  LOOP AT IT_MESS.&lt;/P&gt;&lt;P&gt;    IF IT_MESS-MSGTYP EQ 'E'.&lt;/P&gt;&lt;P&gt;      FORMAT COLOR 7 .&lt;/P&gt;&lt;P&gt;      WRITE :  IT_MESS-MESSAGE.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      FORMAT COLOR 2 .&lt;/P&gt;&lt;P&gt;      WRITE :  IT_MESS-MESSAGE.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    AT END OF TCODE.&lt;/P&gt;&lt;P&gt;      WRITE / SY-ULINE.&lt;/P&gt;&lt;P&gt;    ENDAT.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " STATUS_0102  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me its very urgent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S.Sivakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2008 05:10:06 GMT</pubDate>
    <dc:creator>Sivakumar_Subramaniam</dc:creator>
    <dc:date>2008-07-23T05:10:06Z</dc:date>
    <item>
      <title>List output in Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-output-in-module-pool-programming/m-p/4199661#M1003711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        I need to use write statement to display output using Call Screen xxx starting at xx ending at xx as dialog box .. How can i achieve this ...I tried the following in PBO of the screen but only a blank screen comes as output ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  STATUS_0102  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_0102 OUTPUT.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'MENU1' OF PROGRAM 'ZHM053C_MB01_J1IFQ_J1IF13'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SET TITLEBAR 'xxx'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;  WRITE: / '                                                *************&lt;STRONG&gt;EXECUTION SUMMARY&lt;/STRONG&gt;*************                                               ' COLOR 4.  ULINE.&lt;/P&gt;&lt;P&gt;  WRITE / ''.&lt;/P&gt;&lt;P&gt;  SKIP 1.&lt;/P&gt;&lt;P&gt;  LOOP AT IT_MESS.&lt;/P&gt;&lt;P&gt;    IF IT_MESS-MSGTYP EQ 'E'.&lt;/P&gt;&lt;P&gt;      FORMAT COLOR 7 .&lt;/P&gt;&lt;P&gt;      WRITE :  IT_MESS-MESSAGE.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      FORMAT COLOR 2 .&lt;/P&gt;&lt;P&gt;      WRITE :  IT_MESS-MESSAGE.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    AT END OF TCODE.&lt;/P&gt;&lt;P&gt;      WRITE / SY-ULINE.&lt;/P&gt;&lt;P&gt;    ENDAT.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " STATUS_0102  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me its very urgent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S.Sivakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 05:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-output-in-module-pool-programming/m-p/4199661#M1003711</guid>
      <dc:creator>Sivakumar_Subramaniam</dc:creator>
      <dc:date>2008-07-23T05:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: List output in Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-output-in-module-pool-programming/m-p/4199662#M1003712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivakumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some SAP demo programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;program1 : &lt;STRONG&gt;demo_leave_to_list_processing&lt;/STRONG&gt; - calling lists from screens&lt;/P&gt;&lt;P&gt;program2: &lt;STRONG&gt;demo_call_screen_from_list&lt;/STRONG&gt; - calling screens from lists&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you will understand the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sukhbold&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 06:01:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-output-in-module-pool-programming/m-p/4199662#M1003712</guid>
      <dc:creator>sukhbold_altanbat</dc:creator>
      <dc:date>2008-07-23T06:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: List output in Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-output-in-module-pool-programming/m-p/4199663#M1003713</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;You can code like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_MESS.&lt;/P&gt;&lt;P&gt;IF IT_MESS-MSGTYP EQ 'E'.&lt;/P&gt;&lt;P&gt;FORMAT COLOR 7 .&lt;/P&gt;&lt;P&gt;message 'your message here' type 'I'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;FORMAT COLOR 2 .&lt;/P&gt;&lt;P&gt;message 'your message here' type 'I'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;AT END OF TCODE.&lt;/P&gt;&lt;P&gt;WRITE / SY-ULINE.&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 06:05:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-output-in-module-pool-programming/m-p/4199663#M1003713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T06:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: List output in Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-output-in-module-pool-programming/m-p/4199664#M1003714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;REPORT demo_leave_to_list_processing .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES sdyn_conn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wa_spfli TYPE spfli,&lt;/P&gt;&lt;P&gt;      flightdate TYPE sflight-fldate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE status_0100 OUTPUT.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'SCREEN_100'.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE cancel INPUT.&lt;/P&gt;&lt;P&gt;  LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0100.&lt;/P&gt;&lt;P&gt;  CALL SCREEN 500.&lt;/P&gt;&lt;P&gt;  SET SCREEN 100.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE call_list_500 OUTPUT.&lt;/P&gt;&lt;P&gt;  LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS space.&lt;/P&gt;&lt;P&gt;  SUPPRESS DIALOG.&lt;/P&gt;&lt;P&gt;  SELECT  carrid connid cityfrom cityto&lt;/P&gt;&lt;P&gt;    FROM  spfli&lt;/P&gt;&lt;P&gt;    INTO  CORRESPONDING FIELDS OF wa_spfli&lt;/P&gt;&lt;P&gt;    WHERE carrid = sdyn_conn-carrid.&lt;/P&gt;&lt;P&gt;    WRITE: / wa_spfli-carrid, wa_spfli-connid,&lt;/P&gt;&lt;P&gt;             wa_spfli-cityfrom, wa_spfli-cityto.&lt;/P&gt;&lt;P&gt;    HIDE: wa_spfli-carrid, wa_spfli-connid.&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;  CLEAR: wa_spfli-carrid.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;  WRITE text-001 COLOR COL_HEADING.&lt;/P&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE DURING LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  WRITE sy-lisel COLOR COL_HEADING.&lt;/P&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  CHECK not wa_spfli-carrid is initial.&lt;/P&gt;&lt;P&gt;  SELECT  fldate&lt;/P&gt;&lt;P&gt;    FROM  sflight&lt;/P&gt;&lt;P&gt;    INTO  flightdate&lt;/P&gt;&lt;P&gt;    WHERE carrid = wa_spfli-carrid AND&lt;/P&gt;&lt;P&gt;          connid = wa_spfli-connid.&lt;/P&gt;&lt;P&gt;     WRITE / flightdate.&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;  CLEAR: wa_spfli-carrid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This example switches to list processing during the screen processing for screen 100. Screen 100 has a single input field - the component CARRID from the ABAP Dictionary structure SDYN_CONN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flow logic of screen 100 is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;  MODULE status_0100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;  MODULE cancel AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;  MODULE user_command_0100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PAI module user_command_0100 calls screen 500 using the CALL SCREEN statement. This screen encapsulates a basic list. It has the following flow logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;  MODULE call_list_500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The module call_list_500 defines the basic list and switches to list processing. Since the next screen after list processing is screen 0, screen 500 is a one-screen screen chain. After list processing, control returns to the position in user_command_0100 from which screen 500 was called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user selects a line on the basic list, a detail list appears. This is achieved through the event block AT LINE-SELECTION. The program also contains event blocks for TOP-OF-PAGE and TOP-OF-PAGE DURING LINE-SELECTION, which define page headers for both the basic list and detail list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there is only one list system in this program, there is no need for case distinctions within the list events.&lt;/P&gt;&lt;P&gt;With thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Sravani yendru.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 06:05:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-output-in-module-pool-programming/m-p/4199664#M1003714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T06:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: List output in Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/list-output-in-module-pool-programming/m-p/4199665#M1003715</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;   Solved Myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.,&lt;/P&gt;&lt;P&gt;S.Sivakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2008 04:23:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/list-output-in-module-pool-programming/m-p/4199665#M1003715</guid>
      <dc:creator>Sivakumar_Subramaniam</dc:creator>
      <dc:date>2008-12-08T04:23:53Z</dc:date>
    </item>
  </channel>
</rss>

