<?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: function modules concerning batch classification in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644138#M1284458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How have you solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bere Tiffner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jul 2009 15:48:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-16T15:48:12Z</dc:date>
    <item>
      <title>function modules concerning batch classification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644133#M1284453</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'm looking for 2 function modules to do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- search for an object with specific characteristic values of a specific class, as you can do in Txn CL30N&lt;/P&gt;&lt;P&gt;- (if none found) classify an object (a batch) with specific values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I can tell, the BAPI_CHARACT* functions don't do these two things, or do they?&lt;/P&gt;&lt;P&gt;I also know of function module CLAF_OBJECTS_OF_CLASS but this function module returns all objects, and in our implementation there will soon be thousands of objects. I need to be able to specify which objects I get, using specific values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2009 16:03:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644133#M1284453</guid>
      <dc:creator>rob_smeets2</dc:creator>
      <dc:date>2009-05-22T16:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: function modules concerning batch classification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644134#M1284454</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 if the following FMs are useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_OBJCL_GETCLASSES&lt;/P&gt;&lt;P&gt;BAPI_OBJCL_CREATE &lt;/P&gt;&lt;P&gt;BAPI_OBJCL_CHANGE&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;Ankur Parab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2009 17:35:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644134#M1284454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-22T17:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: function modules concerning batch classification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644135#M1284455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I checked them out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_OBJCL_CREATE and ~CHANGE I can use, but I still haven't found a function module that will allow me to find all objects (batches, for instance) that have specific characteristic values of a given class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just like I would enter class 'COATING' type '023' in transaction CL30N, and then enter (for example) viscosity 400 and density 1000, and that would find me exactly one batch for one material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There must be a function module that does just this, without returning all other objects with different characteristic values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't found one yet, though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 13:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644135#M1284455</guid>
      <dc:creator>rob_smeets2</dc:creator>
      <dc:date>2009-05-27T13:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: function modules concerning batch classification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644136#M1284456</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;check this function module to get the batch characteristics names and values for particlar class like CL30N ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
    EXPORTING
      classtype          = '023'
      features           = 'X'
      language           = 'E'
      object             = w_l_object        "material number with leading zeros..
      objecttable        = 'MCH1'            "MARA,MARC,MCH1 or any table relevent
    TABLES
      t_class            = t_lclass            "THis stores Batch class
      t_objectdata       = t_objectdata    "This stores batch characteristics names and values for particular class.
    EXCEPTIONS
      no_classification  = 1
      no_classtypes      = 2
      invalid_class_type = 3
      OTHERS             = 4.
  IF sy-subrc = 0.
  endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 13:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644136#M1284456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T13:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: function modules concerning batch classification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644137#M1284457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, for that function module I need to know the batch beforehand (since it's part of the object name).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 13:35:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644137#M1284457</guid>
      <dc:creator>rob_smeets2</dc:creator>
      <dc:date>2009-05-27T13:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: function modules concerning batch classification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644138#M1284458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How have you solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bere Tiffner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 15:48:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644138#M1284458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T15:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: function modules concerning batch classification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644139#M1284459</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;check in the Table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CABN,CAWN,CAWNT..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

      SELECT SINGLE * FROM cabn
          WHERE atnam = wa_zcxref_classes-characteristic.               "Pass Batch characteristic name..
      IF sy-subrc  = 0.
        SELECT  * FROM cawn into table t_cawn            "All the characteristic values available for batch characteristci is stored here
                        WHERE atinn = cabn-atinn
                                   AND adzhl  = cabn-adzhl.
        IF sy-subrc = 0.
    ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 16:28:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644139#M1284459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-16T16:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: function modules concerning batch classification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644140#M1284460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the following function module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create classification&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        call function 'CLVF_VB_INSERT_CLASSIFICATION' "IN UPDATE TASK&lt;/P&gt;&lt;P&gt;                  exporting&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                   called_from_cl = c_x&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                   object         = wa_kssk-objek&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                    table          = c_table&lt;/P&gt;&lt;P&gt;                    date_of_change = wa_batch-datab&lt;/P&gt;&lt;P&gt;                  tables&lt;/P&gt;&lt;P&gt;                    ausptab        = t_ausp&lt;/P&gt;&lt;P&gt;                    kssktab        = t_kssk&lt;/P&gt;&lt;P&gt;                    i_mdcp         = t_clmdcp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;D. Pandit&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 05:14:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644140#M1284460</guid>
      <dc:creator>dhirendra_pandit</dc:creator>
      <dc:date>2009-07-17T05:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: function modules concerning batch classification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644141#M1284461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Hello Rob,&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;- search for an object with specific characteristic values of a specific class, as you can do in Txn CL30N&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;The functions you are looking for are CLSD_CALL_SEARCH and CLSD_START_SELECTION. I guess better late than ever &lt;SPAN __jive_emoticon_name="silly"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Regards &lt;SPAN __jive_emoticon_name="grin"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 11:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644141#M1284461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-09T11:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: function modules concerning batch classification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644142#M1284462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the fm VB_BATCH_GET_DETAIL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 15:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-concerning-batch-classification/m-p/5644142#M1284462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-09T15:24:53Z</dc:date>
    </item>
  </channel>
</rss>

