<?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: Problem with to_mixed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702546#M2018475</link>
    <description>&lt;P&gt;Thanks  &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt;! &lt;BR /&gt;I'll use this one as an incentive to &lt;EM&gt;finally&lt;/EM&gt; apply some RegEx in ABAP AND as a chance to implement some useful Unit Tests &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm not quite sure though about "&lt;EM&gt;ABAP &amp;gt;= 7.55&lt;/EM&gt;":&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2167390-cleanshot-2023-05-30-at-125013.png" /&gt;&lt;/P&gt;&lt;P&gt;I'll try it anyway &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; and report back.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2023 10:59:56 GMT</pubDate>
    <dc:creator>Vlad_Ghitulescu</dc:creator>
    <dc:date>2023-05-30T10:59:56Z</dc:date>
    <item>
      <title>Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702534#M2018463</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;
  &lt;P&gt;I have a text containing strings in capitals like this:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;AGGSTALL&lt;BR /&gt;BAD KÖTZTING&lt;BR /&gt;RIED A.HAIDSTEIN&lt;BR /&gt;SCHMID I.LEHEN&lt;BR /&gt;TAUFKIRCHEN (VILS)&lt;BR /&gt;BAD KÖNIGSHOFEN I.GRABFELD&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I have to transform them to:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;Aggstall&lt;BR /&gt;Bad Kötzting&lt;BR /&gt;Ried a.Haidstein&lt;BR /&gt;Schmid i.Lehen&lt;BR /&gt;Taufkirchen (Vils)&lt;BR /&gt;Bad Königshofen i.Grabfeld&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Google-ing I've learned about &lt;STRONG&gt;to_mixed&lt;/STRONG&gt; and found &lt;A href="https://www.abapforum.com/forum/viewtopic.php?t=21568"&gt;here&lt;/A&gt; a trick that solves the second string BUT not the rest:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2167184-cleanshot-2023-05-24-at-071720.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Do you have an idea how can I solve this?&lt;/P&gt;
  &lt;P&gt;Thanks!&lt;/P&gt;
  &lt;P&gt;Regards,&lt;BR /&gt;Vlad&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 07:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702534#M2018463</guid>
      <dc:creator>Vlad_Ghitulescu</dc:creator>
      <dc:date>2023-05-24T07:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702535#M2018464</link>
      <description>&lt;P&gt;Hello, try with this code :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data(lv_output_string_1) = to_mixed(&lt;BR /&gt;  val = |{ replace( val = cv_input_string_1 sub = `.` with = `..` occ = 0 ) } |&lt;BR /&gt;  sep = '.'&lt;BR /&gt;  min = ( find( val = cv_input_string_1 sub = '.' ) + 1 ) ).&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Works for me.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 08:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702535#M2018464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2023-05-26T08:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702536#M2018465</link>
      <description>&lt;P&gt;Hum I've just realized you have string with more than 2 words and also string with no point inside but parenthesis... &lt;/P&gt;&lt;P&gt;It work only with string with 2 words and with point inside, so not a solution.&lt;/P&gt;&lt;P&gt;Maybe you can build your own to_mixed function, somethings like this (but you have to manage the special case). &lt;/P&gt;&lt;P&gt;Perhaps my code is not the best way to do it, but it's working for your example.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;class up_and_low_mixer definition.&lt;BR /&gt;  public section.&lt;BR /&gt;    class-methods mix importing str      type string&lt;BR /&gt;                      returning value(r) type string.&lt;BR /&gt;endclass.&lt;BR /&gt;&lt;BR /&gt;class up_and_low_mixer implementation.&lt;BR /&gt;  method mix.&lt;BR /&gt;&lt;BR /&gt;    data table_for_string type standard table of string.&lt;BR /&gt;    data temp_str type string.&lt;BR /&gt;    data(working_str) = str.&lt;BR /&gt;&lt;BR /&gt;    working_str = to_lower( working_str ).&lt;BR /&gt;    split working_str at ` ` into table table_for_string.&lt;BR /&gt;&lt;BR /&gt;    loop at table_for_string reference into data(line).&lt;BR /&gt;&lt;BR /&gt;      temp_str = cond #(&lt;BR /&gt;        when line-&amp;gt;* ca `.` " for case a.Aaaa&lt;BR /&gt;          then to_mixed(&lt;BR /&gt;            val = |{ replace( val = line-&amp;gt;* sub = `.` with = `..` ) }| sep = `.` min = 2 )&lt;BR /&gt;            &lt;BR /&gt;        when line-&amp;gt;* ca `(` " for case (Aaa)&lt;BR /&gt;          then to_mixed(&lt;BR /&gt;            val = |{ replace( val = line-&amp;gt;* sub = `(` with = `((` ) }| sep = `(` )&lt;BR /&gt;            &lt;BR /&gt;        else                " normal &lt;BR /&gt;          to_mixed( val = line-&amp;gt;* case = 'A' ) ).&lt;BR /&gt;&lt;BR /&gt;      r = r &amp;amp;&amp;amp; temp_str &amp;amp;&amp;amp; ` `.&lt;BR /&gt;&lt;BR /&gt;    endloop.&lt;BR /&gt;  endmethod.&lt;BR /&gt;endclass.&lt;BR /&gt;&lt;BR /&gt;" And you call your function class&lt;BR /&gt;  data(lv_output_string_1) = up_and_low_mixer=&amp;gt;mix( cv_input_string_1 ).&lt;BR /&gt;  data(lv_output_string_2) = up_and_low_mixer=&amp;gt;mix( cv_input_string_2 ).&lt;BR /&gt;  ...&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 May 2023 08:37:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702536#M2018465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2023-05-26T08:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702537#M2018466</link>
      <description>&lt;P&gt;You should indicate which exact rule you are looking for.&lt;/P&gt;&lt;P&gt;Any character before dot must be lower case?&lt;/P&gt;&lt;P&gt;Any character after opening bracket must be upper case?&lt;/P&gt;&lt;P&gt;What else?&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 15:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702537#M2018466</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-05-26T15:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702538#M2018467</link>
      <description>&lt;P&gt;Thanks Lou, I'll check this as soon as my system is alive again (right now is down due to maintenance) and report back.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 16:26:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702538#M2018467</guid>
      <dc:creator>Vlad_Ghitulescu</dc:creator>
      <dc:date>2023-05-26T16:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702539#M2018468</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; you're right, I'll specify more.&lt;/P&gt;&lt;P&gt;I have this 6 examples:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AGGSTALL&lt;BR /&gt;BAD KÖTZTING&lt;BR /&gt;RIED A.HAIDSTEIN&lt;BR /&gt;SCHMID I.LEHEN&lt;BR /&gt;TAUFKIRCHEN (VILS)&lt;BR /&gt;BAD KÖNIGSHOFEN I.GRABFELD&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;AGGSTALL (= 1) is solved by &lt;EM&gt;genuine&lt;/EM&gt; &lt;STRONG&gt;to_mixed&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;BAD KÖTZTING (= 2) is solved by &lt;STRONG&gt;to_mixed&lt;/STRONG&gt; with the replace - see the screenshot. &lt;/P&gt;&lt;P&gt;All others (= 3...6) are NOT solved as expected. &lt;BR /&gt;I stated at the beginning what I would like as output.&lt;BR /&gt;You can see in the screenshot from the debugger the values of lv_output_string_3...6.&lt;/P&gt;&lt;P&gt;Now to the rules:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;every single letter followed by a dot should be lower case&lt;/LI&gt;&lt;LI&gt;every character after a dot should be upper case&lt;/LI&gt;&lt;LI&gt;every character after an opening bracket should be upper case&lt;/LI&gt;&lt;LI&gt;every character after a space should be upper case&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I hope this describes the problem better.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 16:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702539#M2018468</guid>
      <dc:creator>Vlad_Ghitulescu</dc:creator>
      <dc:date>2023-05-26T16:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702540#M2018469</link>
      <description>&lt;P&gt;A necessary correction of the last rule above: Every char after a space should be upper case EXCEPT when immediately followed by a dot (because chars followed by a dot should be lower case, see first rule)&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 16:48:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702540#M2018469</guid>
      <dc:creator>Vlad_Ghitulescu</dc:creator>
      <dc:date>2023-05-26T16:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702541#M2018470</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;lou.meron&lt;/SPAN&gt;  that does it! Thanks!&lt;/P&gt;&lt;P&gt;Could you please explain me how each of the two replace work (separately and in the cond)?&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 18:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702541#M2018470</guid>
      <dc:creator>Vlad_Ghitulescu</dc:creator>
      <dc:date>2023-05-26T18:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702542#M2018471</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;vladghitulescu&lt;/SPAN&gt;, perfect if it's working for your need.&lt;/P&gt;&lt;P&gt;For e.g the first replace function input is "a.haidstein'" output will be "a..haidstein" .&lt;/P&gt;&lt;P&gt;For the second you may have input like "(vals)" and output will be "((vals)".&lt;/P&gt;&lt;P&gt;After, everything is done in to_mixed function. Pay attention to the "sep" and "min" parameters. It's explained like this :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The function to_mixed transforms all letters in the character string to lowercase letters from the second position. &lt;STRONG&gt;It then removes occurrences of the first character specified in sep from the character string (from left to right from the second position) and transforms the next letter to an uppercase lette&lt;/STRONG&gt;r. The default value for separator sep is an underscore (_). If case is not specified, the first character of the string remains unchanged. If case is specified and the first character of case is an uppercase letter, the first character in the string is also uppercase and then lowercase in all other occurrences. &lt;STRONG&gt;A positive number can be passed to min to specify a minimum number of characters that must appear before a separator (from the start of the string or since the last replacement) before the separator becomes effective. The default value for min is 1.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;A href="https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abencase_functions.htm"&gt;to_upper, to_lower, to_mixed, from_mixed - - ABAP Keyword Documentation (sap.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 07:40:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702542#M2018471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2023-05-29T07:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702543#M2018472</link>
      <description>&lt;P&gt;Ah, very cool trick with sep &amp;amp; min! Thanks again &lt;SPAN class="mention-scrubbed"&gt;lou.meron&lt;/SPAN&gt; !&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 11:08:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702543#M2018472</guid>
      <dc:creator>Vlad_Ghitulescu</dc:creator>
      <dc:date>2023-05-29T11:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702544#M2018473</link>
      <description>&lt;P&gt;You are using to_mixed as a nice shortcut to solve your issue, although it was not really designed for what you're trying to achieve (it's more about transforming technical names like client_number to ClientNumber, but almost not more).&lt;/P&gt;&lt;P&gt;If you run ABAP 7.55, &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenregex_pcre_syntax_specials.htm"&gt;PCRE&lt;/A&gt; can be used.&lt;/P&gt;&lt;P&gt;Otherwise, it's probably better to not use to_mixed, but some code straight to the point.&lt;/P&gt;&lt;P&gt;Based on the rules you defined (I completed with the last two ones):&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;every single letter followed by a dot should be lower case&lt;/LI&gt;&lt;LI&gt;every character after a dot should be upper case&lt;/LI&gt;&lt;LI&gt;every character after an opening bracket should be upper case&lt;/LI&gt;&lt;LI&gt;every character after a space should be upper case&lt;/LI&gt;&lt;LI&gt;the first character should be upper case&lt;/LI&gt;&lt;LI&gt;all other characters should be lower case&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I see that there are conflicting rules so let's suppose that the rule number 1 has the priority over the others.&lt;/P&gt;&lt;P&gt;Below example shows code for PCRE (ABAP &amp;gt;= 7.55) and classic code with REDUCE (ABAP &amp;gt;= 7.40 SP 8).&lt;/P&gt;&lt;P&gt;EDIT: I have added comments for the PCRE code.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLASS ltc_main DEFINITION
      FOR TESTING
      DURATION SHORT
      RISK LEVEL HARMLESS.
  PRIVATE SECTION.
    METHODS run_all_test_cases FOR TESTING.
    METHODS run_one_test_case
      IMPORTING
        input         TYPE csequence
        exp           TYPE csequence
      RETURNING
        VALUE(result) TYPE string.
    METHODS with_pcre " ABAP &amp;gt;= 7.55
      IMPORTING
        input         TYPE csequence
      RETURNING
        VALUE(result) TYPE string.
    METHODS without_pcre
      IMPORTING
        input         TYPE csequence
      RETURNING
        VALUE(result) TYPE string.
