<?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: Unknown Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unknown-error/m-p/4326896#M1030964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rainer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im not clear in this, could u pls help me more elaborately?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;sankar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sankar babu on Aug 29, 2008 8:44 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Aug 2008 06:04:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-29T06:04:26Z</dc:date>
    <item>
      <title>Unknown Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unknown-error/m-p/4326894#M1030962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exception condition 'Unkonwon_Error' raised wile uploading BRS thru BDC program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls find below the detail runtime error documentation and my BDC std coding declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**************Runtime Error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Analysis:&lt;/P&gt;&lt;P&gt; A RAISE statement in the program "SAPLGRAP" raised the exception condition "UNKNOWN_ERROR".&lt;/P&gt;&lt;P&gt;   Since the exception was not intercepted by a superior&lt;/P&gt;&lt;P&gt;   program, processing was terminated.&lt;/P&gt;&lt;P&gt;   Short description of exception condition:&lt;/P&gt;&lt;P&gt;    For detailed documentation of the exception condition, use&lt;/P&gt;&lt;P&gt;    Transaction SE37 (Function Library). You can take the called&lt;/P&gt;&lt;P&gt;    function module from the display of active calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trigger Location of Runtime Error&lt;/P&gt;&lt;P&gt; Program                                 SAPLGRAP&lt;/P&gt;&lt;P&gt; Include                                 LGRAPF02&lt;/P&gt;&lt;P&gt; Row                                     264&lt;/P&gt;&lt;P&gt; Module type                             (FORM)&lt;/P&gt;&lt;P&gt; Module Name                             DOWNLOADWRAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;251|  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;252|    CASE sy-subrc. &lt;/P&gt;&lt;P&gt;253|      WHEN 1. &lt;/P&gt;&lt;P&gt;254|        RAISE FILE_WRITE_ERROR.&lt;/P&gt;&lt;P&gt;255|      WHEN 2. &lt;/P&gt;&lt;P&gt;256|        RAISE NO_BATCH.&lt;/P&gt;&lt;P&gt;257|      WHEN 3. &lt;/P&gt;&lt;P&gt;258|        RAISE GUI_REFUSE_FILETRANSFER.&lt;/P&gt;&lt;P&gt;259|      WHEN 4.&lt;/P&gt;&lt;P&gt;260|        RAISE INVALID_TYPE. &lt;/P&gt;&lt;P&gt;261|      WHEN 5.&lt;/P&gt;&lt;P&gt; 262|        RAISE NO_AUTHORITY.&lt;/P&gt;&lt;P&gt;263|      WHEN OTHERS. &lt;/P&gt;&lt;P&gt;|&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;|        RAISE UNKNOWN_ERROR.&lt;/P&gt;&lt;P&gt;|  265|    ENDCASE.&lt;/P&gt;&lt;P&gt;|  266|  ENDIF.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;267&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;|  268|  P_FILELENGTH = P_FILELENGTH + FileLength. &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************BDC declaration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BDC_TRANSACTION USING TCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: L_MSTRING(480).&lt;/P&gt;&lt;P&gt;  DATA: L_SUBRC LIKE SY-SUBRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    REFRESH MESSTAB.&lt;/P&gt;&lt;P&gt;    CALL TRANSACTION TCODE USING BDCDATA&lt;/P&gt;&lt;P&gt;                     MODE   'A'&lt;/P&gt;&lt;P&gt;                     UPDATE 'A'&lt;/P&gt;&lt;P&gt;                     MESSAGES INTO MESSTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    L_SUBRC = SY-SUBRC.&lt;/P&gt;&lt;P&gt;      LOOP AT MESSTAB.&lt;/P&gt;&lt;P&gt;        SELECT SINGLE * FROM T100 WHERE SPRSL = 'EN'&lt;/P&gt;&lt;P&gt;                                  AND   ARBGB = MESSTAB-MSGID&lt;/P&gt;&lt;P&gt;                                  AND   MSGNR = MESSTAB-MSGNR.&lt;/P&gt;&lt;P&gt;        IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;          L_MSTRING = T100-TEXT.&lt;/P&gt;&lt;P&gt;          IF L_MSTRING CS '&amp;amp;1'.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;1' WITH MESSTAB-MSGV1 INTO L_MSTRING.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;2' WITH MESSTAB-MSGV2 INTO L_MSTRING.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;3' WITH MESSTAB-MSGV3 INTO L_MSTRING.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;4' WITH MESSTAB-MSGV4 INTO L_MSTRING.&lt;/P&gt;&lt;P&gt;          ELSE.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;' WITH MESSTAB-MSGV1 INTO L_MSTRING.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;' WITH MESSTAB-MSGV2 INTO L_MSTRING.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;' WITH MESSTAB-MSGV3 INTO L_MSTRING.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;' WITH MESSTAB-MSGV4 INTO L_MSTRING.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;          CONDENSE L_MSTRING.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         WRITE: / MESSTAB-MSGTYP, L_MSTRING(250).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;           MOVE MESSTAB-MSGTYP TO EIT-MSGTYP.&lt;/P&gt;&lt;P&gt;           MOVE L_MSTRING(250) TO EIT-EL_MSTRING(250).&lt;/P&gt;&lt;P&gt;           APPEND EIT.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         WRITE: / MESSTAB.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;           MOVE-CORRESPONDING MESSTAB TO EIT.&lt;/P&gt;&lt;P&gt;           APPEND EIT.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;      SKIP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA OPF like RLGRAP-FILENAME. "(31).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE '''' 'C:\' SY-DATUM '_' SY-UZEIT '_' 'BDCLOG.TXT' '''' INTO&lt;/P&gt;&lt;P&gt;OPF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'WS_DOWNLOAD'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   FILENAME                      = OPF&lt;/P&gt;&lt;P&gt;   FILETYPE                      = 'DAT'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                      = EIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH BDCDATA.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**************Soubroutine&lt;/P&gt;&lt;P&gt;FORM BDC_DYNPRO USING PROGRAM DYNPRO.&lt;/P&gt;&lt;P&gt;  CLEAR BDCDATA.&lt;/P&gt;&lt;P&gt;  BDCDATA-PROGRAM  = PROGRAM.&lt;/P&gt;&lt;P&gt;  BDCDATA-DYNPRO   = DYNPRO.&lt;/P&gt;&lt;P&gt;  BDCDATA-DYNBEGIN = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND BDCDATA.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BDC_FIELD USING FNAM FVAL.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IF FVAL &amp;lt;&amp;gt; NODATA.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CLEAR BDCDATA.&lt;/P&gt;&lt;P&gt;    BDCDATA-FNAM = FNAM.&lt;/P&gt;&lt;P&gt;    BDCDATA-FVAL = FVAL.&lt;/P&gt;&lt;P&gt;    APPEND BDCDATA.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls advise, how to relsove this and where the rumtime error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 05:32:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unknown-error/m-p/4326894#M1030962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T05:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unknown-error/m-p/4326895#M1030963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whatever you are calling before line 251 is giving a return code other than zero.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 05:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unknown-error/m-p/4326895#M1030963</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-08-29T05:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unknown-error/m-p/4326896#M1030964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rainer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im not clear in this, could u pls help me more elaborately?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;sankar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sankar babu on Aug 29, 2008 8:44 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 06:04:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unknown-error/m-p/4326896#M1030964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T06:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unknown-error/m-p/4326897#M1030965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sankar babu, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program SAPLGRAP&lt;/P&gt;&lt;P&gt;Include LGRAPF02&lt;/P&gt;&lt;P&gt;Function Module : GUI_DOWNLOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after callin the above FM the Sy-subrc is comming 22...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and that's why u r getting this error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check out in Debugging mode... Why it's giving the value 22...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most probably there might be DATA problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will solve your problem..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 06:48:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unknown-error/m-p/4326897#M1030965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T06:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unknown-error/m-p/4326898#M1030966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sanker,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Exception with the FM 'WS_DOWNLOAD'&lt;/P&gt;&lt;P&gt;I am sure your dump will be resolved..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean call FM through Pattern button it will write Exceptions also with import and export...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So uncomment all the exceptions..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Meet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 07:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unknown-error/m-p/4326898#M1030966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T07:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unknown-error/m-p/4326899#M1030967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mistake in FM and changed as reqd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;sankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 05:52:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unknown-error/m-p/4326899#M1030967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-06T05:52:20Z</dc:date>
    </item>
  </channel>
</rss>

