<?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 mm01 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054444#M969186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;s bt am not expert in bapi.. i know only using basic views....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do in remaing views.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2008 06:24:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-26T06:24:05Z</dc:date>
    <item>
      <title>BDC mm01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054442#M969184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am creating bdc program for mm01 using call transaction method.. when i give 'A' mode the data will not populate into the corresponding screen... only first screen and view only working after that plant and corresponding screens field not populate data.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while i debug that program the data from flat file is populate to internal table and corresponding data also populate to BDCDATA internal table......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only the problem beging in while transferring of data to corresponding fields......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 06:11:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054442#M969184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T06:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: BDC mm01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054443#M969185</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;Why dont you use Bapi for your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use BAPI BAPI_MATERIAL_SAVEDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 06:14:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054443#M969185</guid>
      <dc:creator>nikhil_chitre</dc:creator>
      <dc:date>2008-06-26T06:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: BDC mm01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054444#M969186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;s bt am not expert in bapi.. i know only using basic views....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do in remaing views.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 06:24:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054444#M969186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T06:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: BDC mm01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054445#M969187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search for BAPI's on SDN forums....&lt;/P&gt;&lt;P&gt;there is sufficient data to guide you in development.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 06:36:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054445#M969187</guid>
      <dc:creator>nikhil_chitre</dc:creator>
      <dc:date>2008-06-26T06:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: BDC mm01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054446#M969188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;k i will search... but there is no solution for my requirement... bcoz am created bdc program am not willing to quit this... why bcoz wht is happening that prgs.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 06:39:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054446#M969188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T06:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: BDC mm01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054447#M969189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you using &lt;/P&gt;&lt;P&gt;BDC syntax correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using .......&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR' field_name&lt;/P&gt;&lt;P&gt;perform bdc_field using field_name 'Value'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 06:49:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054447#M969189</guid>
      <dc:creator>nikhil_chitre</dc:creator>
      <dc:date>2008-06-26T06:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: BDC mm01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054448#M969190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;report ZFERT_DUMMY&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;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ST_MM01,&lt;/P&gt;&lt;P&gt;        MATNR(20) TYPE C,&lt;/P&gt;&lt;P&gt;        MBRSH(10) TYPE C,&lt;/P&gt;&lt;P&gt;        MTART(10) TYPE C,&lt;/P&gt;&lt;P&gt;        WERKS(10) TYPE C,&lt;/P&gt;&lt;P&gt;        LGORT(10) TYPE C,&lt;/P&gt;&lt;P&gt;        VKORG(10) TYPE C,&lt;/P&gt;&lt;P&gt;        VTWEG(10) TYPE C,&lt;/P&gt;&lt;P&gt;        MAKTX(30) TYPE C,&lt;/P&gt;&lt;P&gt;        MEINS(10) TYPE C,&lt;/P&gt;&lt;P&gt;        MATKL(10) TYPE C,&lt;/P&gt;&lt;P&gt;        SPART(10) TYPE C,&lt;/P&gt;&lt;P&gt;        KOSCH(10) TYPE C,&lt;/P&gt;&lt;P&gt;        PRDHA(10) TYPE C,&lt;/P&gt;&lt;P&gt;        MTPOS_MARA(10) TYPE C,&lt;/P&gt;&lt;P&gt;        BRGEW(10) TYPE C,&lt;/P&gt;&lt;P&gt;        GEWEI(10) TYPE C,&lt;/P&gt;&lt;P&gt;        NTGEW(10) TYPE C,&lt;/P&gt;&lt;P&gt;        DWERK(10) TYPE C,&lt;/P&gt;&lt;P&gt;        SKTOF(10) TYPE C,&lt;/P&gt;&lt;P&gt;        TAXKM_01(10) TYPE C,&lt;/P&gt;&lt;P&gt;        TAXKM_02(10) TYPE C,&lt;/P&gt;&lt;P&gt;        SCMNG(10) TYPE C,&lt;/P&gt;&lt;P&gt;        KTGRM(10) TYPE C,&lt;/P&gt;&lt;P&gt;        TRAGR(10) TYPE C,&lt;/P&gt;&lt;P&gt;        LADGR(10) TYPE C,&lt;/P&gt;&lt;P&gt;        DISPO(10) TYPE C,&lt;/P&gt;&lt;P&gt;        DISLS(10) TYPE C,&lt;/P&gt;&lt;P&gt;        RGEKZ(10) TYPE C,&lt;/P&gt;&lt;P&gt;        DZEIT(10) TYPE C,&lt;/P&gt;&lt;P&gt;        FHORI(10) TYPE C,&lt;/P&gt;&lt;P&gt;        STRGR(10) TYPE C,&lt;/P&gt;&lt;P&gt;        SBDKZ(10) TYPE C,&lt;/P&gt;&lt;P&gt;        LGPRO(10) TYPE C,&lt;/P&gt;&lt;P&gt;        SFCPF(10) TYPE C,&lt;/P&gt;&lt;P&gt;        BKLAS(10) TYPE C,&lt;/P&gt;&lt;P&gt;        VPRSV(10) TYPE C,&lt;/P&gt;&lt;P&gt;        PEINH(10) TYPE C,&lt;/P&gt;&lt;P&gt;        EKALR(10) TYPE C,&lt;/P&gt;&lt;P&gt;        HKMAT(10) TYPE C,&lt;/P&gt;&lt;P&gt;        AWSLS(10) TYPE C,&lt;/P&gt;&lt;P&gt;        LOSGR(10) TYPE C,&lt;/P&gt;&lt;P&gt;     END OF ST_MM01.&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;TYPES : BEGIN OF st_error,&lt;/P&gt;&lt;P&gt;          field(40)  TYPE c,&lt;/P&gt;&lt;P&gt;          discp(255) TYPE c,&lt;/P&gt;&lt;P&gt;        END OF st_error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : it_MM01   TYPE TABLE OF st_MM01,&lt;/P&gt;&lt;P&gt;       wa_MM01   TYPE          st_MM01,&lt;/P&gt;&lt;P&gt;       it_e_MM01 TYPE TABLE OF st_MM01,&lt;/P&gt;&lt;P&gt;       wa_e_MM01 TYPE          st_MM01,&lt;/P&gt;&lt;P&gt;       it_error  TYPE TABLE OF st_error,&lt;/P&gt;&lt;P&gt;       wa_error  TYPE          st_error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : bdcdata1  LIKE bdcdata    OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;       it_msgs   LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;       txt(100) TYPE c,&lt;/P&gt;&lt;P&gt;       fstring1 TYPE string,&lt;/P&gt;&lt;P&gt;       fstring2 TYPE string,&lt;/P&gt;&lt;P&gt;       fstring3 TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : filename  TYPE rlgrap-filename,&lt;/P&gt;&lt;P&gt;             errfile   TYPE rlgrap-filename&lt;/P&gt;&lt;P&gt;                       DEFAULT 'D:\BPTL_ABAP\MM01_ERRFILE.TXT',&lt;/P&gt;&lt;P&gt;             errdisc   TYPE rlgrap-filename&lt;/P&gt;&lt;P&gt;                       DEFAULT 'D:\BPTL_ABAP\MM01_ERRDISC.TXT',&lt;/P&gt;&lt;P&gt;             dismode1 LIKE ctu_params-dismode DEFAULT 'A',&lt;/P&gt;&lt;P&gt;             updmode1 LIKE ctu_params-updmode DEFAULT 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR filename.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      file_name = filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR errfile.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      file_name = errfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR errdisc.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      file_name = errdisc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;  fstring1 = filename.&lt;/P&gt;&lt;P&gt;  fstring2 = errfile.&lt;/P&gt;&lt;P&gt;  fstring3 = errdisc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM get_flatfile.&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*perform open_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_MM01 INTO wa_MM01.&lt;/P&gt;&lt;P&gt;    REFRESH bdcdata1.&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-MTART'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=AUSW'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RMMG1-MATNR'  WA_MM01-MATNR .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'FERT_DUMMY'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'RMMG1-MBRSH' WA_MM01-MBRSH.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'M'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'RMMG1-MTART' WA_MM01-MTART.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'FERT'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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(15)'.&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(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;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(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_dynpro      using 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MSICHTAUSW-DYTXT(01)'.&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 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MSICHTAUSW-DYTXT(01)'.&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 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MSICHTAUSW-DYTXT(01)'.&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 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MSICHTAUSW-DYTXT(01)'.&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 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MSICHTAUSW-DYTXT(01)'.&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 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MSICHTAUSW-DYTXT(01)'.&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 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MSICHTAUSW-DYTXT(01)'.&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 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MSICHTAUSW-DYTXT(01)'.&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 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MSICHTAUSW-DYTXT(01)'.&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 'SAPLMGMM' '0070'.&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;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ENTR'.&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(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(16)'&lt;/P&gt;&lt;P&gt;                              'X'.&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-VTWEG'.&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' WA_MM01-WERKS.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '1000'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'RMMG1-LGORT' WA_MM01-LGORT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '0001'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'RMMG1-VKORG' WA_MM01-VKORG.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '1000'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'RMMG1-VTWEG' WA_MM01-VTWEG.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '10'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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' WA_MM01-MAKTX.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'DEMO'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARA-MEINS' WA_MM01-MEINS.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'EA'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARA-MATKL' WA_MM01-MATKL.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '001'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARA-SPART' WA_MM01-SPART.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '10'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARA-KOSCH' WA_MM01-KOSCH.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'BULBS'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARA-PRDHA' WA_MM01-PRDHA.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '00100'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARA-MTPOS_MARA' WA_MM01-MTPOS_MARA.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'NORM'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MARA-NTGEW'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-BRGEW' WA_MM01-BRGEW.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '100'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARA-GEWEI' WA_MM01-GEWEI.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'kg'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARA-NTGEW' WA_MM01-NTGEW.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '80'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;                              'DEMO'.&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;                              'DEMO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;                              'EA'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-SPART'&lt;/P&gt;&lt;P&gt;                              '10'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MVKE-DWERK' WA_MM01-DWERK.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '1000'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARA-MATKL'&lt;/P&gt;&lt;P&gt;                              '001'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MVKE-SKTOF' WA_MM01-SKTOF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MG03STEUER-TAXKM(02)'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MG03STEUER-TAXKM(01)' WA_MM01-TAXKM_01.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '0'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MG03STEUER-TAXKM(02)' WA_MM01-TAXKM_02.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '0'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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 '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;                              'DEMO'.&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;                              'DEMO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;                              'EA'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-SPART'&lt;/P&gt;&lt;P&gt;                              '10'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MVKE-DWERK'&lt;/P&gt;&lt;P&gt;                              '1000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MATKL'&lt;/P&gt;&lt;P&gt;                              '001'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MVKE-SKTOF'&lt;/P&gt;&lt;P&gt;                              'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MVKE-SCMNG'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MVKE-SCMNG' WA_MM01-SCMNG.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '1'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;                              'DEMO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MVKE-KTGRM'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MVKE-KTGRM' WA_MM01-KTGRM.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '01'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARA-MTPOS_MARA'&lt;/P&gt;&lt;P&gt;                              'NORM'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MVKE-MTPOS'&lt;/P&gt;&lt;P&gt;                              'NORM'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MVKE-PRODH'&lt;/P&gt;&lt;P&gt;                              '00100'.&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;                              'DEMO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;                              'EA'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-BRGEW'&lt;/P&gt;&lt;P&gt;                              '100'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-GEWEI'&lt;/P&gt;&lt;P&gt;                              'KG'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-NTGEW'&lt;/P&gt;&lt;P&gt;                              '80'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-MTVFP'&lt;/P&gt;&lt;P&gt;                              '01'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MARC-LADGR'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-TRAGR' WA_MM01-TRAGR.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '0001'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARC-LADGR' WA_MM01-LADGR.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '0001'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;                              'DEMO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;                              'EA'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-DISGR'&lt;/P&gt;&lt;P&gt;                              '0031'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-DISMM'&lt;/P&gt;&lt;P&gt;                              'pd'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-DISPO' WA_MM01-DISPO.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '000'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MARC-DISLS'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-DISLS'  WA_MM01-DISLS.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'ex'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;                              'DEMO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-BESKZ'&lt;/P&gt;&lt;P&gt;                              'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-RGEKZ' WA_MM01-RGEKZ.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '1'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MARC-FHORI'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-DZEIT' WA_MM01-DZEIT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '10'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARC-FHORI' WA_MM01-FHORI.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '000'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;                              'DEMO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-PERKZ'&lt;/P&gt;&lt;P&gt;                              'M'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MARC-STRGR'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-STRGR' WA_MM01-STRGR.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '20'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARC-MTVFP'&lt;/P&gt;&lt;P&gt;                              '01'.&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;                              'DEMO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MARC-SBDKZ'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-SBDKZ' WA_MM01-SBDKZ.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '1'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;                              'DEMO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MARC-SFCPF'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;                              'EA'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-LGPRO' WA_MM01-LGPRO.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '0001'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARC-SFCPF' WA_MM01-SFCPF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '000001'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARC-DZEIT'&lt;/P&gt;&lt;P&gt;                              '10'.&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;                              'DEMO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;                              'EA'.&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;                              'DEMO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;                              'EA'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-SPART'&lt;/P&gt;&lt;P&gt;                              '10'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MBEW-PEINH'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MBEW-BKLAS' WA_MM01-BKLAS.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '7920'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MBEW-VPRSV' WA_MM01-VPRSV.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'S'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MBEW-PEINH' WA_MM01-PEINH.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '1'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;                              'DEMO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;                              'EA'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MBEW-EKALR' WA_MM01-EKALR.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MBEW-HKMAT' WA_MM01-HKMAT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'MARC-AWSLS' WA_MM01-AWSLS.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '000001'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'MARC-LOSGR'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARC-LOSGR' WA_MM01-LOSGR.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             '1'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;*perform bdc_transaction using 'MM01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL TRANSACTION 'MM01' USING  bdcdata1&lt;/P&gt;&lt;P&gt;                            MODE   dismode1&lt;/P&gt;&lt;P&gt;                            UPDATE updmode1&lt;/P&gt;&lt;P&gt;                            MESSAGES INTO it_msgs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM error_messages.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM download_messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*perform close_group.&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  get_flatfile&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;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        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 get_flatfile .&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            = fstring1&lt;/P&gt;&lt;P&gt;      filetype            = 'ASC'&lt;/P&gt;&lt;P&gt;      has_field_separator = '#'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab            = it_MM01&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;      OTHERS              = 3.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 1.&lt;/P&gt;&lt;P&gt;    MESSAGE e001(zbkmsg).&lt;/P&gt;&lt;P&gt;  ELSEIF sy-subrc = 2.&lt;/P&gt;&lt;P&gt;    MESSAGE e002(zbkmsg).&lt;/P&gt;&lt;P&gt;  ELSEIF sy-subrc = 1.&lt;/P&gt;&lt;P&gt;    MESSAGE e003(zbkmsg).&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;endform.                    " get_flatfile&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_dynpro&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_0346   text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_0347   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 bdc_dynpro  using program dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLEAR bdcdata1.&lt;/P&gt;&lt;P&gt;  bdcdata1-program  = program.&lt;/P&gt;&lt;P&gt;  bdcdata1-dynpro   = dynpro.&lt;/P&gt;&lt;P&gt;  bdcdata1-dynbegin = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND bdcdata1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " bdc_dynpro&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_field&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_0351   text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_0352   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 bdc_field  using  fnam fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR bdcdata1.&lt;/P&gt;&lt;P&gt;  bdcdata1-fnam = fnam.&lt;/P&gt;&lt;P&gt;  bdcdata1-fval = fval.&lt;/P&gt;&lt;P&gt;  APPEND bdcdata1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " bdc_field&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  error_messages&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;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        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 error_messages .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; READ TABLE it_msgs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      id   = it_msgs-msgid&lt;/P&gt;&lt;P&gt;      lang = it_msgs-msgspra&lt;/P&gt;&lt;P&gt;      no   = it_msgs-msgnr&lt;/P&gt;&lt;P&gt;      v1   = it_msgs-msgv1&lt;/P&gt;&lt;P&gt;      v2   = it_msgs-msgv2&lt;/P&gt;&lt;P&gt;      v3   = it_msgs-msgv3&lt;/P&gt;&lt;P&gt;      v4   = it_msgs-msgv4&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      msg  = txt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF    it_msgs-msgtyp = 'E'&lt;/P&gt;&lt;P&gt;    OR  it_msgs-msgtyp = 'I'&lt;/P&gt;&lt;P&gt;    OR  it_msgs-msgtyp = 'W'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    wa_e_MM01-MATNR   = wa_MM01-MATNR.&lt;/P&gt;&lt;P&gt;    wa_e_MM01-MBRSH   = wa_MM01-MBRSH.&lt;/P&gt;&lt;P&gt;    wa_e_MM01-MTART   = wa_MM01-MTART.&lt;/P&gt;&lt;P&gt;    wa_e_MM01-MAKTX = wa_MM01-MAKTX.&lt;/P&gt;&lt;P&gt;    wa_e_MM01-MEINS   = wa_MM01-MEINS.&lt;/P&gt;&lt;P&gt;    APPEND wa_e_MM01 TO it_e_MM01 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    wa_error-field = wa_MM01-MATNR.&lt;/P&gt;&lt;P&gt;    wa_error-discp = txt.&lt;/P&gt;&lt;P&gt;    APPEND wa_error TO it_error.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  REFRESH it_msgs.&lt;/P&gt;&lt;P&gt;  CLEAR   it_msgs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " error_messages&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  download_messages&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;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        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 download_messages .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_error INTO wa_error.&lt;/P&gt;&lt;P&gt;    WRITE : / wa_error-field,wa_error-discp.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_E_MM01 INTO wa_e_MM01.&lt;/P&gt;&lt;P&gt;    WRITE:/ wa_e_MM01-MATNR,&lt;/P&gt;&lt;P&gt;            wa_e_MM01-MBRSH,&lt;/P&gt;&lt;P&gt;            wa_e_MM01-MTART,&lt;/P&gt;&lt;P&gt;            wa_e_MM01-MAKTX,&lt;/P&gt;&lt;P&gt;            wa_e_MM01-MEINS.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename              = fstring2&lt;/P&gt;&lt;P&gt;      filetype              = 'ASC'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     APPEND                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      write_field_separator = '#'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab              = it_e_MM01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename              = fstring3&lt;/P&gt;&lt;P&gt;      filetype              = 'ASC'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     APPEND                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      write_field_separator = '#'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab              = it_error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " download_messages&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;&lt;P&gt;And My Flat File is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1FDUMMY001	M	FERT	1000	0001	1000	10	DUMMY001	EA	001	10	BULPS	00100	NORM	7.26	KG	6.9	1000	X	0	0	1	01	0001	0001	000	EX	1	1	000	20	1	0001	000001	7920	S	1	X	X	000001	1&lt;/P&gt;&lt;P&gt;1FDUMMY002	M	FERT	1000	0001	1000	10	DUMMY001	EA	001	10	BULPS	00100	NORM	7.92	KG	7.6	1000	X	0	0	1	01	0001	0001	000	EX	1	1	000	20	1	0001	000001	7920	S	1	X	X	000001	1&lt;/P&gt;&lt;P&gt;1FDUMMY003	M	FERT	1000	0001	1000	10	DUMMY001	EA	001	10	BULPS	00100	NORM	4.36	KG	4.1	1000	X	0	0	1	01	0001	0001	000	EX	1	1	000	20	1	0001	000001	7920	S	1	X	X	000001	1&lt;/P&gt;&lt;P&gt;1FDUMMY004	M	FERT	1000	0001	1000	10	DUMMY001	EA	001	10	BULPS	00100	NORM	2.18	KG	2.06	1000	X	0	0	1	01	0001	0001	000	EX	1	1	000	20	1	0001	000001	7920	S	1	X	X	000001	1&lt;/P&gt;&lt;P&gt;1FDUMMY005	M	FERT	1000	0001	1000	10	DUMMY001	EA	001	10	BULPS	00100	NORM	2.3	KG	2.18	1000	X	0	0	1	01	0001	0001	000	EX	1	1	000	20	1	0001	000001	7920	S	1	X	X	000001	1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 06:57:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054448#M969190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T06:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: BDC mm01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054449#M969191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;s nikil am waiting for ur reply.........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 07:21:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-mm01/m-p/4054449#M969191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T07:21:46Z</dc:date>
    </item>
  </channel>
</rss>

