<?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: problem with generate subroutine pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-generate-subroutine-pool/m-p/2404672#M535954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) in which line is your error&lt;/P&gt;&lt;P&gt;2) you cannot use select-options in a form &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2007 13:50:32 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2007-06-25T13:50:32Z</dc:date>
    <item>
      <title>problem with generate subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-generate-subroutine-pool/m-p/2404671#M535953</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; can you please check the code, and  suggest am i doing wrong any were.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: xtab(200).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : ttab type table of xtab,&lt;/P&gt;&lt;P&gt;       w_so type xtab.&lt;/P&gt;&lt;P&gt;data: routine(32) value 'TEMP_ROUTINE',&lt;/P&gt;&lt;P&gt;      program(8),&lt;/P&gt;&lt;P&gt;      message(128),&lt;/P&gt;&lt;P&gt;      line type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field text DATA_ELEMENT from zauthgrptxt into table t_fieldlabel where STARALLOWED EQ c_asteriks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE t_fieldlabel LINES N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_so = 'REPORT ZTEMP_PROGRAM.'.&lt;/P&gt;&lt;P&gt;append  w_so to ttab.&lt;/P&gt;&lt;P&gt;w_so = 'FORM TEMP_ROUTINE.'.&lt;/P&gt;&lt;P&gt;append  w_so to ttab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_fieldlabel.&lt;/P&gt;&lt;P&gt; w_field = t_fieldlabel-field.&lt;/P&gt;&lt;P&gt;CONCATENATE 'SELECT-OPTIONS: ' ' P_' w_field zspace  ' FOR ' ' T_FIELDLABEL-' w_field  ' NO INTERVALS NO-EXTENTION.' INTO w_so.&lt;/P&gt;&lt;P&gt;append w_so to ttab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;w_so = 'ENDFORM.'.&lt;/P&gt;&lt;P&gt;append w_so to ttab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;generate subroutine pool ttab name program&lt;/P&gt;&lt;P&gt;                         message message&lt;/P&gt;&lt;P&gt;                         line line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  perform (routine) in program (program). &lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  write:/ Message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sy-subrc = 4. nothing is coming into 'program' at generate subroutine pool&lt;/P&gt;&lt;P&gt;very urgent requirement please help&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;vara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 12:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-generate-subroutine-pool/m-p/2404671#M535953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T12:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: problem with generate subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-generate-subroutine-pool/m-p/2404672#M535954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) in which line is your error&lt;/P&gt;&lt;P&gt;2) you cannot use select-options in a form &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 13:50:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-generate-subroutine-pool/m-p/2404672#M535954</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2007-06-25T13:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: problem with generate subroutine pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-generate-subroutine-pool/m-p/2404673#M535955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andreas is right,  you can not use the GENERATE FORM to dynamically build a selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch HEilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 13:59:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-generate-subroutine-pool/m-p/2404673#M535955</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-06-25T13:59:38Z</dc:date>
    </item>
  </channel>
</rss>

