<?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 Sample coding for BAPIs to replace BDC recording in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-coding-for-bapis-to-replace-bdc-recording/m-p/5000667#M1164452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When doing recording in MSC1N or MSC2N. Its stuck at classification screen.&lt;/P&gt;&lt;P&gt;Therefore, transaction MSC1N or MSC2N cannot support BDC recording. So, have to use BAPIs to serve the purpose.&lt;/P&gt;&lt;P&gt;Can anyone show me the sample code for doing it? I think BAPIs related are :&lt;/P&gt;&lt;P&gt;1) BAPI_OBJCL_GET_KEY_OF_OBJECT&lt;/P&gt;&lt;P&gt;2) BAPI_OBJCL_GETCLASSES_KEY&lt;/P&gt;&lt;P&gt;3) BAPI_OBJCL_GETDETAIL&lt;/P&gt;&lt;P&gt;4) BAPI_OBJCL_CHANGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to request for the sample coding for the suggestion? how those BAPIs works without BDC recording? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Elaine Tang on Feb 3, 2009 4:21 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jan 2009 00:49:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-12T00:49:25Z</dc:date>
    <item>
      <title>Sample coding for BAPIs to replace BDC recording</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-coding-for-bapis-to-replace-bdc-recording/m-p/5000667#M1164452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When doing recording in MSC1N or MSC2N. Its stuck at classification screen.&lt;/P&gt;&lt;P&gt;Therefore, transaction MSC1N or MSC2N cannot support BDC recording. So, have to use BAPIs to serve the purpose.&lt;/P&gt;&lt;P&gt;Can anyone show me the sample code for doing it? I think BAPIs related are :&lt;/P&gt;&lt;P&gt;1) BAPI_OBJCL_GET_KEY_OF_OBJECT&lt;/P&gt;&lt;P&gt;2) BAPI_OBJCL_GETCLASSES_KEY&lt;/P&gt;&lt;P&gt;3) BAPI_OBJCL_GETDETAIL&lt;/P&gt;&lt;P&gt;4) BAPI_OBJCL_CHANGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to request for the sample coding for the suggestion? how those BAPIs works without BDC recording? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Elaine Tang on Feb 3, 2009 4:21 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2009 00:49:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-coding-for-bapis-to-replace-bdc-recording/m-p/5000667#M1164452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-12T00:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sample coding for BAPIs to replace BDC recording</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-coding-for-bapis-to-replace-bdc-recording/m-p/5000668#M1164453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;see this thread &lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="146332"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/advancedsearch?query=bapi_objcl_getdetail&amp;amp;cat=sdn_all" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/advancedsearch?query=bapi_objcl_getdetail&amp;amp;cat=sdn_all&lt;/A&gt;.&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, 03 Feb 2009 03:30:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-coding-for-bapis-to-replace-bdc-recording/m-p/5000668#M1164453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T03:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sample coding for BAPIs to replace BDC recording</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-coding-for-bapis-to-replace-bdc-recording/m-p/5000669#M1164454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this out and let me know..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ztv_test NO STANDARD PAGE HEADING LINE-SIZE 500.

DATA: git_bapi1003 TYPE TABLE OF bapi1003_alloc_values_num,
      git_values_char TYPE TABLE OF bapi1003_alloc_values_char,
      git_values_curr TYPE TABLE OF bapi1003_alloc_values_curr,
      git_bapiret2 TYPE TABLE OF bapiret2,
      ls_bapiret2 TYPE bapiret2.

DATA: gs_bapi1003 TYPE bapi1003_alloc_values_num,
      gs_values_char TYPE bapi1003_alloc_values_char,
      gs_values_curr TYPE bapi1003_alloc_values_char,
      gc_flag_x(1) TYPE c VALUE 'X'.

      gs_values_char-charact = 'VIEWS_ID'. "Characteristics
      
      gs_values_char-value_char = '012'. "characteristics value
      
      APPEND gs_values_char TO git_values_char.

      CALL FUNCTION 'BAPI_OBJCL_CHANGE'
      
        EXPORTING
          objectkey = '1100000028' "Customer
          objecttable = 'KNA1'
          classnum = 'CATALOG_VIEW_CUST' "Class Number
          classtype = '011' "Class Type

        TABLES
            allocvaluesnumnew = git_bapi1003
            allocvaluescharnew = git_values_char
            allocvaluescurrnew = git_values_curr
            return = git_bapiret2.

      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      
        EXPORTING
        
          wait = 'X'
        
        IMPORTING.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 03:32:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-coding-for-bapis-to-replace-bdc-recording/m-p/5000669#M1164454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T03:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sample coding for BAPIs to replace BDC recording</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sample-coding-for-bapis-to-replace-bdc-recording/m-p/5000670#M1164455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the guidelines from here :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/tutorial" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/tutorial&lt;/A&gt;,&lt;EM&gt;MM01&lt;/EM&gt;Upload&lt;EM&gt;using&lt;/EM&gt;BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 04:12:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sample-coding-for-bapis-to-replace-bdc-recording/m-p/5000670#M1164455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T04:12:22Z</dc:date>
    </item>
  </channel>
</rss>

