<?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 problem in F4 help using RH_OBJID_REQUEST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-f4-help-using-rh-objid-request/m-p/2840706#M665293</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 implemented a custom F4 search help for an HR object parameter and used fm RH_OBJID_REQUEST to read related objects. The user can select multiple objects. I have debugged th eprogram, the return table have all he selected values but after I send the values to the low value of the select option not all are displayed and some values repeat themselves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM competency_f4 USING p_fieldname CHANGING p_value .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF ls_objec OCCURS 0.&lt;/P&gt;&lt;P&gt;          INCLUDE STRUCTURE objec .&lt;/P&gt;&lt;P&gt;  DATA: END OF ls_objec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RH_OBJID_REQUEST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      plvar             = '01'&lt;/P&gt;&lt;P&gt;      otype             = 'Q'&lt;/P&gt;&lt;P&gt;      dynpro_repid      = sy-repid&lt;/P&gt;&lt;P&gt;      dynpro_dynnr      = sy-dynnr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     dynpro_searkfield = p_fieldname&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      set_mode          = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      sel_objects       = ls_objec&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      cancelled         = 1&lt;/P&gt;&lt;P&gt;      wrong_condition   = 2&lt;/P&gt;&lt;P&gt;      nothing_found     = 3&lt;/P&gt;&lt;P&gt;      internal_error    = 4&lt;/P&gt;&lt;P&gt;      illegal_mode      = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK sy-subrc EQ 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT ls_objec.&lt;/P&gt;&lt;P&gt;    CLEAR compt.&lt;/P&gt;&lt;P&gt;    compt-sign = 'I'.&lt;/P&gt;&lt;P&gt;    compt-option = 'EQ'.&lt;/P&gt;&lt;P&gt;    compt-low = ls_objec-objid .&lt;/P&gt;&lt;P&gt;    APPEND compt.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*CLEAR compt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "COMPETENCY_F4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2007 12:36:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-04T12:36:45Z</dc:date>
    <item>
      <title>problem in F4 help using RH_OBJID_REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-f4-help-using-rh-objid-request/m-p/2840706#M665293</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 implemented a custom F4 search help for an HR object parameter and used fm RH_OBJID_REQUEST to read related objects. The user can select multiple objects. I have debugged th eprogram, the return table have all he selected values but after I send the values to the low value of the select option not all are displayed and some values repeat themselves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM competency_f4 USING p_fieldname CHANGING p_value .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF ls_objec OCCURS 0.&lt;/P&gt;&lt;P&gt;          INCLUDE STRUCTURE objec .&lt;/P&gt;&lt;P&gt;  DATA: END OF ls_objec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RH_OBJID_REQUEST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      plvar             = '01'&lt;/P&gt;&lt;P&gt;      otype             = 'Q'&lt;/P&gt;&lt;P&gt;      dynpro_repid      = sy-repid&lt;/P&gt;&lt;P&gt;      dynpro_dynnr      = sy-dynnr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     dynpro_searkfield = p_fieldname&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      set_mode          = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      sel_objects       = ls_objec&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      cancelled         = 1&lt;/P&gt;&lt;P&gt;      wrong_condition   = 2&lt;/P&gt;&lt;P&gt;      nothing_found     = 3&lt;/P&gt;&lt;P&gt;      internal_error    = 4&lt;/P&gt;&lt;P&gt;      illegal_mode      = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK sy-subrc EQ 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT ls_objec.&lt;/P&gt;&lt;P&gt;    CLEAR compt.&lt;/P&gt;&lt;P&gt;    compt-sign = 'I'.&lt;/P&gt;&lt;P&gt;    compt-option = 'EQ'.&lt;/P&gt;&lt;P&gt;    compt-low = ls_objec-objid .&lt;/P&gt;&lt;P&gt;    APPEND compt.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*CLEAR compt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "COMPETENCY_F4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 12:36:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-f4-help-using-rh-objid-request/m-p/2840706#M665293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T12:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem in F4 help using RH_OBJID_REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-f4-help-using-rh-objid-request/m-p/2840707#M665294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved it on my own&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2007 08:25:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-f4-help-using-rh-objid-request/m-p/2840707#M665294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-10T08:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: problem in F4 help using RH_OBJID_REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-f4-help-using-rh-objid-request/m-p/2840708#M665295</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;Change the code like below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REFRESH COMPT.&amp;lt;/b&amp;gt; "Add this ...&lt;/P&gt;&lt;P&gt;LOOP AT ls_objec.&lt;/P&gt;&lt;P&gt;CLEAR compt.&lt;/P&gt;&lt;P&gt;compt-sign = 'I'.&lt;/P&gt;&lt;P&gt;compt-option = 'EQ'.&lt;/P&gt;&lt;P&gt;compt-low = ls_objec-objid .&lt;/P&gt;&lt;P&gt;APPEND compt.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IF HELPFUL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2007 08:38:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-f4-help-using-rh-objid-request/m-p/2840708#M665295</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-10-10T08:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem in F4 help using RH_OBJID_REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-f4-help-using-rh-objid-request/m-p/2840709#M665296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really hoping you read this reply - how did you solve this problem?&amp;nbsp; I'm also having the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 09:41:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-f4-help-using-rh-objid-request/m-p/2840709#M665296</guid>
      <dc:creator>csiebrits</dc:creator>
      <dc:date>2013-02-08T09:41:04Z</dc:date>
    </item>
  </channel>
</rss>