ENDCLASS.
CLASS ltc_main IMPLEMENTATION.
  METHOD run_all_test_cases.
    run_one_test_case( input = `AGGSTALL`                   exp = `Aggstall` ).
    run_one_test_case( input = `BAD KÖTZTING`               exp = `Bad Kötzting` ).
    run_one_test_case( input = `RIED A.HAIDSTEIN`           exp = `Ried a.Haidstein` ).
    run_one_test_case( input = `SCHMID I.LEHEN`             exp = `Schmid i.Lehen` ).
    run_one_test_case( input = `TAUFKIRCHEN (VILS)`         exp = `Taufkirchen (Vils)` ).
    run_one_test_case( input = `BAD KÖNIGSHOFEN I.GRABFELD` exp = `Bad Königshofen i.Grabfeld` ).
    run_one_test_case( input = `.A.b`                       exp = `.a.B` ). " rule 1 has priority over rule 2
    run_one_test_case( input = `(a.`                        exp = `(a.` ). " rule 1 has priority over rule 3
    run_one_test_case( input = ` a.`                        exp = ` a.` ). " rule 1 has priority over rule 4
    run_one_test_case( input = `a.`                         exp = `a.` ). " rule 1 has priority over rule 5
  ENDMETHOD.
  METHOD run_one_test_case.
    cl_abap_unit_assert=&amp;gt;assert_equals( act = with_pcre( input = input ) exp = exp msg = |Input: { input } -&amp;gt; Exp: { exp }| ).
    cl_abap_unit_assert=&amp;gt;assert_equals( act = without_pcre( input = input ) exp = exp ).
  ENDMETHOD.
  METHOD with_pcre.
    result = replace( val  = input 
                      pcre = `(?:`
                               &amp;amp; `(\w\.)`        " subgroup $1: either word char followed by dot
                               &amp;amp; `|(?&amp;lt;=\.)(\w)`  " subgroup $2: or word char preceded by dot
                               &amp;amp; `|(?&amp;lt;=\()(\w)`  " subgroup $3: or word char preceded by start bracket
                               &amp;amp; `|(?&amp;lt;=\ )(\w)`  " subgroup $4: or word char preceded by space
                               &amp;amp; `|^(\w)`        " subgroup $5: or word char at start
                               &amp;amp; `|(.)`          " subgroup $6: or any character
                           &amp;amp; `)`
                      with = `\l$1`  " convert character of subgroup $1 to lower case
                           &amp;amp; `\u$2`  " convert character of subgroup $2 to upper case
                           &amp;amp; `\u$3`  " convert character of subgroup $3 to upper case
                           &amp;amp; `\u$4`  " convert character of subgroup $4 to upper case
                           &amp;amp; `\u$5`  " convert character of subgroup $5 to upper case
                           &amp;amp; `\l$6`  " convert character of subgroup $6 to lower case
                      occ  = 0 ).
  ENDMETHOD.
  METHOD without_pcre.
    result = reduce #( init t = ``
                            prev = ``
                            char = cond string( when input &amp;lt;&amp;gt; `` then substring( val = input off = 0 len = 1 ) )
                       for off = 0 while off &amp;lt; strlen( input )
                            let next = cond string( when off + 1 &amp;lt; strlen( input ) then substring( val = input off = off + 1 len = 1 ) )
                            in
                       next t = t &amp;amp;&amp;amp; COND string(
                                      WHEN next = '.' THEN to_lower( char )
                                      WHEN prev = '.' THEN to_upper( char )
                                      WHEN prev = '(' THEN to_upper( char )
                                      WHEN prev = ` ` THEN to_upper( char )
                                      WHEN off = 0    THEN to_upper( char )
                                      ELSE                 to_lower( char ) )
                            prev = char
                            char = next ).
  ENDMETHOD.
