<?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: Value-Help with fields of data dictionary structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493738#M16745</link>
    <description>&lt;P&gt;Ah, ok. I interpreted 'value help' as the one you define in a report, as opposed to a search help.&lt;/P&gt;
  &lt;P&gt;You can create your own Z search help. I would go this way and attach it to a custom data element based on the fieldname domain.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2017 08:23:51 GMT</pubDate>
    <dc:creator>pokrakam</dc:creator>
    <dc:date>2017-09-04T08:23:51Z</dc:date>
    <item>
      <title>Value-Help with fields of data dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493735#M16742</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;
  &lt;P&gt;is it possible to create a value-help for the fields (not the content!) of a data dictionary structure? I have my custom ddic structure Z1 with the fields A, B and C. Now I have ddic table Z2 where I want to input field-names. Therefor i have a field FIELDNAMES in this table. For this field I want as value-help the &lt;STRONG&gt;names&lt;/STRONG&gt; of fields A, B and C of structure Z1. Is this possible?&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 07:54:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493735#M16742</guid>
      <dc:creator>Missschaaa</dc:creator>
      <dc:date>2017-09-04T07:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Value-Help with fields of data dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493736#M16743</link>
      <description>&lt;P&gt;I am not aware of any standard feature to enable this, but should be easy enough to create by reading the fields with cl_abap_structdef and building your selections from that.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 08:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493736#M16743</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2017-09-04T08:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Value-Help with fields of data dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493737#M16744</link>
      <description>&lt;P&gt;Yes, I know that too. But I need the value help in the ddic field when user inputs fieldnames with SM30 and not in some report.&lt;/P&gt;
  &lt;P&gt; Regards&lt;BR /&gt;Michael&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 08:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493737#M16744</guid>
      <dc:creator>Missschaaa</dc:creator>
      <dc:date>2017-09-04T08:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Value-Help with fields of data dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493738#M16745</link>
      <description>&lt;P&gt;Ah, ok. I interpreted 'value help' as the one you define in a report, as opposed to a search help.&lt;/P&gt;
  &lt;P&gt;You can create your own Z search help. I would go this way and attach it to a custom data element based on the fieldname domain.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 08:23:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493738#M16745</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2017-09-04T08:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Value-Help with fields of data dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493739#M16746</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;- Copy function module F4IF_SHLP_EXIT_EXAMPLE in a new function module ZF4_Z1_FIELDNAMES&lt;/P&gt;
  &lt;P&gt;- Create a new domain Z1_FIELDNAMES (same as FIELDNAMES) with ZF4_Z1_FIELDNAMES as exit search-help. &lt;/P&gt;
  &lt;P&gt;- Create a new data element in SE11 Z1_FIELDNAMES with domain Z1_FIELDNAMES&lt;/P&gt;
  &lt;P&gt;- Customize output RECORD_TAB from FM ZF4_Z1_FIELDNAMES at will.&lt;/P&gt;
  &lt;P&gt;Something like :&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;IF callcontrol-step = 'DISP'.

DATA: lo_struct_descr   TYPE REF TO cl_abap_structdescr,
      lt_struct_fields  TYPE cl_abap_structdescr=&amp;gt;component_table.
FIELD-SYMBOLS &amp;lt;struct_fields&amp;gt; TYPE any.


lo_struct_descr ?= cl_abap_typedescr=&amp;gt;describe_by_name( 'Z1' ).
lt_struct_fields = lo_struct_descr-&amp;gt;get_components( ).


LOOP AT lt_struct_fields ASSIGNING &amp;lt;struct_fields&amp;gt;.
* Append &amp;lt;struct_fields&amp;gt;-NAME to record_tab
ENDLOOP.

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Best regards,&lt;/P&gt;
  &lt;P&gt;Bertrand&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 08:32:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493739#M16746</guid>
      <dc:creator>bertrand_delvallee</dc:creator>
      <dc:date>2017-09-04T08:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Value-Help with fields of data dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493740#M16747</link>
      <description>&lt;P&gt;That sounds good but I have some problems with the search help. When I only enter the exit in the data element, I get some errors while activating because it says parameters of search help are missing. But how can I use them? I do not have any fields or any database table where I can refer on some parameter fields. Therefor I use the exit I thought?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 10:55:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493740#M16747</guid>
      <dc:creator>Missschaaa</dc:creator>
      <dc:date>2017-09-04T10:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Value-Help with fields of data dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493741#M16748</link>
      <description>&lt;P&gt;In your custom search help with ZF4_Z1_FIELDNAMES as exit you just have to have 1 parameter : FIELDNAME as export of type Z1_FIELDNAMES (positions 1).&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 11:40:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493741#M16748</guid>
      <dc:creator>bertrand_delvallee</dc:creator>
      <dc:date>2017-09-04T11:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Value-Help with fields of data dictionary structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493742#M16749</link>
      <description>&lt;P&gt;Ok, worked for me. Thanks a lot until here. Now I have two detail questions.&lt;/P&gt;
  &lt;P&gt;1) How exact is the name of the export parameter? In my table where I use my search help I have &lt;STRONG&gt;three fields &lt;/STRONG&gt;which all should use the same search help. But of course I can use only one field name as export parameter. I took the first field for example. As far as I can see it now it works for the other fields as well but is it also technically correct?&lt;/P&gt;
  &lt;P&gt;2) My goal was to avoid invalid entries. As far as I can see I now only have the search help but no value-check like in foreign keys. How can I achieve this? Also in the function to popup some custom message?&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 11:50:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/value-help-with-fields-of-data-dictionary-structure/m-p/493742#M16749</guid>
      <dc:creator>Missschaaa</dc:creator>
      <dc:date>2017-09-04T11:50:54Z</dc:date>
    </item>
  </channel>
</rss>

