<?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 problem in the BDC program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-the-bdc-program/m-p/4099900#M980381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to post data by using transaction FB01. Probelm is , its not posting the data. its not even throughing any error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wrote the program exactly the same of the exiting program in our system which is working. But in my new program BDC is not working. Can any one please help me in this why its not posting.  if you needed any further information please inform me. It is very urgent for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2008 01:18:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-07T01:18:34Z</dc:date>
    <item>
      <title>problem in the BDC program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-the-bdc-program/m-p/4099900#M980381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to post data by using transaction FB01. Probelm is , its not posting the data. its not even throughing any error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wrote the program exactly the same of the exiting program in our system which is working. But in my new program BDC is not working. Can any one please help me in this why its not posting.  if you needed any further information please inform me. It is very urgent for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 01:18:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-the-bdc-program/m-p/4099900#M980381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T01:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: problem in the BDC program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-the-bdc-program/m-p/4099901#M980382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are u posting the data using call transaction or session method.&lt;/P&gt;&lt;P&gt;If Call transaciton, have u debugged and checked in mode A , you can get all screens to check where its going wrong.&lt;/P&gt;&lt;P&gt;What is sy-subrc value after Call Transaction. &lt;/P&gt;&lt;P&gt;for testing purpose, you can create a session and see the error log in SM35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Session method, then you can go to SM35 and process that session and see the log for details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if u require any other inputs.&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;Naveen Veshala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 01:31:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-the-bdc-program/m-p/4099901#M980382</guid>
      <dc:creator>former_member265047</dc:creator>
      <dc:date>2008-07-07T01:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: problem in the BDC program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-the-bdc-program/m-p/4099902#M980383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nice to see your message. I am using the custom bdc report program. In which I am recording all the records from the internal table bdc_data and moving into the function module BDC_INSERT WITH TRANSACTION FB01 AS INPUT and bdc_data as a table input.&lt;/P&gt;&lt;P&gt; after executing function module sy-subrc is giving 0 with out any exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am  writing the code below,&lt;/P&gt;&lt;P&gt;if you need any more information please let me know.&lt;/P&gt;&lt;P&gt;I am loading the bdc_data table with my internal table data t_data here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT t_data.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;    ADD 1 TO w_recnt.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;    IF w_recnt = 1.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;      PERFORM generate_email USING '' '' '3A'.&lt;/P&gt;&lt;P&gt;      PERFORM generate_email USING text-m84 '' '3B'.&lt;/P&gt;&lt;P&gt;      PERFORM generate_email USING sy-uline+0(21) '' '3C'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;      PERFORM  dynpro USING:&lt;/P&gt;&lt;P&gt;               'X' 'SAPMF05A' '100',&lt;/P&gt;&lt;P&gt;               ' ' 'BKPF-BLDAT' w_bldat,      " Doc date&lt;/P&gt;&lt;P&gt;               ' ' 'BKPF-BLART' p_blart,      " Doc type&lt;/P&gt;&lt;P&gt;               ' ' 'BKPF-BUKRS' p_bukrs,      " Company Code&lt;/P&gt;&lt;P&gt;               ' ' 'BKPF-BUDAT' w_bldat,      " Posting Date&lt;/P&gt;&lt;P&gt;               ' ' 'BKPF-WAERS' p_waers,      " Currency&lt;/P&gt;&lt;P&gt;               ' ' 'BKPF-BKTXT' p_bktxt.      " Header Text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Posting Key Debit = 50 - Credit = 40&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      IF t_data-dmbtr &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        ADD t_data-dmbtr TO w_dmbtr.&lt;/P&gt;&lt;P&gt;        IF t_data-dmbtr &amp;gt; 0.&lt;/P&gt;&lt;P&gt;          PERFORM  dynpro USING: ' ' 'RF05A-NEWBS' '50'.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          PERFORM  dynpro USING: ' ' 'RF05A-NEWBS' '40'.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        ADD t_data-wrbtr TO w_dmbtr.&lt;/P&gt;&lt;P&gt;        IF t_data-wrbtr &amp;gt; 0.&lt;/P&gt;&lt;P&gt;          PERFORM  dynpro USING: ' ' 'RF05A-NEWBS' '50'.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          PERFORM  dynpro USING: ' ' 'RF05A-NEWBS' '40'.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  G/L Account to post to&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      PERFORM  dynpro USING: ' ' 'RF05A-NEWKO' t_data-saknr.&lt;/P&gt;&lt;P&gt;      PERFORM  dynpro USING: ' ' 'BDC_OKCODE'  '/00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*---- Assign current values for following loop&lt;/P&gt;&lt;P&gt;      r_data = t_data.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      CLEAR w_pamnt.&lt;/P&gt;&lt;P&gt;      IF r_data-dmbtr &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        WRITE r_data-dmbtr TO w_pamnt NO-SIGN NO-GROUPING.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        WRITE r_data-wrbtr TO w_pamnt NO-SIGN NO-GROUPING.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      PERFORM  dynpro USING: 'X' 'SAPMF05A' '300',&lt;/P&gt;&lt;P&gt;                             ' ' 'BSEG-WRBTR' w_pamnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Contra Posting Key Debit = 40 - Credit =50&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      IF t_data-dmbtr &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        ADD t_data-dmbtr TO w_dmbtr.&lt;/P&gt;&lt;P&gt;        IF t_data-dmbtr &amp;gt; 0.&lt;/P&gt;&lt;P&gt;          PERFORM  dynpro USING: ' ' 'RF05A-NEWBS' '50'.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          PERFORM  dynpro USING: ' ' 'RF05A-NEWBS' '40'.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        ADD t_data-wrbtr TO w_dmbtr.&lt;/P&gt;&lt;P&gt;        IF t_data-wrbtr &amp;gt; 0.&lt;/P&gt;&lt;P&gt;          PERFORM  dynpro USING: ' ' 'RF05A-NEWBS' '50'.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          PERFORM  dynpro USING: ' ' 'RF05A-NEWBS' '40'.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      PERFORM  dynpro USING: ' ' 'RF05A-NEWKO' t_data-saknr.&lt;/P&gt;&lt;P&gt;      PERFORM  dynpro USING: ' ' 'BDC_OKCODE'  '/00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Cost Object Posting&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CASE r_data-objtp.&lt;/P&gt;&lt;P&gt;        WHEN 'CST'.&lt;/P&gt;&lt;P&gt;          PERFORM  dynpro USING: 'X' 'SAPLKACB'   '0002',&lt;/P&gt;&lt;P&gt;                                 ' ' 'COBL-KOSTL' r_data-kostl.&lt;/P&gt;&lt;P&gt;        WHEN 'FND'.&lt;/P&gt;&lt;P&gt;          PERFORM  dynpro USING: 'X' 'SAPLKACB'   '0002',&lt;/P&gt;&lt;P&gt;                                 ' ' 'COBL-GEBER' r_data-kostl.&lt;/P&gt;&lt;P&gt;        WHEN 'WBS'.&lt;/P&gt;&lt;P&gt;          PERFORM  dynpro USING: 'X' 'SAPLKACB'   '0002',&lt;/P&gt;&lt;P&gt;                                 ' ' 'COBL-PS_POSID' r_data-projk.&lt;/P&gt;&lt;P&gt;      ENDCASE.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;      PERFORM  dynpro USING: ' ' 'BDC_OKCODE'  '=ENTE'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;      CLEAR r_data.&lt;/P&gt;&lt;P&gt;      r_data = t_data.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;    ENDIF.&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;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 03:12:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-the-bdc-program/m-p/4099902#M980383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T03:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem in the BDC program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-the-bdc-program/m-p/4099903#M980384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can search for Call Transaction statement in your program ( Similar to the statement which i mentioned below ) and change the mode to 'A' and execute . Then you can see the BDC posting online. Then see how the flow is going.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL transaction 'FB01' using BDCDATA &lt;/P&gt;&lt;P&gt;                                   mode 'A'&lt;/P&gt;&lt;P&gt;                                   update 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In FB01 posing, your BDC may fail in so many cases, might be for application error, data error or screen squence error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you see that posting online then only you  can able to judge something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen veshala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 04:12:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-the-bdc-program/m-p/4099903#M980384</guid>
      <dc:creator>former_member265047</dc:creator>
      <dc:date>2008-07-07T04:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem in the BDC program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-the-bdc-program/m-p/4099904#M980385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot. Your information is extremely useful. If I face any further concerns I will let you know.Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 13:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-the-bdc-program/m-p/4099904#M980385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T13:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem in the BDC program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-the-bdc-program/m-p/4099905#M980386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem as been resolved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 17:39:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-the-bdc-program/m-p/4099905#M980386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-17T17:39:25Z</dc:date>
    </item>
  </channel>
</rss>