ENDCLASS.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 May 2023 14:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702544#M2018473</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-05-29T14:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702545#M2018474</link>
      <description>&lt;P&gt;Love your reduce part. I hadn't thought of doing that with reduce, very cool !&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 15:21:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702545#M2018474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2023-05-29T15:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702546#M2018475</link>
      <description>&lt;P&gt;Thanks  &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt;! &lt;BR /&gt;I'll use this one as an incentive to &lt;EM&gt;finally&lt;/EM&gt; apply some RegEx in ABAP AND as a chance to implement some useful Unit Tests &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm not quite sure though about "&lt;EM&gt;ABAP &amp;gt;= 7.55&lt;/EM&gt;":&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2167390-cleanshot-2023-05-30-at-125013.png" /&gt;&lt;/P&gt;&lt;P&gt;I'll try it anyway &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; and report back.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 10:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702546#M2018475</guid>
      <dc:creator>Vlad_Ghitulescu</dc:creator>
      <dc:date>2023-05-30T10:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702547#M2018476</link>
      <description>&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2167392-cleanshot-2023-05-30-at-134314.png" /&gt;&lt;/P&gt;&lt;P&gt;No PCRE yet &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; so REDUCE is the way to go until then.&lt;/P&gt;&lt;P&gt;I have one question:&lt;/P&gt;&lt;OL&gt;
 
