<?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 input screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559732#M1431117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please explain: You pass tabname and fieldname pairs in FIELDS. If the fieldname is itself an include structure, you will have to resolve the fields of this structure. How do you create the FIELDS table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RTTS classes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_ABAP_STRUCTDESCR&lt;/P&gt;&lt;P&gt;CL_ABAP_TABLEDESCR&lt;/P&gt;&lt;P&gt;CL_ABAP_TYPEDESCR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be helpful here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jan 2010 15:03:45 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2010-01-22T15:03:45Z</dc:date>
    <item>
      <title>Dynamic input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559731#M1431116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a screen with field structure and field data.&lt;/P&gt;&lt;P&gt;Field structure will be filled with the name of a structure and data will be the data that corresponds with this structure(not delimited but filled up with spaces),&lt;/P&gt;&lt;P&gt;When double clicking it or with keypress I show a popup with the data from the data line in the corresponding structure with FM POPUP_GET_VALUES.&lt;/P&gt;&lt;P&gt;This works perfectly only when I have a nested structure subroutine 'prepare_and_check' gives back an error when executing FM 'DDIF_FIELDINFO_GET'. When we set marker ALL_TYPES to 'X' it works but that's not really an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody knnow how I can show a nested structure on screen as a popup with input fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Wim van Erp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 14:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559731#M1431116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-22T14:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559732#M1431117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please explain: You pass tabname and fieldname pairs in FIELDS. If the fieldname is itself an include structure, you will have to resolve the fields of this structure. How do you create the FIELDS table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RTTS classes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_ABAP_STRUCTDESCR&lt;/P&gt;&lt;P&gt;CL_ABAP_TABLEDESCR&lt;/P&gt;&lt;P&gt;CL_ABAP_TYPEDESCR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be helpful here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 15:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559732#M1431117</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-01-22T15:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559733#M1431118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When passing it through like:&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'DDIF_NAMETAB_GET'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        tabname   = lv_tabname&lt;/P&gt;&lt;P&gt;        all_types = 'X'&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        dfies_tab = lit_dfies&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        not_found = 1&lt;/P&gt;&lt;P&gt;        OTHERS    = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then lit_dfies got all fields of the structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Wim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 15:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559733#M1431118</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-22T15:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559734#M1431119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So....where is the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 15:20:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559734#M1431119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-22T15:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559735#M1431120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using fm &lt;STRONG&gt;DD_DICTIONARY_TO_NAMETAB&lt;/STRONG&gt; to get field details (i.e names) for strucutre even nested one. Then move those ro FIELDS tab in POPUP_GET_VALUES. &lt;/P&gt;&lt;P&gt;This should help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 15:24:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559735#M1431120</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-01-22T15:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559736#M1431121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that when I try to show it inputable on screen with FM POPUP_GET_VALUES it doesnt work.&lt;/P&gt;&lt;P&gt;How do I show these collected values on screen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 15:24:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559736#M1431121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-22T15:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559737#M1431122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the input but that is not the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I &lt;STRONG&gt;&lt;U&gt;have&lt;/U&gt;&lt;/STRONG&gt; a structure I want to post only it is a structure with a nested table in it.&lt;/P&gt;&lt;P&gt;When trying to post it with POPUP_GET_VALUES it does not work.&lt;/P&gt;&lt;P&gt;Try running structure SHLP_DESCR through it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 15:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559737#M1431122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-22T15:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559738#M1431123</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;So you have have a structure having a field is a type table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 15:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559738#M1431123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-22T15:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559739#M1431124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried and found out that POPUP_GET_VALUES just does not work as expected if you have nested structures. Even if you pass only simple type fields, the function fails. I could not find an OSS note on this, as there are too many for this function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No solution now, sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 16:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559739#M1431124</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-01-22T16:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559740#M1431125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wim, SAP does not really allow complex dynamic screens (possible for simple ones, ugly view for complex ones like the SE37 test data parameters input tool). If you really want to develop a tool for creating dynamic "beautiful" screens, you'll spend much much time, I don't advise it (and SAP neither, as they say EXPORT DYNPRO abap statement is reserved internally)&lt;/P&gt;&lt;P&gt;Are you really using an infinite number of structures? If it's a little number, can't you create the screens manually?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 20:54:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559740#M1431125</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-01-22T20:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559741#M1431126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... so if you really want full dynamic, you can use an ALV grid object. I created something for generic input using string type for the fields and then using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
      EXPORTING
        called_for_tab   = lv_tabname
        called_for_field = lv_fieldname&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;for F1 handling,&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
      tabname    = lv_tabname
      fieldname  = lv_fieldname&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;for F4,&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'RS_CONV_EX_2_IN'
    EXPORTING
      input_external                     = &amp;lt;output&amp;gt;
      table_field                        = ls_tabfield
*   CURRENCY                           = CURRENCY
    IMPORTING
      output_internal                    = &amp;lt;inputt&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;for input conversion&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;METHOD convert_output.
  DATA:
    lr_data       TYPE REF TO data,
    lv_type       TYPE char01,
    lv_length_out TYPE sytleng.
  FIELD-SYMBOLS:
    &amp;lt;any&amp;gt;         TYPE ANY.
  DESCRIBE FIELD  iv_input OUTPUT-LENGTH lv_length_out TYPE lv_type.
  CREATE DATA lr_data TYPE c LENGTH lv_length_out.
  ASSIGN lr_data-&amp;gt;* TO &amp;lt;any&amp;gt;.
  IF iv_input IS NOT INITIAL AND iv_input &amp;lt;&amp;gt; space OR lv_type &amp;lt;&amp;gt; 'T'.
    WRITE iv_input TO &amp;lt;any&amp;gt;.
  ENDIF.
  rv_output = &amp;lt;any&amp;gt;.
ENDMETHOD.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;for output conversion.&lt;/P&gt;&lt;P&gt;In reality, a bit more complicated with styles and events, but works nicely.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jan 2010 00:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-input-screen/m-p/6559741#M1431126</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-01-23T00:52:49Z</dc:date>
    </item>
  </channel>
</rss>

