<?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: Regarding BDC report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192925#M1002229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abhijeet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link hope this will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/309cb157-738d-2910-7691-b74c4ddba3c7]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2008 08:43:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-28T08:43:15Z</dc:date>
    <item>
      <title>Regarding BDC report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192922#M1002226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;Can anybody tell me the step by step procedure to create a BDC report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 08:37:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192922#M1002226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T08:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BDC report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192923#M1002227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt; Check out this link&lt;/P&gt;&lt;P&gt; &lt;A href="http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/BDC_tutorial.html" target="test_blank"&gt;http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/BDC_tutorial.html&lt;/A&gt;&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;Abhijeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 08:40:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192923#M1002227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T08:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BDC report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192924#M1002228</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;initially  do the recording using tcode SHDB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then copy the recording in to program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next modify the program by declaring an internal table (with strucutre same as the file to be uploaded)&lt;/P&gt;&lt;P&gt;next write the code for upload of file using GUI_UPLOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next use any of the two meothods &lt;/P&gt;&lt;P&gt;1)call transation  2) bdc_open_group.....bdc_insert...bdc_close_group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to upload...check out the sample code...&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;report zmaterial_fert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen :begin of block bl1 with frame title  text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_fname type rlgrap-filename,&lt;/P&gt;&lt;P&gt;               p_lgort type rlgrap-filename,&lt;/P&gt;&lt;P&gt;               p_update(1) default 'N',&lt;/P&gt;&lt;P&gt;             p_bdcgrp(12) default 'MM_MASTER'.&lt;/P&gt;&lt;P&gt; selection-screen end of block bl1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_chr_opengrp type c,&lt;/P&gt;&lt;P&gt;      r_matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;      r_werks like marc-werks,&lt;/P&gt;&lt;P&gt;      v_str_fname   type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of bdc_itab occurs 0.&lt;/P&gt;&lt;P&gt;        include structure bdcdata.&lt;/P&gt;&lt;P&gt;data : end of bdc_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of messtab occurs 0.&lt;/P&gt;&lt;P&gt;        include structure bdcmsgcoll.&lt;/P&gt;&lt;P&gt;data: end   of messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of count,&lt;/P&gt;&lt;P&gt;        inrec(9) type n,               " input I_MATERIAL count&lt;/P&gt;&lt;P&gt;        create(9) type n,              " create count&lt;/P&gt;&lt;P&gt;        error(9) type n,               " error count&lt;/P&gt;&lt;P&gt;        bdc(9) type n,                 " count of BDC creates&lt;/P&gt;&lt;P&gt;      end of count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of i_material occurs 0,&lt;/P&gt;&lt;P&gt;     matnr(018) type c,  "Material number&lt;/P&gt;&lt;P&gt;     mbrsh(001) type c,  "Industry sector&lt;/P&gt;&lt;P&gt;     mtart(004) type c,  "Material type&lt;/P&gt;&lt;P&gt;     werks(004) type c,  "Plant&lt;/P&gt;&lt;P&gt;     lgort(004),&lt;/P&gt;&lt;P&gt;     lgnum(004),&lt;/P&gt;&lt;P&gt;     vkorg(004),&lt;/P&gt;&lt;P&gt;     vtweg(002),&lt;/P&gt;&lt;P&gt;     mtpos_mara(004),&lt;/P&gt;&lt;P&gt;     spart(002),&lt;/P&gt;&lt;P&gt;     dwerk(004),&lt;/P&gt;&lt;P&gt;     taxkm(001),&lt;/P&gt;&lt;P&gt;     versg(001),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MTPOS(004),&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     maktx(040) type c,  "Material description&lt;/P&gt;&lt;P&gt;     meins(003) type c,  "Base unit of measure&lt;/P&gt;&lt;P&gt;    matkl(009) type c,  "Material group&lt;/P&gt;&lt;P&gt;    bismt(018),         "old material code&lt;/P&gt;&lt;P&gt;    brgew(017) type c,  "Gross weight&lt;/P&gt;&lt;P&gt;    gewei(003) type c,  "Weight unit&lt;/P&gt;&lt;P&gt;    ntgew(017) type c,  "Net weight&lt;/P&gt;&lt;P&gt;    magrv(004) type c,  "Matl grp pack matls&lt;/P&gt;&lt;P&gt;    tragr(004),         "&lt;/P&gt;&lt;P&gt;    ladgr(004),&lt;/P&gt;&lt;P&gt;    prctr(007),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EKGRP(004),&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EKWSL(004),&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    chap(012),&lt;/P&gt;&lt;P&gt;    mattype(001),&lt;/P&gt;&lt;P&gt;    nogrs(001),&lt;/P&gt;&lt;P&gt;    outmat(018),&lt;/P&gt;&lt;P&gt;    valid(010),&lt;/P&gt;&lt;P&gt;    curr(005),&lt;/P&gt;&lt;P&gt;    netdeal(018),&lt;/P&gt;&lt;P&gt;    asess(018),&lt;/P&gt;&lt;P&gt;    disgr(004),&lt;/P&gt;&lt;P&gt;    dismm(002) type c,&lt;/P&gt;&lt;P&gt;    dispo(003),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   LGORT(004),&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    disls(002),&lt;/P&gt;&lt;P&gt;    maabc(001),&lt;/P&gt;&lt;P&gt;   lgpro(004),&lt;/P&gt;&lt;P&gt;   webaz(003),&lt;/P&gt;&lt;P&gt;   lgfsb(004),&lt;/P&gt;&lt;P&gt;    plifz(003),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   STRGR(002),&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    fhori(003),&lt;/P&gt;&lt;P&gt;    sfepr(004),&lt;/P&gt;&lt;P&gt;    fevor(003),&lt;/P&gt;&lt;P&gt;    sfcpf(006),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    beskz(001),&lt;/P&gt;&lt;P&gt;   perkz(001),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VRMOD(001),&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VINT1(003),&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VINT2(003),&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ALTSL(001),&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SBDKZ(001),&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FERVOR(002),&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SFCPF(006),&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   stprs(015),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  AWSLS(006),&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   mtvfp(002),&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; STGRP(002),&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*PRCTR(007),&lt;/P&gt;&lt;P&gt;  bklas(004),&lt;/P&gt;&lt;P&gt;  vprsv(001),&lt;/P&gt;&lt;P&gt;  peinh(006),&lt;/P&gt;&lt;P&gt;*EKALR(015),&lt;/P&gt;&lt;P&gt;  verpr(015),&lt;/P&gt;&lt;P&gt;  hrkft(002),&lt;/P&gt;&lt;P&gt;*HKMAT,&lt;/P&gt;&lt;P&gt;kosgr(010),&lt;/P&gt;&lt;P&gt;*LOSGR(018),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end of i_material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_fname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'KD_GET_FILENAME_ON_F4'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      program_name  = 'Z_MM_MATERIAL_UPLOAD'&lt;/P&gt;&lt;P&gt;      dynpro_number = '1000'&lt;/P&gt;&lt;P&gt;      field_name    = 'P_FNAME'&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      file_name     = p_fname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_lgort.&lt;/P&gt;&lt;P&gt;call function 'KD_GET_FILENAME_ON_F4'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      program_name  = 'ZMATERIAL'&lt;/P&gt;&lt;P&gt;      dynpro_number = '1000'&lt;/P&gt;&lt;P&gt;      field_name    = 'P_FNAME'&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      file_name     = p_lgort.&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;P&gt;  if p_fname is initial.&lt;/P&gt;&lt;P&gt;    message i016(rp) with 'Please enter a file name'.&lt;/P&gt;&lt;P&gt;    leave list-processing.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    move p_fname to  v_str_fname.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&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;      filetype                = 'ASC'&lt;/P&gt;&lt;P&gt;      filename                = v_str_fname&lt;/P&gt;&lt;P&gt;      has_field_separator     = 'X'&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      data_tab                = i_material&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;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;        with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at i_material.&lt;/P&gt;&lt;P&gt;  r_matnr = i_material-matnr.&lt;/P&gt;&lt;P&gt;    r_werks = i_material-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    add 1 to count-inrec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform bdc_dynpro      using 'SAPLMGMM' '0060'.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                  'RMMG1-MATNR'.&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 'RMMG1-MATNR'&lt;/P&gt;&lt;P&gt;                                  i_material-matnr.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'RMMG1-MTART'&lt;/P&gt;&lt;P&gt;                                  i_material-mtart.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'RMMG1-MBRSH'&lt;/P&gt;&lt;P&gt;                                  i_material-mbrsh.&lt;/P&gt;&lt;P&gt;    perform bdc_dynpro using 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MSICHTAUSW-DYTXT(17)'.&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 'MSICHTAUSW-KZSEL(01)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(02)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(03)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;*PERFORM BDC_FIELD USING 'MSICHTAUSW-KZSEL(07)'&lt;/P&gt;&lt;P&gt;*'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(08)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(05)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(06)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(04)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(09)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(10)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(11)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;*PERFORM BDC_FIELD USING 'MSICHTAUSW-KZSEL(12)'&lt;/P&gt;&lt;P&gt;*'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(13)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(14)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(15)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(16)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(17)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE' '=P+'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MSICHTAUSW-DYTXT(07)'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(01)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(02)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(03)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(04)'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MSICHTAUSW-KZSEL(05)'&lt;/P&gt;&lt;P&gt;'X'.&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 bdc_dynpro      using 'SAPLMGMM' '0080'.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                  'RMMG1-LGNUM'.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=ENTR'.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'RMMG1-WERKS'&lt;/P&gt;&lt;P&gt;                                  i_material-werks.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'RMMG1-LGORT'&lt;/P&gt;&lt;P&gt;                                  i_material-lgort.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'RMMG1-LGNUM'&lt;/P&gt;&lt;P&gt;                                  i_material-lgnum.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'RMMG1-VKORG'&lt;/P&gt;&lt;P&gt;                                  i_material-vkorg.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'RMMG1-VTWEG'&lt;/P&gt;&lt;P&gt;                                  i_material-vtweg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform bdc_dynpro      using 'SAPLMGMM' '4004'.&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 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                                  i_material-maktx.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;                                  i_material-meins.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'MARA-MATKL'&lt;/P&gt;&lt;P&gt;                                  i_material-matkl.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'MARA-BISMT'&lt;/P&gt;&lt;P&gt;                                  i_material-bismt.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'MARA-BRGEW'&lt;/P&gt;&lt;P&gt;                                  i_material-brgew.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'MARA-GEWEI'&lt;/P&gt;&lt;P&gt;                                  i_material-gewei.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'MARA-NTGEW'&lt;/P&gt;&lt;P&gt;                                  i_material-ntgew.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'MARA-MAGRV'&lt;/P&gt;&lt;P&gt;                              i_material-magrv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4004'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                            i_material-maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                                  i_material-maktx.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;                                  i_material-meins.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'MARA-MATKL'&lt;/P&gt;&lt;P&gt;                                  i_material-matkl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     perform bdc_field       using 'MARA-SPART'&lt;/P&gt;&lt;P&gt;                                  i_material-spart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'MVKE-DWERK'&lt;/P&gt;&lt;P&gt;                                  i_material-dwerk.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                  'MG03STEUER-TAXKM(01)'.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'MG03STEUER-TAXKM(01)'&lt;/P&gt;&lt;P&gt;                                  i_material-taxkm.&lt;/P&gt;&lt;P&gt;    perform bdc_dynpro      using 'SAPLMGMM' '4200'.&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 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                                  i_material-maktx.&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 bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                               i_material-maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                             i_material-maktx.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MTPOS_MARA'&lt;/P&gt;&lt;P&gt;                              i_material-mtpos_mara.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MVKE-versg'&lt;/P&gt;&lt;P&gt;                              i_material-versg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                               i_material-maktx.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'MARA-BRGEW'&lt;/P&gt;&lt;P&gt;                                  i_material-brgew.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'MARA-GEWEI'&lt;/P&gt;&lt;P&gt;                                  i_material-gewei.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'MARA-NTGEW'&lt;/P&gt;&lt;P&gt;                                  i_material-ntgew.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MARA-MAGRV'.&lt;/P&gt;&lt;P&gt;  perform bdc_field       using 'MARA-MAGRV'&lt;/P&gt;&lt;P&gt;                              i_material-magrv.&lt;/P&gt;&lt;P&gt; perform bdc_field       using 'MARA-TRAGR'&lt;/P&gt;&lt;P&gt;                              i_material-tragr.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-LADGR'&lt;/P&gt;&lt;P&gt;                              i_material-ladgr.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-PRCTR'&lt;/P&gt;&lt;P&gt;                              i_material-prctr.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-MTVFP'&lt;/P&gt;&lt;P&gt;                             i_material-mtvfp.&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 bdc_dynpro      using 'SAPLMGMM' '4004'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                              i_material-maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'J_1IASSVAL-J_1IVALASS'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'J_1IMTCHID-J_1ICHID'&lt;/P&gt;&lt;P&gt;                              i_material-chap.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'J_1IMTCHID-J_1ISUBIND'&lt;/P&gt;&lt;P&gt;                             'X'..&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'J_1IMTCHID-J_1ICAPIND'&lt;/P&gt;&lt;P&gt;                             i_material-mattype.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'J_1IMTCHID-J_1IGRXREF'&lt;/P&gt;&lt;P&gt;                              i_material-nogrs.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'J_1IMODDET-J_1IMOOM'&lt;/P&gt;&lt;P&gt;                              i_material-outmat.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'J_1IASSVAL-J_1IFRDATE'&lt;/P&gt;&lt;P&gt;                              i_material-valid.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'J_1IASSVAL-J_1IWAERS'&lt;/P&gt;&lt;P&gt;                              i_material-curr.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'J_1IASSVAL-J_1IVALNDP'&lt;/P&gt;&lt;P&gt;                             i_material-netdeal.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'J_1IASSVAL-J_1IVALASS'&lt;/P&gt;&lt;P&gt;                              i_material-asess.&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 bdc_dynpro      using 'SAPLMGMM' '4000'.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '/00'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'MAKT-MAKTX'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             I_MATERIAL-MAKTX.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*perform bdc_field       using 'MVKE-MTPOS'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             I_MATERIAL-MTPOS.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              'ENTR'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                              i_material-maktx.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;                              i_material-meins.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MARC-DISMM'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-DISMM'&lt;/P&gt;&lt;P&gt;                              i_material-dismm.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-DISPO'&lt;/P&gt;&lt;P&gt;                              i_material-dispo.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-DISLS'&lt;/P&gt;&lt;P&gt;                              i_material-disls.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-MAABC'&lt;/P&gt;&lt;P&gt;                              i_material-maabc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-DISGR'&lt;/P&gt;&lt;P&gt;                              i_material-disgr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                              i_material-maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-FHORI'&lt;/P&gt;&lt;P&gt;                              i_material-fhori.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-LGPRO'&lt;/P&gt;&lt;P&gt;                              i_material-lgpro.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-LGFSB'&lt;/P&gt;&lt;P&gt;                              i_material-lgfsb.&lt;/P&gt;&lt;P&gt; perform bdc_field       using 'MARC-PLIFZ'&lt;/P&gt;&lt;P&gt;                                  i_material-plifz.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'MARC-STRGR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                           I_MATERIAL-STRGR.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using  'MARC-BESKZ'&lt;/P&gt;&lt;P&gt;                             i_material-beskz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                               i_material-maktx.&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'MARC-STRGR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                           I_MATERIAL-STRGR.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                               i_material-maktx.&lt;/P&gt;&lt;P&gt;   perform bdc_field       using 'MARC-SAUFT'&lt;/P&gt;&lt;P&gt;                              'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-SFEPR'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                              i_material-sfepr.&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 bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                               i_material-maktx.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MArc-FEVOR'&lt;/P&gt;&lt;P&gt;                              i_material-fevor.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-SFCPF'&lt;/P&gt;&lt;P&gt;                              i_material-sfcpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                               i_material-maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                               i_material-maktx.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                               i_material-maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                               perform bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                               i_material-maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; perform bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                               i_material-maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                                i_material-maktx.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MBEW-BKLAS'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MBEW-BKLAS'&lt;/P&gt;&lt;P&gt;                              i_material-bklas.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MBEW-VPRSV'&lt;/P&gt;&lt;P&gt;                              i_material-vprsv.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MBEW-PEINH'&lt;/P&gt;&lt;P&gt;                              i_material-peinh.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MBEW-STPRS'&lt;/P&gt;&lt;P&gt;                              i_material-stprs.&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 bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                               i_material-maktx.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                               i_material-maktx.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'Mbew-kosgr'&lt;/P&gt;&lt;P&gt;                               i_material-kosgr.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'Mbew-HKMAT'&lt;/P&gt;&lt;P&gt;                             'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'Mbew-HRKFT'&lt;/P&gt;&lt;P&gt;                              i_material-hrkft.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4000'.&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 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MAKT-MAKTX'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                               i_material-maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*perform bdc_field       using 'Mbew-KOSGR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             I_MATERIAL-KOSGR.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;    perform bdc_dynpro      using 'SAPLSPO1' '0300'.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=YES'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform post_transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    refresh bdc_itab.&lt;/P&gt;&lt;P&gt;    clear   bdc_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  perform finalization.&lt;/P&gt;&lt;P&gt;&lt;/P&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;       Start new screen                                              *&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 bdc_dynpro using program dynpro.&lt;/P&gt;&lt;P&gt;  clear bdc_itab.&lt;/P&gt;&lt;P&gt;  bdc_itab-program  = program.&lt;/P&gt;&lt;P&gt;  bdc_itab-dynpro   = dynpro.&lt;/P&gt;&lt;P&gt;  bdc_itab-dynbegin = 'X'.&lt;/P&gt;&lt;P&gt;  append bdc_itab.&lt;/P&gt;&lt;P&gt;endform.                    "bdc_dynpro&lt;/P&gt;&lt;P&gt;&lt;/P&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;       Insert field                                                  *&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 bdc_field using fnam fval.&lt;/P&gt;&lt;P&gt;  if fval &amp;lt;&amp;gt; ''.&lt;/P&gt;&lt;P&gt;    clear bdc_itab.&lt;/P&gt;&lt;P&gt;    bdc_itab-fnam = fnam.&lt;/P&gt;&lt;P&gt;    bdc_itab-fval = fval.&lt;/P&gt;&lt;P&gt;    append bdc_itab.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endform.                    "bdc_field&lt;/P&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;P&gt;*&amp;amp;      Form  POST_TRANSACTION&lt;/P&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 post_transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  refresh messtab.&lt;/P&gt;&lt;P&gt;  clear   messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call transaction 'MM01' using bdc_itab&lt;/P&gt;&lt;P&gt;              mode p_update&lt;/P&gt;&lt;P&gt;            update 'S'&lt;/P&gt;&lt;P&gt;          messages into messtab.&lt;/P&gt;&lt;P&gt; submit zrpt_plantext with flatfile = p_lgort&lt;/P&gt;&lt;P&gt;                      with p_matnr = r_matnr&lt;/P&gt;&lt;P&gt;                      with p_werks = r_werks and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  read table messtab with key msgtyp = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform process_error_messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    add 1 to count-bdc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if v_chr_opengrp is initial.&lt;/P&gt;&lt;P&gt;      perform bdc_open_group.&lt;/P&gt;&lt;P&gt;    endif.&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          = 'MM01'&lt;/P&gt;&lt;P&gt;      tables&lt;/P&gt;&lt;P&gt;        dynprotab      = bdc_itab&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;        others         = 5.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      case sy-subrc.&lt;/P&gt;&lt;P&gt;        when 1.&lt;/P&gt;&lt;P&gt;          write: / 'Internal error'.&lt;/P&gt;&lt;P&gt;        when 2.&lt;/P&gt;&lt;P&gt;          write: / 'Not open error'.&lt;/P&gt;&lt;P&gt;        when 3.&lt;/P&gt;&lt;P&gt;          write: / 'queue error'.&lt;/P&gt;&lt;P&gt;        when 4.&lt;/P&gt;&lt;P&gt;          write: / 'tcode invalid error'.&lt;/P&gt;&lt;P&gt;        when others.&lt;/P&gt;&lt;P&gt;          write: / 'other error'.&lt;/P&gt;&lt;P&gt;      endcase.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    add +1 to count-create.&lt;/P&gt;&lt;P&gt;    format intensified off.&lt;/P&gt;&lt;P&gt;    format color col_normal.&lt;/P&gt;&lt;P&gt;    format color col_normal off.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear   bdc_itab.&lt;/P&gt;&lt;P&gt;  refresh bdc_itab.&lt;/P&gt;&lt;P&gt;endform.                               " POST_TRANSACTION&lt;/P&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;P&gt;*&amp;amp;      Form  PROCESS_ERROR_MESSAGES&lt;/P&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 process_error_messages.&lt;/P&gt;&lt;P&gt;  data: begin of loc_aux_message.&lt;/P&gt;&lt;P&gt;          include structure message.&lt;/P&gt;&lt;P&gt;  data: end of loc_aux_message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data : msgno type sy-msgno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    move messtab-msgnr to msgno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call function 'WRITE_MESSAGE'&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        msgid  = messtab-msgid&lt;/P&gt;&lt;P&gt;        msgno  = msgno&lt;/P&gt;&lt;P&gt;        msgty  = messtab-msgtyp&lt;/P&gt;&lt;P&gt;        msgv1  = messtab-msgv1&lt;/P&gt;&lt;P&gt;        msgv2  = messtab-msgv2&lt;/P&gt;&lt;P&gt;        msgv3  = messtab-msgv3&lt;/P&gt;&lt;P&gt;        msgv4  = messtab-msgv4&lt;/P&gt;&lt;P&gt;      importing&lt;/P&gt;&lt;P&gt;        messg  = loc_aux_message&lt;/P&gt;&lt;P&gt;      exceptions&lt;/P&gt;&lt;P&gt;        others = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;      format color col_negative on.&lt;/P&gt;&lt;P&gt;      write: /10 i_material-matnr.&lt;/P&gt;&lt;P&gt;      write: /10 loc_aux_message.&lt;/P&gt;&lt;P&gt;      format color col_negative off.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      format color col_negative on.&lt;/P&gt;&lt;P&gt;      write: /10 i_material-matnr.&lt;/P&gt;&lt;P&gt;      write: / 'Error creating message'.&lt;/P&gt;&lt;P&gt;      format color col_negative off.&lt;/P&gt;&lt;P&gt;      exit.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;endform.                               " PROCESS_ERROR_MESSAGES&lt;/P&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;P&gt;*&amp;amp;      Form  BDC_OPEN_GROUP&lt;/P&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;&lt;/P&gt;&lt;P&gt;form bdc_open_group.&lt;/P&gt;&lt;P&gt;&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;P&gt;      group               = p_bdcgrp&lt;/P&gt;&lt;P&gt;      holddate            = sy-datum&lt;/P&gt;&lt;P&gt;      keep                = 'X'&lt;/P&gt;&lt;P&gt;      user                = sy-uname&lt;/P&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 eq 0.&lt;/P&gt;&lt;P&gt;    v_chr_opengrp = 'X'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                               " BDC_OPEN_GROUP&lt;/P&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;P&gt;*&amp;amp;      Form  FINALIZATION&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;form finalization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if v_chr_opengrp = 'X'.&lt;/P&gt;&lt;P&gt;    call function 'BDC_CLOSE_GROUP'&lt;/P&gt;&lt;P&gt;      exceptions&lt;/P&gt;&lt;P&gt;        not_open    = 1&lt;/P&gt;&lt;P&gt;        queue_error = 2&lt;/P&gt;&lt;P&gt;        others      = 3.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  get time.&lt;/P&gt;&lt;P&gt;  skip 2.&lt;/P&gt;&lt;P&gt;  write: / 'Time', sy-uzeit.&lt;/P&gt;&lt;P&gt;  skip.&lt;/P&gt;&lt;P&gt;  format color col_total on.&lt;/P&gt;&lt;P&gt;  write: / 'Total Records: ',           40 count-inrec.&lt;/P&gt;&lt;P&gt;  write: / 'PERNR not of Emp Group 6 ', 40 count-error.&lt;/P&gt;&lt;P&gt;  write: / 'Records Created: ',         40 count-create.&lt;/P&gt;&lt;P&gt;  write: / 'BDC Create in group: ',     40 count-bdc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if v_chr_opengrp = 'X'.&lt;/P&gt;&lt;P&gt;    skip 1.&lt;/P&gt;&lt;P&gt;    format intensified on.&lt;/P&gt;&lt;P&gt;    format color col_negative on.&lt;/P&gt;&lt;P&gt;    write: / 'PLEASE USE TRANSACTION "SM35" ',&lt;/P&gt;&lt;P&gt;             'TO PROCESS THE GENERATED BDC SESSION ... ',&lt;/P&gt;&lt;P&gt;             p_bdcgrp.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endform.                               " FINALIZATION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 08:41:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192924#M1002228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T08:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BDC report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192925#M1002229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abhijeet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link hope this will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/309cb157-738d-2910-7691-b74c4ddba3c7]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 08:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192925#M1002229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T08:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BDC report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192926#M1002230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhijeet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Plz refer to the link below for sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/abap/general-flow-of-a-bdc-program.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/abap/general-flow-of-a-bdc-program.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechies.com/bdc-program-to-update-source-list-by-material-group-mm01/" target="test_blank"&gt;http://www.saptechies.com/bdc-program-to-update-source-list-by-material-group-mm01/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With luck,&lt;/P&gt;&lt;P&gt;Pritam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 08:44:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192926#M1002230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T08:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BDC report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192927#M1002231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;Check out the link for Sample BDC Report &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Using Table Control In BDC|http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm]&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, 28 Jul 2008 08:46:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192927#M1002231</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-07-28T08:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BDC report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192928#M1002232</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;Step by step to create BDC program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First find the method which is suttable for the task.. (session / Call transaction)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Check the flat file where it is existed.. (application server / presentation server).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Create an Internal table..to hold the data .. as flatfile structure..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. upload the data from flat file to internal table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Do recording and pass the internal table field names to recording process ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. then call the transaction using the call transaction or bdc_insert (if session)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7 . create an internal table if ur using call transaction for message handling like bdcmsgcoll..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. if you are uysing session method its automaticall handle the messages...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward Points if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Raghunath.S&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;9986076729&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:31:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-report/m-p/4192928#M1002232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:31:20Z</dc:date>
    </item>
  </channel>
</rss>

