<?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: Error while sending FAX using FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-sending-fax-using-fm/m-p/1454500#M214888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Country code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2007 05:23:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-05T05:23:04Z</dc:date>
    <item>
      <title>Error while sending FAX using FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-sending-fax-using-fm/m-p/1454496#M214884</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 am trying to send fax using FM &amp;#147;SO_NEW_DOCUMENT_SEND_API1&amp;#148;. Fax number of format AANNNNNNNN(A-area code and N-Fax number) and passing country LAND field in receiver table &amp;#145;AU&amp;#148;. When program ran I can see the entry in SCOT under fax for waiting status, but when I send returns with error saying Country code not specified or incorrect fax number. Am I doing any thing wrong here? Thanks in advance and any suggestion much appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2006 08:50:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-sending-fax-using-fm/m-p/1454496#M214884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-24T08:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error while sending FAX using FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-sending-fax-using-fm/m-p/1454497#M214885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check whether it is working from SAP workplace with the same number? &lt;/P&gt;&lt;P&gt;If so then you need check the program. Would be helpfull if you paste the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2006 09:25:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-sending-fax-using-fm/m-p/1454497#M214885</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-06-24T09:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error while sending FAX using FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-sending-fax-using-fm/m-p/1454498#M214886</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;Use the following logic to check whether the Fax number is correct. If sy-subrc is 0, then call the FM for fax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM check_number USING country&lt;/P&gt;&lt;P&gt;                        number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: service LIKE tskpa-service VALUE 'TELEFAX',&lt;/P&gt;&lt;P&gt;        len LIKE sy-fdpos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS &amp;lt;p&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;windows GUI push the ? from mandatory input instead of overwriting it&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  len = STRLEN( to_nmber ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF len &amp;gt; 1.&lt;/P&gt;&lt;P&gt;    SUBTRACT 1 FROM len.&lt;/P&gt;&lt;P&gt;    ASSIGN to_nmber+len(1) TO &amp;lt;p&amp;gt;.&lt;/P&gt;&lt;P&gt;    IF &amp;lt;p&amp;gt; = '?'.&lt;/P&gt;&lt;P&gt;      &amp;lt;p&amp;gt; = space.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;official check FM&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'TELECOMMUNICATION_NUMBER_CHECK'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      country = country&lt;/P&gt;&lt;P&gt;      number  = number&lt;/P&gt;&lt;P&gt;      service = service.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM. " CHECK_NUMBER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2006 10:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-sending-fax-using-fm/m-p/1454498#M214886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-24T10:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error while sending FAX using FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-sending-fax-using-fm/m-p/1454499#M214887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manohar/Prashant,&lt;/P&gt;&lt;P&gt;Thanks for your update. Well here is the code which i use in my interface. I haven&amp;#146;t using FM 'TELECOMMUNICATION_NUMBER_CHECK'before let me check before i post. But in mean time if you guy's see any thing in my code NOTOKAY please let me know. Thanks again for your help and let you know if it works. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CODE BELOW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill the receiver list&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear gs_reclist.&lt;/P&gt;&lt;P&gt;  gs_reclist-receiver = p_fax_number. (format 0212345678)&lt;/P&gt;&lt;P&gt;  gs_reclist-rec_type = co_f.         (F) &lt;/P&gt;&lt;P&gt;  gs_reclist-country  = co_au.        (AU)&lt;/P&gt;&lt;P&gt;  append gs_reclist to gt_reclist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Send the document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'SO_NEW_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      document_type              = 'RAW'&lt;/P&gt;&lt;P&gt;      document_data              = gv_doc_chng&lt;/P&gt;&lt;P&gt;      put_in_outbox              = co_x&lt;/P&gt;&lt;P&gt;      commit_work                = co_x&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      object_content             = gt_objcont&lt;/P&gt;&lt;P&gt;      receivers                  = gt_reclist&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      too_many_receivers         = 1&lt;/P&gt;&lt;P&gt;      document_not_sent          = 2&lt;/P&gt;&lt;P&gt;      operation_no_authorization = 4&lt;/P&gt;&lt;P&gt;      others                     = 99.&lt;/P&gt;&lt;P&gt;  if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;    move: co_y to c_fax.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    move co_n    to c_fax.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2006 23:34:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-sending-fax-using-fm/m-p/1454499#M214887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-25T23:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error while sending FAX using FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-sending-fax-using-fm/m-p/1454500#M214888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Country code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 05:23:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-sending-fax-using-fm/m-p/1454500#M214888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T05:23:04Z</dc:date>
    </item>
  </channel>
</rss>

