<?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: Creating two screen fields with a LIKE reference in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-two-screen-fields-with-a-like-reference/m-p/4212869#M1006711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You create a search help for the field and assign it in the search help in attributes of the text field.. Use the same name for both the fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jul 2008 09:34:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-14T09:34:30Z</dc:date>
    <item>
      <title>Creating two screen fields with a LIKE reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-two-screen-fields-with-a-like-reference/m-p/4212866#M1006708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a custom screen in SE51 (Screen painter) with two input fields. I want both these two fields to be of the same type, with a like reference to a field in a custom table. This is required so that the search help for the custom table field can be used for both fields on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the attributes for the field in screen painter, on tab Dict, there is a checkbox "From dict.". Checking this gives me the result I require. However the field has to be named according to the table field, i.e. screen field name has to be ZMYTABLE-FIELD1. This works fine for one field. But I need this for both fields. The system won't allow me to name the second field with the same name, so I can't access my search help from the second field. Incidentally, the "Ref. field" box is also grayed out, so I cant define anything there. How can I accomplish this? Help is appreciated. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 04:56:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-two-screen-fields-with-a-like-reference/m-p/4212866#M1006708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T04:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating two screen fields with a LIKE reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-two-screen-fields-with-a-like-reference/m-p/4212867#M1006709</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;Try the following..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare the 2 fields in the Main Program itself referring to the &lt;/P&gt;&lt;P&gt;Dictionary field. Save the program and in the Screen Painter &lt;/P&gt;&lt;P&gt;Choose the fields by selecting the  PROGRAM instead of &lt;/P&gt;&lt;P&gt;selecting DICTIONARY reference...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murthy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 06:12:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-two-screen-fields-with-a-like-reference/m-p/4212867#M1006709</guid>
      <dc:creator>former_member787646</dc:creator>
      <dc:date>2008-07-14T06:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating two screen fields with a LIKE reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-two-screen-fields-with-a-like-reference/m-p/4212868#M1006710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murthy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried declaring the fields in the program using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: FIELD1 LIKE ZMYTAB-FIELD1,&lt;/P&gt;&lt;P&gt;          FIELD2 LIKE ZMYTAB-FIELD1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the screen painter I created a textbox, went to the 'Attributes' windows and named the fields as FIELD1 and FIELD2. Under tab 'Program' there is no option for verifying or assigning fields. I ran the screen after doing this but got two text boxes with default attributes, not picking up search help or anything. Am I doing something wrong? Suggestions appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 07:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-two-screen-fields-with-a-like-reference/m-p/4212868#M1006710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T07:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating two screen fields with a LIKE reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-two-screen-fields-with-a-like-reference/m-p/4212869#M1006711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You create a search help for the field and assign it in the search help in attributes of the text field.. Use the same name for both the fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 09:34:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-two-screen-fields-with-a-like-reference/m-p/4212869#M1006711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T09:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating two screen fields with a LIKE reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-two-screen-fields-with-a-like-reference/m-p/4212870#M1006712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats the entire problem. The screen painter won't let me create two fields with the same name. Suggestions welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 11:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-two-screen-fields-with-a-like-reference/m-p/4212870#M1006712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T11:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating two screen fields with a LIKE reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-two-screen-fields-with-a-like-reference/m-p/4212871#M1006713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do one thing.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use one Data dictionary element and the other variable declared in program of type data dictionary variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare two different variables with same search help name so that you get the same f4 help for both&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 11:36:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-two-screen-fields-with-a-like-reference/m-p/4212871#M1006713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T11:36:56Z</dc:date>
    </item>
  </channel>
</rss>

