<?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: ABAP 7.40 Syntax Question in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-7-40-syntax-question/m-p/10442047#M1846643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Justin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recently we had some sessions on ABAP 7.4 release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The I operator is used for creating new character strings out of literals and embedded expressions.&lt;/P&gt;&lt;P&gt;Like in our ABAP releases we use Write to statement same can be replaced by Pipe which is called as string template.It works for all the cases except for&amp;nbsp; text elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kannan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2014 18:31:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-07-11T18:31:29Z</dc:date>
    <item>
      <title>ABAP 7.40 Syntax Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-7-40-syntax-question/m-p/10442046#M1846642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have been reading through and digesting the new ABAP features in Horst Keller's post &lt;A __default_attr="89252" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="ABAP Language News for Release 7.40." href="https://community.sap.com/" modifiedtitle="true" title="ABAP Language News for Release 7.40."&gt;&lt;/A&gt;&amp;nbsp; Great stuff.&amp;nbsp; However I see at different places, particularly in the constructor expressions the use of the pipe "|" .&amp;nbsp; I am not clear of the use of these.&amp;nbsp; Are they for separating elements?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example from Horst's Blog on Constructor Operator VALUE &lt;A __default_attr="85962" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="ABAP News for Release 7.40 - Constructor Operator VALUE" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;H3&gt;&lt;BR /&gt; &lt;/H3&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;STRONG style="font-size: 12pt;"&gt;Other expressions in VALUE operator&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Of course, the arguments of &lt;SPAN style="font-family: courier new,courier;"&gt;VALUE&lt;/SPAN&gt; can be expressions or function calls:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TYPES t_date_tab TYPE TABLE OF string&amp;nbsp; WITH EMPTY KEY. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;DATA(date_tab) = VALUE t_date_tab( &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; ( |{ CONV d( sy-datlo - 1 ) DATE = ENVIRONMENT }| ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; ( |{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sy-datlo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE = ENVIRONMENT }| ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; ( |{ CONV d( sy-datlo + 1 ) DATE = ENVIRONMENT }| ) ). &lt;/SPAN&gt;&lt;/P&gt;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clarification on that would be helpful.&amp;nbsp; Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 18:21:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-7-40-syntax-question/m-p/10442046#M1846642</guid>
      <dc:creator>jdloranger</dc:creator>
      <dc:date>2014-07-11T18:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP 7.40 Syntax Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-7-40-syntax-question/m-p/10442047#M1846643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Justin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recently we had some sessions on ABAP 7.4 release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The I operator is used for creating new character strings out of literals and embedded expressions.&lt;/P&gt;&lt;P&gt;Like in our ABAP releases we use Write to statement same can be replaced by Pipe which is called as string template.It works for all the cases except for&amp;nbsp; text elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kannan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 18:31:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-7-40-syntax-question/m-p/10442047#M1846643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-11T18:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP 7.40 Syntax Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-7-40-syntax-question/m-p/10442048#M1846644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pipes are delimiters of non-translatable text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e. if you've got some text that you don't want to be translated, and never should be translated, instead of surrounding it with ' surround it with |&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not a 7.4 feature. I'm in 7.3 and using it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 08:37:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-7-40-syntax-question/m-p/10442048#M1846644</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2014-07-12T08:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP 7.40 Syntax Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-7-40-syntax-question/m-p/10442049#M1846645</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;Those are used for designating &lt;A _jive_internal="true" href="https://answers.sap.com/blogs/ben_meijs/2013/05/17/using-new-abap-stuff-new-options-for-strings"&gt;string templates&lt;/A&gt; (unfortunately help.sap.com ABAP docu is still down for me so linking to a blog and). The result of template has type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if there are other uses for pipes, but I loooove string templates - no more CONCATENATE, no more temp variable when you need to pass something of type C to a method parameter of type string &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; Works on 702 as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Jānis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 13:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-7-40-syntax-question/m-p/10442049#M1846645</guid>
      <dc:creator>Private_Member_7726</dc:creator>
      <dc:date>2014-07-12T13:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP 7.40 Syntax Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-7-40-syntax-question/m-p/10442050#M1846646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all.&amp;nbsp; Every day, it seems, I learn something new that can be put into practice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KInd Regards,&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 13:26:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-7-40-syntax-question/m-p/10442050#M1846646</guid>
      <dc:creator>jdloranger</dc:creator>
      <dc:date>2014-07-12T13:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP 7.40 Syntax Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-7-40-syntax-question/m-p/10442051#M1846647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Janis,&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;thank you for the link.&amp;nbsp; Yet another post with lots of good stuff.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 13:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-7-40-syntax-question/m-p/10442051#M1846647</guid>
      <dc:creator>jdloranger</dc:creator>
      <dc:date>2014-07-12T13:45:00Z</dc:date>
    </item>
  </channel>
</rss>

