ALV WD no-sign?

Hi all,
Where can I set the no-sign option in ALV for Web Dynpro Abap?
I've looked at the methods of cl_salv_wd_config_table and also tried search (Google and SDN) without sucsess.
Any help is appreciated.
Thanks in advance!
Regards,
Charles

I can't find it either....in SALV it's in the CL_SALV_COLUMN as methods HAS_SIGN, SET_SIGN.  I don't see the same methods within CL_SALV_WD* classes.

Similar Messages

  • ALV- Excel sign Pb

    Hi,
    I got a sign problem when I change the display of an ALV. Amount signs are uncorrect in excel sheet.
    How could I resolve that?
    Thank you for help.
    Audrey
    Message was edited by:
            Audrey ROBERT

    Gregor,
    Domain MENG13 (for mseg-menge) does not allow a sign (i.e. it is defined in the dictionary with the sign flag unchecked).  As stated in the F1 help for the domain checkbox for "Sign", "If the flag is not set but the field contains negative values, problems might occur during screen output." 
    Maybe the sign flag on the domain is being checked by the Excel download logic causing the sign to be dropped, or it could just be the version of Excel that you are using is not "smart" enough to convert your negative quantities into negative Excel values.
    When you say "OO ALV grid" do you mean you are using CL_GUI_ALV_GRID or are you using the ALV Object Model CL_SALV_TABLE?  I will assume you meant CL_GUI_ALV_GRID.
    I simulated your scenario using CL_GUI_ALV_GRID in ECC 5.0 by forcing an ALV field of type MENGE_D (same as mseg-menge) to have a negative value it_alv-menge = '1.000-'.  The ALV output showed the negative sign like this "1.000-" and the Excel 2003 output also contained a negative value.  This tells us that for CL_GUI_ALV_GRID in ECC 5.0 and Excel 2003 the problem does not exist. 
    I didn't find any SAP Notes that exactly match your scenario, but you can take a look at [Note 939815 - Spreadsheet download of fields with minus sign|https://service.sap.com/sap/support/notes/939815].  It could be that you have discovered a problem that needs to be submitted as a customer message to SAP.  Or it could just be that the problem was fixed in a SAP patch or note that I didn't find.  Or as I suggested above, it could be an Excel issue.
    I hope some of this analysis will help you out.
    Best Regards,
    Jamie

  • How to display the number with negative sign in the front in ALV.

    most important, this ALV is also can totalize.
    can someone give me some suggestion?
    thanks   
       jisuwen

    i hope you want a negative sign before a char but holding some number. then that case
    loop at itab.
    concatenate itab-char '-' into itab-char.
    modify itab.
    endloop.
    and you can display in ALV with negative sign...
    Totalling you need to Specify
    DO_SUM = 'X' while populating fieldcatalog...
    If subtotals then you have to Build sort table and based on that you can proceed./.
    examples are there you can find inn SLIS package..
    vijay.

  • ALV_GRID- check_changed_data not working properly?

    DEV experts:
    In the PAI of my dialog screen (where I have an editable OO ALV):
    This code works when my table behind the alv is already populated,
    however, when it isn't populated and I put new values in and hit save.
    DATA : wl_refresh TYPE c VALUE 'X'.
      CALL METHOD C_alv_ELE->check_changed_data
      CHANGING  c_refresh = wl_refresh.
      CALL METHOD C_ALV_ELE->REFRESH_TABLE_DISPLAY.
    It just 'skips' the check_changed_data automatically and I have no idea why...
    There is obviously data entered in the ALV, but I can't make it show up in the table behind the ALV. When the screen ends in the PAI and goes into PBO and displays its still in the ALV, but no sign of it in the table behind the ALV.
    Any suggestions?

    Dear
    Are you using ALV events ?
    Check this for more info on ALV events:
    [ALV Events;
    This one has a list with all the ALV events avaialable
    [Alv events;
    It seems your code is not doing proper event handling, and your messing with the PBO/PAI instead.
    Kind Regards
    /Ricardo Quintas

  • Displaying Dollar sign in ALV

    How to add the dollar sign infront of field with data type currency (CURR) ?
    Need to display the amount field in the ALV report.
    Please suggest any solution.
    Thanks,
    Khush
    Edited by: khush123 on Sep 22, 2011 11:49 AM

    Hi ,
    Take  another  character field  .
    Concatenate  currency field value  and  '$' and move to character field  and display  .
    This is Simple  way  .
    regards
    Deepak.

  • Sign in front of numeric/currency field in ALV grid/list

    Dear all,
    We need to display sign in front for numeric/currency values which will
    use the sub-total functionality. Currently there is no option for doing
    this in ALV output options.
    Is this possible?
    regards
    Nitesh

    Hi,
    Please go throw below links ,
    may be it will solve u r problem
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    Regards
    Suresh.d

  • Negative sign display for CURR field in ALV grid report

    I have a field BETRG defined as CURR field of length 15, decimal places 2. The value may be negative or positive. In case of negative values I am using EDIT_MSK option in the field catalog to bring the negative sign to the left of the value as shown below.
    Quote
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = sy-repid
          i_internal_tabname     = 'LT_FINAL'
          i_inclname             = sy-repid
        CHANGING
          ct_fieldcat            = fieldcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
    LOOP AT fieldcat.
        CASE fieldcat-fieldname.
            WHEN 'BETRG'.
            fieldcat-ctabname = ' '.
            fieldcat-cfieldname = ' '.
            fieldcat-edit_mask = 'RRV_______________.__'.
        ENDCASE.
        MODIFY fieldcat.
      ENDLOOP.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_buffer_active    = 'X'
          i_callback_program = sy-repid
          i_grid_title       = 'ABCD'
          is_layout          = gs_layout
          it_fieldcat        = fieldcat[]
          i_save             = 'A'
          is_variant         = gs_save
          it_events          = gs_events
        TABLES
          t_outtab           = lt_final
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
    Unquote
    On displaying the report using 'REUSE_ALV_GRID_DISPLAY' as shown above, when the value of BETRG is a smaller number like say 624, then the ALV output appears as '-            624.00' instead of '-624.00'.
    Is there any way that I can remove the space in between the negative sign and the number before displaying the ALV output using 'REUSE_ALV_GRID_DISPLAY'?

    Hi Deepak,
    I tried this and found that this doesn't work in case of currency field. Once you move back the char field (with negative sign to the left and condensed)  to the currency field, the negative sign again moves back to the right.
    I think that the only way a negative sign can be brought to the left of the currenct field is by using edit_mask of field catalog as I have shown above.
    Regards,
    Shayeree.

  • User cannot see the "-" signs on amounts in ALV report

    Hi all,
    We have a problem with a user, who cannot see the signs on the amounts in an ALV report:
    <a href="http://img66.imageshack.us/img66/1424/nataliabr9.jpg">Report without signs</a>
    The user has tested this report with his user, and another test user, on his computer and on another computer. It does not change anything, he cannot see the signs "-" on the amounts.
    But when I launch the same report on the same client, I cann see the signs:
    <a href="http://img398.imageshack.us/img398/1203/moigl3.jpg">Report with signs</a>
    So, I think it does not come from his user (he has tested with two different users), or from his computer (he has tested on two different computers).
    Do you have any ideas?
    Thanks for your help.

    Having seen and "played" with an NB100-12a the other day I must agree that the grey letters on black keys
    aren't a clever idea - its bad enough that the keys are so small also.
    I currently own a satellite Pro with which I am very happy ( apart from the inclusion of Windows Vista which I
    don't particularily like ) and found this machine easy to "drive" BUT due to the keyboard size and lettering
    I won't be buying one ( unless they do a redesign - an acer aspire one keyboard and touchpad or NC10 style
    design ) and I think that the price of these machines has recently dropped from approx £300 to approx £270
    due to poor take up by the public mainly for the above reasons.
    Sorry Toshiba looks like i'll be buying an NC10 - unless I hear of a possible redesign.#
    Mike

  • Negative sign for DMBTR field in ALV output

    Hi Experts,
    Before posting I have searched for more than 3 hours in the forums to get a solution for this.
    I did not get any solution so I am posting this problem which I need to resolve.
    I have to display the DMBTR field in ALV output for which a grand total will have to be displayed.
    Here for all the values in DMBTR which are negative are getting displayed as '-        6673.56','-       289956.23' as I am using the edit mask 'V_____________.__'.
    I have to get the value shown as '-6673.56', '-289956.23'.
    I tried to use convert this DMBTR to String and have successfully displayed the negative sign correctly in front of the value but I am not getting the totals which I need to have
    PLease check and suggest for a solution.
    Regards
    Kishore

    Hi,
      If this is the case, then you can use character field to display the sign on the left. Sum up the total and use the event end of list to display the same. Remember to set the TECH and NO_OUT in the field catalog.
    Hope this helps.
    Regards,
    Siva

  • Editable field in ALV does not accept negative sign values

    Hi guys,
    We have an editable field in ALV but it does not accept negative sign,,, it is causing an error... We need to input a negative value in that editable field...
    How to handle this?
    Thanks!

    Hi Mark,
      This topic has been just discussed at this thread:
    Problem with OO ALV
    Regards,
    Chandra Sekhar

  • Move sign to left of quantity on alv grid with & stil total quantity column

    Hi Guys,
    Here is my problem..  I have a column on my alv grid that is signed.  I want the sign to appear to the left of the number. 
    This column needs to be totalled so I can't use the function module CLOI_PUT_SIGN_IN_FRONT.  I've also tried (as per forum thread) having the field type as TABHIST-DELRATE but this rounds the values and the sign is still on the wrong side.
    Any ideas would be gratefully received..
    Regards,
    Liz.

    I think first you need to read
    1. USR01-DCPFM for user default decimals values, by giving user sy-uname then go to
    2. DDVAL giving USR01 & DCPFM you will get domain values
    if domain values X or Y or space arrange the EDIT_MASK accordingly and pass to field catalog.
    ( Here you can also use fm DOMAIN_VALUE_GET)
    May this will you out.

  • Shifting -ve sign from right side of a value to left side in an alv report

    HI GURUS,
    i'm doing an alv report which displays grand totals of numeric fields as well.
    tab-othercost = itab-netwr - itab-wavwr - itab-kzwi2 - itab-kzwi5.
    when othercost value is -ve, the -ve sign is cuming right to the value.
    i'm using fm 'CLOI_PUT_SIGN_IN_FRONT' and shifting the -ve sign frm right to left of value.
    L_FIELDCAT-FIELDNAME = 'OTHERCOST'.
      L_FIELDCAT-TABNAME = 'TAB'.
      L_FIELDCAT-SELTEXT_M = 'OTHER COST'.
      L_FIELDCAT-COL_POS = 9.
      L_FIELDCAT-DO_SUM = 'X'.
      L_FIELDCAT-DATATYPE = 'CURR'.
      APPEND L_FIELDCAT TO L_FIELDCAT.
      CLEAR L_FIELDCAT.
    but in the grandtotal value i'm getting -ve sign in the right side of value.
    plz let me wht to do to change the sign in grnadtotal value as well...

    Hi,
    do all the calculations in a currency variable...and then finally move it to the character variable..
    Also try commenting this line.
    *L_FIELDCAT-DATATYPE = 'CURR'. "Commented
    Ex..
    DATA: v_netwr TYPE netwr.
    DATA: v_netwr_c TYPE char20.
    v_netwr = 100 - 200.
    WRITE: v_netwr TO v_netwr_c CURRENCY 'USD'.
    CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
      CHANGING
        value = v_netwr_c.
    WRITE: / v_netwr_c.
    Thanks
    Naren

  • Icon_checked unable to download as sign in excel sheet of alv

    Hi all,
    I have used icon_checked of TYPE-POOLS: icon to dispaly as YES sign in an alv report.
    But issue is that when report is downloaded in excel the icon_checked does not generate any text.
    How can i generate text for that icon_checked symbol.
    Below is my code :
    READ TABLE t_konv INTO wa_konv WITH KEY knumv = wa_ekko-knumv
                                                      kposn = wa_ekpo-ebelp.
              IF sy-subrc EQ 0.
                IF wa_konv-kbetr NE 0.
                  wa_tab-kbetr = wa_konv-kbetr.
                  wa_tab-tax_ind = icon_checked .
                ELSE.
                  wa_tab-tax_indicator =  ' '.
                ENDIF.
    AND 
       wa_fieldcatalog-fieldname   = 'TAX'.
        wa_fieldcatalog-seltext_l   = 'Indicator'.
        wa_fieldcatalog-icon  = 'X'.
        APPEND wa_fieldcatalog TO t_fieldcatalog.
        CLEAR  wa_fieldcatalog.
    Kindly help.

    >
    ujjwal_d15 wrote:
    > Hi, Yes that's possible is there some way that we will shown icon and in excel we get some value for it ?
    No its not possible to download icons/graphics to excel.
    Regards,
    Karthik D

  • How to display -ve sign before amount in ALV grid

    Hi,
    I want to display -ve numbers in an ALV grid. But the sign always appear at the end of the number. Is there any option with which I can display -ve sign before the number.
    Regards,
    Deepti

    Hi,
    <b>You can refer to below threads:</b>
    ALV - negative sign in the front
    Prefix Negative sign in type P field in an ALV report
    Or
    USe Function Module <b>CLOI_PUT_SIGN_IN_FRONT</b>, may be this works in your case.
    <b>Reward if helpful</b>
    Rgds

  • How to get a minus sign with the cost  field in ALV.

    Hi ,
    How to get a minus sign with the cost field in ALV.
    The Ouput will be displayed like  Rs -1500 instead of 1500-
    I can't use concatenate also as i may have to use the sum functionality of ALV .
    Cheers
    Sunny

    Hi sunny,
    1. The OTHER FIELD
       has to be character field of say length 15.
    2. Write the original numeric value to
       this character field (in a loop)
    3. But simply writing won't help.
    4. use this kind of logic.
    5.
    REPORT abc.
    DATA : m TYPE i.
    DATA : chr(15) TYPE c.
    m = -100.
    WRITE m TO chr.
    IF m < 0.
      SHIFT chr RIGHT BY 1 PLACES.
      CONDENSE chr.
      CONCATENATE '-' chr INTO chr.
    ENDIF.
    WRITE chr.
    regards,
    amit m.

Maybe you are looking for

  • How to move a report from one account to another account

    Dear all , How to move a reports from one account to another account. These are reports sent automatically. Unfortunately, I do not know where to find them and how to export to another account. Puru

  • Upgraded from Adobe PhotoShop 2.0 to 3.0 version

    I recently upgraded to the 3.0 version of Adobe PhotoShop. I used to download my digital photos directly from the camera and they would appear as thumbnail photos. With the newer version, I can't seem to find where the photos are. I had to use a card

  • Where are my 'to do' items in Calendar?

    I've just upgraded to Mavericks. A feature that I used to use all the time in iCal, the To Do list, seems to have disappeared in 'Calendar'. I'm lost without it. Can I retrieve my existing "To Do's"? It contains my list of what I have to do this week

  • ITunes browser doesn't stick

    In most of my playlists and my main Music folder I like to keep the browser visible (both in iTunes and for my iPods). I recently purchased a new Nano 8GB (4th gen.) and while the playlist browsers stick, the main Music folder's browser keep disappea

  • Test-Connection problem

    Running in to strange issue with the Test-Connection cmdlet, both inside a script I am writing and when running it directly from a powershell session.  No matter what computer/site I try to test I get "test-connection : Not Found"(full error text bel