<?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: Dynamic Screen Paramater Generation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406472#M196110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi James,&lt;/P&gt;&lt;P&gt;   You can use the FM 'DDIF_NAMETAB_GET' to get the fields of a table given. Try calling this FM in ur initialization and set the fields to ur parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Theja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jul 2006 14:21:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-10T14:21:11Z</dc:date>
    <item>
      <title>Dynamic Screen Paramater Generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406467#M196105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to generate parameters for a screen on the fly??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im trying to create a generic program that can adapt selection option parameters depending on a database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie if the user asks to search for an item in a table, they will be provided with a dialog containing dynamic parameters for each field in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tried this using field symbols but the compiler will not let me.&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;for all fields in table&lt;/P&gt;&lt;P&gt;parameters: &amp;lt;pname&amp;gt; type &amp;lt;ptype&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to generate code for a form and call it at runtime??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 14:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406467#M196105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T14:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Paramater Generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406468#M196106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should look at the code of SE16.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 14:13:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406468#M196106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T14:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Paramater Generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406469#M196107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would think that this is possible because SAP is doing something similar e.g. in their transactions SE11 and SE16. Maybe you dare to look into this and get some tipps and hints on how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think they will probably read the metainformation from the ddic/table using DESCRIBE and build from that a selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 14:16:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406469#M196107</guid>
      <dc:creator>oliver</dc:creator>
      <dc:date>2006-07-10T14:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Paramater Generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406470#M196108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah ive had a look through, but if possible i would like to do it without generating a whole program and running it at runtime. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ive got all the table info etc, just needing to output parameters for them dynamically on a screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be ideal if i could just generate a function or form within my report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for suggestions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: James Pirie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 14:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406470#M196108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T14:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Paramater Generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406471#M196109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is.  But the statements are not released for customer use and they will not be supported by SAP.  If you would like an example program, email me at my email address on my business card.   Here is another way of doing it using a POPup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001 .

data: ivals type table of sval with header line.

data: x_matnr type mara-matnr,
      x_vbeln type vbak-vbeln,
      x_edatu type vbep-edatu.

start-of-selection.


  ivals-tabname = 'MARA'.
  ivals-fieldname = 'MATNR'.
  append ivals.

  ivals-tabname = 'VBAK'.
  ivals-fieldname = 'VBELN'.
  append ivals.

  ivals-tabname = 'VBEP'.
  ivals-fieldname = 'EDATU'.
  append ivals.

  call function 'POPUP_GET_VALUES'
    exporting
*   NO_VALUE_CHECK        = ' '
      popup_title           = 'Enter Values'
*   START_COLUMN          = '5'
*   START_ROW             = '5'
* IMPORTING
*   RETURNCODE            =
    tables
      fields                = ivals
   exceptions
     error_in_fields       = 1
     others                = 2
            .

  read table ivals with key fieldname = 'MATNR'.
  if sy-subrc  = 0.
    x_matnr = ivals-value.
  endif.

  read table ivals with key fieldname = 'VBELN'.
  if sy-subrc  = 0.
    x_vbeln = ivals-value.
  endif.

  read table ivals with key fieldname = 'EDATU'.
  if sy-subrc  = 0.
    x_edatu = ivals-value.
  endif.

  write:/ x_matnr, x_vbeln, x_edatu.

&lt;/CODE&gt;&lt;/PRE&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, 10 Jul 2006 14:19:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406471#M196109</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-10T14:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Paramater Generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406472#M196110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi James,&lt;/P&gt;&lt;P&gt;   You can use the FM 'DDIF_NAMETAB_GET' to get the fields of a table given. Try calling this FM in ur initialization and set the fields to ur parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Theja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 14:21:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406472#M196110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T14:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Paramater Generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406473#M196111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for response, but i know how to get all the meta information for tables, its just simply displaying paramters for a table on a screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im trying to do exactly what se16 does but on a less mental scale.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks rich I will email you my email addy. By the way nice cabinets!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 14:27:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-paramater-generation/m-p/1406473#M196111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T14:27:44Z</dc:date>
    </item>
  </channel>
</rss>

