<?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 Re: Regarding Module pool programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool-programming/m-p/1279579#M152458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you Press F4 help then you said screen 400 will come, instead of that screen you can do one thing , you can this FM REUSE_ALV_POPUP_TO_SELECT,&lt;/P&gt;&lt;P&gt;for this FM pass the data which you want to show, here you can get check box (instead of radio button). and you can get the selected line/lines also, using them you can fill your screen 300.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
        CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
           EXPORTING
              I_TITLE         = 'Test'(012)
               I_SCREEN_START_COLUMN   = 30
               I_SCREEN_START_LINE     = 01
               I_SCREEN_END_COLUMN     = 100
               I_SCREEN_END_LINE       = 25
               &amp;lt;b&amp;gt;I_CHECKBOX_FIELDNAME    = 'CHECK'&amp;lt;/b&amp;gt;
                I_TABNAME               = 'IT_VBAP'
               IT_FIELDCAT             = IT_FIELDCAT
          IMPORTING
               ES_SELFIELD              = WA_SELFIELD
           TABLES
                T_OUTTAB                = IT_VBAP
          EXCEPTIONS
               PROGRAM_ERROR           = 1
               OTHERS                  = 2.
        IF SY-SUBRC &amp;lt;&amp;gt; 0.

        ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Apr 2006 09:02:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-04T09:02:38Z</dc:date>
    <item>
      <title>Regarding Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool-programming/m-p/1279578#M152457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a issue in module pool programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually my issue is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually in my program i am having one selection-screen&amp;lt;b&amp;gt;[Screen 100]&amp;lt;/b&amp;gt; when i execute that screen it will take me to Tree report &amp;lt;b&amp;gt;[Screen 200]&amp;lt;/b&amp;gt; in that i will select specific row and hit one button on Application Toll Bar. It will take me to &amp;lt;b&amp;gt;one module pool screen [Screen 300]&amp;lt;/b&amp;gt; - This is Normal Screen, There i will have one text field &amp;lt;b&amp;gt;Order Number&amp;lt;/b&amp;gt; what i need to do here is - when i press &amp;lt;b&amp;gt;F4&amp;lt;/b&amp;gt; it should trigger me another screen &amp;lt;b&amp;gt;[Screen 400]&amp;lt;/b&amp;gt; that screen i had given as &amp;lt;b&amp;gt;Model-Dialog Box&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upto above point i have done the development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what i want is in &amp;lt;b&amp;gt;screen 400&amp;lt;/b&amp;gt; i need to display multiple records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had already given column headings for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below it i need to display multiple records with Radio Button before it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Means i need to display first radio button, Order No, Order date, Contract No, Valid From , Valid To etc..&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the 2,3,4 .... rows in the same way i need to display data with radio button before each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i press &amp;lt;b&amp;gt;F4&amp;lt;/b&amp;gt; in &amp;lt;b&amp;gt;[Screen 300]&amp;lt;/b&amp;gt; it will take me to this &amp;lt;b&amp;gt;[Screen 400]&amp;lt;/b&amp;gt; there from mutiple records i need to choose one record by pressing radio button before it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then i need to hit &amp;lt;b&amp;gt;Push Button CHOOSE&amp;lt;/b&amp;gt; below all the rows and that [Screen 300] need to be filled up with selected row from [Screen 400].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me how can i create multiple rows in &amp;lt;b&amp;gt;screen 400&amp;lt;/b&amp;gt; with radio button before each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anybody knows solution please post the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rayeez.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 08:46:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool-programming/m-p/1279578#M152457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-04T08:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool-programming/m-p/1279579#M152458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you Press F4 help then you said screen 400 will come, instead of that screen you can do one thing , you can this FM REUSE_ALV_POPUP_TO_SELECT,&lt;/P&gt;&lt;P&gt;for this FM pass the data which you want to show, here you can get check box (instead of radio button). and you can get the selected line/lines also, using them you can fill your screen 300.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
        CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
           EXPORTING
              I_TITLE         = 'Test'(012)
               I_SCREEN_START_COLUMN   = 30
               I_SCREEN_START_LINE     = 01
               I_SCREEN_END_COLUMN     = 100
               I_SCREEN_END_LINE       = 25
               &amp;lt;b&amp;gt;I_CHECKBOX_FIELDNAME    = 'CHECK'&amp;lt;/b&amp;gt;
                I_TABNAME               = 'IT_VBAP'
               IT_FIELDCAT             = IT_FIELDCAT
          IMPORTING
               ES_SELFIELD              = WA_SELFIELD
           TABLES
                T_OUTTAB                = IT_VBAP
          EXCEPTIONS
               PROGRAM_ERROR           = 1
               OTHERS                  = 2.
        IF SY-SUBRC &amp;lt;&amp;gt; 0.

        ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 09:02:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool-programming/m-p/1279579#M152458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-04T09:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool-programming/m-p/1279580#M152459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shaik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you have to create a step loop. You can only make certain number of rows step loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After creating stop loop, write a logic to fill the text fields against the radiobutton as per your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can have a look at a screen 608 of program SAPMF05A. See the MODULE SEL_ANZEIGEN on Output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User T-code F-32 to debug the screen. &lt;/P&gt;&lt;P&gt;T-code : F-32&lt;/P&gt;&lt;P&gt;Put Customer, company code and select "Others" radiobutton, this will bring one POP-UP (this screen in 608)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't created this one, otherwise I am able to give my code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 09:07:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool-programming/m-p/1279580#M152459</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-04-04T09:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool-programming/m-p/1279581#M152460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rayeez!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you had a constant number of lines for screen 400, you could program this straight forward (there is a radiobutton -button in graphical screen painter, in attributes the group can be defined).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how to get a dynamcial number of screen lines? &lt;/P&gt;&lt;P&gt;- List output -&amp;gt; nasty input handling, so better no leave-to-list processing&lt;/P&gt;&lt;P&gt;- Normal module pool screen (modal or amodal, doesn't matter) with 10 lines. If you don't fill up all lines, you can set the other lines in PBO in a 'loop at screen' invisible -&amp;gt; if you design your screen to small, you might not be able to display an exeptional big list.&lt;/P&gt;&lt;P&gt;- Normal screen, but with a table control (like VA02 for item list). Then it would be a little more complicate to display a radiobuttion in a column. But it's quite easy to display a selection-column and there is a flag in attributes, if you want to allow only single or multiple marked lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would go for the table control - little bit different style, but best for a dynamical output. And you can refer to a lot of screens in SAP, where it's done the same way (ME21N, VA01, VF01, MM01 (units),...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 09:14:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool-programming/m-p/1279581#M152460</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2006-04-04T09:14:01Z</dc:date>
    </item>
  </channel>
</rss>

