<?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: Removing line breaks in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-line-breaks/m-p/2535687#M575497</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 using "condense" statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Smiha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2007 09:33:04 GMT</pubDate>
    <dc:creator>Simha_</dc:creator>
    <dc:date>2007-07-10T09:33:04Z</dc:date>
    <item>
      <title>Removing line breaks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-line-breaks/m-p/2535682#M575492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How do I remove all Line breaks from a String?&lt;/P&gt;&lt;P&gt;For e.g... &amp;lt;b&amp;gt;Source String:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The synopsis creation is done when the user clicks the &amp;#145;Synopsis&amp;#146; button or when a document is, saved, approved or released. Any one of these actions creates an object of the corresponding Synopsis Class (e.g. /SAPPSSRM/CL_SYNOPSIS_CTR) and calls the methods checkStatusForSynopsis and maptoSynopsisStructures. The method checkSynopsisStatus checks whether the BO is active or not, whether the synopsis is sent or not and what is the status of the document for which the synopsis need to be sent. &lt;/P&gt;&lt;P&gt;	The method maptoSynopsisStructures calls the function modules /SAPPSSRM/MAP_CTR _TO &lt;U&gt;SYNOPSIS (for contract) or /SAPPSSRM/MAP&lt;/U&gt;PO _TO &lt;U&gt;SYNOPSIS (for PO) or /SAPPSSRM/MAP&lt;/U&gt;BINV _TO &lt;U&gt;SYNOPSIS (for Bid Invitation) which maps the fields of the document to the corresponding Synopsis (e.g. /SAPPSSRM/S&lt;/U&gt;FBSOLICIT_DETAILS) structure. After this the method createSynopsisData is called and in the method a function module SDIXML_DATA_TO_DOM is called to convert the document to XML document. Then the function module for sending the e-mail 'SO_NEW_DOCUMENT_ATT_SEND_API1' is called to send the document (if the data is send by e-mail). The pre-requisite is that the internet mail gateway of SAP is set in the SRM system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;THEN RESULT STRING SHOULD BE:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;The synopsis creation is done when the user clicks the &amp;#145;Synopsis&amp;#146; button or when a document is, saved, approved or released. Any one of these actions creates an object of the corresponding Synopsis Class (e.g. /SAPPSSRM/CL_SYNOPSIS_CTR) and calls the methods checkStatusForSynopsis and maptoSynopsisStructures. The method checkSynopsisStatus checks whether the BO is active or not, whether the synopsis is sent or not and what is the status of the document for which the synopsis need to be sent. The method maptoSynopsisStructures calls the function modules /SAPPSSRM/MAP_CTR _TO &lt;U&gt;SYNOPSIS (for contract) or /SAPPSSRM/MAP&lt;/U&gt;PO _TO &lt;U&gt;SYNOPSIS (for PO) or /SAPPSSRM/MAP&lt;/U&gt;BINV _TO &lt;U&gt;SYNOPSIS (for Bid Invitation) which maps the fields of the document to the corresponding Synopsis (e.g. /SAPPSSRM/S&lt;/U&gt;FBSOLICIT_DETAILS) structure. After this the method createSynopsisData is called and in the method a function module SDIXML_DATA_TO_DOM is called to convert the document to XML document. Then the function module for sending the e-mail 'SO_NEW_DOCUMENT_ATT_SEND_API1' is called to send the document (if the data is send by e-mail). The pre-requisite is that the internet mail gateway of SAP is set in the SRM system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 06:28:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-line-breaks/m-p/2535682#M575492</guid>
      <dc:creator>former_member17102</dc:creator>
      <dc:date>2007-07-10T06:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Removing line breaks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-line-breaks/m-p/2535683#M575493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeba&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the FM "&amp;lt;b&amp;gt;BM_LINE_BREAK".&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravish Garg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 06:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-line-breaks/m-p/2535683#M575493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T06:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Removing line breaks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-line-breaks/m-p/2535684#M575494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The source string you've posted is same as result string as displayed on this web page of SDN. What exactly you mean? I could not see any difference between source and target strings!&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;Sougata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 06:33:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-line-breaks/m-p/2535684#M575494</guid>
      <dc:creator>Sougata</dc:creator>
      <dc:date>2007-07-10T06:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Removing line breaks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-line-breaks/m-p/2535685#M575495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sougata,&lt;/P&gt;&lt;P&gt;I guess the line breaks got deleted from the Source string:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	The synopsis creation is done when the user clicks the &amp;#145;Synopsis&amp;#146; button or when a document is, saved, approved or released. Any one of these actions creates an object of the corresponding Synopsis Class (e.g. /SAPPSSRM/CL_SYNOPSIS_CTR) and calls the methods checkStatusForSynopsis and maptoSynopsisStructures. The method checkSynopsisStatus checks whether the BO is active or not, whether the synopsis is sent or not and what is the status of the document for which the synopsis need to be sent. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	The method maptoSynopsisStructures calls the function modules /SAPPSSRM/MAP_CTR _TO &lt;U&gt;SYNOPSIS (for contract) or /SAPPSSRM/MAP&lt;/U&gt;PO _TO &lt;U&gt;SYNOPSIS (for PO) or /SAPPSSRM/MAP&lt;/U&gt;BINV _TO &lt;U&gt;SYNOPSIS (for Bid Invitation) which maps the fields of the document to the corresponding Synopsis (e.g. /SAPPSSRM/S&lt;/U&gt;FBSOLICIT_DETAILS) structure. After this the method createSynopsisData is called and in the method a function module SDIXML_DATA_TO_DOM is called to convert the document to XML document. Then the function module for sending the e-mail 'SO_NEW_DOCUMENT_ATT_SEND_API1' is called to send the document (if the data is send by e-mail). The pre-requisite is that the internet mail gateway of SAP is set in the SRM system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 06:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-line-breaks/m-p/2535685#M575495</guid>
      <dc:creator>former_member17102</dc:creator>
      <dc:date>2007-07-10T06:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Removing line breaks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-line-breaks/m-p/2535686#M575496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: sorucestring type string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace all occurrences of cl_abap_char_utilities=&amp;gt;CR_LF in sourcestring with '' .&lt;/P&gt;&lt;P&gt;replace all occurrences of cl_abap_char_utilities=&amp;gt;NEWLINE in sourcestring with '' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 09:24:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-line-breaks/m-p/2535686#M575496</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-07-10T09:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Removing line breaks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-line-breaks/m-p/2535687#M575497</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 using "condense" statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Smiha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 09:33:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-line-breaks/m-p/2535687#M575497</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2007-07-10T09:33:04Z</dc:date>
    </item>
  </channel>
</rss>