&lt;/OL&gt;&lt;P&gt;I inserted the whole class into Eclipse's "&lt;EM&gt;Global Class&lt;/EM&gt;"-tab but there's a "&lt;EM&gt;Test Classes&lt;/EM&gt;"-tab as well. How would one spread the methods over this tabs? Should I rather put the definition and implementations of the run_all_test_cases - method in the "&lt;EM&gt;Test Classes&lt;/EM&gt;" and everything else into "&lt;EM&gt;Global Class&lt;/EM&gt;"? Or only its implementation?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 11:54:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702547#M2018476</guid>
      <dc:creator>Vlad_Ghitulescu</dc:creator>
      <dc:date>2023-05-30T11:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702548#M2018477</link>
      <description>&lt;P&gt;SAP_BASIS 750 0017/SAP_ABAP 750 0017 means ABAP 7.50 SP 17 (so it's &amp;lt; ABAP 7.55).&lt;/P&gt;&lt;P&gt;In my system, I have SAP_BASIS 757 0000 / SAP_ABA 75H 0000 so it's ABAP 7.57 (don't ask me what 7.5H is, I use then SAP_BASIS to know the actual ABAP version).&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2168426-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 17:32:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702548#M2018477</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-05-30T17:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with to_mixed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702549#M2018478</link>
      <description>&lt;P&gt;Yes, the whole test classes (definition + implementation) go in the "Test Classes" tab.&lt;/P&gt;&lt;P&gt;My code was just for quick testing, I put it directly in an executable program right below the line "REPORT ztestprogram". Don't bother creating a class pool just to run the test.&lt;/P&gt;&lt;P&gt;PS: bravo for using Eclipse ADT!&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 17:36:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-to-mixed/m-p/12702549#M2018478</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-05-30T17:36:09Z</dc:date>
    </item>
  </channel>
</rss>

