<?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: BAPI_OBJCL_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-create/m-p/7837365#M1590556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct. I thought of that. But initially we do not have any classification for the customer at all. So i chose to create. Even if the customer classification is BLANK we need to use CHANGE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karuna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 May 2011 15:13:51 GMT</pubDate>
    <dc:creator>karuna_gangireddy</dc:creator>
    <dc:date>2011-05-17T15:13:51Z</dc:date>
    <item>
      <title>BAPI_OBJCL_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-create/m-p/7837363#M1590554</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;We have a requirement to change classification for the customer. I am using the BAPI 'BAPI_OBJCL_CREATE'. But i am getting an error message in return as 'Class type 011 : class BUS3060 not found'. Here is the code i am using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     v_object = itab_cust-kunnr.&lt;/P&gt;&lt;P&gt;     v_class  = 'BUS3060'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     ls_valuechar-charact = 'KUKLA'.&lt;/P&gt;&lt;P&gt;     ls_valuechar-value_char = zkukla-low.&lt;/P&gt;&lt;P&gt;     ls_valuechar-value_neutral = zkukla-low.&lt;/P&gt;&lt;P&gt;     APPEND ls_valuechar to v_valuechar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     CALL FUNCTION 'BAPI_OBJCL_CREATE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;         OBJECTKEYNEW            = v_object&lt;/P&gt;&lt;P&gt;         OBJECTTABLENEW          = 'KNA1'&lt;/P&gt;&lt;P&gt;         CLASSNUMNEW             = v_class&lt;/P&gt;&lt;P&gt;         CLASSTYPENEW            = '011'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;         ALLOCVALUESNUM          = v_valuenum&lt;/P&gt;&lt;P&gt;         ALLOCVALUESCHAR         = v_valuechar&lt;/P&gt;&lt;P&gt;         ALLOCVALUESCURR         = v_valuecurr&lt;/P&gt;&lt;P&gt;         RETURN                  = v_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE v_return into ls_return WITH KEY type = 'E'.&lt;/P&gt;&lt;P&gt;      IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        RETURN =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;       write:/50 ' Failled'.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;        wait = 'X'.&lt;/P&gt;&lt;P&gt;         write:/10 v_object.&lt;/P&gt;&lt;P&gt;         write:/50 'Changed Successfully'.&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;Thanks in advance,&lt;/P&gt;&lt;P&gt;Karuna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 14:59:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-create/m-p/7837363#M1590554</guid>
      <dc:creator>karuna_gangireddy</dc:creator>
      <dc:date>2011-05-17T14:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OBJCL_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-create/m-p/7837364#M1590555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to change..should you be using 'BAPI_OBJCL_CHANGE'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 15:02:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-create/m-p/7837364#M1590555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-17T15:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OBJCL_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-create/m-p/7837365#M1590556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct. I thought of that. But initially we do not have any classification for the customer at all. So i chose to create. Even if the customer classification is BLANK we need to use CHANGE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karuna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 15:13:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-create/m-p/7837365#M1590556</guid>
      <dc:creator>karuna_gangireddy</dc:creator>
      <dc:date>2011-05-17T15:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OBJCL_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-create/m-p/7837366#M1590557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed to 'BAPI_OBJCL_CHANGE' still the same message. It is complaining about the class and object type. I have looked many forums but am not able to figure out what is wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using classtype as '011' as the classtable is ''KNA1' and am using the class as  'BUS3060'. I am trying to change the characteristic of customer which is 'Customer class (KNA1-KUKLA)'. I am also giving this character name to CHARACT in ALLOCVALUESCHAR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or docs that help regarding this would be a great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karuna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 14:16:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-create/m-p/7837366#M1590557</guid>
      <dc:creator>karuna_gangireddy</dc:creator>
      <dc:date>2011-05-19T14:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OBJCL_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-create/m-p/7837367#M1590558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you able to enter the classification with the name you mentioned in XD02 -&amp;gt; Extras -&amp;gt; Classification and save it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are able to, Get the details from 'BAPI_OBJCL_GETDETAIL' and try to pass the same 'BAPI_OBJCL_CREATE' / 'BAPI_OBJCL_CHANGE' ( if it already exist ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 15:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-create/m-p/7837367#M1590558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-19T15:17:51Z</dc:date>
    </item>
  </channel>
</rss>

