Sign for Quantity field in classical Report

Dear All,
As we know, in SAP, by default negative sign ('-') gets displayed after value. I want to display the negative sign before the value.
i.e. I want to display '1000-' as '-1000'.
I want this for classical report unsing WRITE statement.
Please suggest the syntax or formating option available or the way-out.
Thanks a lot in advance.
Best Regards,
Prasad

Hi,
here is the format option:
report ztest.
Data: number type p decimals 2.
number = -12.
Write number using edit mask 'V__.__'.
Impüortant is the "V" at the beginning.
hope it helps.
Regards,
SDCrack
Edited by: SD-Crack on Dec 29, 2009 2:45 PM

Similar Messages

  • How to set a new value for formula field in crystal reports xi?

    <p>How to set a new value for formula field in crystal reports xi?</p><p>//formula</p><p>{@description}</p><p> </p><p>exemplo in VB6</p><p>crxSubreport.FormulaFields.Item(1).Text =  "&#39;Subreport Formula&#39;"  or</p><p>crxSubreport.FormulaFields.Item("description").Text =  "&#39;Subreport Formula&#39;"</p><p>How to in JRC?</p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>

    Hi,
    This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
    Regards,
    <p>Blair Wheadon</p>
    <p>Product Manager, Crystal Reports</p>

  • Best practice for "Quantity" field in Asset Master

    Hi
    I want to know what is the best practice for "Quantity field" in asset master. It should be made displayed only or required field in Asset Master creation.
    Initially I made this field as required entry. So user entered 1 quantity. At the time of posting F-90, he again entered quantity. So my quantity in asset master got increased. Hence i decided to make that field display only in asset master creation.
    Now i made that field as display only in asset master creation. At the time of posting F-90, that quantity field is not coming only. I check my field status group for posting key as well as GL account. Its optional field. Inspite of that user is able to make entry in F-90. Now quantity field is '0' only in asset master even though there is some value in asset.
    Please help what is the best practice wrt quantity field. Should be open in asset master or it should be display only.

    Hi:
               SAP Standard does not recommend you to update quantity field in asset master data.  Just leave the Qty Field Blank , just mention the Unit of Measure as EA. While you post acquisition through F-90 or MIGO this field will get updated in Asset master data automatically. Hope this will help you.
    Regards

  • Dynamic Sources for a field in Oracle Reports

    Hi there,
    I am sure someone might have encountered this problem.
    I have six Queries in Data Model. Based on certain parameter value, I need to change the source field setting for each field in the report
    output.
    e.g in Report LayOut Model, I have a field F_1. The source for this field in
    the Property pallette is COL1 which is coming from Query1.
    I need to assign a new source based on parameter value for field F_1 to
    COL2 from Query2 or COL3 from Query3 or COL4 from Query4, COL5 from Query5, COL6 from Query6 in the Before Report Trigger. Is there any way to achieve this using srw or any other PL/SQL code?
    This way I can save a lot of devlopment time and use a single physical layout for six different reports and avoid the hassles of creating frames,
    repeating frame and formatting.
    Any help greatly appreciated.
    Let me know if something is not clear in the email. I will provide
    additional information

    Ashok,
    Looks like you've landed in the wrong Forum - this one is for Oracle HTML DB.
    Thanks,
    - Scott -

  • "Additional Text" set for messageTextInput fields in Classic Table

    i have set "Additional Text" for messageTextInput fields in Classic Table and am expecting that to display when the mouse is hovering on that field. however, that is not happening...
    what am i doing wrong ? and what can i do to achieve that (NOTE - i cannot do either short or Long Tip because that looks wierd when data is displayed in a table (multiple rows))
    thank you.
    UPDATE - could anyone tell me where/when/how does the "Additional Text" data get displayed when the page is rendered ? there is hardly any info on this in the devguide and forum. If "Addtional Text" is not the right way to provide additional information on a field what else can be used (note these fields are in a classic table so i cannot use short/long tip)......
    Edited by: user11972136 on Feb 4, 2013 10:33 AM

    Hi,
    I tried this case and its working for me.
    Could you tell us what version of Jdev and OAF you are using? There might be some issue with that version.
    Regards,
    Sandeep M.

  • Adding the Checkbox for each row in classic report

    Hello,
    I have created classic report with checkboxes in each row and added the On-Submit process, BUTTON CONDITIONAL, to determine the behavior of the checkboxes. The PL/SQL process is suppose to delete the selected row from database.
    I am getting the Success message, but When I check the database, the row still persist in the database.
    PLSQL CODE:
    FOR i IN 1..apex_application.g_f01.count LOOP
    DELETE 
    FROM
      registry 
    WHERE
      reg_id = apex_application.g_f01(i);END LOOP;
    ORACLE APEX: 4.2
    Thank you

    Hi ApexNewLearner,
    Try this
    DECLARE
    j number;
    BEGIN
    FOR i IN 1..apex_application.g_f01.count LOOP
      j := apex_application.g_f01(i);
      DELETE FROM  registry
      WHERE  reg_id = apex_application.g_f01(j);
    END LOOP;
    END;
    or better try to replicate your issue on apex.oracle.com , that is easy for users to investigate the issue and give you appropriate solution.
    Hope this helps you,
    Regards,
    Jitendra

  • Using one prompt for multiple fields in a report

    We are using Oracle CRM on Demand, Release 16.
    I have a report I am building that involves four different date fields. I'd like to give the user the ability to enter a date range for the date fields via a Prompt when the report executes. But the date range would be the same for all four date fields. Is there a way to capture the date range in one prompt, but use that same range in all four date fields in the report?

    I recommend to use two dashboard prompts, one for each date field of your range and each will set a presentation variable.
    Then use the FILTER metric function and reference the presentation variable.
    Best Regards,
    Christian

  • How to populate the data for additional fields in custom report of fbl5n tr

    hallo friends,
    i ha ve to add some fields to the output of custome report of transaction FBL5N.
    Till now i have only added the fields to the output.
    Now i have to write the code to populate the data for those fields in the program.
    1.     Customer Credit Group(ACM/RCM): (Table: KNKK; Field Name: VKORG )
    2.     Credit Representative Group: (Table: KNKK; Field Name: SBGRP)
    3.     Customer Account Number(CAN#): (Table: KNKK; Field Name: KNKLI)
    4.     Alternative Payer(ALTP#) : (Table: KNA1; Field Name: KUNNR)
    5.     Risk Category: (Table: KNKK; Field Name: CTLPC)
    6.     Credit Info Number: (Table: KNKK; Field Name: KRAUS)
    7.     Rating: (Table: KNKK; Field Name: DBRTG)
    8.     Payment Index: (Table: KNKK; Field Name: DBPAY)
    9.     Credit control area: (Table: KNKK; Field Name: KKBER)
    10.     Company code: (Table: KNB1; Field Name: BUKRS)
    11.     Sales Organization: (Table: KNVV; Field Name: VKORG)
    These are al fields i have to populate in the program..
    MY ATTEMPTS:
    I tried getting the data for KNKK table by GET KNKK ,but it is giving some garbage values...
    And Logical database used here is DDF,and i have to add the VKORG of KNVV too...but KNVV is not there in DDF...
    Can anybody tell me how should i proceed..
    thanks in advance.

    Thnx Andreas,
    i have following doubts again..
    I have to add sales organisation field to the selection screen...(this is given in the req.)
    now if i will say GET KNKK...it would not keep account of this 'sales organisation' field...so how should i fetch the data with these input data( i.e. 'compny code' and 'customer' are the fields given by LDB and 'sales oraganisation' is the field i put it on the selection screen)
    And what about the KNVV-VKORG ,because the KNVV is not present in the LDB.

  • Negative sign for Currency fields

    Hello experts,
    If a currency field containt -Ve sign (86.47-) then, i have to move it this sign to Left sinde. I have do this as follow by moving the currency field value to Charractor field
    DATA:  w_total1 (18).
                 MOVE w_total To w_total1.
                 IF w_total1 CA '-'.
                   SHIFT w_total1 RIGHT CIRCULAR.
                 ENDIF.
                 CONDENSE w_total1 NO-GAPS.
    But don't want to move this to Chanddacter field for other pupepose. Now how can i **** the -Ve sign to left side for currency field, IF bsid-shkzg EQ 'H'.
    Thanks.

    Hi sandhya ,
    Try this :
    DATA:  w_total type string ,
          w_total1 type string.
    w_total = '1,4567.7-'.
                 MOVE w_total To w_total1.
                 IF w_total1 CA '-'.
                   SHIFT w_total1 RIGHT CIRCULAR.
                 ENDIF.
    *             CONDENSE w_total1 NO-GAPS.
                 write : / w_total1.
    Hope all your issues are fixed now .
    Regards ,
    lokesh
    Edited by: Lokesh Pattnayak on Oct 11, 2010 10:23 AM

  • Selection screen control for a field in the report painter report

    Hi,
    Could you please advice me as to how we can add exclude selection functionality for a field on the selection screen of a report made by trhough report painter report.
    Your prompt reply will be really appreciated.
    Thanks,
    Ramesh.

    look at this code and try
    select-options : S_NODEID for ZNODETAB-ZNODEID.
    at selection-screen on value-request for s_nodeid-low
    perform f4_nodeid using 'S_NODEID-LOW'.
    at selection-screen on value-request for s_nodeid-low
    perform f4_nodeid using 'S_NODEID-HIGH'.
    end-of-selection.
    FORM f4_nodeid  USING    p_field.
      declare it_node.
    select znodeid from ZNODETAB into table it_node.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'ZNODEID'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = p_field
          value           = space
          value_org       = 'S'
          display         = 'F'
        TABLES
          value_tab       = it_node
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
    endform

  • Query about Leaving date,Reason for leaving fields in R3 report of HR Modul

    Hi Experts,
              I have a report in R3 for HR. In the report i am getting fields like leaving date,reason for leaving .
    When I  clicked F1 on the leaving date and reason  i came to know the field name as FIREDATE and MGTXT...
    I checked in DD03L table with these field name and found no related tables for that.....
    but i found some structures only.........
    In order to create a generic datasource with these fields included then how data will get for these fields....
    But i find no relevant tables regarding these fields.....in the report of r3 when checked f1
    Text
    Leaving date
    Definition
    Date, on which an employee leaves the company.
    Dependencies
    The following infotypes are taken into account when the value is created:
    P0000 - Actions
    P0001 - Organizational Assignment
    But the above P0000 ,P0001 are structures .... how can the leave date get populated in the generic datasource.which i may have to create ?
    Thanks
    Vamsi

    The easiest way to accomplish that would be to add some logic in a custom controller (i.e some java code). Which is a little more complex than regular personalizations.

  • Calculated field in classic report

    I am trying to editable columnin classic report and based on the values that users fill in that filed calculate value in another column. I have seen something similar on the forum but nothing really worked for me.
    My report is based on sql query.
    select column1,
    column2,
    column3 from table
    I want column2 to be updatable, and that column3=column2+column1

    Sorry, in this thread you can see better what I meant in the post above.
    ROW-------Country-------LOB-------YTD_PURCHASES-------YTD_INCOME-------Manual -------Total                              
    1-----------USA-----------Utilities-----------1000000-----------50000----------------0-----------50000                              
    2-----------USA-----------Electric-----------1000000-----------70000-----------------0-----------70000                              
    3-----------USA-----------Security-----------1000000-----------90000------------------0-----------90000                              
    4-----------CAN-----------Utilities-----------1000000-----------110000---------------30000-----------140000                              
    5-----------CAN-----------Magic-----------1000000-----------130000--------------25000-----------155000                              
    6-----------CAN-----------Plumbing-------1000000-----------150000-----------------0-----------150000                              
    Thanks,
    Gagi

  • ALV Display for Quantity Field

    Hi All,
    I am working on ALV classes.
    I have a quantity field which needs to be displayed without decimals.
    When I declare the data type as type p decimals 0,It is displayed correctly but when I change the field with a value using the method handle_data_changed it gives a value multiplied by 10 always. i.e., when the new value is 5 it gives the value as 50.
    I tried referencing the Unit value but it doesn't work.
    Any views on suppressing the decimal values without getting the value multiplied by 10 is highly appreciated.
    Thank you in advance.
    Regards,
    K.S.

    Hello Kandasamy,
                                 Change the reference field that points to the ALV display field to a non decimal field and then use the Integer variable assignment for  removing the decimals  during teh BAPi or database fetch.
    Hope this answers your question.
    Thanks,
    Greetson

  • Incorrect result of multiplication for quantity fields,coverting LB to KG.

    Hi All,
    The requirement is to convert LB(pounds) to KG.The formula goes as follows.
    l_ntgew = vbap-kwmeng   *  w_mara-ntgew *  l_zcazz  .
    l_brgew = vbap-kwmeng   * w_mara-brgew  *  l_zcazz  .
    where kwmeng = '1' is ordered quantity,w_mara-ntgew = '0.157' is the net weight from mara and l_zcazz ='0.454'  is the conversion factor from LB to KG.
    This information is for material mara-matnr = '100014609'
    The result I am getting is l_ntgew = '71278.000' which incorrect.
    Actual result is = '0.071278' .
    Similar issues with l_brgew.
    The same code works fine in a custom program but the requirement is to modify userexit 'userexit_check_vbap using us_dialog' within include 'MV45AFZB'.Here it fails completely. We have tried all types of field declarations, be it float or packed or ntgew_ap(quantity field).
    Please help.Its urgent.Full points will be awarded to the correct solution.
    Thanks,
    Shamia.

    VBAP-KWLMENG is a quantity field associated with unit VBAP-VRKME. (sales unit)
    Try to use FM to convert quantithy from sale unit to base unit
            call function 'MD_CONVERT_MATERIAL_UNIT'
                 exporting
                      i_matnr              = vbap-matnr
                      i_in_me              = vbap-vrkme
                      i_out_me             = mara-meins
                      i_menge              = vbap-kwlmeng
                 importing
                      e_menge              = <qty in base unit>
                 exceptions
                      error_in_application = 1
                      error                = 2
                      error_message        = 3
                      others               = 4.
    Then multiply by <b>mara-ntgew</b> giving a result in unit <b>mara-GEWEI</b> then convert from this unit to KG. (same FM)
    Regards

  • Exit for CO02-FOR QUANTITY FIELD FOR THE LIST OF LINE ITEMS

    Hi,
    Can anyone just let me know the user exit to code the authority check for the quantity field in CO02 for the screen SAPLCOMK.
    The quantity assigned for the list of items should not be changed by the user.
    For this in which exit should i go and write the code?
    Regards,
    P.S.Chitra

    CCOWB001  Customer exit for modifying menu entries
    COIB0001  Customer Exit for As-Built Assignment Tool
    COZF0001  Change purchase req. for externally processed operation
    COZF0002  Change purchase req. for externally procured component
    PPCO0001  Application development: PP orders
    PPCO0002  Check exit for setting delete mark / deletion indicator
    PPCO0003  Check exit for order changes from sales order
    PPCO0004  Sort and processing exit: Mass processing orders
    PPCO0005  Storage location/backflushing when order is created
    PPCO0006  Enhancement to specify defaults for fields in order header
    PPCO0007  Exit when saving production order
    PPCO0008  Enhancement in the adding and changing of components
    PPCO0009  Enhancement in goods movements for prod. process order
    PPCO0010  Enhancement in make-to-order production - Unit of measure
    PPCO0012  Production Order: Display/Change Order Header Data
    PPCO0013  Change priorities of selection crit. for batch determinati
    PPCO0015  Additional check for document links from BOMs
    PPCO0016  Additional check for document links from master data
    PPCO0017  Additional check for online processing of document links
    PPCO0018  Check for changes to production order header
    PPCO0019  Checks for changes to order operations
    PPCO0021  Release Control for Automatic Batch Determination
    PPCO0022  Determination of Production Memo
    PPCO0023  Checks Changes to Order Components
    STATTEXT  Modification exit for formatting status text lines
    hi check your field where it is present
    if it header then check with the description header most probably the first must be your exit

Maybe you are looking for

  • FOR ALL ENTRIES stmnt. in SELECT query is not running properly

    Hello experts,           In my report program, I write one query on table BSIS.          Internal table declaration -                     DATA : BEGIN OF DLC_BSIS OCCURS 0,                         BUKRS LIKE BSIS-BUKRS,                         GJAHR

  • Can't read Panasonic DMC G5 RAW in Elements 8

    Transferring to new PC. Successfully installed elements 8 on new PC, but can't read RAW files for Panasonic DMC G5. Worked OK on old PC. Remember doing an update to solve this problem on old PC, but don't know what it was and can't find out what I ne

  • My bookmarks have disappeared, what's up?

    my minizer and bookmarks did not work tonight. They worked yesterday. Help! I can't figure out what to do.

  • I need to unistall flash player 11.7 & install 11.6

    After getting a prompt to install the latest flash player version, I did & installed flash player 11.7.  Right after doing that, I went to Smilebox to finish a birthday creation & found that there was NO sound.  I guess I'm not the only one & Smilebo

  • Developing BB OS 6.0 Application explicitly on Eclipse : Encountered Error

    Hi All Backend Used: SAP Middleware: SUP 2.0 Development IDE: Eclipse with BB plug in Application Name: PR Earlier I made the same application in SUP 1.5.5 with the use of DAD (Device Application Designer) and ran successfully. This application shows