<?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 select-options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-select-options/m-p/5292439#M1220799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just check the link there are some code samples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Dynamic Selection|https://wiki.sdn.sap.com/wiki/x/SYJWAw]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Dynamic Selection|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a07a330f-126c-2910-c684-d2a45f0f37dd]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2009 22:47:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-06T22:47:42Z</dc:date>
    <item>
      <title>Dynamic select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-select-options/m-p/5292436#M1220796</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;I have tried to write a generic - dynamic program that is proper for all tables to upload data into them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user enters the table name,selects a file and then executes the program, data is uploaded into tables. It is something very useful for Z tables, just one program to upload data for all tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i need now is that, i want to use the entered table's key fields to select data and will show this data when clicked on a function key, but i dont know how to create a select-options depending on the entered table name's fields into parameter. It is ok and easy to get the all data of entered table but what if the user wants to enter some criteria???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any idea on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 21:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-select-options/m-p/5292436#M1220796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T21:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-select-options/m-p/5292437#M1220797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you create table maintainance generator.... that is what it does...ofcourse not form file though..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;se11 &amp;gt; table name &amp;gt; utilities &amp;gt; table maintenance gen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  zj_test LINE-SIZE 162.

PARAMETER: tabnam TYPE tabname16.

DATA: ddobjname TYPE ddobjname,
      string TYPE string.

DATA:  BEGIN OF gt_dfies OCCURS 30.
        INCLUDE STRUCTURE dfies.
DATA:  END OF gt_dfies.

ddobjname = tabnam.

CALL FUNCTION 'DDIF_FIELDINFO_GET'
  EXPORTING
    tabname              = ddobjname
   langu                = sy-langu
 TABLES
   dfies_tab            = gt_dfies
 EXCEPTIONS
   not_found            = 1
   internal_error       = 2
   OTHERS               = 3.

LOOP AT gt_dfies.
  CONCATENATE string gt_dfies-fieldname  INTO string SEPARATED BY '|'.
ENDLOOP.

WRITE: string.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;need to create an dynamic internal table with all those fields and upload data from file to this structure.....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: the structure of the file and the fields of the tables need to match always...first vbeln 18 characters and posnr 4 characters.... for another table.. the file and the field need to be different...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 22:09:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-select-options/m-p/5292437#M1220797</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-03-06T22:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-select-options/m-p/5292438#M1220798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to create a select options like SE16N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 22:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-select-options/m-p/5292438#M1220798</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2009-03-06T22:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-select-options/m-p/5292439#M1220799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just check the link there are some code samples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Dynamic Selection|https://wiki.sdn.sap.com/wiki/x/SYJWAw]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Dynamic Selection|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a07a330f-126c-2910-c684-d2a45f0f37dd]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 22:47:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-select-options/m-p/5292439#M1220799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T22:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-select-options/m-p/5292440#M1220800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use fm &lt;STRONG&gt;POPUP_GET_VALUES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="16" __jive_macro_name="size"&gt;кu03B1ятu03B9к&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 23:54:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-select-options/m-p/5292440#M1220800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T23:54:55Z</dc:date>
    </item>
  </channel>
</rss>

