<?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: Coverting material while passing to BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608543#M1085993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can Use FM: 'CONVERSION_EXIT_MATN1_INPUT'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Oct 2008 04:39:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-27T04:39:20Z</dc:date>
    <item>
      <title>Coverting material while passing to BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608542#M1085992</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;Iam calling a BAPI for goods movement. For this iam passing my material number from a flat file. The BAPI only recognizing the material when it is in capitals, if the material number is in small letters it is not recognizing that material and displays a message like material doesn't exist. Do i have to convert the materials to caps before passing them to the BAPI. or is there any FM which converts the material into internal format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 04:34:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608542#M1085992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T04:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting material while passing to BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608543#M1085993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can Use FM: 'CONVERSION_EXIT_MATN1_INPUT'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 04:39:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608543#M1085993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T04:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting material while passing to BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608544#M1085994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the conversion routine function CONVERSION_EXIT_MATN1_INPUT to convert  the material ,before passing it to BAPI parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 04:40:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608544#M1085994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T04:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting material while passing to BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608545#M1085995</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;Its true that you have to convert the material number into capitals...because it is case sensitive, and if you check in the master table it is stored in caps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the Key Translate to upper case....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 04:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608545#M1085995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T04:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting material while passing to BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608546#M1085996</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;When i tested this FM its working fine. But in my program it is not working. Am still not able to convert it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 05:24:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608546#M1085996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T05:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting material while passing to BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608547#M1085997</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;I hope this is how you are giving it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ma = 'zapret'.
CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
  EXPORTING
    INPUT              = ma
 IMPORTING
   OUTPUT             = ma1
* EXCEPTIONS
*   LENGTH_ERROR       = 1
*   OTHERS             = 2
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

write: / ma1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vishwa Sri Hari on Oct 27, 2008 10:58 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 05:28:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608547#M1085997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T05:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting material while passing to BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608548#M1085998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi viswa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am giving exactly as you mentioned. But in my case the output ma1 contains the same text which i passed with ma...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 05:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608548#M1085998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T05:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting material while passing to BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608549#M1085999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using the code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TRANSLATE &amp;lt;fieldname&amp;gt; to UPPER CASE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And then pass your fieldname to the BAPI.&lt;/P&gt;&lt;P&gt;I think this should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vishnu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 05:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608549#M1085999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T05:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting material while passing to BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608550#M1086000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh ok. It is not getting converted to Capitals??. OK then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ma = 'zapret'.
 TRANSLATE ma TO UPPER CASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this...It should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 05:36:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608550#M1086000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T05:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting material while passing to BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608551#M1086001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the source , you are getting the material number. are you getting it from any flat file. or any database table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 05:45:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608551#M1086001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T05:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting material while passing to BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608552#M1086002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam getting the material from flat file. and needs to pass this to the BAPI in the corresponding item table. &lt;/P&gt;&lt;P&gt;In program when iam using the specified FM its not getting transalated automatically. But when i tested, it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 05:51:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608552#M1086002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T05:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting material while passing to BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608553#M1086003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try with TRANSLATE keyword.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 05:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608553#M1086003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T05:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting material while passing to BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608554#M1086004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viswa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using translate it is woking fine.&lt;/P&gt;&lt;P&gt;But i wonder why the FM is not working in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 05:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608554#M1086004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T05:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting material while passing to BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608555#M1086005</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;Try with this FM otherwise:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;po = 'zapret'.

CALL FUNCTION '2054_TRANSLATE_2_UPPERCASE'
  EXPORTING
    I_STRING            = po
 IMPORTING
   E_STRING            = po1.
* EXCEPTIONS
*   ERROR_OCCURED       = 1
*   OTHERS              = 2
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.



write: / po1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 06:06:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coverting-material-while-passing-to-bapi/m-p/4608555#M1086005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T06:06:28Z</dc:date>
    </item>
  </channel>
</rss>

