<?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: Update Batch Classification for a Material in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827678#M1316055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've wrote a classic BTCI on MSC1 using SHDB T-code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Soufiane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2009 13:45:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-25T13:45:13Z</dc:date>
    <item>
      <title>Update Batch Classification for a Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827668#M1316045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing the following problem : A specific BTCI wich simulates MB01 was calling another program called SAPLCTMS to update Batch classification for a Material, this program (SAPLCTMS ) seems to be not necessary after the support package Level 57 (we just installed SAP4.6C). I didn't find any note on OSS for this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i'm trying to use this BAPI instead of BTCI for the Material batch classification  : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BAPI_OBJCL_CHANGE'
         EXPORTING
              objectkey          = l_objnum
              objecttable        = 'MCH1' 
              classnum           = 'ZGB_TIDCLASS'
              classtype          = '022'
              status             = '1'
              keydate            = sy-datum
         TABLES
              allocvaluesnumnew  = t_valuesnum
              allocvaluescharnew = t_valueschar
              allocvaluescurrnew = t_valuescurr
              return             = t_return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But its not working, it keeps asking for a batch number. I guess i'm not using the right FM ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas about this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help !&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Soufiane FAYSSAL on Jun 18, 2009 11:42 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2009 09:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827668#M1316045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-18T09:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Update Batch Classification for a Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827669#M1316046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need concatenate material number (with leading zeros) and batch number into l_objnum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2009 09:48:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827669#M1316046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-18T09:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Update Batch Classification for a Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827670#M1316047</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 that the entire 18 digit material number is being passed.&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>Thu, 18 Jun 2009 09:50:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827670#M1316047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-18T09:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Update Batch Classification for a Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827671#M1316048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Concatenate is not working. And Yes its a 18 digit passed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_objnum(18) = p_matnr.&lt;/P&gt;&lt;P&gt;l_objnum+18(10) = p_charg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting object EFT930G-001-GEN   0098765480 doesn't exist...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other suggestions please ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2009 10:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827671#M1316048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-18T10:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Update Batch Classification for a Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827672#M1316049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Are you sure the class type is '022'.&lt;/P&gt;&lt;P&gt;It should be '023' for batch&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>Thu, 18 Jun 2009 14:43:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827672#M1316049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-18T14:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Update Batch Classification for a Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827673#M1316050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Incase you want to change the characteristics value assigned with the material for the class type as batch then you have to pass data as follows:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BAPI_OBJCL_CHANGE'
    EXPORTING
      objectkey                =  lv_object
      objecttable              = 'MARA'
      classnum                 = 'ZTEST'
      classtype                = '023'
    tables
      allocvaluesnumnew        = num
      allocvaluescharnew       = char
      allocvaluescurrnew       = curr
      return                   = ret&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;         &lt;/P&gt;&lt;P&gt;The objectkey will just contain the 18 digit material number.&lt;/P&gt;&lt;P&gt;The objecttable will be MARA&lt;/P&gt;&lt;P&gt;The classtype will be 023 and the classnum will be the name of the class.&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>Thu, 18 Jun 2009 15:02:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827673#M1316050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-18T15:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Update Batch Classification for a Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827674#M1316051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ankur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.Its 022 in my case. Here a piece of code wich i'm using : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;l_objnum(18)        = p_matnr.
  l_objnum+18(4)    = p_werks.
  l_objnum+22(10)   = p_charg.

  CALL FUNCTION 'BAPI_OBJCL_CREATE'
       EXPORTING
            objectkeynew    = l_objnum
            objecttablenew  = 'MARA'
            classnumnew     = 'ZGB_TIDCLASS'
            classtypenew    = '022'   
            status          = '1'
*            keydate         = sy-datum
       TABLES
            allocvaluesnum  = t_valuesnum
            allocvalueschar = t_valueschar
            allocvaluescurr = t_valuescurr
            return          = t_return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a COMIT WORK. The Batch classification is created in MSC2N with my material/Plant/Batch but the values are not even if t_valueschar table is filled with the correct values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, after the batch classification creation, when i run a se37 with BAPI_OBJCL_GETDETAIL, its giving the values wich are not displayed in MSC2N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2009 16:33:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827674#M1316051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-18T16:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Update Batch Classification for a Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827675#M1316052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any suggetons Friends.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2009 21:19:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827675#M1316052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-18T21:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Update Batch Classification for a Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827676#M1316053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved I ran an SHDB on MSC1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 10:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827676#M1316053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-19T10:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update Batch Classification for a Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827677#M1316054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;how have you solved it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Anna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 10:51:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827677#M1316054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T10:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Update Batch Classification for a Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827678#M1316055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've wrote a classic BTCI on MSC1 using SHDB T-code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Soufiane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 13:45:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827678#M1316055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T13:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Update Batch Classification for a Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827679#M1316056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, MSC2 not MSC1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 13:47:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827679#M1316056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T13:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Update Batch Classification for a Material</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827680#M1316057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am Ashok Chelikani. I am working on the same Issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting following message:&lt;/P&gt;&lt;P&gt;TYPE ID&amp;nbsp;&amp;nbsp;&amp;nbsp; NUMBER&amp;nbsp; MESSAGE&lt;/P&gt;&lt;P&gt;E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |C1&amp;nbsp;&amp;nbsp; |003&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |Characteristic DIMENSIONSCOLOR not found or not valid&lt;/P&gt;&lt;P&gt;I&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |CL&amp;nbsp;&amp;nbsp; |736&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |Assignment was not created&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my procedure as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;CLEAR: lv_objnum.&lt;/P&gt;&lt;P&gt;lv_objnum = I_MSEG-MATNR.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;**Get Object Details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;objectkey = lv_objnum&lt;/P&gt;&lt;P&gt;objecttable = 'MARA'&lt;/P&gt;&lt;P&gt;classnum = 'Z_RMBCH1'&lt;/P&gt;&lt;P&gt;classtype = '001'&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;allocvaluesnum = lt_alloc_num&lt;/P&gt;&lt;P&gt;allocvalueschar = lt_alloc_char&lt;/P&gt;&lt;P&gt;allocvaluescurr = lt_alloc_curr&lt;/P&gt;&lt;P&gt;return = lt_return.&lt;/P&gt;&lt;P&gt;IF NOT lt_return IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;CLEAR: lv_objnum.&lt;/P&gt;&lt;P&gt;lv_objnum(18) = I_MSEG-MATNR.&lt;/P&gt;&lt;P&gt;lv_objnum+18(10) = I_MSEG-CHARG.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_OBJCL_CHANGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;objectkey = lV_objnum&lt;/P&gt;&lt;P&gt;objecttable = 'MCH1' &lt;/P&gt;&lt;P&gt;classnum = 'Z_RMBCH1'&lt;/P&gt;&lt;P&gt;classtype = '023'&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;allocvaluesnumnew = lt_alloc_num&lt;/P&gt;&lt;P&gt;allocvaluescharnew = lt_alloc_char&lt;/P&gt;&lt;P&gt;allocvaluescurrnew = lt_alloc_curr&lt;/P&gt;&lt;P&gt;return = lt_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lt_return returing error message. Kindly help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 13:43:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-batch-classification-for-a-material/m-p/5827680#M1316057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-29T13:43:48Z</dc:date>
    </item>
  </channel>
</rss>

