<?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: Problem while calling transaction in BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-calling-transaction-in-bdc/m-p/7426064#M1549844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; values are not getting populated in the screen &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your statement, I think you are trying to run the BDC in foreground mode. right ?? If yes then,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Your internal table will definitely have the record values which you have uploaded from the data file ( for eg .txt).&lt;/P&gt;&lt;P&gt;2. Since your values are not getting populated on the screen, then definitely there is prob with your recording. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to do transaction recording once again and then populate internal table of type BDCDATA propoerly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if you are still coming across the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Oct 2010 12:19:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-19T12:19:32Z</dc:date>
    <item>
      <title>Problem while calling transaction in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-calling-transaction-in-bdc/m-p/7426062#M1549842</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;I am using BDC call transaction to record verdor creation(FK01).Problem is while calling transaction FK01, values are not getting populated in the screen.When was doing in debug mode all the data is getting populated into internal table.what could be the reason?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pratapvdl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 10:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-calling-transaction-in-bdc/m-p/7426062#M1549842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-19T10:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while calling transaction in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-calling-transaction-in-bdc/m-p/7426063#M1549843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can u show the code wat u have written for BDC.&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;Madhukar Shetty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 10:23:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-calling-transaction-in-bdc/m-p/7426063#M1549843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-19T10:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while calling transaction in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-calling-transaction-in-bdc/m-p/7426064#M1549844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; values are not getting populated in the screen &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your statement, I think you are trying to run the BDC in foreground mode. right ?? If yes then,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Your internal table will definitely have the record values which you have uploaded from the data file ( for eg .txt).&lt;/P&gt;&lt;P&gt;2. Since your values are not getting populated on the screen, then definitely there is prob with your recording. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to do transaction recording once again and then populate internal table of type BDCDATA propoerly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if you are still coming across the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 12:19:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-calling-transaction-in-bdc/m-p/7426064#M1549844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-19T12:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while calling transaction in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-calling-transaction-in-bdc/m-p/7426065#M1549845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   i have given the mode as '&lt;STRONG&gt;A&lt;/STRONG&gt;'(fore ground) and update mode as '&lt;STRONG&gt;S&lt;/STRONG&gt;' .All the data is getting populated into iternal table but those values are not getting transfered to screen. I have mentioned code below how i am using call transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'FK01' using it_bdcdata&lt;/P&gt;&lt;P&gt;    mode c_mod&lt;/P&gt;&lt;P&gt;   update c_updat&lt;/P&gt;&lt;P&gt;    messages into i_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pratapvd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 12:30:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-calling-transaction-in-bdc/m-p/7426065#M1549845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-19T12:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while calling transaction in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-calling-transaction-in-bdc/m-p/7426066#M1549846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a FAQ by now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that "use central address management" is checked off on the first screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 13:07:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-calling-transaction-in-bdc/m-p/7426066#M1549846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-19T13:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while calling transaction in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-calling-transaction-in-bdc/m-p/7426067#M1549847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratapvd,&lt;/P&gt;&lt;P&gt;Since you are still facing the same problem, it would be great if you can paste your code here and let us analyze the code first.&lt;/P&gt;&lt;P&gt;Anyways, in the mean time, you can check in debugging mode that whether your BDCDATA internal table i.e. it_bdcdata&lt;/P&gt;&lt;P&gt; is having that screen number and field name which you want to populate. If it is not there then there is prob with your recording. Apart from that you can refer below mentioned code for your reference as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    IF NOT lt_mat IS INITIAL.

      LOOP AT lt_mat INTO ls_mat.

        PERFORM bdc_dynpro      USING 'SAPLMGMM' '0060'.
        PERFORM bdc_field       USING 'BDC_CURSOR'                              'RMMG1-MATNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'                              '/00'.
        PERFORM bdc_field       USING 'RMMG1-MATNR'                              ls_mat-matnr.

        PERFORM bdc_dynpro      USING 'SAPLMGMM' '0070'.
        PERFORM bdc_field       USING 'BDC_CURSOR'                              'MSICHTAUSW-DYTXT(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'                              '=ENTR'.
        PERFORM bdc_field       USING 'MSICHTAUSW-KZSEL(01)'                              'X'.

        PERFORM bdc_dynpro      USING 'SAPLMGMM' '4004'.
        PERFORM bdc_field       USING 'BDC_CURSOR'                              ls_mat-MAKTX.
        PERFORM bdc_field       USING 'MAKT-MAKTX'                              ls_mat-maktx.
        PERFORM bdc_field       USING 'MARA-MEINS'                              ls_mat-meins.
        PERFORM bdc_field       USING 'MARA-MATKL'                              ls_mat-matkl.
        PERFORM bdc_field       USING 'BDC_OKCODE'                              '=BU'.

        CALL TRANSACTION 'MM02' USING lt_bdcdata
                                MODE 'A'
                                UPDATE 'A'
                                MESSAGES INTO lt_msgcoll.
        CLEAR ls_mat.
      ENDLOOP.
    ENDIF.
  ELSE.
    EXIT.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Come up with your prob if you are still facing same prob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 04:00:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-calling-transaction-in-bdc/m-p/7426067#M1549847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-20T04:00:49Z</dc:date>
    </item>
  </channel>
</rss>

