<?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: search help in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-table-control/m-p/2109188#M440527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;to control the cursor position&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At PBO Event&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD &amp;lt;f&amp;gt; LINE &amp;lt;lin&amp;gt; [OFFSET &amp;lt;off&amp;gt;]. &lt;/P&gt;&lt;P&gt;(For setting Cursor Position on Table Control row)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Using the optional addition OFFSET, you can enter the offset of the cursor in the field as described under Setting the Cursor Position&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2007 12:05:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-10T12:05:05Z</dc:date>
    <item>
      <title>search help in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-table-control/m-p/2109185#M440524</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 am trying to add a search help for a field in table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need a dynamic value in the next field based on the selected value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like... in table control i have matnr and maktx ..&lt;/P&gt;&lt;P&gt;when i select matnr ...i need maktx also in the same line.. but i am getting in last line...&lt;/P&gt;&lt;P&gt;how can i control the position of the cursor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after selecting a value when i press enter or any clcik on screen leads to delete values in screen. let me know if anybody come across this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Giri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 18:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-table-control/m-p/2109185#M440524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T18:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: search help in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-table-control/m-p/2109186#M440525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your process after Input, you should loop the internal table that you are using for your table control, so you can trigger the module for where the matnr value was changed/input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab_control.&lt;/P&gt;&lt;P&gt;  field itab_control-matnr&lt;/P&gt;&lt;P&gt;      module display_maktx on request.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module display_maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" Do a look up on makt using current line matnr.&lt;/P&gt;&lt;P&gt;  perform get_maktx using itab_control-matnr&lt;/P&gt;&lt;P&gt;                          changing itab_control-maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" modify current line in table control loop.&lt;/P&gt;&lt;P&gt;  modify itab-control index tab_control-current_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should give you an idea on an approach for you to use.  Also, if you need to find out the current line in a table control, in your module you can use "GET CURSOR LINE LV_LINE",  (where lv_line is of type n(2)).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if you use the module in a table control loop as shown above, then you are operating on the updated row so you don't need to figure out what row you are on since you can refer to the "current_line" of the table control.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 04:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-table-control/m-p/2109186#M440525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T04:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: search help in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-table-control/m-p/2109187#M440526</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;Two ways to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; If you have already defined search help for that filed you can use attaching search help in the Screen attributes in SE51.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Second way is programitically you can do thos.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;in the Flow logic call:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Value Request&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;Field dt_members-PERNR :&lt;/P&gt;&lt;P&gt;MODULE DISPLAY_PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH: dt_fields, dt_contents.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  dt_fields-tabname   = 'PA0001'.&lt;/P&gt;&lt;P&gt;  dt_fields-fieldname = 'PERNR'.&lt;/P&gt;&lt;P&gt;  dt_fields-selectflag = c_x.&lt;/P&gt;&lt;P&gt;  APPEND dt_fields.&lt;/P&gt;&lt;P&gt;  CLEAR dt_fields.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  dt_fields-tabname   = 'PA0001'.&lt;/P&gt;&lt;P&gt;  dt_fields-fieldname = 'ENAME'.&lt;/P&gt;&lt;P&gt;  APPEND dt_fields.&lt;/P&gt;&lt;P&gt;  CLEAR dt_fields.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CLEAR dt_contents.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Select from PA0001&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT pernr&lt;/P&gt;&lt;P&gt;         ename&lt;/P&gt;&lt;P&gt;    INTO TABLE dt_contents&lt;/P&gt;&lt;P&gt;    FROM pa0001.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    SORT dt_contents BY pernr.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    DELETE ADJACENT DUPLICATES FROM dt_contents&lt;/P&gt;&lt;P&gt;      COMPARING pernr.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Give F4 help&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              selectfield                  = 'PERNR'&lt;/P&gt;&lt;P&gt;              titel                        = 'Member PERNR'(028)&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;              ind                          = dg_ind&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              fields                       = dt_fields&lt;/P&gt;&lt;P&gt;              full_table                   = dt_contents&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              full_table_empty             = 1&lt;/P&gt;&lt;P&gt;              no_tablestructure_given      = 2&lt;/P&gt;&lt;P&gt;              no_tablefields_in_dictionary = 3&lt;/P&gt;&lt;P&gt;              more_then_one_selectfield    = 4&lt;/P&gt;&lt;P&gt;              no_selectfield               = 5&lt;/P&gt;&lt;P&gt;              OTHERS                       = 6.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;      READ TABLE dt_contents INDEX dg_ind transporting pernr.&lt;/P&gt;&lt;P&gt;      dt_members-pernr = dt_contents-pernr.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;   MESSAGE s999 WITH 'No Help Values Found for Primary Contact ID'(012).&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 04:14:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-table-control/m-p/2109187#M440526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T04:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: search help in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-table-control/m-p/2109188#M440527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;to control the cursor position&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At PBO Event&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD &amp;lt;f&amp;gt; LINE &amp;lt;lin&amp;gt; [OFFSET &amp;lt;off&amp;gt;]. &lt;/P&gt;&lt;P&gt;(For setting Cursor Position on Table Control row)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Using the optional addition OFFSET, you can enter the offset of the cursor in the field as described under Setting the Cursor Position&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 12:05:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-table-control/m-p/2109188#M440527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T12:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: search help in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-table-control/m-p/2109189#M440528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;to control the cursor position&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At PBO Event&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD &amp;lt;f&amp;gt; LINE &amp;lt;lin&amp;gt; [OFFSET &amp;lt;off&amp;gt;]. &lt;/P&gt;&lt;P&gt;(For setting Cursor Position on Table Control row)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Using the optional addition OFFSET, you can enter the offset of the cursor in the field as described under Setting the Cursor Position&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 12:05:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-table-control/m-p/2109189#M440528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T12:05:30Z</dc:date>
    </item>
  </channel>
</rss>

