<?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: Mixcase Printing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mixcase-printing/m-p/5592694#M1274848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anshuman ,&lt;/P&gt;&lt;P&gt;here is the code that meets the requirement hpe it helps.....&lt;/P&gt;&lt;P&gt;u can create a zfunction module using the same&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

data:
w_str type string value 'ANSHUMAN KUNAL',
w_sub1 type string,
w_sub2 type string,
w_substr type string,
w_char type c,
w_str1 type string,
w_len type i.

translate w_str to lower case.
w_str1 = w_str.
do.
split w_str1 at space into w_sub1 w_sub2.
w_substr = w_sub1.

w_char = w_sub1(1).
w_len = strlen( w_sub1 ).
translate w_char to upper case.
replace w_sub1(1) with w_char into w_sub1.
replace w_substr with w_sub1 into w_str.
clear w_substr.
w_str1 = w_sub2.

if w_sub2 co space.
  exit.
  endif.

enddo.

write:/10 w_str.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mdi.Deeba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2009 11:17:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-12T11:17:02Z</dc:date>
    <item>
      <title>Mixcase Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mixcase-printing/m-p/5592691#M1274845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable which contains string in Upper Case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex.: W_string = 'ANSHUMAN KUNAL'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to print W_STRING in Mix Case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like: 'Anshuman Kunal'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do..........?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have any function through we can print the text in mix case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 10:36:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mixcase-printing/m-p/5592691#M1274845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T10:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Mixcase Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mixcase-printing/m-p/5592692#M1274846</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;  Whatever u give within single quotes is case-sensitive.where exactly u r using this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nithya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 10:45:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mixcase-printing/m-p/5592692#M1274846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T10:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Mixcase Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mixcase-printing/m-p/5592693#M1274847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anshuman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to print a variable on the list or a print out??&lt;/P&gt;&lt;P&gt;Well if you want it on the list you can use the following code of a &lt;STRONG&gt;parameter&lt;/STRONG&gt; and then put it on list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT DEMO.

PARAMETERS: FIELD1(10),
FIELD2(10) LOWER CASE.

WRITE: FIELD1, FIELD2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This prints exactly wat you write in that parameter(Upeer case or lower).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much Regards,&lt;/P&gt;&lt;P&gt;Amuktha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 10:46:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mixcase-printing/m-p/5592693#M1274847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T10:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Mixcase Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mixcase-printing/m-p/5592694#M1274848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anshuman ,&lt;/P&gt;&lt;P&gt;here is the code that meets the requirement hpe it helps.....&lt;/P&gt;&lt;P&gt;u can create a zfunction module using the same&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

data:
w_str type string value 'ANSHUMAN KUNAL',
w_sub1 type string,
w_sub2 type string,
w_substr type string,
w_char type c,
w_str1 type string,
w_len type i.

translate w_str to lower case.
w_str1 = w_str.
do.
split w_str1 at space into w_sub1 w_sub2.
w_substr = w_sub1.

w_char = w_sub1(1).
w_len = strlen( w_sub1 ).
translate w_char to upper case.
replace w_sub1(1) with w_char into w_sub1.
replace w_substr with w_sub1 into w_str.
clear w_substr.
w_str1 = w_sub2.

if w_sub2 co space.
  exit.
  endif.

enddo.

write:/10 w_str.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mdi.Deeba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 11:17:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mixcase-printing/m-p/5592694#M1274848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T11:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Mixcase Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mixcase-printing/m-p/5592695#M1274849</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 code given below... this will surely resolve your issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : w_len type i,
         w_count type i,
         fl_flag type c,
         w_str type char1024.

w_str = w_string.
w_len = strlen( w_string ).
do w_len times.

  if w_str+w_count(1) eq space.
    clear fl_flag.
  else.
    if fl_flag is initial.
      translate w_str+w_count(1) to upper case.
      fl_flag = 'X'.
    else.
      translate w_str+w_count(1) to lower case.
    endif.
  endif.
  add 1 to w_count.  
enddo.
w_string = w_str.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 11:18:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mixcase-printing/m-p/5592695#M1274849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T11:18:28Z</dc:date>
    </item>
  </channel>
</rss>

