How to remove space before value in Excel

Hi,
Have to send mail with Excel attachment.
for that SO_DOCUMENT_SEND_API1is using.
Just concatenating data to Contentents_BIN Structure with cl_abap_char_utilities=>cr_lf to get record by record.
But i'm getting space in seoncd record first cell along with value.same things for next records aswell.
How to remove that space in excel attachment?

Hi,
Is the value right aligned? If you pass any whole number or decimal number values to the excel sheet, it will be displayed in right aligned format in excel sheet. What is the type of the value that you are passing to the excel sheet.
Thanks & Regards
Rocky

Similar Messages

  • How to remove space from a variable in a smartform

    Hi,
    I have a problem in displaying a variable in a smartform..The variable shows some blank space that preceeds the data.
    for eg:,
    variable =        18.000.
    How to remove space before 18.000?

    To remove the decimal places for quantity and rate/quantity , use the syntax to restrict the number of digits after decimal places. The syntax is
    &symbol(.N)&
    where N is number of decimal places.
    Since you dont want decimals use &symbol(.0)&
    For the other case it depends on how the currency is represented , any way try using the syntex &symbol(T)&
    Please give me reward point If it is useful
    Thanks
    Murali Poli

  • How to remove space after paragrph in pages on ipad

    Can't figure out how to remove space after each paragraph in Pages for Ipad

    Settings > General > International > Region Format
    Set it to your country to format numbers and dates in the way your country does.

  • How to remove space below text?

    In the screenshot below, how to remove space below text? I simply added a text box using the type tool and I get that extra space bellow the letter "B" that I don't need. I want to remove that space to center the letter within the octogon.
    Thanks!

    You might consider giving the letter a negative baseline shift and aligning it to centre.
    That way you can adjust it so that its anchor point coincides with the centre of the hexagon.
    Like this:
    Another thing: You may find it easier working with type if you hide bounding boxes.

  • How to remove space below the table in smartforms

    how to remove space below the table in smartforms

    maintain a loop counter for item say count
    and in text editer write
    if count > 6
      new-page.
    endif.

  • How to remove the default value of "Inventory No." in Equipment Master

    Hi Experts,
    Need your advise
    How to remove the default value for the field "Inventory No" in Equipment Master? It will goes back to the default value(TRANSIT) when i delete or change the value.
    Thank You
    Best Regards

    i think you cannot default this value from configuration, check is there any screen variant exist for your transactions IE01/IE02, else may be any user exit is active on the equipment master transactions.
    Take help of your ABAPer and verify the above.
    Praveen.

  • How to remove Space

    Hi  group,
    I have one string with length 15 ,sometimes I am getting this fields with in between sapces and hyphen(-) ,how to remove these spaces and hyphen using JAVA in UDF.
    Can any suggest

    So is what you want some thing like pass all the numeric values in the 15 character long string..is it ?
    if yes please use this code in UDF...
    int len = input.length();
    String output = "";
    for(int i = 0; i < len; i++){
      if(Character.isDigit(input.charAt(i))){
        output+= input.charAt(i);
    return output;
    Thanks,

  • How to increase space before a Heading

    Hi, Three things are really getting to me in Pages 9.
    1. Can I a dotted line in the TOC for each line item. e.g.
    Heading 1.................2
    Heading 2..............3
    Heading 2..............4
    2. How do I add space before the style at the top of the page. eg.
    --- top of page ----
    [space
    of
    lets
    say 5 cm]
    Heading 1
    I can add the space IF I add an empty paragraph as the first line and add a value to "before paragraph' text inspector.
    3. Can I create a TOC which will display the headings I have in the floating text boxes?
    thanks in advance

    Hi stnsw,
    Welcome to Apple discussions and the Pages '09 forum.
    singletracknsw wrote:
    Hi, Three things are really getting to me in Pages '09.
    1. Can I a dotted line in the TOC for each line item.
    The dotted line running from the text to the next tab stop is called a 'leader.'
    A look at the article_Setting Tab Stops to Align Text_ in Chapter 5, Working with Text in the Pages '09 User Guide will explain how to set leaders to tab stops. The article starts on p. 91
    Short answer: use the Tab section of the Text Inspector.
    2. How do I add space before the style at the top of the page. eg.
    Several ways.
    • An inserted shape, either floating and set to cause wrap using the button that prevents text to the right and left of the object, or inline, and set in a paragraph of its own above the first 'real' text on the page. The object may be white, transparent, or set to any colour with opacity set to zero.
    • Type a return character before the first text on the page. Select the return and set the font size to 144 points (two inches) Adjust the size to taste using command-+ (larger) and command- - (smaller).
    • Use the Inspector to set the space before the first paragraph, as you described.
    I can add the space IF I add an empty paragraph as the first line and add a value to "before paragraph' text inspector.
    3. Can I create a TOC which will display the headings I have in the floating text boxes?
    Not using the TOC tools in Pages.
    You'll find the Pages '09 User Guide a valuable (and mostly easy to read) resource. It can be downloaded through the Help menu in Pages.
    Regards,
    Barry
    Regards,
    Barry

  • How to remove spaces at selection screen coming from logical database

    Hi Experties,
    When we hide some selection from the logical database.  The spaces still occupied and this make our selection screen looks awkward.
    How to remove the spaces left by hidden selection ?
    Regards
    Nislina

    Hi,
    I came across your un-answered question while searching for a solution on the similer problem. Though I couldn't fine a solution on SDN, but figured out one myself. Thought its a good idea to share it.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group4 = '003'.
          screen-active = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Here screen-group4 contains the sequence number of the select-options field starting from 000 onwards.
    You may like to assign points and close the question.
    Kind Regards,
    Khalid Mustafa

  • How to maintain space between value and base unit of measure in sapscript

    Hi Guys,
    I am working on an upgradtion project, i have problem like while upgrading from 4.6b to 5.0. i need to main a space between value and base unit of measure. can anyone letme know how to maintain in the form. I mean in sapscript.
    Thanks,
    Yogesh

    There are a couple of ways to handle this,  if you need a bigger space between, you can use tabs in the paragraph format.  Or you can just write the space in between the fields like so.
    ZA  &MSEG-MENGE& &MSEG-MEINS&
    Regards,
    RIch Heilman

  • How much free space before updating iPad to 5?

    I have an original, 64gb iPad One.
    from what I am reading here, free disc space seems to be important before doing the upgrade.
    how much free space do those of who have updated suggest, BOTH on then iPad, and on
    my PC hard drive?
    Not looking forward to a bricked-install

    The more stuff you got, the longer the whole update will take...increasing the chances something might not go smoothly.
    So delete movies/videos first as they take up the most space. You can copy them back later. It's worth the small hassle imo.

  • Help :how to remove spaces in string

    could any body please help me in removing spaces from string suppose i have written vivek chhabra and i want to remove spaces in this string and want a string vivekchhabra then how this could be done
    anybody help me please
    vivek

    String string = "Hello - This is a test!";
    String result = string.replaceAll(" ", "");
    System.out.println(result);This code results the following output:
    Hello-Thisisatest!

  • How to remove spaces

    Assignee: cf_supp Status: Open, In Progress, Reopened, Test Deployment Pending, Production Deployment Pending, Ready for QA, Bus Analysis, Ready for Development and Deployment Complete Sorted by: Created descending, then Key descending
    the above is the paragraph that i am displaying in table from query but i am not able to remove spaces in between , i tried with trim and also with replace functions.
    Any help in this
    Thanks in advance

    the above is the paragraph that i am displaying in table from query but
    i am not able to remove spaces in between , i tried with trim and also
    with replace functions.
    There's always the old trick of continually applying a replacement function until you're done. It just might be of help here. I assume you will want to stop when there is only a single space between the words.
    <!--- variable to simulate a paragraph containing arbitrary space characters --->
    <cfsavecontent variable="paragraph">
    Assignee: cf_supp Status: Open, In Progress,
               Reopened,             Test Deployment Pending,   Production
                Deployment Pending,    Ready for QA, Bus
         Analysis, Ready for Development and Deployment
    Complete Sorted by: Created descending,              then Key descending
    </cfsavecontent>
    <p>
    <strong>Paragraph before:</strong>
    <pre><cfoutput>#paragraph#</cfoutput></pre>
    </p>
    <!--- Replace whitespace characters like linefeed, carriage-return, tab, space, etc., with a single space --->
    <cfset paragraph = REreplace(paragraph,"[[:space:]]", " ", "all")>
    <cfloop condition="true">
        <cfset old_paragraph = paragraph>   
        <!--- Replace two adjoining spaces with a single space --->
        <cfset paragraph = replace(paragraph,"  ", " ", "all")>
        <!--- Continue till there is no more replacement --->
        <cfif compareNoCase(old_paragraph, paragraph) is 0>
        <cfbreak>
        </cfif>
    </cfloop>
    <p>
    <strong>Paragraph after:</strong>
    <pre><cfoutput>#paragraph#</cfoutput></pre>
    </p>

  • How to remove space from satrting

    help me please
    i have 16 digit field ,  so in output i have only 5 digit and left  11 digit is comming blank
    so please tell me how to reduse space form starting
    my field is coming like this   -- Rs:            78,999.00 
    so i want to reduse space between Rs and amount
    thanks

    you can either use condense statement
    condense <field name>.
    You can also use the following function module.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
      EXPORTING
        INPUT         = <FIELD NAME>
    IMPORTING
       OUTPUT        = <FIELD NAME>.

  • How to remove the tabs Export to Excel, Export as CSV in z0ADHOC web templa

    We have made a copy of 0ADHOC - standard web template  as Z0ADHOC.
    Now we would want to remove the tabs  Export to Excel, Export as CSV from thcopied Z0ADHOC.
    Can any one help out.
    Regards

    Devaraj,
    If you look at the Z0ADHOC through the WAD closely in the overview tab, you will find a web item called GR1Toolbar. This is in turn linked to another web template called 0ADHOC_TABLE. Click on GR1Toolbar and view its properties to see this detail. Now if you open the web template 0ADHOC_TABLE in the WAD, you will see soms text elements. The last two:[SAP_BW_TEXT_!IID_546],
    [SAP_BW_TEXT_!IID_549] are the ones for export to xl and CSV. Now to achieve this in your scenario, I think you will have to create another Z Template called Z0ADHOC_TABLE, remove these two text elements and then Link it to the template Z0ADHOC. Try this and let me know if it works.
    Cheers
    Anand

Maybe you are looking for

  • Editing in Notation

    I'm editing in notation view (2/4 time) and i can't get the desired note pattern. I need a beamed sixteenth note (two sixteenth notes connected by two parallel bars at the top) and then a quarter note, and then an eigth note. whenever i try to put th

  • Is it possible to fit 2 progress bars within 1 (more)

    hi, I am implemented a client/server which streams music files, and plays them concurrently. I currently have a progress bar which indicates how much of the file has been downloaded. And I could also have a seperate progress bar indicated how much of

  • Doubt on ALE/idoc

    Hi All, i genereted idoc, but it have errors, how it can be reprocess. after reprocessing 'idoc no' will change or not Thanks, Ravindra.

  • TS4036 I'm trying to restore my iPhone 5 iOS 6.0.2 but it says I'm unable to because my backups aren't compatible because they're iOS 6.1

    I'm trying to restore my iPhone 5 iOS 6.0.2 but it says I'm unable to because my backups aren't compatible because they're iOS 6.1. Please help!

  • Petition to open-source OCCI

    We are a large Oracle site running 10g on Solaris. We have plenty of C++ code. We are using g++ 3.4.x and we wish to use OCCI. But we can't because it's not supported with g++ on Solaris. We refuse to backport our C++ code to Sun's ancient RogueWave