Hi,
How do I remove all Line breaks from a String?
For e.g... <b>Source String:</b>
The synopsis creation is done when the user clicks the Synopsis 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 SYNOPSIS (for contract) or /SAPPSSRM/MAPPO _TO SYNOPSIS (for PO) or /SAPPSSRM/MAPBINV _TO SYNOPSIS (for Bid Invitation) which maps the fields of the document to the corresponding Synopsis (e.g. /SAPPSSRM/SFBSOLICIT_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.
<b>THEN RESULT STRING SHOULD BE:</b>
The synopsis creation is done when the user clicks the Synopsis 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 SYNOPSIS (for contract) or /SAPPSSRM/MAPPO _TO SYNOPSIS (for PO) or /SAPPSSRM/MAPBINV _TO SYNOPSIS (for Bid Invitation) which maps the fields of the document to the corresponding Synopsis (e.g. /SAPPSSRM/SFBSOLICIT_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.