How to Supress -ve sign in report painter output

Dear All,
I have developed a balance sheet using the report painter. The client wants to suppress the negative sign in the output. Is there any option to do this?
Regards,
Karthik

hi,
The no-zero addition suppresses leading zeros when used with type c or type n variables. In the case of a zero value, the output is all blanks.
The no-sign addition, when used with variables of type i, p, or f, suppresses the output of the sign character. In other words, negative numbers will not have a sign and will appear as if they were positive.
report xyz.
  data: c1(10) type c value '000123',
        n1(10) type n value 123,
        n2(10) type n value 0,
        i1     type i value '123-',
        i2     type i value 123.
  write: / c1,         20 'type c',
         / c1 no-zero, 20 'type c using no-zero',
         / n1,         20 'type n',
        / n1 no-zero, 20 'type n using no-zero',
        / n2,         20 'type n: zero value',
        / n2 no-zero, 20 'type n: zero value using no-zero',
        / i1,         20 'type i',
        / i2 no-sign, 20 'type i using no-sign'.
output.........
000123             type c                         
   123             type c using no-zero           
0000000123         type n                         
       123         type n using no-zero           
0000000000         type n: zero value             
                   type n: zero value using no-zero
       123-        type i                         
        123        type i using no-sign      
reward if helpfull

