<?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: Query in Function Module!!!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-in-function-module/m-p/3964524#M946930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   I have used the follwoign code:&lt;/P&gt;&lt;P&gt;DATA :  i_bal_r_idno         TYPE bal_r_idno,&lt;/P&gt;&lt;P&gt;        wa_bal_r_idno        TYPE bal_s_idno,&lt;/P&gt;&lt;P&gt;        lv_message           TYPE char80.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      break-point.&lt;/P&gt;&lt;P&gt;      wa_bal_r_idno-sign = 'I'.&lt;/P&gt;&lt;P&gt;      wa_bal_r_idno-option = 'EQ'.&lt;/P&gt;&lt;P&gt;      wa_bal_r_idno-low-msgid = 'ZTEST_MESSAGE'.&lt;/P&gt;&lt;P&gt;      wa_bal_r_idno-low-msgno = '000'.&lt;/P&gt;&lt;P&gt;      APPEND wa_bal_r_idno TO i_bal_r_idno.&lt;/P&gt;&lt;P&gt;**Delete old messages&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'CRM_MESSAGES_DELETE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          it_r_msgidno   = i_bal_r_idno&lt;/P&gt;&lt;P&gt;          iv_ref_object  = IV_GUID&lt;/P&gt;&lt;P&gt;          iv_ref_kind    = 'A'&lt;/P&gt;&lt;P&gt;          iv_caller_name = 'ORDERADM_H'&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          appl_log_error = 1&lt;/P&gt;&lt;P&gt;          OTHERS         = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CLEAR lv_message.&lt;/P&gt;&lt;P&gt;         MESSAGE ID 'ZTEST_MESSAGE' TYPE 'E'    NUMBER '000'          INTO lv_message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'CRM_MESSAGE_COLLECT'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              iv_caller_name = 'ORDERADM_H'&lt;/P&gt;&lt;P&gt;              iv_ref_object  = IV_GUID&lt;/P&gt;&lt;P&gt;              iv_ref_kind    = 'A'&lt;/P&gt;&lt;P&gt;              iv_fieldname   = 'CURRENCY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please gide me on how to navigate to the currency field under the Prices Tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reply immediately as this is bit urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2008 11:19:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-18T11:19:35Z</dc:date>
    <item>
      <title>Query in Function Module!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-in-function-module/m-p/3964522#M946928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;          I have a requirement which requires me to put a custom message in the error log in a transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have successfully achieved it through a Function Module 'CRM_MESSAGE_COLLECT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But on double clicking the Message in the error log I want the navigation to happen to a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly tell me how to achieve the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply immediately as this is bit urgent.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 09:52:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-in-function-module/m-p/3964522#M946928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T09:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Query in Function Module!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-in-function-module/m-p/3964523#M946929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;could you paste the code how you have written message in transaction.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;venkat n&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 10:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-in-function-module/m-p/3964523#M946929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T10:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Query in Function Module!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-in-function-module/m-p/3964524#M946930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   I have used the follwoign code:&lt;/P&gt;&lt;P&gt;DATA :  i_bal_r_idno         TYPE bal_r_idno,&lt;/P&gt;&lt;P&gt;        wa_bal_r_idno        TYPE bal_s_idno,&lt;/P&gt;&lt;P&gt;        lv_message           TYPE char80.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      break-point.&lt;/P&gt;&lt;P&gt;      wa_bal_r_idno-sign = 'I'.&lt;/P&gt;&lt;P&gt;      wa_bal_r_idno-option = 'EQ'.&lt;/P&gt;&lt;P&gt;      wa_bal_r_idno-low-msgid = 'ZTEST_MESSAGE'.&lt;/P&gt;&lt;P&gt;      wa_bal_r_idno-low-msgno = '000'.&lt;/P&gt;&lt;P&gt;      APPEND wa_bal_r_idno TO i_bal_r_idno.&lt;/P&gt;&lt;P&gt;**Delete old messages&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'CRM_MESSAGES_DELETE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          it_r_msgidno   = i_bal_r_idno&lt;/P&gt;&lt;P&gt;          iv_ref_object  = IV_GUID&lt;/P&gt;&lt;P&gt;          iv_ref_kind    = 'A'&lt;/P&gt;&lt;P&gt;          iv_caller_name = 'ORDERADM_H'&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          appl_log_error = 1&lt;/P&gt;&lt;P&gt;          OTHERS         = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CLEAR lv_message.&lt;/P&gt;&lt;P&gt;         MESSAGE ID 'ZTEST_MESSAGE' TYPE 'E'    NUMBER '000'          INTO lv_message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'CRM_MESSAGE_COLLECT'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              iv_caller_name = 'ORDERADM_H'&lt;/P&gt;&lt;P&gt;              iv_ref_object  = IV_GUID&lt;/P&gt;&lt;P&gt;              iv_ref_kind    = 'A'&lt;/P&gt;&lt;P&gt;              iv_fieldname   = 'CURRENCY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please gide me on how to navigate to the currency field under the Prices Tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reply immediately as this is bit urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 11:19:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-in-function-module/m-p/3964524#M946930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T11:19:35Z</dc:date>
    </item>
  </channel>
</rss>

