<?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 MARA-CARE_CODE &amp; BAPI_MATERIAL_SAVEREPLICA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mara-care-code-bapi-material-savereplica/m-p/9822662#M1782928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Team ABAP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are some new field in MARA for textile stuff.&lt;/P&gt;&lt;P&gt;There are informations like washingcode, thumlingcode, drycleancode, wetcleancode, ironingcode, bleachcode, and 2 custom codes.&lt;/P&gt;&lt;P&gt;Those fields dont exist in Table mara tho.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a FM that explains how those fields are stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have those 8 fields (6 standard and 2 custom) which are all char2 Fields which get concatenated and then stored in the field MARA-CARE_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use the according search help and pick for example Value '2', i have just the 2 in the field.&lt;/P&gt;&lt;P&gt;When i now try to post that into SAP using BAPI_MATERIAL_SAVEREPLICA i get the error "2 is not a valid value".&lt;/P&gt;&lt;P&gt;That error vanishes when i concatenate a '0' behind it.&lt;/P&gt;&lt;P&gt;So for washing_code 2 it works if i post 20 to the BAPI. When i view it in MM42 after that i can see that it worked like planned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i pick washing code 'E', nothing helps.&lt;/P&gt;&lt;P&gt;I get error message for ' E', for 'E ', 'E0' and '0E'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right now i am clueless what to do, there does not exist a cenversion Exit for said field and i have to assume same Problem for the other 5 Standard fields as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope some of you have an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While this thread goes its way i am going to debug the BAPI and see where the error message gets processed and why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reading&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Florian Kemmer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Nov 2013 11:20:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-11-18T11:20:52Z</dc:date>
    <item>
      <title>MARA-CARE_CODE &amp; BAPI_MATERIAL_SAVEREPLICA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mara-care-code-bapi-material-savereplica/m-p/9822662#M1782928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Team ABAP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are some new field in MARA for textile stuff.&lt;/P&gt;&lt;P&gt;There are informations like washingcode, thumlingcode, drycleancode, wetcleancode, ironingcode, bleachcode, and 2 custom codes.&lt;/P&gt;&lt;P&gt;Those fields dont exist in Table mara tho.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a FM that explains how those fields are stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have those 8 fields (6 standard and 2 custom) which are all char2 Fields which get concatenated and then stored in the field MARA-CARE_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use the according search help and pick for example Value '2', i have just the 2 in the field.&lt;/P&gt;&lt;P&gt;When i now try to post that into SAP using BAPI_MATERIAL_SAVEREPLICA i get the error "2 is not a valid value".&lt;/P&gt;&lt;P&gt;That error vanishes when i concatenate a '0' behind it.&lt;/P&gt;&lt;P&gt;So for washing_code 2 it works if i post 20 to the BAPI. When i view it in MM42 after that i can see that it worked like planned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i pick washing code 'E', nothing helps.&lt;/P&gt;&lt;P&gt;I get error message for ' E', for 'E ', 'E0' and '0E'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right now i am clueless what to do, there does not exist a cenversion Exit for said field and i have to assume same Problem for the other 5 Standard fields as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope some of you have an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While this thread goes its way i am going to debug the BAPI and see where the error message gets processed and why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reading&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Florian Kemmer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 11:20:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mara-care-code-bapi-material-savereplica/m-p/9822662#M1782928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-18T11:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: MARA-CARE_CODE &amp; BAPI_MATERIAL_SAVEREPLICA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mara-care-code-bapi-material-savereplica/m-p/9822663#M1782929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please check this FM WRF_CARE_CODES_CHECK_INTERNAL. If is doing the validation i believe from table WRF_CARE_TYPES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 11:55:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mara-care-code-bapi-material-savereplica/m-p/9822663#M1782929</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2013-11-18T11:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: MARA-CARE_CODE &amp; BAPI_MATERIAL_SAVEREPLICA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mara-care-code-bapi-material-savereplica/m-p/9822664#M1782930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well this FM helped me to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a LOT Nabsheet!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 12:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mara-care-code-bapi-material-savereplica/m-p/9822664#M1782930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-18T12:37:50Z</dc:date>
    </item>
  </channel>
</rss>

