<?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 program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134601#M112671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;probqably , u r mapping statically, i mean u may be hard coding ur mapping with the values of recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use variables,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;      perform bdc_dynpro      using 'SAPMM06E' '0120'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                    v_bstpo.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                   '=DETA'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'RM06E-EBELP'&lt;/P&gt;&lt;P&gt;                                     v_ebelpt.&lt;/P&gt;&lt;P&gt;      perform bdc_dynpro      using 'SAPMM06E' '0111'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                    'EKPO-BSTAE'.&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_dynpro      using 'SAPMM06E' '0120'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                    v_bstpo.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                    '=BSTA'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'RM06E-EBELP'&lt;/P&gt;&lt;P&gt;                                    v_ebelpt.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using v_tcselflag&lt;/P&gt;&lt;P&gt;                                     'X'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2006 08:02:13 GMT</pubDate>
    <dc:creator>hymavathi_oruganti</dc:creator>
    <dc:date>2006-02-24T08:02:13Z</dc:date>
    <item>
      <title>bdc program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134600#M112670</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 a problem with BDC that the records which i enter during recording are displayed in the table &amp;amp; the records which i'm trying to get from the file into the table are not displayed.&lt;/P&gt;&lt;P&gt;Can anyone pls guide me how to proceed ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Sipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 07:58:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134600#M112670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T07:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: bdc program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134601#M112671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;probqably , u r mapping statically, i mean u may be hard coding ur mapping with the values of recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use variables,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;      perform bdc_dynpro      using 'SAPMM06E' '0120'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                    v_bstpo.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                   '=DETA'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'RM06E-EBELP'&lt;/P&gt;&lt;P&gt;                                     v_ebelpt.&lt;/P&gt;&lt;P&gt;      perform bdc_dynpro      using 'SAPMM06E' '0111'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                    'EKPO-BSTAE'.&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_dynpro      using 'SAPMM06E' '0120'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                    v_bstpo.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                    '=BSTA'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'RM06E-EBELP'&lt;/P&gt;&lt;P&gt;                                    v_ebelpt.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using v_tcselflag&lt;/P&gt;&lt;P&gt;                                     'X'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 08:02:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134601#M112671</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-02-24T08:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: bdc program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134602#M112672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sipra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check you UPLOAD function.&lt;/P&gt;&lt;P&gt;try debugging whether the internal table is populating or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for further help you can post your code(only the upoad function)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 08:03:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134602#M112672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T08:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: bdc program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134603#M112673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sipra,&lt;/P&gt;&lt;P&gt;         In case if you are fetching the data in to Internal table from a flat file hope there exists a prob in usage of CALL FUNCTION GUI_UPLOAD if you are trying to fetch the data from the application server then check whether the path is correct and there exists data in that.&lt;/P&gt;&lt;P&gt;also check whether you are popuating the dada to the internal table in this fashion ..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_FFCUST.&lt;/P&gt;&lt;P&gt;    PERFORM POPULATEBDC USING :&lt;/P&gt;&lt;P&gt;                                'X' 'SAPMF02D' '0105',&lt;/P&gt;&lt;P&gt;                                ' ' 'BDC_OKCODE'  '/00' ,&lt;/P&gt;&lt;P&gt;                                ' ' 'RF02D-KUNNR' IT_FFCUST-KUNNR,&lt;/P&gt;&lt;P&gt;                                ' ' 'RF02D-BUKRS' IT_FFCUST-BUKRS,&lt;/P&gt;&lt;P&gt;                                ' ' 'RF02D-KTOKD' IT_FFCUST-KTOKD,&lt;/P&gt;&lt;P&gt;                                'X' 'SAPMF02D' '0110' ,&lt;/P&gt;&lt;P&gt;                                ' ' 'BDC_OKCODE'  '/00',&lt;/P&gt;&lt;P&gt;                                ' ' 'KNA1-ANRED'  IT_FFCUST-ANRED,&lt;/P&gt;&lt;P&gt;                                ' ' 'KNA1-NAME1' IT_FFCUST-NAME1,&lt;/P&gt;&lt;P&gt;                                ' ' 'KNA1-SORTL'  IT_FFCUST-SORTL,&lt;/P&gt;&lt;P&gt;                                ' ' 'KNA1-STRAS' IT_FFCUST-STRAS,&lt;/P&gt;&lt;P&gt;                                ' ' 'KNA1-ORT01' IT_FFCUST-ORT01,&lt;/P&gt;&lt;P&gt;                                ' ' 'KNA1-PSTLZ' IT_FFCUST-PSTLZ,&lt;/P&gt;&lt;P&gt;                                ' ' 'KNA1-LAND1' IT_FFCUST-LAND1,&lt;/P&gt;&lt;P&gt;                                ' ' 'KNA1-SPRAS' IT_FFCUST-SPRAS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                'X' 'SAPMFO2D' '0120',	&lt;/P&gt;&lt;P&gt;                                ' ' 'BDC_OKCODE'  '/00',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                'X' 'SAPMF02D' '0125',	&lt;/P&gt;&lt;P&gt;                                ' ' 'BDC_OKCODE'  '/00',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                'X' 'SAPMF02D' '0130',	&lt;/P&gt;&lt;P&gt;                                ' ' 'BDC_OKCODE'  '=ENTR',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                'X' 'SAPMF02D' '0340',	&lt;/P&gt;&lt;P&gt;                                ' ' 'BDC_OKCODE'  '=ENTR',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                'X' 'SAPMF02D' '0360',&lt;/P&gt;&lt;P&gt;                                ' ' 'BDC_OKCODE'  '=ENTR',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                'X' 'SAPMF02D' '0210',	&lt;/P&gt;&lt;P&gt;                                ' ' 'KNB1-AKONT'  IT_FFCUST-AKONT,&lt;/P&gt;&lt;P&gt;                                ' ' 'BDC_OKCODE'  '/00',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                'X' 'SAPMF02D' '0215',&lt;/P&gt;&lt;P&gt;                                ' ' 'BDC_OKCODE'  '/00',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                'X' 'SAPMF02D' '0220',	&lt;/P&gt;&lt;P&gt;                                ' ' 'BDC_OKCODE'  '/00',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                'X' 'SAPMF02D' '0230',	&lt;/P&gt;&lt;P&gt;                                ' ' 'BDC_OKCODE'  '=UPDA'.&lt;/P&gt;&lt;P&gt;ENDLOOP&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 08:05:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134603#M112673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T08:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: bdc program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134604#M112674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for your response.&lt;/P&gt;&lt;P&gt;well i'm sending my code as i'm not able to make out where the problem lies.&lt;/P&gt;&lt;P&gt;&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 ZS_BDCPROGRAM&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;parameters: dataset(132) lower case default&lt;/P&gt;&lt;P&gt;                              'zs_file'.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;   DO NOT CHANGE - the generated data section - DO NOT CHANGE    ***&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  If it is nessesary to change the data section use the rules:&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  1.) Each definition of a field exists of two lines&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  2.) The first line shows exactly the comment&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      '* data element: ' followed with the data element&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      which describes the field.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      If you don't have a data element use the&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      comment without a data element name&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  3.) The second line shows the fieldname of the&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      structure, the fieldname must consist of&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      a fieldname and optional the character '_' and&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      three numbers and the field length in brackets&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  4.) Each field must be type C.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Generated data section with specific formatting - DO NOT CHANGE  ***&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;types: begin of x_ff,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        INPUT1_001(010),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        INPUT2_002(001),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        INPUT1_003(010),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        INPUT2_004(001),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        INPUT1_005(010),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data element:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        INPUT1_006(010),&lt;/P&gt;&lt;P&gt;      end of x_ff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;End generated data section ***&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DECLARATIONS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Flat file&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: i_ff TYPE x_ff OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;BDC Data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: i_bdc LIKE BDCDATA OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get Flat file Data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PERFORM GET_DATA.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create BDC Data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PERFORM GENERATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM GET_DATA .&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                      = 'C:\zs_file.txt'&lt;/P&gt;&lt;P&gt;   FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;   HAS_FIELD_SEPARATOR           = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER_LENGTH                 = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  READ_BY_LINE                  = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DAT_MODE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CODEPAGE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IGNORE_CERR                   = ABAP_TRUE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  REPLACEMENT                   = '#'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CHECK_BOM                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VIRUS_SCAN_PROFILE            =&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;  FILELENGTH                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER                        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                      = i_bdc&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   FILE_OPEN_ERROR               = 1&lt;/P&gt;&lt;P&gt;   FILE_READ_ERROR               = 2&lt;/P&gt;&lt;P&gt;   NO_BATCH                      = 3&lt;/P&gt;&lt;P&gt;   GUI_REFUSE_FILETRANSFER       = 4&lt;/P&gt;&lt;P&gt;   INVALID_TYPE                  = 5&lt;/P&gt;&lt;P&gt;   NO_AUTHORITY                  = 6&lt;/P&gt;&lt;P&gt;   UNKNOWN_ERROR                 = 7&lt;/P&gt;&lt;P&gt;   BAD_DATA_FORMAT               = 8&lt;/P&gt;&lt;P&gt;   HEADER_NOT_ALLOWED            = 9&lt;/P&gt;&lt;P&gt;   SEPARATOR_NOT_ALLOWED         = 10&lt;/P&gt;&lt;P&gt;   HEADER_TOO_LONG               = 11&lt;/P&gt;&lt;P&gt;   UNKNOWN_DP_ERROR              = 12&lt;/P&gt;&lt;P&gt;   ACCESS_DENIED                 = 13&lt;/P&gt;&lt;P&gt;   DP_OUT_OF_MEMORY              = 14&lt;/P&gt;&lt;P&gt;   DISK_FULL                     = 15&lt;/P&gt;&lt;P&gt;   DP_TIMEOUT                    = 16&lt;/P&gt;&lt;P&gt;   OTHERS                        = 17&lt;/P&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;write:'sorry'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM GENERATE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: LV_DATE LIKE SY-DATUM.&lt;/P&gt;&lt;P&gt;LV_DATE = SY-DATUM - 1.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_OPEN_GROUP'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   CLIENT                    = SY-MANDT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DEST                      = FILLER8&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   GROUP                     = 'zs_recording'&lt;/P&gt;&lt;P&gt;   HOLDDATE                  = LV_DATE&lt;/P&gt;&lt;P&gt;   KEEP                      = 'X'&lt;/P&gt;&lt;P&gt;   USER                      = sy-uname&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RECORD                    = FILLER1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PROG                      = SY-CPROG&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DCPFM                     = '%'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DATFM                     = '%'&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;  QID                       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   CLIENT_INVALID            = 1&lt;/P&gt;&lt;P&gt;   DESTINATION_INVALID       = 2&lt;/P&gt;&lt;P&gt;   GROUP_INVALID             = 3&lt;/P&gt;&lt;P&gt;   GROUP_IS_LOCKED           = 4&lt;/P&gt;&lt;P&gt;   HOLDDATE_INVALID          = 5&lt;/P&gt;&lt;P&gt;   INTERNAL_ERROR            = 6&lt;/P&gt;&lt;P&gt;   QUEUE_ERROR               = 7&lt;/P&gt;&lt;P&gt;   RUNNING                   = 8&lt;/P&gt;&lt;P&gt;   SYSTEM_LOCK_ERROR         = 9&lt;/P&gt;&lt;P&gt;   USER_INVALID              = 10&lt;/P&gt;&lt;P&gt;   OTHERS                    = 11&lt;/P&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;write:'excuse us'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_ff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform populate using:'X' 'ZSIPPROGRAM' '0100',&lt;/P&gt;&lt;P&gt;' ' 'BDC_OKCODE' '/ESAVE',&lt;/P&gt;&lt;P&gt;' ' 'BDC_CURSOR' 'INPUT2',&lt;/P&gt;&lt;P&gt;' ' 'INPUT1' i_ff-INPUT1_001,&lt;/P&gt;&lt;P&gt;' ' 'INPUT2' i_ff-INPUT2_002,&lt;/P&gt;&lt;P&gt;'X' 'ZSIPPROGRAM' '0100',&lt;/P&gt;&lt;P&gt;' ' 'BDC_OKCODE' '/ERESET',&lt;/P&gt;&lt;P&gt;' ' 'BDC_CURSOR' 'INPUT1',&lt;/P&gt;&lt;P&gt;' ' 'INPUT1' i_ff-INPUT1_003,&lt;/P&gt;&lt;P&gt;' ' 'INPUT2' i_ff-INPUT2_004,&lt;/P&gt;&lt;P&gt;'X' 'ZSIPPROGRAM' '0100',&lt;/P&gt;&lt;P&gt;' ' 'BDC_OKCODE' '/ESAVE',&lt;/P&gt;&lt;P&gt;' ' 'BDC_CURSOR' 'INPUT1',&lt;/P&gt;&lt;P&gt;'X' 'ZSIPPROGRAM' '0100',&lt;/P&gt;&lt;P&gt;' ' 'BDC_OKCODE' '/ESAVE',&lt;/P&gt;&lt;P&gt;' ' 'BDC_CURSOR' 'INPUT1',&lt;/P&gt;&lt;P&gt;' ' 'INPUT1' i_ff-INPUT1_005,&lt;/P&gt;&lt;P&gt;'X' 'ZSIPPROGRAM' '0100',&lt;/P&gt;&lt;P&gt;' ' 'BDC_CURSOR' 'INPUT1',&lt;/P&gt;&lt;P&gt;' ' 'BDC_OKCODE' '=EXIT',&lt;/P&gt;&lt;P&gt;' ' 'INPUT1' i_ff-INPUT1_006.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   TCODE                  = 'zsipprogram'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POST_LOCAL             = NOVBLOCAL&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRINTING               = NOPRINT&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SIMUBATCH              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CTUPARAMS              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DYNPROTAB              = i_bdc&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   INTERNAL_ERROR         = 1&lt;/P&gt;&lt;P&gt;   NOT_OPEN               = 2&lt;/P&gt;&lt;P&gt;   QUEUE_ERROR            = 3&lt;/P&gt;&lt;P&gt;   TCODE_INVALID          = 4&lt;/P&gt;&lt;P&gt;   PRINTING_INVALID       = 5&lt;/P&gt;&lt;P&gt;   POSTING_INVALID        = 6&lt;/P&gt;&lt;P&gt;   OTHERS                 = 7&lt;/P&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;write:'excuse me'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CLEAR: i_bdc[].&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_CLOSE_GROUP'&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;  NOT_OPEN          = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  QUEUE_ERROR       = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS            = 3&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;endif.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; FORM POPULATE USING VALUE(P_A)&lt;/P&gt;&lt;P&gt;VALUE(P_B)&lt;/P&gt;&lt;P&gt;VALUE(P_C).&lt;/P&gt;&lt;P&gt;IF P_A = 'X'.&lt;/P&gt;&lt;P&gt;i_bdc-PROGRAM = P_B.&lt;/P&gt;&lt;P&gt;i_bdc-DYNPRO = P_C.&lt;/P&gt;&lt;P&gt;i_bdc-DYNBEGIN = 'X'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;i_bdc-FNAM = P_B.&lt;/P&gt;&lt;P&gt;i_bdc-FVAL = P_C.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;APPEND i_bdc.&lt;/P&gt;&lt;P&gt;CLEAR i_bdc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " POPULATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 08:09:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134604#M112674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T08:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: bdc program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134605#M112675</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;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FILENAME = 'C:\zs_file.txt'&lt;/P&gt;&lt;P&gt;FILETYPE = 'ASC'&lt;/P&gt;&lt;P&gt;HAS_FIELD_SEPARATOR = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;HEADER_LENGTH = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;READ_BY_LINE = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DAT_MODE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CODEPAGE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IGNORE_CERR = ABAP_TRUE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;REPLACEMENT = '#'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CHECK_BOM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VIRUS_SCAN_PROFILE =&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;FILELENGTH =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;HEADER =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA_TAB = i_ff&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;FILE_OPEN_ERROR = 1&lt;/P&gt;&lt;P&gt;FILE_READ_ERROR = 2&lt;/P&gt;&lt;P&gt;NO_BATCH = 3&lt;/P&gt;&lt;P&gt;GUI_REFUSE_FILETRANSFER = 4&lt;/P&gt;&lt;P&gt;INVALID_TYPE = 5&lt;/P&gt;&lt;P&gt;NO_AUTHORITY = 6&lt;/P&gt;&lt;P&gt;UNKNOWN_ERROR = 7&lt;/P&gt;&lt;P&gt;BAD_DATA_FORMAT = 8&lt;/P&gt;&lt;P&gt;HEADER_NOT_ALLOWED = 9&lt;/P&gt;&lt;P&gt;SEPARATOR_NOT_ALLOWED = 10&lt;/P&gt;&lt;P&gt;HEADER_TOO_LONG = 11&lt;/P&gt;&lt;P&gt;UNKNOWN_DP_ERROR = 12&lt;/P&gt;&lt;P&gt;ACCESS_DENIED = 13&lt;/P&gt;&lt;P&gt;DP_OUT_OF_MEMORY = 14&lt;/P&gt;&lt;P&gt;DISK_FULL = 15&lt;/P&gt;&lt;P&gt;DP_TIMEOUT = 16&lt;/P&gt;&lt;P&gt;OTHERS = 17&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;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 08:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134605#M112675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T08:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: bdc program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134606#M112676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from ur coding, i wonder u r not mapping to any database fields???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ' 'INPUT1' i_ff-INPUT1_003,&lt;/P&gt;&lt;P&gt;' ' 'INPUT2' i_ff-INPUT2_004,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what r these INPUT1 AND INPUT2????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 08:18:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134606#M112676</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-02-24T08:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: bdc program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134607#M112677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harikishore,&lt;/P&gt;&lt;P&gt;this has not resolved the problem.&lt;/P&gt;&lt;P&gt;the same prob persists.please tell me some solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 09:14:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134607#M112677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T09:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: bdc program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134608#M112678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sipra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have changed the tables in the GUI_UPLOAD. it should be &amp;lt;b&amp;gt;i_ff&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;which i mentioned in the previous reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the problem persists have you debugged the code and checked whether the internal table is populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 09:19:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-program/m-p/1134608#M112678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T09:19:06Z</dc:date>
    </item>
  </channel>
</rss>

