How To Add the Double Quotation Marks Around a String

In the statement below, the recipientField.getEmailAddress() give me an e-mail address:
             theEmailAddressList.add( recipientField.getEmailAddress() );The e-mail address has to be wrapped within a pair of double quotation marks. Therefore, I have to do the concatenation. Do I wrap each double quotation mark with a pair of single quotation marks?
             theEmailAddressList.add( '"' + recipientField.getEmailAddress() + '"' );

I do not understand.
I am asking if the statement below does what I intend to do:
             theEmailAddressList.add( '"' + recipientField.getEmailAddress() + '"' );

Similar Messages

  • How to add the double headings in Alv Report.

    Hi All,
    Plz suggest me how to add the double headings in ALv Report.
    Ram

    Hi,
    Try out this program....
    REPORT  ypm_historycard_rep.
    TYPE-POOLS : slis.
    DATA : it_cbm TYPE STANDARD TABLE OF mara.
    DATA : it_layout TYPE STANDARD TABLE OF slis_layout_alv WITH HEADER LINE,
           wa_fcat TYPE slis_fieldcat_alv,
           it_fcat TYPE slis_t_fieldcat_alv.
    START-OF-SELECTION.
      SELECT  *
      FROM  mara
      INTO CORRESPONDING FIELDS OF TABLE  it_cbm
      where matnr = 'D80K7'.
    END-OF-SELECTION.
      it_layout-zebra = 'X'.
      it_layout-colwidth_optimize = 'X'.
      it_layout-f2code = '&ETA'.
      APPEND it_layout.
      DEFINE macro4fcat.
        wa_fcat-col_pos = &1.
        wa_fcat-fieldname = &2.
        wa_fcat-tabname = &3.
        wa_fcat-seltext_l = &4.
        append wa_fcat to it_fcat.
        clear wa_fcat.
      END-OF-DEFINITION.
      macro4fcat    '1'  'MATNR'         'IT_CBM'   'MATERIAL NO'    .
      DESCRIBE TABLE it_cbm.
      IF sy-ucomm = '&F03'.
        MESSAGE 'hi hello good morning "press enter button" this is quiz' TYPE 'S'.
      ENDIF.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
      i_callback_program                = sy-repid
    i_callback_html_top_of_page       = 'HTML_TOP_OF_PAGE'
      is_layout                         = it_layout
      it_fieldcat                       = it_fcat
       i_save                            = 'A'
      TABLES
      t_outtab                          = it_cbm
      EXCEPTIONS
      program_error                     = 1
      OTHERS                            = 2
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *&      Form  html_top_of_page
    *       text
    *      -->TOP        text
    FORM html_top_of_page USING top TYPE REF TO cl_dd_document.
      DATA: l_text(255) TYPE c.
      DATA: text1(255)  TYPE c.
      DATA: t_header TYPE REF TO cl_dd_table_element ,
            wa_header TYPE REF TO cl_dd_table_area.
      CALL METHOD top->add_gap
        EXPORTING
          width = 10.
      CALL METHOD top->add_text
      EXPORTING
        text          = 'hello'
        sap_style     = 'HEADING'
    CALL METHOD top->add_gap
        EXPORTING
          width = 20.
      CALL METHOD top->add_text
      EXPORTING
        text          = 'HOW ARE YOU'
        sap_style     = 'HEADING'.
        CALL METHOD TOP->new_line
    *      EXPORTING
    *        repeat =
        CALL METHOD top->add_gap
        EXPORTING
          width = 50.
      CALL METHOD top->add_text
      EXPORTING
        text          = '____________________________________________________________'
        sap_style     = 'HEADING'.
        CALL METHOD TOP->new_line
    *      EXPORTING
    *        repeat =
        CALL METHOD top->add_gap
        EXPORTING
          width = 90.
      CALL METHOD top->add_text
      EXPORTING
        text          = 'YOU CAN TRY LIKE THIS'
        sap_style     = 'HEADING'.
    ENDFORM.                    "html_top_of_page
    Regards
    Debarshi

  • "Excel found unreadable content in" The Problem is text in a clob exported to excel uses - Left single quotation mark -Right double quotation mark.

    Here are the ASCII char being used.
    145 221 91 10010001 ‘ &#145; &lsquo; Left single quotation mark
    146 222 92 10010010 ’ &#146; &rsquo; Right single quotation mark
    147 223 93 10010011 “ &#147; &ldquo; Left double quotation mark
    148 224 94 10010100 ” &#148; &rdquo; Right double quotation mark
    149 225 95 10010101 • &#149; &bull; Bullet
    150 226 96 10010110 – &#150; &ndash; En dash --
    The default CHAR NOW is a black diamond with ? in middle in stead of 'Right double quoation mark' and others.
    The Text used is copied from documents user's get
    so someone is putting in I think what is called ALT ascii. This data has been used for years
    some updates where put in the system, I don't know details.
    The following error started you click YES and the XLS has alot of data missing not just the CLOB.
    Excel found unreadable content in ‘file-name’.
    Do you want to recover the contents of this workbook?
    If you trust the source of this workbook click yes.
    I can copy the text then load it into the a column in a xls. 
    I am exporting the spreadsheet from TOAD it wasn't updated so
    it has to be with the EXCEL. I tried changing the ENCODING in EXCEL but that
    didn't work.

    I'm not familiar with TOAD, could you please let us know how did you export data from TOAD to Excel?
    Based on your description, it should be an encoding problem, have you tried to change the encoding as 'UTF-8' ?
    Wind Zhang
    TechNet Community Support

  • "Save as csv" sets quotation marks around the whole line

    Our client reports:
    Data portal->Right click->Save as->Select "Data type": "Textfile - Auto detect (*.csv)"->Save.
    Result of saving:
    "TIME    V    V_ABS"
    "63.0235776    0.105263157894737    28.6153372301571"
    "63.0235936    0.105264137235745    28.6156034598028"
    Therefore values of channels with same index (and a header) are compound to one cell due to quotation marks around.
    By me it doesn't happen, but by a client.
    Client has normal German Windows 7 region/language configuration.
    Any idea, how a client can save as csv without quotation marks around the line?
    Solved!
    Go to Solution.

    Using a script it is possible to write CSV files Excel natively opens like given in this forum entry.
    But be aware that you need different kind of files depening on your country.
    In the Excel world CSV means "Character Separated Values".
    e.g.:
    US
    dim targetFilePath : targetFilePath = "C:\temp\EXAMPLE.csv"
    Call DataFileSave("<filename>" & replace(targetFilePath, "&", "&amp;") & "</filename><decimalpoint>.</decimalpoint><delimit​er>,</delimiter>", "CSV")
    Germany
    dim targetFilePath : targetFilePath = "C:\temp\EXAMPLE.csv"
    Call DataFileSave("<filename>" & replace(targetFilePath, "&", "&amp;") & "</filename><decimalpoint>,</decimalpoint><delimit​er>;</delimiter>", "CSV")

  • How to add the new tab in Quotation VA21

    Hi,
    How to add the new tab after Addition data B in line item in Quotation VA21?
    Please help me for this query.
    Devendra

    Dear Devendra,
    Use the program SAPMV45A & the screen number provided by SAP is 8459.If you activate this screen and include the screen in 4462.
    PROCESS BEFORE OUTPUT.
    *                            Verarbeitung vor der Ausgabe
       MODULE VBAP_BEARBEITEN_VOR.
       CALL SUBSCREEN KUNDEN-SUBSCREEN_8459 INCLUDING 'SAPMV45A' '8459'.
    PROCESS AFTER INPUT.
    *                            Verarbeitung nach der Eingabe
    * Hier weitere Prüfungen
       CALL SUBSCREEN KUNDEN-SUBSCREEN_8459.
    Regards,
    Anand

  • SSRS 2008 Work order report , in sub total donot want to add the 0 level in ( how to add the expression )

    working in Work order report, this report has different level , for example
    0 level transaction
    1 level transaction
    in subtotal don't want to add 0 level transaction,
    when I did the sub total it added all the level , so in sub total amount double up because of that
    how to add the expression so I can the level 0 take out from sub total , so it does not include in sub total
    can some one please help me with this
    thanks in advance

    Hi Simon_ Hou
    I tried the expr the way you suggested , it did not work  getting  error message,  the exp I added is below
    this the expression I added on sub total where is highlighted in Yellow,  under Cost amount column,
    I really appreciate the help
    =Sum(IIF(Fields!COLLECTREFLEVEL.Value=
    "0",0,Fields!CostAMOUNT.Value),"DataSet1")
    please see below my QUERY, can you please help and let me know what I did wrong in my exp
    SELECT        PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
                             PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
                             PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
                             PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
                             PRODCALCTRANS.LINENUM
    FROM            PRODTABLE INNER JOIN
                             PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID
    WHERE        (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
                             (PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate)

  • How to add the entries and how to delete the entries from custom Z-table?

    Hi Experts,
    My requirement is I need to add the entries from program to three custom z-tables . Assume as zabc1,zabc2,zabc3.
    Here how to add the entries from program to Z-table.???
    And one more requirement is I want to provide a deletion checkbox in selection screen . Initial it was unchecked. If I am giving tick mark then the entries should be deleted from above custom Z-tables. this all will done in backgroung job?
    Could you please guide me the logic how to crack this???
    Let me know if you need more Info
    Thanks
    Sanju

    Hi Sanjana,
    What you can do is to use the ABAP keyword INSERT or MODIFY to add or modify records to a given database table. Here are the syntax taken from SAP documentation:
    *Insert Statement
    INSERT dbtab
    Syntax
    INSERT { {INTO target VALUES source }
           | {     target FROM   source } }.
    Effect
    The INSERT statement inserts one or more rows specified in source in the database table specified in target. The two variants with INTO and VALUES or without INTO with FROM behave identically, with the exception that you cannot specify any internal tables in source after VALUES.
    System Fields
    The INSERT statement sets the values of the system fields sy-subrc and sy-dbcnt.
    sy-subrc Meaning
    0 At least one row was inserted.
    4 At least one row could not be inserted, because the database table already contains a row with the same primary key or a unique secondary index.
    The INSERT statement sets sy-dbcnt to the number of rows inserted.
    Note
    The inserted rows are finally included in the table in the next database commit. Up until this point, they can still be removed by a database rollback.
    *Modify Statement
    MODIFY dbtab
    Syntax
    MODIFY target FROM source.
    Effect
    The MODIFY statement inserts one or several lines specified in source in the database table specified in target, or overwrites existing lines.
    System fields
    The MODIFY statement sets the values of the sy-subrc and sy-dbcnt system fields.
    sy-subrc Meaning
    0 At least one line is inserted or changed.
    4 At least one line could not be processed since there is already a line with the same unique name secondary index in the database table.
    The MODIFY statement sets sy-dbcnt to the number of processed lines.
    Note
    The changes are transferred finally to the database table with the next database commit. Up to that point, they can be reversed using a database rollback.
    Hope it helps...
    P.S. Please award points if it helps...

  • How to add the Note board web part to a page with powershell

    Hi everyone,
    I've been looking around everywhere but haven't seen it explicitly mentioned. 
    Does anyone know how to add the Note Board web part to a Team Site page, e.g. Non-publishing site, Left Zone, First webpart in the zone in powershell?
    Examples like this one http://adicodes.com/adding-web-part-to-page-with-powershell/ only talk about custom web parts uploaded from a local drive.
    The example here looks good - http://spcrew.com/blogs/lists/posts/post.aspx?id=21 but is it for the Page Viewer Web Part. How would you go about getting the correct name for the note board web part and configuring it? 
    Many Thanks,
    Ashley
    function main(){
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    $url = "http://sp2010dev1/sites/test1"
    $OpenWeb = Get-SPWeb $url
    $OpenWeb
    $OpenSite = Get-SPSite $url
    $file = $OpenWeb.GetFile("http://sp2010dev1/sites/test1/SitePages/test1.aspx")
    $WebPartManager = $file.GetLimitedWebPartManager([System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared)
    Add-PageViewerWebPart "http://sp2010dev1/sites/test1" "http://sp2010dev1/sites/test1/SitePages/test1.aspx" "Body" 0 "SPCrew Site" "sp2010dev"
    $OpenWeb.Dispose()
    function Add-PageViewerWebPart($SiteURL, $pageUrl, $webpartzone, $index, $title, $content)
        $site = new-object Microsoft.SharePoint.SPSite($SiteURL)
        $web=$site.OpenWeb()
        $webpartmanager=$web.GetLimitedWebPartManager($pageUrl, [System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared)
        $webpart = new-object Microsoft.SharePoint.WebPartPages.PageViewerWebPart
        $webpart.ChromeType = [System.Web.UI.WebControls.WebParts.PartChromeType]::TitleOnly;
        $webpart.Title = $title
        $webpart.ContentLink = "http://www.spcrew.com";
        $webpartmanager.AddWebPart($webpart, $webpartzone, $index);    
        $web.Close()
        $site.Close()
    function Get-SPSite([string]$url) {
        New-Object Microsoft.SharePoint.SPSite($url)
    function Get-SPWeb([string]$url) {
        $SPSite = Get-SPSite $url
        return $SPSite.OpenWeb()
        $SPSite.Dispose()

    Hi,
    According to your post, my understanding is that you wanted to add the Note board web part to a page with PowerShell.
    The name of the Note Board web part is SocialCommentWebPart.
    I recommend to use the powershell code below:
    $pageUrl="http://sitename/SitePages/test.aspx"
    $SiteURL="http://sitename"
    $site = new-object Microsoft.SharePoint.SPSite($SiteURL)
    $web=$site.OpenWeb()
    $webpartmanager=$web.GetLimitedWebPartManager($pageUrl, [System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared)
    $webpart = new-object Microsoft.SharePoint.Portal.WebControls.SocialCommentWebPart
    $webpart.title="Note Board"
    $webpartmanager.AddWebPart($webpart, "MiddleZone", 0);
    $web.Close()
    Then the Note board web part will be added to the page.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • (JPA) quotation marks around column names

    Hello,
    we use postgres in our project.
    But the table and column names are not in lowercase, (the first character is upper).
    Is there a way that the jpa puts quotation marks around the table and column names in the queries, because postgres converts them all to lowercase if there are no quotation marks.
    And then we get the error that the relation does not exist.
    thanks!
    Dirk

    You can quote database identifier by explicitly placing quotes around them. For example as follows
    @Table(name="\"TableName\"")

  • How to add the subcription

    hi,
    I have buy the credit. but is shows no subcription. how to add the subcription .
    Karthik

    lkarthik76 wrote:
    I have buy the credit. but is shows no subcription. how to add the subcription.
    Do you mean you have purchased Skype Credit or purchased a Subscription or both?
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • How to add the delete button

    Hello Guru's and Experts.
    I am working on a change request , the change request is as follows
    Once a cost simulation is run for a maintenance item and the data transferred to BI, it cannot be deleted from BI, only overwritten with an updated cost simulation. In the instance where the such items are no longer required to be included in the simulation, it must be made possible to delete the simulation costs in BI.
    The current design in my project significantly increases the effort required to identify unwanted cost simulations and greatly increases the potential for incorrect data to be used in Budgeting and forecasting.
    My question is how to add the delete functionality in the report. is it acheavable through the portal or WAD,
    iam new to SAP BI , if possible can anyone kindly suggest me the steps to do this functionality.
    Appreciate your quick response..
    Thanks
    Ravi.

    Hi Guru
    Thanks for your valuable information.
    We got the requirment changed now from the users , the delete button should display in the report, i mean in protal, Now the user wants to delete with the selection criteria, for example, once the user hits the row in the report, that means if he selects the Main work center, and selects the delete button , he wants all the data related to that main work center to be deleted.  and another senario is what ever row the user selects  the characteristics in the row, for example, if the user select  for any row, i mean it can be any cost center or fiscal year, maintaiance item, cost elements, ..etc.  
    Once the user  selects the row and hit the delete button,  and he wants to hit the save save button in the report to make sure it deleted, the other way around , if the dont want to hit save, then he wants the data to be in the report.
    In the above  scenario's  can  you please suggest me with the steps how can we acheive it.
    Please reply back if you need any other info., Apprieciate your quick response. its very urgent requirment which we have to start...
    sorry to bother u..
    Thanks
    Ravi.

  • Bind variables in double quotation marks are not recognized

    Hello,
    when I do "Execute Statement" (F9) in the SQL Worksheet and the statement incorporates a bind variable in the form :"Some Variable", i.e. variable name is in double quotation marks, I will get an error message "ORA-01008: not all variables bound". No prompt for entering the bind variables is displayed. Our application uses this kind of bind variables only and it is quite time consuming to change all the bind variable names before executing it especially when bind variable names contain spaces. Is there an option to enable recognition of this kind of bind variables? If not I would like to see this annoying issue fixed.
    I am running Oracle SQL Developer 1.5.1 build MAIN-5440.
    I am connecting from the Windows XP SP2 (32bit) box to Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 (64bit) using Basic connection type.

    Hi mc1100 ,
    Bug logged: Bug No: 7323289 F9 BIND VARIABLES SHOULD BE ABLE TO BE IN DOUBLE QUOTES AND HAVE SPACES.
    -Turloch

  • How to add the date field in the dso and info cube

    Hi all.
    I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
    Thanks & Regard
    KK

    my prob is solved
    KK

  • How to add the Match code object for the requisitioner field in TCODE ME51N

    Hi,
    How to add the search help (Match code object) for the requisitioner field in transaction ME51N.
    Please  do the needful to me.
    Regards
    Rajesh

    don't you think that posting your question to a microsoft developer site would be more efficient?
    regards,
    anton

  • How to add the property file..ie(default.properties) to a webdynpro project

    Hi All,
    How to add the property file..ie(default.properties) to a webdynpro project.
    I urgently require the solution. Kindly get it for me.
    Regards
    DK

    Hi DK,
    this is described in the second Web Dynpro Java Tutorial
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/b1a3e990-0201-0010-aeb2-a2ef5bc3da8e">creating an Extended Web Dynpro Application</a>
    Regards, Bertram

Maybe you are looking for

  • How to set up presentation service group based on groups defined in LDAP

    Hello guys we have successfully implemented LDAP authentication, and we imported 5 groups from LDAP to BI server. However, these 5 groups and their members are not displaying on presentation server under presentation catalog group, it still only has

  • Can't find my loop in the broser

    I imported a whole guiro track in the loop browser and I can't recall it in the browser, I can't find it. 1) The little search on top right of the browser doesn't let me type in it. 2) Is the file too long, I imported into the browser before and the

  • How can i reset my disabled iphone to factory setting without itunes?

    how can i reset my disabled iphone to factory setting without itunes?

  • Oracle linux 6 iptables SNAT error!

    hello every one I use oracle linux 6.1,and use iptables do snat, but the POSTROUTING CHAIN can't receive packets (i see it use 'iptables-save') echo 1 > /proc/sys/net/ipv4/ip_forward 'iptables-save' like this: # Generated by iptables-save v1.4.7 on T

  • Can a power surge damage the ethernet port?

    My internet was working fine, then a storm came in and the lights flickered. Since then my ethernet port says there is no connection even though there is. I have replaced the router and checked the connection and cable on another computer and they wo