Reporting -how to get blank space

Hi friends,
                I have a report see this format
                   Cusno Cusname   cus address telephone
                       101    sri               102            45454
                        102   har               ####           ####
In this report we don’t have data for this (cusno 102( cus addr, telephone)) so we are getting some hash symbols in those places but my requirement is we should get some ‘Blank space’ .
         I want to know for this kind of output is there any settings while during modeling or in repoting level.
Pls suggest me
Thanks
ram

Hi,
You Can Remove # in workbook by using macro's.
You Can use the following Code in VB macro to Eliminate #.
Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
Dim ws As Worksheet
Set ws = resultArea.Parent
resultArea.Select
'Remove '#'
Selection.Cells.Replace What:="#", Replacement:="", LookAt:=xlWhole, SearchOrder:=xlByRows, MatchCase:=False, MatchByte:=True
resultArea(1, 1).Select
End Sub
Hope it helps.
Regards,
-Vijay

Similar Messages

  • Instead of showing 0 in report its getting blank space

    Hi Sap Gurus.
    I am running the query in rsrt, in my report i am getting instead of 0 values it is showing Blank space. But in my source data there is value is 0. But when i execute the query its getting blank space. How to over come this problem.
    could u please let me know.
    Best Regards,
    venkat.

    Hi,
    Check out this.. it might solve your issue.
    in Query Properties
    Tab: value display >> Zero value Display >> Select "zero as Default Text"  under Display Zeros
    And Tab:  Rows/Columns >> Supress Zeros Option  >> "Do not Supress"  is selected.
    Thanks
    Jitu
    Edited by: Jitenderkumar Danduvia on Feb 23, 2010 12:45 PM

  • How to get blank data in alv?

    hi
    im finding the difference between 2-dates...
    below is my code......
    my problm is wn there is no data in the gstri field then v_dat1 should be blank...but im getting zeros...
    how to get blank instead of zero?
    IF <fs_final>-gstrp is not INITIAL and
      ( <fs_final>-gstri is not INITIAL ) .
    CALL FUNCTION '/SDF/CMO_DATETIME_DIFFERENCE'
          EXPORTING
            date1            = <fs_final>-gstrp
            date2            = <fs_final>-gstri
          IMPORTING
            datediff         = v_dat1
          EXCEPTIONS
            invalid_datetime = 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.
    ENDIF.
        IF ( <fs_final>-gstrp GT <fs_final>-gstri ) AND
           ( NOT <fs_final>-gstri IS INITIAL ) .
          v_dat1 = -1 * v_dat1.
        ENDIF.
    Regards
    Smitha

    Hi,
    If you are using FM 'REUSE_ALV_GRID_DISPLAY' then In your fieldcatalog there is one component called 'no_zero' make it to 'X' like :
          WA_FLDCAT-TABNAME = 'IT_FINAL'.
          WA_FLDCAT-COL_POS = 1.
          WA_FLDCAT-SELTEXT_L = 'BOQ.Amt'.
          WA_FLDCAT-FIELDNAME = 'ZAMT'.
          WA_FLDCAT-NO_ZERO = 'X'.
          WA_FLDCAT-DATATYPE = 'CURR'.
          WA_FLDCAT-INTLEN = '20'.
          APPEND WA_FLDCAT TO IT_FLDCAT.
          CLEAR : WA_FLDCAT.
    That's it,it will not display if the field value is zero.
    Hope this helps,
    Thanks & Regards,
    Rock.

  • Getting blank space after paragraph in RTF template

    Hi there,
    Thanks so much for all your help for your help.
    I am running into one issue in RTF template, wanted to share with you to get any input on this. I have paragraph and Idid put in table at the top and there is xml tag that gives names after that paragraph. but I get blank spaces after paragraph and it shows names from that xml tag.
    I tried to remove spaces by deleting between pargraph and xml tag<name> , still i get blank page between paragraph text and names.
    Can anyone help me or point me to get it resolved that would be greatly appreciated.

    Thanks Varma for your prompt response and your time on this. I am still trying to get any other options to get this done as that is the requirement and with that blank page looks not fully satisfied for users and am trying any other ways to do implement this..
    That's the reason I thought of putting this post again to get more inputs that may have.
    Can anyone put some light onthis.
    Thanks a lot..
    sk

  • In abap report how to get substitute Materials

    Hi Friends,
    In abap report how to get substitute Materials. Is there any function module or bapi available other than Function 'PRODUCT_SUBSTITUTION'
    Will appreciate your suggessions with poits.

    Hi anilkumar,
    1. u have the position
       u want the Job
    2. In hrp1001 table
       OTYPE = 'S' (for position)
       OBJID  = POSITION (AS ABOVE)
       SCLAS = 'C' (for finding job)
    <b>   SOBID = XXXXXX (here u will get the JOB)</b>
    regards,
    amit m.

  • How to get more space on my disk in iphoto?  It says I don't have any more space..Help!

    How to get more space in iphoto? It says I don't have any more space?? Help...

    You can look at the material stored and see what you don't need and delete.  But a better way is to get an external hard drive and move large quantities of material to the external storage.  That will free up internal storage capacity.

  • How to get blank data wn one date is initial?

    hi
    im finding the difference between 2-dates...
    below is my code......
    my problm is wn there is no data in the gstri field then v_dat1 should be blank...but im getting zeros...
    how to get blank instead of zero?
    IF <fs_final>-gstrp is not INITIAL and
    ( <fs_final>-gstri is not INITIAL ) .
    CALL FUNCTION '/SDF/CMO_DATETIME_DIFFERENCE'
    EXPORTING
    date1 = <fs_final>-gstrp
    date2 = <fs_final>-gstri
    IMPORTING
    datediff = v_dat1
    EXCEPTIONS
    invalid_datetime = 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.
    ENDIF.
    IF ( <fs_final>-gstrp GT <fs_final>-gstri ) AND
    ( NOT <fs_final>-gstri IS INITIAL ) .
    v_dat1 = -1 * v_dat1.
    ENDIF.
    Regards
    Smitha

    HI,
    The type defination of date difference is P whose default value is 0. for that reason you are getting 0 in v_dat1. and thats why it can't be blank.
    if you using the v_dat1 for futher processing than you can first check whether v_dat1 is 0 or not then you can proceed with your logic...
    OR
    other think you have to delcare another variable of type char, assign your v_dat1 and then SHIFT <char var> LEFT DELETING LEADING '0'.
    Hope it helps

  • I got my first macbook air about a year ago. awhile ago i started getting these notifications saying "your startup disk is almost full" or "your startup disk is full". i was wondering how to get more space on my startup disk, if that is possible?

    i got my first macbook air about a year ago. awhile ago i started getting these notifications saying "your startup disk is almost full" or "your startup disk is full". i was wondering how to get more space on my startup disk, if that is possible?

    Freeing Up Space on The Hard Drive
      1. See Lion's Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.

  • How do I get blank spaces out of my Ipod's music library?

    When I go to my music on my Ipod, it has a bunch of blank spaces at the top and then when I scroll down is my music. How do I get these blank spots out?

    When you click these, do they open a song?
    Also, you can try the swipe-to-delete method that works on normal songs, they may simply be songs with no id3 tags so they show up blank.
    Correction: Just remembered, in 5.1.1 (not sure about 6.x), songs with no id3 tags show the filename. So I'm not sure why it's blank.

  • How to replace blank spaces with zero's in the report

    hai sdn guys,
                         we have a requirement where we cannot have any blank fields in the report and i need to replace the blanks with a zero. What is the best way to do it.

    Hi Sunitha,
    It is not proper that you are posting the same question multiple times:
    Re: report o/p should not have blank spaces in - in case of no value
    should get 0's in place of blank value in  the output of the report
    That too inspite of my requesting you not to do so.
    I am not sure if you have ever gone through the Rules Of Engagement which are prominently posted in each forum, but I think it is SDN courtesy to provide proper feedback when posting a question and assign points as deemed fit. This helps (and motivates) everyone to work on your problem and try to give you a solution. I hope you will be more careful in the future. Thanks!

  • How to use blank space replace NULL on discoverer viewer

    Hi,
    There is a report that has a varchar field should show text values, and if NULL, I need it show blank space, and does in disco desktop, but on viewer, the same worksheet shows NULL.
    Even I changed in the Tools - Options - Format menu(desktop), it still show NULL on viewer.
    why?
    please help! thanks!
    sammy

    Hi Sammy,
    Unfortunately ‘some’ of the settings set in Desktop do not carry over to Viewer. These options need to be defined for Viewer itself.
    A temporary way to set the Viewer settings is to click on ‘Options’ when logged in Viewer itself. You’ll have to open a responsibility or report before this option becomes available to select. Within here you’ll be able to change the way NULL values are seen. However this method only makes the change for the User you logged in with.
    To make the change for all users, it’s best to edit the PREF.TXT file on the Discoverer Server. Please view the documentation below for more information on how to configure Viewer. For windows platform click here : http://download-uk.oracle.com/docs/html/A90287_01/toc.htm,
    For Unix platform click here : http://download-uk.oracle.com/docs/html/A90288_01/toc.htm. Once you’ve run the applypreference script, these settings will be forced down to all users of Discoverer.
    Hopefully this will help ;-)
    Lance

  • How to Remove Blank spaces in the text elements for a smartform

    Hi All,
    Can any one please help me out to remove the blank spaces in the text elements.
    We are printing Labels using the Zebra Printer and we have rotated the windows to 90 degrees.
    We are able to see out text and barcodes. But the issues is when we are printing the label. We are getting spaces in the Text and in the Text elements fields. I have tried to give &g_name(C)&. But it is not working even i worked with style sheet spaces no luck.
    Currently out text and fields are printing like this
    s h r i y a n
    material number
    1111  -001  -000
    They should print like
    shriyan
    1111-001-000
    According to the ZEBRA suggestions we are using the font helve.
    Plase help us it is very urgent.
    Reward point will be given.
    Thanks

    Hi,
    Just use Condense g_name inside the program lines.
    Just to see how it behaves put a hard breakpoint.
    Break Username. and check the condense statement.
    condense <your field> no-gaps.
    Create program lines ahead of printing. give the field you want to condense in the input and output parameters of the program lines.
    Use condense inside the program lines.
    Thanks,
    Vamshi.

  • Interactive Report: how to get value of given row/col cell in selected row

    Hi -- I have an interactive report. Instead of the default behavior of the link going to a single row view, I want it to
    go to a form for editing the row. This means I have to be able to populate the form w/ the correct row's information...
    so need to get the value(s) for the PK column(s) in the selected row of the interactive report, so I can select the row
    from the database.
    How can I do this? I see in the report attributes, Link Column section, I can set Rows Uniquely Identified by, and a Unique
    Column (though there could be more than one in a PK). I imagine I'd want to use the rowid, but I'm not sure how the
    rowid of the selected IR row can be referenced. And at that point, I'm not sure how to get the IR column value for
    that row. (Say I'm on the 8th row and I need the first column... How is the column referenced? By a number, it's name,
    its heading?)
    Or maybe I'm not on the right track at all...
    Ideas?
    Thanks,
    Carol

    Hi Carol,
    What I´m trying to do is: defining a button such as when you click it a pl-sql procedure is called, which needs as an input parameter the id of the row selected in my form. what I need first, then, is to get the id of the selected row. how did you get it?
    Thanks in advance
    Francesco

  • How to delete blank space from value of Infoobject in the transfer rule

    does anyboady know how to write a routine in the transfer rule in order to delete ending blank spaces from value of Infoobject 'ORDTEXT'. E.g. value: 'ABM    '?  After routine, the result should be 'ABM'.
    Thanks for any input.

    Deleting 'ending blank spaces' from a character type field (ie info-object or text) in SAP is not meaningful. For all usage, a char type field of length 8 having value  'ABM     '  is same as 'ABM'.
    Ok, HTML is changing the display in the above, so let me restate it
    For all usage, a char type field of length 8 having value  'ABM_____'  is same as 'ABM', take the underscore character (_) in the first string as a placeholder for space character.
    Edited by: Ajay Das on Jul 29, 2009 12:07 PM

  • How to generate blank spaces at end of the record in a flat file with fixed

    Hi,
    I am generating a flat file with fixed length.
    In my ABAP program, i am able to see the spaces at the end of the recors in debug but when download to applicaiton server i am not able to see those spaces.
    How can i generate blank spaces at the end of the record in a flat file?
    Please update
    Thank you

    How are you downloading the file?  And, How are you looking at the file on the application server?
    Can you provide snippets of your code?
    Cheers
    John

Maybe you are looking for