<?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: HELP WITH CODE FOR BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501216#M565191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The page down is not an issue because i see all other values being populated which belong to to the same row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SHDB recording shows the value of the row even for this field as (07) or (08) depends on the row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can send the entire code if you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2007 18:16:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-10T18:16:41Z</dc:date>
    <item>
      <title>HELP WITH CODE FOR BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501211#M565186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam having an issue with bdc for mmsc t-code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code iam having&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form populating_i_bdctab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear :  wa_itab.&lt;/P&gt;&lt;P&gt; data:     a_line(20)  type c.&lt;/P&gt;&lt;P&gt;data : begin of i_mard occurs 0.&lt;/P&gt;&lt;P&gt;include structure mard.&lt;/P&gt;&lt;P&gt;data: end of i_mard.&lt;/P&gt;&lt;P&gt;data: l_string type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select * from mard into table i_mard where matnr = wa_itab-matnr and&lt;/P&gt;&lt;P&gt;                                     werks = wa_itab-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     describe table i_mard lines a_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  a_line = a_line + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  condense a_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMM03M' '0105'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RM03M-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 'RM03M-MATNR'&lt;/P&gt;&lt;P&gt;                              wa_itab-matnr.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RM03M-WERKS'&lt;/P&gt;&lt;P&gt;                              wa_itab-werks.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RM03M-LFLAG'&lt;/P&gt;&lt;P&gt;                              'X'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMM03M' '0195'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear l_string.&lt;/P&gt;&lt;P&gt;concatenate 'RM03M-LMINB(' a_line ')' into l_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                             'RM03M-LMINB(05)'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=BU'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear l_string.&lt;/P&gt;&lt;P&gt;concatenate 'RM03M-LGORT(' a_line ')' into l_string.&lt;/P&gt;&lt;P&gt;perform bdc_field       using l_string&lt;/P&gt;&lt;P&gt;                              wa_itab-lgortt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear l_string.&lt;/P&gt;&lt;P&gt;concatenate 'RM03M-RLGOR(' a_line ')' into l_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using l_string&lt;/P&gt;&lt;P&gt;                              wa_itab-lgortf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR L_STRING.&lt;/P&gt;&lt;P&gt;CONCATENATE 'RM03M-LPGBE(' A_LINE ')' INTO L_STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*perform bdc_field       using L_STRING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                             wa_itab-lpgbe.     ------ This thing doesn't work  L_STRING  = RM03M-LPGBE(7)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                                                         ERROR -Field RM03M-LPGBE(7) does not exist in the screen SAPMM03M 0195&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RM03M-LGPBE(07)'   -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;This thing works&lt;/P&gt;&lt;P&gt;                              wa_itab-lpgbe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear l_string.&lt;/P&gt;&lt;P&gt;concatenate 'RM03M-DISKZ(' a_line ')' into l_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using l_string&lt;/P&gt;&lt;P&gt;                              wa_itab-diskz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear l_string.&lt;/P&gt;&lt;P&gt;concatenate 'RM03M-LMINB(' a_line ')' into l_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using l_string&lt;/P&gt;&lt;P&gt;                              wa_itab-lminb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_insert.&lt;/P&gt;&lt;P&gt;clear :  wa_itab.&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;wHEN I USE THE L_STRING I DON'T SEE THE VALUE ON THE SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i AM BIT CONFUSED AS TO WHY IT DOESN'T WORK WHEN ALL OTHER FIELDS ARE BEING POPULATED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lET ME KNOW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 18:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501211#M565186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T18:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: HELP WITH CODE FOR BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501212#M565187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try making sure that you have the leading zero in L_STRING for the index?  Does it work now?  If so, then you know that you need to account for this. You can use a  type N field with length of 2 to do the conversion from 7 -&amp;gt; 07&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 18:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501212#M565187</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-10T18:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: HELP WITH CODE FOR BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501213#M565188</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;Use SHDB to record the transaction and check how the values are populated in the screen fields..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 18:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501213#M565188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T18:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: HELP WITH CODE FOR BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501214#M565189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Ensure that your index specification is in the form of '01' 02' '03'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The other reason could be. you are trying to populate the 7th line of the table control.. and during run time .. the program might  only find 6 lines... use page down logic for the table control.. after every 6 lines..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 18:13:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501214#M565189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T18:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: HELP WITH CODE FOR BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501215#M565190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i tried doing this as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : a type c.&lt;/P&gt;&lt;P&gt;a = 0.&lt;/P&gt;&lt;P&gt;concatenate a A_LINE  into a_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR L_STRING.&lt;/P&gt;&lt;P&gt;CONCATENATE 'RM03M-LPGBE(' A_LINE ')' INTO L_STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using L_STRING&lt;/P&gt;&lt;P&gt;                              wa_itab-lpgbe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_string  = RM03M-LPGBE(07)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even then i have the same error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 18:13:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501215#M565190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T18:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: HELP WITH CODE FOR BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501216#M565191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The page down is not an issue because i see all other values being populated which belong to to the same row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SHDB recording shows the value of the row even for this field as (07) or (08) depends on the row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can send the entire code if you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 18:16:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501216#M565191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T18:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: HELP WITH CODE FOR BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501217#M565192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm showing the field name in my system as    LGPBE   not  LPGBE.  So I believe that this is your issue.  Change the name of the field in your BDC, and you should be good to go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich HEilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 18:25:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501217#M565192</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-10T18:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: HELP WITH CODE FOR BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501218#M565193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any help would be appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 18:25:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501218#M565193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T18:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: HELP WITH CODE FOR BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501219#M565194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data g_ctr(2) type n.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; g_ctr = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT t_tcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      g_ctr = g_ctr + 01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONCATENATE c_matnr '( ' g_ctr ' ) ' INTO g_mabnr.&lt;/P&gt;&lt;P&gt;      PERFORM f_bdc_field USING  g_mabnr g_matnr.  "t_tcdata-matnr..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONCATENATE c_kdmat '( ' g_ctr ' ) ' INTO g_kdmat.&lt;/P&gt;&lt;P&gt;      PERFORM f_bdc_field USING  g_kdmat t_tcdata-kdmat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONCATENATE c_kwmeng '( ' g_ctr ' ) ' INTO g_kwmeng.&lt;/P&gt;&lt;P&gt;      PERFORM f_bdc_field USING  g_kwmeng  t_tcdata-kwmeng.&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;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 18:25:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501219#M565194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T18:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: HELP WITH CODE FOR BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501220#M565195</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;Sorry...what is the issue??Please let us know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 18:26:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501220#M565195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T18:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: HELP WITH CODE FOR BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501221#M565196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My bad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you're right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for everyone of you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow that was a great catch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 18:37:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-code-for-bdc/m-p/2501221#M565196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T18:37:26Z</dc:date>
    </item>
  </channel>
</rss>

