<?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: Radio Frequency - Error handling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860696#M47947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We had the same kind of a problem back when we wrote our custom RF transactions.  In the transaction, we are doing a BDC over CO11(Production Order Confirmation).  The CO11 sends a success message when completed which could not be handled by nicely by the RF device.  So what we ended up doing was just "calling the transaction"&lt;/P&gt;&lt;P&gt;again with BDC.  The BDC code just called the transaction and backed out, which cleared the message.  &lt;/P&gt;&lt;P&gt;Even though you are using a function module,  this could still work for you.  Do a short BDC over a transaction(maybe one which is related) which calls the transaction and backs out immediately.  I know this doesn't sound like a great solution, but its been working for us the past 4 years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jan 2005 13:56:35 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-01-27T13:56:35Z</dc:date>
    <item>
      <title>Radio Frequency - Error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860695#M47946</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 a problem with the error handling in a radio frequency program, because here is  not allowed to &lt;/P&gt;&lt;P&gt;show the error messages as a popup or in the status line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I make a function call of 'L_TO_CREATE_TR'. The raised errors i get back in the exceptions are not a problem to handle. But in this function call, they put normal&lt;/P&gt;&lt;P&gt;success or error messages in,&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;Programm: SAPLL03A&lt;/P&gt;&lt;P&gt;Include: LL03AF8C&lt;/P&gt;&lt;P&gt;Line : 65 - 76&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These messages I can t catch.&lt;/P&gt;&lt;P&gt;Is there any way to cut off the output of the messages??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate a feedback very much!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jasmin Söllner&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2005 12:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860695#M47946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-27T12:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Radio Frequency - Error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860696#M47947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We had the same kind of a problem back when we wrote our custom RF transactions.  In the transaction, we are doing a BDC over CO11(Production Order Confirmation).  The CO11 sends a success message when completed which could not be handled by nicely by the RF device.  So what we ended up doing was just "calling the transaction"&lt;/P&gt;&lt;P&gt;again with BDC.  The BDC code just called the transaction and backed out, which cleared the message.  &lt;/P&gt;&lt;P&gt;Even though you are using a function module,  this could still work for you.  Do a short BDC over a transaction(maybe one which is related) which calls the transaction and backs out immediately.  I know this doesn't sound like a great solution, but its been working for us the past 4 years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2005 13:56:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860696#M47947</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-01-27T13:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Radio Frequency - Error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860697#M47948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a sample program to explain what I mean.  Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0006 .


data: bdcdata like bdcdata occurs 20 with header line.


parameters: p_check type c.


start-of-selection.


* Throw the message
  message s208(00) with 'Here is a message'.

* Now call another transaction via BDC.
  clear bdcdata.
  bdcdata-program  = 'SAPMSSY0'.
  bdcdata-dynpro   = '0120'.
  bdcdata-dynbegin = 'X'.
  append bdcdata.

  clear bdcdata.
  bdcdata-fnam = 'BDC_CURSOR'.
  bdcdata-fval = '04/03'.
  append bdcdata.

  clear bdcdata.
  bdcdata-fnam = 'BDC_OKCODE'.
  bdcdata-fval = '=&amp;amp;F03'.
  append bdcdata.

  call transaction 'SM50' using bdcdata mode 'N' update 'S'.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2005 14:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860697#M47948</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-01-27T14:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Radio Frequency - Error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860698#M47949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What kind of programing tool you are using with your RF?&lt;/P&gt;&lt;P&gt;We use the Psion-Teklogix's TekConsole which is using VB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2005 18:50:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860698#M47949</guid>
      <dc:creator>EddyGuo</dc:creator>
      <dc:date>2005-01-27T18:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Radio Frequency - Error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860699#M47950</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;&lt;/P&gt;&lt;P&gt;I am programming an interface for an RF-scanner with a 32x18 screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In one of my RF-programs I use function module L_TO_CREATE_TR. Unfortunately sometimes L_TO_CREATE_TR exits with an error-message instead of a neat exception error. &lt;/P&gt;&lt;P&gt;The error-message is not shown in the scanner-screen.&lt;/P&gt;&lt;P&gt;Anybody knows a way to avoid the error-message or how to make it appear in the scannerscreen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(One option is to check the given parameters if they will result in an error in L_TO_CREATE_TR, but I can't predict all errors).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2005 14:45:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860699#M47950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-09T14:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Radio Frequency - Error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860700#M47951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  We are using the function module in one of our RF developments and here is how it is called:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'L_TO_CREATE_TR'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_lgnum                              = p_lgnum&lt;/P&gt;&lt;P&gt;      i_tbnum                              = p_tbnum&lt;/P&gt;&lt;P&gt;      i_squit                              = p_l_squit&lt;/P&gt;&lt;P&gt;      i_tbeli                              = p_l_squit&lt;/P&gt;&lt;P&gt;      i_commit_work                        = c_x&lt;/P&gt;&lt;P&gt;      i_bname                              = sy-uname&lt;/P&gt;&lt;P&gt;      it_trite                             = it_trite&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;      e_tanum                              = p_v_tanum&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     foreign_lock                         = 1&lt;/P&gt;&lt;P&gt;     qm_relevant                          = 2&lt;/P&gt;&lt;P&gt;     tr_completed                         = 3&lt;/P&gt;&lt;P&gt;     xfeld_wrong                          = 4&lt;/P&gt;&lt;P&gt;     ldest_wrong                          = 5&lt;/P&gt;&lt;P&gt;     drukz_wrong                          = 6&lt;/P&gt;&lt;P&gt;     tr_wrong                             = 7&lt;/P&gt;&lt;P&gt;     squit_forbidden                      = 8&lt;/P&gt;&lt;P&gt;     no_to_created                        = 9&lt;/P&gt;&lt;P&gt;     update_without_commit                = 10&lt;/P&gt;&lt;P&gt;     no_authority                         = 11&lt;/P&gt;&lt;P&gt;     preallocated_stock                   = 12&lt;/P&gt;&lt;P&gt;     partial_transfer_req_forbidden       = 13&lt;/P&gt;&lt;P&gt;     input_error                          = 14&lt;/P&gt;&lt;P&gt;     OTHERS                               = 15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have not faced any issues with the development yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aveek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2005 16:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860700#M47951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-22T16:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Radio Frequency - Error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860701#M47952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i just wanted to say thank you for the replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved this problem with adding the no_exceptions &lt;/P&gt;&lt;P&gt;at the exceptions import at a call function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Jasmin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2005 00:05:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860701#M47952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-03T00:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Radio Frequency - Error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860702#M47953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Exceptions list - replace all the exceptions with:&lt;/P&gt;&lt;P&gt;   ERROR_MESSAGE = 99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will ensure that you will always get an error message - instead of the halt of program that happens inside of normal SAP operation.  Then you can interrogate the SY-MSGNO, SY-MSGTY, SY-MSGID parameters and figure out with your code what error happend and what the code level resolution should be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A little late, but hey there is the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex Flynn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 22:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860702#M47953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T22:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Radio Frequency - Error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860703#M47954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This tekconsole is a server or is a graphic interface like in the SAP GUI, only that this is for de mobile device?&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;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2007 15:45:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860703#M47954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-02T15:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Radio Frequency - Error handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860704#M47955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 21:56:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-frequency-error-handling/m-p/860704#M47955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-08T21:56:13Z</dc:date>
    </item>
  </channel>
</rss>