Similar Messages

  • GRCT    HOW TO ADD Z TABLES IN REPORT PAINTER

    Hi Gurus
    Could you please send me information about how to activate z tables in report painter ?   someone said me that i can user transaction GRCT  to do that...¿ what aspects must I consider to add a table ?
    mail: [email protected]
    Regards
    Andrés Moreno

    hi Andres,
    below are the steps for the Report Painter.....
    Create a new report.
    Menu Path: Information Systems > Ad hoc reports > Report Painter > Report > Create
    On the Report Painter: Create Report screen, enter:
    Library – 1VK
    Report RSS-A
    Report Description – Report w/Total Row
    Hit <Create> button to move to the next screen.
    Create the Rows of the Report – The first four rows are cost element characteristics
    Screen: Report Painter: Create Report
    Type ‘Cost Elements’ in the lead column cell
    Double click on Row 1
    In the Pop-up window 'Element definition: Row1", enter:
    Note: If Pop-up window (select element type) appears, choose 'characteristics' and hit <Enter>.
    Select 'Cost Element' as the characteristic in the 'Available characteristics' section
    Hit <Move selected to left> button to move the characteristic 'Cost element' to the 'Selected characteristics' section
    From – 430000
    Hit <Change short, middle and long texts> icon (at the bottom of the window)
    In the Pop-up for Enter Texts, Enter:
    Short – Description from Table above for this Account
    Click on the <Copy short text> button to copy this description to the other fields.
    Hit <Confirm> to close the Pop-up
    Hit <Confirm/Enter> to check consistency and close.
    Repeat the above steps for the other 3 accounts
    Create a formula row to calculate the total of the Cost Element rows
    Screen: Report Painter: Create Report
    Double click on Row 5 or the next empty row.
    In the Pop-up for Select Element Type select 'Formula'
    Hit <Enter> to close the Pop-up
    In the Pop-up 'Enter Formula'
    Use the calculator buttons to create the formula Y001 + Y002 + Y003 + Y004
    Hit <Enter> to close the Pop-up
    In the Pop-up 'Enter Texts'
    Short – Total
    Click on the <Copy short text> button to copy this description to the other fields.
    Hit <Enter> to close the Pop-up
    Make sure your cursor is in the cell containing the word ‘Total’
    Follow the Menu Path: Formatting > Row
    In the Pop-up 'Row Formatting'
    Overscore – checked
    Underscore – checked
    Hit <Enter> to close the Pop-up
    Create the first column for actual costs
    Screen: Report Painter: Create Report
    Double click on the ‘Column 1’ cell.
    In the Pop-up 'Select element type'
    Select Predefined Key Figure radio button, and press <Enter>.
    In Pop-up 'Choose predefined column'
    Select Actual Costs as the predefined column, and press <Enter>.
    In the Pop-up 'Element definition: Actual costs'
    Press <Confirm> to check consistency and close.
    Define the second column for plan costs
    Screen: Report Painter: Create Report
    Double click on the ‘Column 2’ cell.
    In the Pop-up 'Select element type'
    Select Key Figure with Characteristics as the element type, and press <Enter>.
    In the Pop-up 'Element definition: Column 2'
    Value Type – 01   (Plan)
    Version – 0   (Actuals)
    Valuation – 0   (Legal valuation)
    Hit <Change short, middle and long texts> icon
    In the Pop-up for Enter Texts, Enter:
    Short – Plan
    Click on the <Copy short text> button to copy this description to the other fields.
    Hit <Confirm> to close Pop-up.
    Hit <Confirm> to check consistency and close.
    Create a formula column to calculate the variance between actual and plan costs
    Screen: Report Painter: Create Report
    Double click on the ‘Column 3’ cell
    Assign the points....
    Ranjit

  • Report painter -output parameters,Data source,Extract parameter, report

    Hi expert,
    1)What report painter -output parameters,Data source,Extract parameter, report mean for and what are the difference?
    2)I have create new report painter and transport to  Test server using T-code:GCTR and I find that the T-code always point to old report. As I had check the SE93 the D_SREPOVARI-REPORT is point to report group.Why this happen?
    3) Does creation of new report or modification of the report always need to select the extraction option so that it will able to display the relected changes? Because, I have done modification on the report but it is not reflected the changes even i save until i have to create the extraction is able to display the report but every time i run the report need to select the extraction with option to choose new extract or old. Kindly advice how to save and create the report painter and save will display reflected result .
    Please help

    Hi BR Christian,
    Thank you for the prompt reply.
    I have few querys as below:
    1)Do we every time create new report by copying the existing report painter need to select output parameter, data source and extract parameter in order to be able to display the new report?
    2)when modify existing report painter and save it do we need to select output parameter, data source and extract parameter in order to be able to display the modify report correctly?
    3) What are the different between right click copy the report inreport painter compare with create report painter with copy GRR1?
    4) What are the T-code for modify the report group?
    5) When I create a new report with the right click copy in GRR1 and modify the report painter column only and everything remain the same just the report name different why when execute the report it always appear in the selection screen with report button which have option button to select the 2 version  of report which one is the destination report that I copy from and one is the new report? How to set the report when execute will only display the new report only without need to select the option with just new report only?
    6)For transferring reports you can use GR37 (export) and GR38 (import) can be use to transport from one client to another client? What is difference between GR37 compare with  GCTR?
    7) If I use GR37 and GR38 it is mean no need to create the transport request which as usual we create transport se10?
    we can directly import to another client ussing GR38?
    8)When we create a new report with copy with the existing report with just modify the report colunm and the report name difference only what are the setting example: report,report group need to be selected to be include to export/transport to another client?
    9) What are the difference between library and report group?
    10) Can we set Se93 to execute only report not report group? How?
    11) when using GR37 to transport it is also include the report group,library and the particular report?
    12) Can I include the variable in the column header to display fiscal year which I have selected from the selection screen?
    How and which variable should i use?
    please help.
    many thanks
    Edited by: KH on Jun 18, 2011 6:52 AM
    Edited by: KH on Jun 18, 2011 6:55 AM
    Edited by: KH on Jun 18, 2011 7:06 AM

  • Save report painter output into internal table

    Hi,
      i have created a report painter for vendor aging report. got output in drill down format.
    i need to show the data in smartform as well. so need to save the report painter output into an internal table. can anyone please help me resolving this.
    regards,
    sudha.m

    Hi Sudha
    You can use sample below:
    DATA: list_tab TYPE TABLE OF ABAPLIST.
    SUBMIT NROWS EXPORTING LIST TO MEMORY
                  AND RETURN VIA SELECTION-SCREEN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = list_tab
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
    IF sy-subrc = 0.
      CALL FUNCTION 'WRITE_LIST'
        TABLES
          listobject = list_tab.
    ENDIF.
    Best regards

  • Report Painter Output at Center

    Dear Techis,
    From report painter output i m printing thru spool request i m getting output as at left side but
    i want it to come as center , so anybody pls tell me where i have to make setting at report painter
    or somewhere else..
    Pls do the needful
    Rewards for helpful ans

    Dear Techis,
    From report painter output i m printing thru spool request i m getting output as at left side but
    i want it to come as center , so anybody pls tell me where i have to make setting at report painter
    or somewhere else..
    Pls do the needful
    Rewards for helpful ans

  • Supress the -ve sign in report painter report - VERY URGENT

    Hi
    In a report painter report, can anybody please let me know how to display a negative value, for example, "-1234.56" as "(1234.56)".
    IT IS VERY URGENT

    Check If value is less than 0,
    then replace '-' with space ( to remove the '-' from the right end) and then Concatenate '-' and value into a variable.
    Regards
    Raj

  • Reverse +/- sign in report painter

    Hi all,
    When I make report painter, I can only define reverse +/- sign for whole row or column. I can't define +/- for each cell in one column. It is really a problem. How can I do?
    Thanks a lot

    can anyone help me, please?

  • How to change currency sign in report

    How can I change the currency sign in report like from dollar to pound sign. Any help and advice will be highly appreciated.

    Sherry,
    I'm stumbling my way thru the same question. we need to print the currency symbol based on the country defined in the data. here's the not-so-short answer:
    we're looking into storing the currency symbol as a unicode value (NVARCHAR2 field) in the database by country and linking it to the data selected in the report. I have a select statement in the report sql that retrieves the correct unicode value per data row. the question then seems to become: do i want to display the field as a number with a format mask, or convert the whole thing to a string/char value?
    Keeping everything as a number, in the report format field Format Trigger, i create a mask for each field and call a function to do the following:
    v_format := q'{(}' || q'{"}' || p_currency || q'{"}' || v_format || q'{)}';
    this gives you a mask with the parenthesis for negative numbers, the currency as literal string, and the v_format (NN,NNN,NNN,NNN,NN0.00) for currency amounts. we vary the # of decimal places and pass that value into the function (just to make things complicated.)
    the 'uber complex' version of the function converts the number field to a string/char value. this allows you to change the decimal and separator values for an individual data row. we have not decided to implement this, but it works. you have to enter a 'bogus' character field in the report format and use srw.set_field to change the value at runtime. this keeps the value as a number in the sql for math, but a char to display. complicated. the function does this...
              v_format := '999G999G999G990';
              v_decimalplaces := MOD((p_decimalplaces * 10),10);
              IF v_decimalplaces > 0 THEN
                             v_format := v_format || 'D';
                   FOR i in 1..v_decimalplaces LOOP
                   v_format := v_format || '9';
                   END LOOP;
              END IF;
              CASE WHEN SIGN(p_value) >= 0
                   THEN
                        v_format := p_currency || TO_CHAR(p_value, v_format, 'NLS_NUMERIC_CHARACTERS = '',.'' ');
                        ELSE
                        v_format := '(' || p_currency || TO_CHAR(ABS(p_value), v_format, 'NLS_NUMERIC_CHARACTERS = '',.'' ') || ')';
                   END CASE;
    we would pass the values of NLS_NUMERIC_CHARACTERS to the function.
    the last 'hitch' is that not every UNICODE currency symbol displays properly. the euro (hex 20AC) is fine, but the korean won (hex 20A9) is not. the database character set is AL32UTF8, and the sql works fine in sql_developer. however, reports does not reliably display the symbol. i have a TAR into oracle at the moment, hoping for clarification. there seem to be many layers in oracle reports to get this to work (database character set, report server character set, font in developer, font on report server, etc.)
    let us know how it goes...an often asked, but rarely answered question (IMO). hopefully this gives you some ideas.
    thanks,
    john

  • How to use Value Variable in Report Painter Column defined as Formula

    Hi Gurus,
    In report painter, how can I add one field (exchange rate) in selection screen, so that user can provide the exchange rate to be used, then execute the report, the exchange rate will used to multiple local currency amount.
    The reason for this is we want use provided exchange rate to convert the amount from once currency to the other currency.
    Alternatively I am studying the functionality of "Value Variable" and found that I can perform the task from this. I have created the value variable but when I am using the variable in Report Painter columns as "&ZVALVAR", system is giving me error. I read the help and it states that use the variable with "&" and do it as it is mentioned.
    Can anybody suggest what I need to do to make it workable.
    Thanks

    I did try using the presentation variable, but that does not work too. I am setting session variable in the dashboard prompt (select 'request variable'). When I use presentation variable, it hard codes the value of the variable name.
    sql is
    select date from work_order where facility = @{p_facility}
    the physical log sql is
    select date from work_order where facility = 'p_facility'

  • How to add new fields in report painter without library

    Hi,.
    I have to add new fields in report painter(std one) which is not in any library and so I am not able to add the fields in characteristics. Though I have added zfields in CCR1S but I am not able to add these fileds in characteristics in report painter(say - CJe3 t-code)
    How to procedd for this.
    Thanks,
    MOhan

    hi,
    first i copied the report 12KST1G in my Y12KST1G with form. In CJE2 when i Click this report then in the whatever fields coming in the characteristics we can put it in 'variables' tab and these will be the fields which is displayed on the selecton screen. So after doing the wbove changes in the exit , I am not able to get the fields in characteristics vale so that I can put it in variable. or do we have to do some chnages in the screen for this z report which is like std. one.
    FYI..The display of the fields was done in z-report with library but this is like a report without library and we did some chnages in the exit.
    Pls Suggest

  • How to add Custom code in Report Painter

    Hi All,
      I have a requirement to add Authorization checks at Profit Center Level for 8A-PCA001G report. This is the first time am working on Report Painter/Writer. I am wondering whether i can add custom code or not. Please suggest me how to do this. I copied 8A-PCA001G into a zreport but did not find anywhere to add custom code.
    Any help would be really appreciated.
    Thanks,
    Kumar

    Hi Kumar,
    You cannot write custom code (0% coding) in an Report Writer/Painter report. The code is generated by SAP while generating the Report group. The only place in a report writer report where you can write very minimal code is at varables level or formulas inside reports.
    At the report group header level, there is provision to provide authorization group. Try that.
    Regards,
    Subin John.
    Edited by: subin john on Mar 24, 2011 10:36 AM

  • How to add new Characteristic in Report painter?

    Hi All,
    My requirement is Create/Modify a Report in Report Painter/Writer which should generate cost information in Controlling Area Currency for all sites (domestic & international) associated to the Project. Earlier same Report is fecthing Object Currency Values for the given Project.
    When i  tried to add  "Controlling Area currency"  in place of "Object Currency" characteristic, then from the available characteristics of the FORM/Report,   i am unable to find the  "Controlling Area urrency".
    Please let me know  how to get this "Controlling Area currency" characteristic.
    Note: This Report is intially developed in Report painter  So no ABAP code is present , So People who knows Report painter/Report Writer concepts with Currency translations can helpme out.
    Please do the needful  as i am new to Report Painter please Give T-codes and any useful links regarding this Multiple Currency handling /Currency conversion concepts of Report Painter.

    I am designing the P&L report and I want to split my R&D expenses split down by Internal Orders. Since, I have not seen Internal order field in summary table of new GL..ie., FAGFLEXT  table.
    I want to know how this can be achieved in the same report in report painter.
    I am talking this issue from Report Painter point of view where each report is based on library , which is defined per summary table.(ie., Library can refer to only one table....finding it odd to believe there is no join in reporting tool).....
    Thanks and let me know if you want to know more on the issue I am facing.

  • How to add new column in report painter

    Hi Experts,
    I want to add new column in report painter which as to calculate the previous column . value in the new column should be the precentage of previous column existing on left side...

    HI  Pradeep,
    Goto the transaction code (Change Report) GR32.
    Give you library name and report name
    And click on the column (application tool bar or F7) button then place the curser on the screen where you want column (please note you have to keep curser on the header section u2013Red column text) right click and insert element. Then you select formula as selection element  and enter. You will get the enter formula box. Then you can type your formula and continue. This will add new column to the report.
    How to enter formula: you can see the formula components in that id and description.
    Id is columns that are present and description indicates explanation of that column.
    Enter formula according your requirement.
    Examples:
    Enter formula screen:
    ID :    des
    X001  amount
    X002  pt000
    X003  test
    1. Enter formula as: ( X001 u2013 X002)
    The above formula is for fist column u2013 second column.
    2. ( ( X001 u2013 X002) / X003) * 100
    First column u2013 second column and devide by third column after that multiple with 100.
    Hope this will help you
    Regards
    Manohar

  • Reversal of +/- sign in report painter

    Hi everyone,
    I have created an EC-PCA report using Report Painter. There are the usual coloumns Actual Data, Plan Data,
    Absolute Deviation and Deviation as a percentage of plan data. In the upper part of the report rows the revenue elements are
    displayed, while the cost elements are displayed below them. Since the users didn't like the revenue accounts being displayed
    with a negative sign (standard), I activated the reversal of the sign for the revenue part of the rows. But this reversal
    does not have any effect on the values in the coloumns showing the relative deviation, i.e. they have the wrong sign.
    Is there a possibility to reverse the values in the cells defined by the rows with revenue accounts and the coloumn
    of relative deviation, but leaving the values in the rows with costing accounts unaffected?
    Thanx,
    Fred

    Yes, but that would also reverse the sign folr the rows containing the cost elements, which should be unchanged.
    Meanwhile I have found the solution. The formula for the coloumn "Variance in %" - formerly: (( X002 - X003 ) / X003 ) * 100 - must be changed as follows: (( X002 - X003 ) / ABS (X003) ) * 100.
    Regards,
    Fred

  • FI-SL How to define  formula components ID(report painter)

    Hi Experts
    please teach me how to define formula components ID.(it is related to report painter)
    I cannot see by GS13(variable)
    Regards.

    I sloved by myself. it automatically made when I add the row or culumn.
    but after delete the  row or culumn. it may have a problem.... I do not know.
    thanks.

Maybe you are looking for