<?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: Generate Screen Dynamic in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072064#M429268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issue closed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2007 15:39:26 GMT</pubDate>
    <dc:creator>former_member194669</dc:creator>
    <dc:date>2007-03-26T15:39:26Z</dc:date>
    <item>
      <title>Generate Screen Dynamic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072058#M429262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to create a screen dynamically at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MATNR&lt;/P&gt;&lt;P&gt;MATKX&lt;/P&gt;&lt;P&gt;DESCR&lt;/P&gt;&lt;P&gt;NAME1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to generate a screen at runtime. like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MATNR                                           MATKX
DESCR                                           NAME1
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't need to use fm POPUP_GET_VALUES for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any info on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 15:03:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072058#M429262</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-03-26T15:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Screen Dynamic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072059#M429263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems pretty static, right?  Why do you need to do this dynamically?&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, 26 Mar 2007 15:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072059#M429263</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-26T15:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Screen Dynamic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072060#M429264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is only example. The field are decided only at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is i am writing a ALV grid program to eliminate the cumbersome table maintenance generator screens. Input for this program is table name. But now user wants in the Grid select a line and go for details ,here user want a cusom screen to be displayed with all fields from table (input selection)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 15:12:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072060#M429264</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-03-26T15:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Screen Dynamic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072061#M429265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see.   You can generate a screen at runtime, but it uses internal SAP statements which are not supposed to be used.  Here is a sample program.  &lt;/P&gt;&lt;P&gt;Please be extremely careful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001
       no standard page heading.

data: h type table of d020s with header line,
      f type table of d021s with header line,
      e type table of d022s with header line,
      m type table of d023s with header line.
data: mess(50) type c,
      line(50) type c,
      word(50) type c.
data: dynproid(44).

dynproid = sy-repid.
dynproid+40(4) = '0100'.

h-prog = sy-repid.
h-dnum = '0100'.
append h.


f-fnam = 'P_TEST1'.
f-flg1 = '80'.
f-flg3 = '80'.
f-line = '01'.
f-coln = '03'.
f-type = 'CHAR'.
f-ityp = 'C'.
f-leng = '20'.
f-stxt = '____________________'.
append f.

f-fnam = 'P_TEST2'.
f-flg1 = '80'.
f-flg3 = '80'.
f-line = '02'.
f-coln = '03'.
f-type = 'CHAR'.
f-ityp = 'C'.
f-leng = '40'.
f-stxt = '________________________________________'.
append f.


e-line = 'PROCESS BEFORE OUTPUT.'.
append e.

e-line = 'PROCESS AFTER INPUT.'.
append e.

generate dynpro h f e m id dynproid
         message mess
         line    line
         word    word.


call screen 100.

&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;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 15:17:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072061#M429265</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-26T15:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Screen Dynamic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072062#M429266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have more question regarding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If two users are using at the same time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
generate dynpro h f e m id dynproid
         message mess
         line    line
         word    word.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether this command give any issue. My question is any sharing violation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 15:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072062#M429266</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-03-26T15:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Screen Dynamic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072063#M429267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I simply do not know.  I would assume that there may be a clash there.&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, 26 Mar 2007 15:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072063#M429267</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-26T15:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Screen Dynamic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072064#M429268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issue closed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 15:39:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-screen-dynamic/m-p/2072064#M429268</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-03-26T15:39:26Z</dc:date>
    </item>
  </channel>
</rss>

