<?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: ABAP for displaying message using performance assistant in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-for-displaying-message-using-performance-assistant/m-p/2847086#M666995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1012047"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find out the identifier of the help text (F1 help) defined for a field in the ABAP Dictionary using the HELP-ID addition: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE FIELD &amp;lt;f&amp;gt; HELP-ID &amp;lt;h&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the field &amp;lt;f&amp;gt; is defined with reference to a data type from the ABAP Dictionary, the statement writes the help text ID into the variable &amp;lt;h&amp;gt;. You can use the ID in a suitable function module to display the help text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: company TYPE s_carr_id,&lt;/P&gt;&lt;P&gt;h(20) TYPE c,&lt;/P&gt;&lt;P&gt;tlink TYPE TABLE OF tline.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DESCRIBE FIELD company HELP-ID h.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HELP_OBJECT_SHOW'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;dokclass = 'DE'&lt;/P&gt;&lt;P&gt;doklangu = sy-langu&lt;/P&gt;&lt;P&gt;dokname = h&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;links = tlink&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;object_not_found = 1&lt;/P&gt;&lt;P&gt;sapscript_error = 2&lt;/P&gt;&lt;P&gt;others = 3.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this program, the field H receives the name of the data element S_CARR_ID. The function module HELP_OBJECT_SHOW displays the documentation for the data element in a dialog box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murali Poli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2007 14:17:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-04T14:17:53Z</dc:date>
    <item>
      <title>ABAP for displaying message using performance assistant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-for-displaying-message-using-performance-assistant/m-p/2847085#M666994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to display the long form of a custom message using the performance assistant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following code successfully displays the long form of the message, but in the old style (before the performance assistant).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HELP_OBJECT_SHOW'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    DOKCLASS                            = 'NA'&lt;/P&gt;&lt;P&gt;    DOKLANGU                            = SY-LANGU&lt;/P&gt;&lt;P&gt;    DOKNAME                             = 'ZINTERFACES001'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DOKTITLE                            = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CALLED_BY_PROGRAM                   = sy-cprog&lt;/P&gt;&lt;P&gt;    CALLED_BY_DYNP                      = sy-dynnr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CALLED_FOR_TAB                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CALLED_FOR_FIELD                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CALLED_FOR_TAB_FLD_BTCH_INPUT       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    MSG_VAR_1                           = 'ABC'&lt;/P&gt;&lt;P&gt;    MSG_VAR_2                           = ' '&lt;/P&gt;&lt;P&gt;    MSG_VAR_3                           = ' '&lt;/P&gt;&lt;P&gt;    MSG_VAR_4                           = ' '&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CALLED_BY_CUAPROG                   = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CALLED_BY_CUASTAT                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SHORT_TEXT                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CLASSIC_SAPSCRIPT                   = 'X'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    LINKS                               = links&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    OBJECT_NOT_FOUND                    = 1&lt;/P&gt;&lt;P&gt;    SAPSCRIPT_ERROR                     = 2&lt;/P&gt;&lt;P&gt;    OTHERS                              = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is because we have CLASSIC_SAPSCRIPT = 'X' ("not in the performance assistant").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when we have CLASSIC_SAPSCRIPT = ' ', then nothing is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help please!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 14:12:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-for-displaying-message-using-performance-assistant/m-p/2847085#M666994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T14:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP for displaying message using performance assistant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-for-displaying-message-using-performance-assistant/m-p/2847086#M666995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1012047"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find out the identifier of the help text (F1 help) defined for a field in the ABAP Dictionary using the HELP-ID addition: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE FIELD &amp;lt;f&amp;gt; HELP-ID &amp;lt;h&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the field &amp;lt;f&amp;gt; is defined with reference to a data type from the ABAP Dictionary, the statement writes the help text ID into the variable &amp;lt;h&amp;gt;. You can use the ID in a suitable function module to display the help text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: company TYPE s_carr_id,&lt;/P&gt;&lt;P&gt;h(20) TYPE c,&lt;/P&gt;&lt;P&gt;tlink TYPE TABLE OF tline.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DESCRIBE FIELD company HELP-ID h.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HELP_OBJECT_SHOW'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;dokclass = 'DE'&lt;/P&gt;&lt;P&gt;doklangu = sy-langu&lt;/P&gt;&lt;P&gt;dokname = h&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;links = tlink&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;object_not_found = 1&lt;/P&gt;&lt;P&gt;sapscript_error = 2&lt;/P&gt;&lt;P&gt;others = 3.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this program, the field H receives the name of the data element S_CARR_ID. The function module HELP_OBJECT_SHOW displays the documentation for the data element in a dialog box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murali Poli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 14:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-for-displaying-message-using-performance-assistant/m-p/2847086#M666995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T14:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP for displaying message using performance assistant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-for-displaying-message-using-performance-assistant/m-p/2847087#M666996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try with the function module HELP_OBJECT_SHOW_FOR_FIELD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 14:18:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-for-displaying-message-using-performance-assistant/m-p/2847087#M666996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T14:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP for displaying message using performance assistant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-for-displaying-message-using-performance-assistant/m-p/2847088#M666997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but I am not wanting to show the help for a field.&lt;/P&gt;&lt;P&gt;I am wanting to show the long-text version of a message defined in SE91.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 14:22:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-for-displaying-message-using-performance-assistant/m-p/2847088#M666997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T14:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP for displaying message using performance assistant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-for-displaying-message-using-performance-assistant/m-p/2847089#M666998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case it is a clue to my problem:&lt;/P&gt;&lt;P&gt;the code given by Murali Poli does not work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 14:39:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-for-displaying-message-using-performance-assistant/m-p/2847089#M666998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T14:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP for displaying message using performance assistant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-for-displaying-message-using-performance-assistant/m-p/2847090#M666999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try function module HELP_START&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 12:09:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-for-displaying-message-using-performance-assistant/m-p/2847090#M666999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-08T12:09:32Z</dc:date>
    </item>
  </channel>
</rss>

