<?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: SO10 text - Need to split into multiple texts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291173#M1916939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richa, But, shouldn't the Fiori developer be able to make adjustments on their side to make the text as per your requirement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2015 11:29:25 GMT</pubDate>
    <dc:creator>Juwin</dc:creator>
    <dc:date>2015-08-07T11:29:25Z</dc:date>
    <item>
      <title>SO10 text - Need to split into multiple texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291166#M1916932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a standard text like below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APP :Line 1&lt;/P&gt;&lt;P&gt;Line 2&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;REJ :Line 3&lt;/P&gt;&lt;P&gt;Line 4&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;APP :Line 5&lt;/P&gt;&lt;P&gt;Line 6&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is to send just the REJ part of this text in an email and not include the APP part. So, I need to break the text on the basis of line '-----' as I am not seeing any other way to do this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, I will be deleting those parts where first line start from APP and will keep those where first line start from REJ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am not sure if it is feasible to do but any guidance is really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 20:00:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291166#M1916932</guid>
      <dc:creator>Richa_Gupta</dc:creator>
      <dc:date>2015-08-05T20:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: SO10 text - Need to split into multiple texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291167#M1916933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of using ---- as separator, I would suggest to define each of these sections as text elements using tag /E and then you can use simple loop to get the sections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 21:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291167#M1916933</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2015-08-05T21:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: SO10 text - Need to split into multiple texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291168#M1916934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This text gets updated in the header text of PO from FIORI app and I need to use the same to send an email from workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I did not get it when you said that we can use text elements. Could you please elaborate this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 21:53:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291168#M1916934</guid>
      <dc:creator>Richa_Gupta</dc:creator>
      <dc:date>2015-08-05T21:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: SO10 text - Need to split into multiple texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291169#M1916935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create two internal tables one for Approve and other for Reject and move all approved data approved similarly rejected as well, then send. Can you please explain clearly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 22:02:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291169#M1916935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-05T22:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: SO10 text - Need to split into multiple texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291170#M1916936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anudeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To put data into internal tables, I will need to split this header text which is standard header text of PO. And that is what I need to know that what is the best practise to do that. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1322/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be more clear :&lt;/P&gt;&lt;P&gt;-&amp;gt; There is a standard header text of purchase order in which rejection/approval comments get updated from FIORI.&lt;/P&gt;&lt;P&gt;-&amp;gt; We need to send an email containing rejection comments and not approval comments but problem is both these comments get updated in the same header text of PO.&lt;/P&gt;&lt;P&gt;-&amp;gt;So, again question comes how to segregate the approval and rejection comments from standard text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 22:07:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291170#M1916936</guid>
      <dc:creator>Richa_Gupta</dc:creator>
      <dc:date>2015-08-05T22:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: SO10 text - Need to split into multiple texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291171#M1916937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you define the standard text, you can use /E identifier, to define text elements. Text elements are sections of the text. And you can easily use /E identifier and the text element name to split the text into different sections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case below, there are 2 text elements - APPROVAL and REJECTION&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/764473" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 12:40:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291171#M1916937</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2015-08-06T12:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: SO10 text - Need to split into multiple texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291172#M1916938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got that but as mentioned in my another reply to Anudeep as well, in my case it's not me who is creating the standard text. The standard text on purchase order header is getting updated from FIORI. So, I cannot change anything in the header text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 23:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291172#M1916938</guid>
      <dc:creator>Richa_Gupta</dc:creator>
      <dc:date>2015-08-06T23:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: SO10 text - Need to split into multiple texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291173#M1916939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richa, But, shouldn't the Fiori developer be able to make adjustments on their side to make the text as per your requirement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 11:29:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291173#M1916939</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2015-08-07T11:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: SO10 text - Need to split into multiple texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291174#M1916940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So your question is how can you read the PO Header text? Right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if this as simple but did you explore the option of FM READ_TEXT? This is the only option available in ABAP to read text like this. Then you can manipulate the data in LINES internal table and break based on your logic that you have already explained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 12:30:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291174#M1916940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-07T12:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: SO10 text - Need to split into multiple texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291175#M1916941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why I am asking to use text elements is because, if the text which is being typed in itself has a '-----' in between, then your logic to split at &lt;SPAN style="font-size: 13.3333330154419px;"&gt;'-----' will not work properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 12:59:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291175#M1916941</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2015-08-07T12:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: SO10 text - Need to split into multiple texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291176#M1916942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are sure that the PO header text would ALWAYS be updated as below, then you can use READ_TEXT.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/765421" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output from READ_TEXT would look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/765449" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now IF the REJ code ALWAYS appears at line#3 and line#4, you can read the internal table at line#4 and line#5 and get the required data.&lt;/P&gt;&lt;P&gt;Please let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Deepika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 14:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291176#M1916942</guid>
      <dc:creator>former_member334332</dc:creator>
      <dc:date>2015-08-07T14:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: SO10 text - Need to split into multiple texts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291177#M1916943</link>
      <description>&lt;P&gt;Dear Juwin Pallipat Thomas&lt;/P&gt;&lt;P&gt;I have just seen your comment - and it might help in a similar issue I'm having...&lt;BR /&gt;&lt;BR /&gt;So, if I have understood you fine, the steps to be performed would be:&lt;/P&gt;&lt;P&gt;1.- Define TEXT ELEMENTS IN THE STANDARD TEXT such like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;STRONG&gt;/E CONDITION1_IN_ENGLISH&lt;/STRONG&gt;&lt;BR /&gt;IF &amp;amp;VBAK-VTWEG&amp;amp; = '12'&lt;BR /&gt;IF &amp;amp;NAST-SPRAS&amp;amp; EQ 'E'&lt;BR /&gt;&lt;STRONG&gt;TEXT TO BE PRINTED IN ENGLISH&lt;BR /&gt;&lt;/STRONG&gt;ELSE&lt;BR /&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;B&gt;/E CONDITION1_IN_GERMAN&lt;/B&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;TEXT TO BE PRINTED IN GERMAN&lt;BR /&gt;&lt;/STRONG&gt;ENDIF&lt;BR /&gt;&lt;B&gt;/E CONDITION2_IN_ENGLISH&lt;/B&gt;&lt;BR /&gt;ELSEIF &amp;amp;VBAK-VTWEG&amp;amp; = '01' OR &amp;amp;VBAK-VTWEG&amp;amp; = '09' OR &amp;amp;VBAK-VTWEG&amp;amp; = '15'&lt;BR /&gt;IF &amp;amp;NAST-SPRAS&amp;amp; EQ 'E'&lt;BR /&gt;&lt;B&gt;TEXT TO BE PRINTED IN ENGLISH&lt;BR /&gt;&lt;/B&gt;ELSE&lt;BR /&gt;&lt;B&gt;/E CONDITION2_IN_GERMAN&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;TEXT TO BE PRINTED IN GERMAN&lt;/B&gt; &lt;BR /&gt;ENDIF&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;2.- Define 2 internal tables &lt;STRONG&gt;ENGLISH_TEXT&lt;/STRONG&gt; and &lt;STRONG&gt;GERMAN_TEXT&lt;/STRONG&gt; containing the text for each language.&lt;BR /&gt;3.- Call Function Module &lt;STRONG&gt;READ_TABLE &lt;/STRONG&gt;and store it on a TEXT_TABLE&lt;BR /&gt;4.- For English:  Loop at TEXT_TABLE where &lt;STRONG&gt;TDFORMAT = "/E" &lt;/STRONG&gt;and &lt;STRONG&gt;TDLINE = "&lt;/STRONG&gt;&lt;B&gt;CONDITION1_IN_ENGLISH" &lt;BR /&gt;&lt;/B&gt;                               &lt;B&gt;&lt;/B&gt;Loop at TEXT_TABLE where &lt;STRONG&gt;TDFORMAT = "/E" &lt;/STRONG&gt;and &lt;STRONG&gt;TDLINE = "&lt;/STRONG&gt;&lt;B&gt;CONDITION2_IN_ENGLISH"&lt;BR /&gt;Append ENGLISH_TEXT&lt;BR /&gt;&lt;/B&gt;&lt;STRONG&gt;5&lt;/STRONG&gt;.- For German:  Loop at TEXT_TABLE where &lt;STRONG&gt;TDFORMAT = "/E" &lt;/STRONG&gt;and &lt;STRONG&gt;TDLINE = "&lt;/STRONG&gt;&lt;B&gt;CONDITION1_IN_GERMAN" &lt;/B&gt;&lt;B&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/P&gt;                               &lt;B&gt;&lt;/B&gt;Loop at TEXT_TABLE where &lt;STRONG&gt;TDFORMAT = "/E" &lt;/STRONG&gt;and &lt;STRONG&gt;TDLINE = "&lt;/STRONG&gt;&lt;B&gt;CONDITION2_IN_GERMAN"&lt;BR /&gt;&lt;/B&gt;&lt;B&gt;Append GERMAN_TEXT&lt;/B&gt;</description>
      <pubDate>Tue, 26 Oct 2021 12:03:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so10-text-need-to-split-into-multiple-texts/m-p/11291177#M1916943</guid>
      <dc:creator>raul_daimiel</dc:creator>
      <dc:date>2021-10-26T12:03:31Z</dc:date>
    </item>
  </channel>
</rss>

