<?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 I want the bdc code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-want-the-bdc-code/m-p/2611204#M598986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for the transaction me21n...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How will I do the recording and then get text data from notepad seperated by ; and send data into sap via bdc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jul 2007 11:49:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-25T11:49:28Z</dc:date>
    <item>
      <title>I want the bdc code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-want-the-bdc-code/m-p/2611204#M598986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for the transaction me21n...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How will I do the recording and then get text data from notepad seperated by ; and send data into sap via bdc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 11:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-want-the-bdc-code/m-p/2611204#M598986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T11:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: I want the bdc code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-want-the-bdc-code/m-p/2611205#M598987</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;You can do recording in SM35 and after that code according to the recording in ur program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this program will help you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  Z_71754_BDC1                            .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0 ,&lt;/P&gt;&lt;P&gt;         ebeln type ebeln ,&lt;/P&gt;&lt;P&gt;         erdat type erdat ,&lt;/P&gt;&lt;P&gt;         bprei type bprei ,&lt;/P&gt;&lt;P&gt;         bukrs type bukrs ,&lt;/P&gt;&lt;P&gt;         lifnr type lifnr,&lt;/P&gt;&lt;P&gt;         waers_curc type waers_curc,&lt;/P&gt;&lt;P&gt;       end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : lt_bdcdata type standard table of bdcdata,&lt;/P&gt;&lt;P&gt;       wa_bdcdata type bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : l_path type char50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;data : l_path_tmp type string .&lt;/P&gt;&lt;P&gt;l_path_tmp = l_path.&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                      = l_path_tmp&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;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                      = 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;  FILE_OPEN_ERROR               = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILE_READ_ERROR               = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_BATCH                      = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GUI_REFUSE_FILETRANSFER       = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INVALID_TYPE                  = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_AUTHORITY                  = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UNKNOWN_ERROR                 = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BAD_DATA_FORMAT               = 8&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER_NOT_ALLOWED            = 9&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SEPARATOR_NOT_ALLOWED         = 10&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER_TOO_LONG               = 11&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UNKNOWN_DP_ERROR              = 12&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ACCESS_DENIED                 = 13&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DP_OUT_OF_MEMORY              = 14&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DISK_FULL                     = 15&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DP_TIMEOUT                    = 16&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                        = 17&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;else.&lt;/P&gt;&lt;P&gt;data : l_currency type char5,&lt;/P&gt;&lt;P&gt;       l_date type char10,&lt;/P&gt;&lt;P&gt;       l_netprice type char11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at itab.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Building of bdc structure.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;l_currency = itab-waers_curc.&lt;/P&gt;&lt;P&gt;l_date = itab-erdat.&lt;/P&gt;&lt;P&gt;l_netprice = itab-bprei.&lt;/P&gt;&lt;P&gt;   perform build_bdcdata using : 'SAPMZ71754_PURCHASE' '0101' 'X' ' ' ' ',&lt;/P&gt;&lt;P&gt;                                  ' ' ' ' ' ' 'BDC_OKCODE' '=CREATE',&lt;/P&gt;&lt;P&gt;                                  ' ' ' ' ' ' 'WA_PURCHASE-VEBELN' itab-ebeln,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                 'SAPMZ71754_PURCHASE' '0100' 'X' ' ' ' ',&lt;/P&gt;&lt;P&gt;                                 ' ' ' ' ' ' 'BDC_OKCODE' '=CREATE',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                 ' ' ' ' ' ' 'WA_PORDER-EBELN' itab-ebeln,&lt;/P&gt;&lt;P&gt;                                 ' ' ' ' ' ' 'WA_PORDER-ERDAT' l_date ,&lt;/P&gt;&lt;P&gt;                                 ' ' ' ' ' ' 'WA_PORDER-BPREI' l_netprice,&lt;/P&gt;&lt;P&gt;                                 ' ' ' ' ' ' 'WA_PORDER-BUKRS' itab-bukrs,&lt;/P&gt;&lt;P&gt;                                 ' ' ' ' ' ' 'WA_PORDER-LIFNR' itab-lifnr,&lt;/P&gt;&lt;P&gt;                                 ' ' ' ' ' ' 'WA_PORDER-WAERS_CURC' l_currency,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                 'SAPMZ71754_PURCHASE' '0100' 'X' ' ' ' ',&lt;/P&gt;&lt;P&gt;                                 ' ' ' ' ' ' 'BDC_OKCODE' '/EBACK'.&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;  endloop.&lt;/P&gt;&lt;P&gt;  call transaction 'Z71724_INITIAL'&lt;/P&gt;&lt;P&gt;                        using lt_bdcdata&lt;/P&gt;&lt;P&gt;                        mode 'A'&lt;/P&gt;&lt;P&gt;                        update 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&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;P&gt;*&amp;amp;      Form  build_bdcdata&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;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&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;     --&amp;gt;P_0105   text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_0106   text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_0107   text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_0108   text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_0109   text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form build_bdcdata  using    p1_prog&lt;/P&gt;&lt;P&gt;                             p1_dynnr&lt;/P&gt;&lt;P&gt;                             p1_start&lt;/P&gt;&lt;P&gt;                             p1_fnam&lt;/P&gt;&lt;P&gt;                             p1_fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear wa_bdcdata.&lt;/P&gt;&lt;P&gt;  wa_bdcdata-program =    p1_prog.&lt;/P&gt;&lt;P&gt;  wa_bdcdata-dynpro =     p1_dynnr.&lt;/P&gt;&lt;P&gt;  wa_bdcdata-dynbegin =   p1_start.&lt;/P&gt;&lt;P&gt;  wa_bdcdata-fnam =      p1_fnam.&lt;/P&gt;&lt;P&gt;  wa_bdcdata-fval =      p1_fval.&lt;/P&gt;&lt;P&gt;  append wa_bdcdata to lt_bdcdata.&lt;/P&gt;&lt;P&gt;  clear wa_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " build_bdcdata&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if contents are useful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 11:57:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-want-the-bdc-code/m-p/2611205#M598987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T11:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: I want the bdc code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-want-the-bdc-code/m-p/2611206#M598988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forgive me for potentially being stupid, but you cannot use BDC for enjoy transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use BAPI_PO_CREATE instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Martin Shinks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 12:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-want-the-bdc-code/m-p/2611206#M598988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T12:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: I want the bdc code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-want-the-bdc-code/m-p/2611207#M598989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in fact I just wanted to learn bdc, I will not use this code...&lt;/P&gt;&lt;P&gt;But want to get the idea behind bdc, so it would be any transaction..&lt;/P&gt;&lt;P&gt;ok martins?????&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 12:06:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-want-the-bdc-code/m-p/2611207#M598989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T12:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: I want the bdc code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-want-the-bdc-code/m-p/2611208#M598990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;1.Just go to Transaction SHDB. &lt;/P&gt;&lt;P&gt;2.Give New Recording-&amp;gt; Give transaction name me21n&lt;/P&gt;&lt;P&gt;3. Do one recording properly, without error.&lt;/P&gt;&lt;P&gt;4. Keep in mind All your inputs gets recorded so record it properly.&lt;/P&gt;&lt;P&gt;5. Once one recording done save it.&lt;/P&gt;&lt;P&gt;6. Convert it to your PROGRAM from same transaction SHDB.&lt;/P&gt;&lt;P&gt;7. You can also make use of FM to convert.&lt;/P&gt;&lt;P&gt;8. Then Give Program name and then through SE38 access it.&lt;/P&gt;&lt;P&gt;9. Analyse code. Then use GUI_UPLOAD to upload data from text use ',' seperator as one of the parameter.&lt;/P&gt;&lt;P&gt;10. Collect data into internal table. These are uploding rrows.&lt;/P&gt;&lt;P&gt;11. Loop it on recording.&lt;/P&gt;&lt;P&gt;12. You have to see code proprly where to put loop.&lt;/P&gt;&lt;P&gt;13. Run Report and Choose method call transaction or Session.&lt;/P&gt;&lt;P&gt;14.Upload data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 12:15:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-want-the-bdc-code/m-p/2611208#M598990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T12:15:56Z</dc:date>
    </item>
  </channel>
</rss>

