<?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 Problem while using Alphanumeric Material No for BAPI_OBJCL_CONCATENATEKEY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-alphanumeric-material-no-for-bapi-objcl-concatenatekey/m-p/8015914#M1608217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sap gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struck up with the Bapi while working. Could any one help me out with the below logic.I have tried to use the below Bapi 'BAPI_OBJCL_CONCATENATEKEY' passing the Concatenated Object key to BAPI_OBJCL_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here when i having a material number as numeric number the Bapi is working fine but when i am having the material number as Alpha numeric number I am getting problem . The Bapi is not proving the fields by concatenation. Can any one help me how could I get for Alplhanumeric Material Numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_object-key_field = 'MATNR'.&lt;/P&gt;&lt;P&gt;  it_object-value_int = p_matnr.&lt;/P&gt;&lt;P&gt;  APPEND it_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  it_object-key_field = 'WERKS'.&lt;/P&gt;&lt;P&gt;  it_object-value_int = p_werks.&lt;/P&gt;&lt;P&gt;  APPEND it_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  it_object-key_field = 'CHARG'.&lt;/P&gt;&lt;P&gt;  it_object-value_int = p_charg.&lt;/P&gt;&lt;P&gt;  APPEND it_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_OBJCL_CONCATENATEKEY'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            objecttable    = 'MCHA'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            objectkey_conc = w_object&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            objectkeytable = it_object&lt;/P&gt;&lt;P&gt;            return         = rettab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Satish Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jul 2011 09:47:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-25T09:47:33Z</dc:date>
    <item>
      <title>Problem while using Alphanumeric Material No for BAPI_OBJCL_CONCATENATEKEY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-alphanumeric-material-no-for-bapi-objcl-concatenatekey/m-p/8015914#M1608217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sap gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struck up with the Bapi while working. Could any one help me out with the below logic.I have tried to use the below Bapi 'BAPI_OBJCL_CONCATENATEKEY' passing the Concatenated Object key to BAPI_OBJCL_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here when i having a material number as numeric number the Bapi is working fine but when i am having the material number as Alpha numeric number I am getting problem . The Bapi is not proving the fields by concatenation. Can any one help me how could I get for Alplhanumeric Material Numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_object-key_field = 'MATNR'.&lt;/P&gt;&lt;P&gt;  it_object-value_int = p_matnr.&lt;/P&gt;&lt;P&gt;  APPEND it_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  it_object-key_field = 'WERKS'.&lt;/P&gt;&lt;P&gt;  it_object-value_int = p_werks.&lt;/P&gt;&lt;P&gt;  APPEND it_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  it_object-key_field = 'CHARG'.&lt;/P&gt;&lt;P&gt;  it_object-value_int = p_charg.&lt;/P&gt;&lt;P&gt;  APPEND it_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_OBJCL_CONCATENATEKEY'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            objecttable    = 'MCHA'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            objectkey_conc = w_object&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            objectkeytable = it_object&lt;/P&gt;&lt;P&gt;            return         = rettab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Satish Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 09:47:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-alphanumeric-material-no-for-bapi-objcl-concatenatekey/m-p/8015914#M1608217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-25T09:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while using Alphanumeric Material No for BAPI_OBJCL_CONCATENATEKEY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-alphanumeric-material-no-for-bapi-objcl-concatenatekey/m-p/8015915#M1608218</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;use the function module BAPI_BATCH_SAVE_REPLICA .. No need for the two function modules you are working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 10:12:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-alphanumeric-material-no-for-bapi-objcl-concatenatekey/m-p/8015915#M1608218</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2011-07-25T10:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while using Alphanumeric Material No for BAPI_OBJCL_CONCATENATEKEY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-alphanumeric-material-no-for-bapi-objcl-concatenatekey/m-p/8015916#M1608219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nagraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me if i go with my process how can i handle the Materials with Alphanumeric numbers. When i use Alphanumeric material I am not getting the concatenated Key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Satish Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 11:38:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-alphanumeric-material-no-for-bapi-objcl-concatenatekey/m-p/8015916#M1608219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-25T11:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while using Alphanumeric Material No for BAPI_OBJCL_CONCATENATEKEY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-alphanumeric-material-no-for-bapi-objcl-concatenatekey/m-p/8015917#M1608220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You code is correct (it's almost a copy of FORM &lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;get_batch_classification_keys&lt;/SPAN&gt;  in standard include &lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;OEM_ROUTINE&lt;/SPAN&gt; ) so check your data, are they actually in internal format ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 11:55:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-alphanumeric-material-no-for-bapi-objcl-concatenatekey/m-p/8015917#M1608220</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-07-25T11:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while using Alphanumeric Material No for BAPI_OBJCL_CONCATENATEKEY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-alphanumeric-material-no-for-bapi-objcl-concatenatekey/m-p/8015918#M1608221</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;Have you passed the leading zero's for the alphanumeric material... ?? I have checked in my system i have passed like this from SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MATERIAL NUMBER -&amp;gt;0000000000000BA901&lt;/P&gt;&lt;P&gt;WERKS-&amp;gt;1000&lt;/P&gt;&lt;P&gt;CHARG-&amp;gt;0000012345&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i got the OBJECTKEY_CONC correctly... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the data you are passing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also instead of using the FM ,as you know the material, batch and plant, inside the loop you can go for concatenation statement for the three fields.. for material and batch , you can use conversion_exit_alpha_input to have zero's .&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;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 11:56:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-alphanumeric-material-no-for-bapi-objcl-concatenatekey/m-p/8015918#M1608221</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2011-07-25T11:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while using Alphanumeric Material No for BAPI_OBJCL_CONCATENATEKEY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-alphanumeric-material-no-for-bapi-objcl-concatenatekey/m-p/8015919#M1608222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nagaraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I donot have a material with out leading Zero's. I have a material ZF126 (with out leading zero's and Charg--B48. When i use BAPI_OBJCL_CONCATENATEKEY it is giving me OBJECTKEY_CONC --ZF126             B60  in an inproper way of concatenation.&lt;/P&gt;&lt;P&gt;This is my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution of Using BAPI_BATCH_SAVE_REPLICA is not updating data base with the data provided. I need to update Batch Master Classification data Manufacturing Site /Plant, Country of Origin, Date of Manufacture.&lt;/P&gt;&lt;P&gt;By Using this Save BAPI I can update Country of Origin and Date of Manufacture but for Manufacturing Plant I need to use the Tables section in Save Bapi. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My target is to update three fields Manufacturing Site /Plant, Country of Origin, Date of Manufacture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This save BAPI is helping me to update 2 fields but not Manufacturing Plant. Could you please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Satish Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 12:56:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-alphanumeric-material-no-for-bapi-objcl-concatenatekey/m-p/8015919#M1608222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-25T12:56:55Z</dc:date>
    </item>
  </channel>
</rss>

