<?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: BDC ERROR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2961360#M698622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello rajaram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see that u have mapped ur itab values with the recording values in perform statements. and see u have closed ur flat file before running and try to debig the code u can find where exactly the error is coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Oct 2007 10:05:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-22T10:05:46Z</dc:date>
    <item>
      <title>BDC ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2961356#M698618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           I am new to BDC, this is my BDC program, it goes for dump and saying the error. Please suggest me on the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ShrtText                                         &lt;/P&gt;&lt;P&gt;    Exception condition "UNKNOWN_ERROR" raised.  &lt;/P&gt;&lt;P&gt;                                                           &lt;/P&gt;&lt;P&gt;What happened?                                             &lt;/P&gt;&lt;P&gt;    The current ABAP/4 program encountered an unexpected   &lt;/P&gt;&lt;P&gt;    situation.                          &lt;/P&gt;&lt;P&gt;                   &lt;/P&gt;&lt;P&gt;Information on where terminated                                                      &lt;/P&gt;&lt;P&gt;    The termination occurred in the ABAP program "SAPLGRAP" in "UPLOAD".             &lt;/P&gt;&lt;P&gt;    The main program was "ZPAV ".                                                                                &lt;/P&gt;&lt;P&gt;The termination occurred in line 360 of the source code of the (Include)         &lt;/P&gt;&lt;P&gt;     program "LGRAPU36"                                                              &lt;/P&gt;&lt;P&gt;    of the source code of program "LGRAPU36" (when calling the editor 3600).         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report ZPAV&lt;/P&gt;&lt;P&gt;       no standard page heading line-size 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include bdcrecx1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;      empno like zemp10-empno,&lt;/P&gt;&lt;P&gt;      empname like zemp10-empname,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     CODEPAGE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      FILENAME                      = 'D:\TEST.TXT'&lt;/P&gt;&lt;P&gt;      FILETYPE                      = 'DAT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     ITEM                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     FILEMASK_MASK                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     FILEMASK_TEXT                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     FILETYPE_NO_CHANGE            = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     FILEMASK_ALL                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     FILETYPE_NO_SHOW              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     LINE_EXIT                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     USER_FORM                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     USER_PROG                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     SILENT                        = 'S'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     FILESIZE                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     CANCEL                        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     ACT_FILENAME                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     ACT_FILETYPE                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;       DATA_TAB                      = itab&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     CONVERSION_ERROR              = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     INVALID_TABLE_WIDTH           = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     INVALID_TYPE                  = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     NO_BATCH                      = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     UNKNOWN_ERROR                 = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     GUI_REFUSE_FILETRANSFER       = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     OTHERS                        = 7&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;             .&lt;/P&gt;&lt;P&gt;   IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform open_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMSRD0' '0102'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RSRD1-TBMA_VAL'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=SHOW'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSRD1-TBMA'&lt;/P&gt;&lt;P&gt;                              'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSRD1-TBMA_VAL'&lt;/P&gt;&lt;P&gt;                              'ZEMP10'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLSD41' '2200'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=TDSH'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'DD03P-FIELDNAME(01)'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using '/1BCDWB/DBZEMP10' '1000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'I1-LOW'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ONLI'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'LIST_BRE'&lt;/P&gt;&lt;P&gt;                              ' 250'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAX_SEL'&lt;/P&gt;&lt;P&gt;                              '       200'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMSSY0' '0120'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              '02/62'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ANL2'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using '/1BCDWB/DBZEMP10' '0101'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'ZEMP10-EMPNAME'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '/00'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ZEMP10-EMPNO'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '105'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                               itab-empno.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ZEMP10-EMPNAME'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'KANN'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                               itab-empname.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using '/1BCDWB/DBZEMP10' '0101'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'ZEMP10-EMPNO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=SAVE'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ZEMP10-EMPNO'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '105'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                                itab-empno.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'ZEMP10-EMPNAME'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'KANN'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                                itab-empname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using '/1BCDWB/DBZEMP10' '0101'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '/EBACK'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'ZEMP10-EMPNO'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMSSY0' '0120'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '/EBACK'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              '02/62'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using '/1BCDWB/DBZEMP10' '1000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '/EE'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'I1-LOW'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLSD41' '2200'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=WB_BACK'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'DD03P-FIELDNAME(01)'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMSRD0' '0102'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RSRD1-TBMA_VAL'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=BACK'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSRD1-TBMA'&lt;/P&gt;&lt;P&gt;                              'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSRD1-TBMA_VAL'&lt;/P&gt;&lt;P&gt;                              'ZEMP10'.&lt;/P&gt;&lt;P&gt;perform bdc_transaction using 'SE11'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;perform close_group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 09:41:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2961356#M698618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T09:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: BDC ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2961357#M698619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the problem is not the bdc part, but the UPLOAD part. Check your input file, and do not comment out the function modules EXCEPTIONS like you did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe the SY-MSGTY, MSGID, MSGNO, MSGV1, MSGV2, MSGV3, MSGV2 and &lt;/P&gt;&lt;P&gt;function module MESSAGE_TEXT_BUILD can help to identify the error.&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;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 09:53:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2961357#M698619</guid>
      <dc:creator>h_senden2</dc:creator>
      <dc:date>2007-10-22T09:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: BDC ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2961358#M698620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have input file in the specified location as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;301	Pavan &lt;/P&gt;&lt;P&gt;302	Sunit&lt;/P&gt;&lt;P&gt;303	VInay&lt;/P&gt;&lt;P&gt;304	Raja&lt;/P&gt;&lt;P&gt;305	sudhe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then what could be the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 10:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2961358#M698620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T10:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: BDC ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2961359#M698621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried out the upload FM it worked fine. please check ur uploading file and the internal table structure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 10:02:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2961359#M698621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T10:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: BDC ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2961360#M698622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello rajaram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see that u have mapped ur itab values with the recording values in perform statements. and see u have closed ur flat file before running and try to debig the code u can find where exactly the error is coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 10:05:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-error/m-p/2961360#M698622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T10:05:46Z</dc:date>
    </item>
  </channel>
</rss>

