<?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  using oops concepts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-using-oops-concepts/m-p/3506293#M843310</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please check the accessibility scope of the methods you have defined and check if you are trying to access the method defined under private.  You have not given the name of the method which is throwing this message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2008 11:40:49 GMT</pubDate>
    <dc:creator>former_member188594</dc:creator>
    <dc:date>2008-03-12T11:40:49Z</dc:date>
    <item>
      <title>bdc  using oops concepts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-using-oops-concepts/m-p/3506292#M843309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i m here with facing an error   'Method "" is unknown or PROTECTED or PRIVATE.',here below i have pasted all my coding  kindly respond me with useful answers,i m her using fi01 transaction&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; Report  ZSD_BDC_SESS_GL_INHERITANCE&lt;/P&gt;&lt;P&gt;*&amp;amp;&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;&lt;/P&gt;&lt;P&gt;*&amp;amp;&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;&lt;/P&gt;&lt;P&gt;REPORT  ZSD_BDC_SESS_GL_INHERITANCE.&lt;/P&gt;&lt;P&gt;data:begin of wa_fi01,&lt;/P&gt;&lt;P&gt;banks like  bnka-banks,&lt;/P&gt;&lt;P&gt;bankl like bnka-bankl,&lt;/P&gt;&lt;P&gt;banka like bnka-banka,&lt;/P&gt;&lt;P&gt;ort01 like bnka-ort01,&lt;/P&gt;&lt;P&gt;end of wa_fi01.&lt;/P&gt;&lt;P&gt;data:it_fi01 like standard table of wa_fi01,&lt;/P&gt;&lt;P&gt;     wa_bdcdata like bdcdata,&lt;/P&gt;&lt;P&gt;     im_bdcdata like table of wa_bdcdata.&lt;/P&gt;&lt;P&gt;     data: o_bdc_session type ref to  z_sd_bdc_class_session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**definition.&lt;/P&gt;&lt;P&gt;*class o_bdc_session definition.&lt;/P&gt;&lt;P&gt;*public section.&lt;/P&gt;&lt;P&gt;*methods:upload_file_data importing im_file type string&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                  im_sep type c&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       changing im_data type standard table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*start-of-selection.&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;create object o_bdc_session.&lt;/P&gt;&lt;P&gt;call method o_bdc_session-&amp;gt;upload_file_data&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;im_file = 'c:\raja.txt'&lt;/P&gt;&lt;P&gt;im_sep = 'x'&lt;/P&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;im_data = it_fi01&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;write: / 'file is sucessfully uploaded'.&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;*open group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method o_bdc_session-&amp;gt;open_session  exporting im_client = sy-mandt&lt;/P&gt;&lt;P&gt;                                                   im_group = 'zrajan'&lt;/P&gt;&lt;P&gt;                                                   im_keep = 'x'&lt;/P&gt;&lt;P&gt;                                                   im_user = sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*record to be created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_fi01 into wa_fi01.&lt;/P&gt;&lt;P&gt;refresh im_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*first screen details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method o_bdc_session-&amp;gt; fill_screen_details&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;im_program = 'sapmf02b'&lt;/P&gt;&lt;P&gt;im_dynpro = '100'&lt;/P&gt;&lt;P&gt;im_dynbegin = 'x'.&lt;/P&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;im_proceedure = im_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*banks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method o_bdc_session-&amp;gt;fill_field_details&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;im_fnam = 'bnka-banks'&lt;/P&gt;&lt;P&gt;im_fval = wa_fi01-banks&lt;/P&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;it_proceedure = im_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*bankl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method o_bdc_session-&amp;gt;fill_field_details&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;im_fnam = 'bnka-bankl'&lt;/P&gt;&lt;P&gt;im_fval = wa_fi01-bankl&lt;/P&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;it_proceedure = im_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method o_bdc_session-&amp;gt;fill_field_details&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;im_fname = 'bdc_okcode'&lt;/P&gt;&lt;P&gt;im_fval = '/00'&lt;/P&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;im_proceedure = im_bdcdata&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*second screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method o_bdc_session-&amp;gt;fill_screen_details&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;im_program = 'sapmf02b'&lt;/P&gt;&lt;P&gt;im_dynpro = '0110'&lt;/P&gt;&lt;P&gt;im_dynbegin = 'x'&lt;/P&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;im_proceedure = im_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*banka.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method o_bdc_session-&amp;gt;fill_field_details&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;im_fname = 'bnka-banka'&lt;/P&gt;&lt;P&gt;im-fval = wa_fi01-banka.&lt;/P&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;im_proceedure = im_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*ort01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method o_bdc_session-&amp;gt;fill_field_detais&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;im_fname = 'bnka-ort01'&lt;/P&gt;&lt;P&gt;im-fval = wa_fi01-ort01.&lt;/P&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;im_proceedure = im_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method o_bdc_session-&amp;gt;fill_field_details&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;im_fname = 'bdc_okcode'&lt;/P&gt;&lt;P&gt;im_fval =  '=upda'&lt;/P&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;im_proceedure = im_bdcdata&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*bdc_insert.&lt;/P&gt;&lt;P&gt;call method o_bdc_session-&amp;gt;insert_session exporting im_tcode = 'fi01'&lt;/P&gt;&lt;P&gt;changing im_dynprotab = im_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bdc_close.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method o_bdc_session-&amp;gt;close_session.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;U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/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 11:14:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-using-oops-concepts/m-p/3506292#M843309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T11:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: bdc  using oops concepts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-using-oops-concepts/m-p/3506293#M843310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please check the accessibility scope of the methods you have defined and check if you are trying to access the method defined under private.  You have not given the name of the method which is throwing this message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 11:40:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-using-oops-concepts/m-p/3506293#M843310</guid>
      <dc:creator>former_member188594</dc:creator>
      <dc:date>2008-03-12T11:40:49Z</dc:date>
    </item>
  </channel>
</rss>

