How to enter negative value in a currency field

Hi Experts,
Please help me how to allow to enter negative value in a field on report selection.
I created a currency field on a report selection using PARAMETERS.
I can enter positive value in the field. But, I cannot enter negative value.
SAP shows an error message 00 126 "Specify positive values only".
I know I can place check ON at "with sign" option of the field in case I create the screen by myself.
However, I cannot do it on screen 1000 created by report program.
Thanks,
George

Hi ,
I know I can place check ON at "with sign" option of the field in case I create the screen by myself.
    Prabhu--> Just Create a new Domain( select "WITH SIGN") and date elemet,And Use Data Element in your report.
regards
Prabhu

Similar Messages

  • How to display negative values in a screen field of a screen

    Hi All,
    Please let me know how to display negative values in a screen field of a screen.
    thanks

    Hi Kishore,
    You can do this method. In the screen , create a text field of CHAR instead fo creating an INT4 field.
    I have created a field of CHAR of name say TEXT.
    In the main program,
    declare a variable of the same name ie. TEXT.
    data: TEXT(5) TYPE C.
    In PBO, just assign the negative values.
    It will work.Since there is automatic conversion between character and integer data types, it will work for positive values as well.
    Regards,
    Sylendra.

  • How to enter decimal values in custom screen field in a screen enhancement

    Hi,
    there is a requirement to provide field in custom screen that should allow only the numeric values with decilmals in a screen enhancement ?
    As i cannot use field with float data type ? what are the alternates i have to do it ?
    Please let me know
    regards
    vishnu

    Hi,
    I tried  to create a field with NUM value wih 2 decimals by referring to CURR data type...it is giving an error...saying that reference table and field does not exist...
    help me out ..
    regards
    vishnu

  • How to enter the values in JTable in runtime

    how to enter the values in JTable in runtime

    Basically you need a vector of vectors or an array of arrays. Example (off the top of my head):
    With Arrays
    String[] cols = { "colone", "coltwo", "colthree", "colfour", "colfive" };
    String[] numbers = { "one", "two", "three", "four", "five" };
    String[] letters = { "A", "B", "C", "D", "E" };
    String[][] data = { numbers, letters };
    //make sure that the table has a scroll pane wrapped around it otherwise the header is not displayed
    JScrollPane scroll = new JScrollPane(new JTable(data, cols));
    With Vectors
    Vector cols = new Vector();
    cols.addElement("colone");
    cols.addElement("coltwo");
    cols.addElement("colthree");
    cols.addElement("colfour");
    cols.addElement("colfive");
    Vector numbers = new Vector();
    numbers.addElement("one");
    numbers.addElement("two");
    numbers.addElement("three");
    numbers.addElement("four");
    numbers.addElement("five");
    Vector letters = new Vector();
    numbers.addElement("A");
    numbers.addElement("B");
    numbers.addElement("C");
    numbers.addElement("E");
    numbers.addElement("F");
    Vector data = new Vector();
    data.addElement(numbers);
    data.addElement(letters);
    //make sure that the table has a scroll pane wrapped around it otherwise the header is not displayed
    JScrollPane scroll = new JScrollPane(new JTable(data, cols));The array or vector can be easily populated at runtime.
    Regards
    Riz

  • How to move the value from a character field to numeric or packed decimal

    Hi,
    can anyone explain me on how to move the value from a character field to numeric or packed decimal.
    Please help me on this. Thanks...
    Regards,
    Rose.

    Hi ,
    if you use keyword MOVE u may loose the decimal and thoussan separator and if u don't want to loose them just call the FM ..HRCM_STRING_AMOUNT_CONVERT.
    i doubt wherther it is HRCM or HCRM just try using *
    this will suit ur requirement.
    Regards,
    KK

  • How To select maximum Value in a specifieid field in internal table.

    How To select maximum Value in a specifieid field in internal table?

    Step : 1
    Sort itab by <Field1> descending.
    Just sort the internal table by the field.
    STEP: 2
    Then read the table at index 1.
    Read table itab index 1.               
    ITAB-FIELD = MAX .                  " Max field will come in the first row of the internal table.
    Regards,
    Gurpreet

  • How to set a value to a disabled field in an B1 screen ?

    Hi,
    Can anyone tell me how to set a value to a disabled field in an existing screen.
    For example , I want to set a value to the Paid/Credited field in the Sales - A/R Invoice screen, which is a disabled field.
    I tried setting the field as enabled but it throws an error.
    Thanks in advance
    Mina

    It depends on the business process required for generating the invoice.  (What is this process just now?)
    I can think on quite a few ideas, but can't be sure if any of them will match your specific requirements.  I'll list a few here and see if any of them might work, or at least generate some new ideas for you. (Unfortunately you can't change an existing payment object to add an invoice to it at a later date, nor is the reconciliation process exposed through the SDK.  This limits your options a bit.)
    1) Is there a need for a separate delivery and invoice?  Would skipping the delivery process and using the standard Invoice + Payment screen work for you?  Stock would be issued, invoice created and payment matched directly to invoice without any work.
    2) This might apply if the invoice is simply a one for one match with the delivery.  Rather than just generate a payment in the delivery screen, generate the invoice and a payment at the same time.  The standard invoice screen will then show it as paid.  You can control the dates on the invoice raised through DI code.
    3) Where do you write the Paid Amount to?  How is it not available in the invoice screen?  Put it somewhere accessible and write it to the user field.
    John.

  • I can't enter any value in the Text field, after loading flash files

    Hi to all,
    In my Java application, I'm using a text field and a panel to load flash files. I'm using JDIC 0.9.1 to load the flash files in the panel. The flash files are created by Flash CS4.
    While running the application, I can't enter any value in the Text field, after minimize and maximize the application I can enter the values.
    This problem happens after change the jre version from 1.6 to 1.7.
    I'm getting the following exception while running the application.
    org.jdesktop.jdic.init.JdicInitException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    at org.jdesktop.jdic.init.JdicManager.initBrowserNati ve(Unknown Source)
    at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unkn own Source)
    pls give me a solution.
    Thanks in advance...:)

    I can't enter any values in JTextField after loading the flash files., locking.

  • Stock Posting List - Negative Value when Different Currency in PO

    Hi experts,
    We would like your help on the following scenario.
    A Purchase Goods Receipt PO and a Purchase Invoice are added in SAP 9.0, on the same date, in a different currency from the system's currency; system's is Euro and Purchase documents are added in JPY (Japanese xen), i.e. 300 JPY. When checking the "Stock Posting List" report for a number of goods that were purchased with the above documents, the report presents the line of the Goods Receipt PO with the value of 270 JPY, and the line of the Purchase Invoice with  a negative value, i.e.-15 Euro.
    Has anyone faced the same issue?
    Thank you in advance.
    Kind Regards,
    Vassilis Korolis

    Both queries have the default value of  "Only Posted Values for Navigation".
    As I was looking at this, I did realize the following though.
    Remember, I mentioned that my zcurrency_mand field has a Reference Characteristic of 0currency.
    Query 1:  The key figure that is being converted is tied to 0currency in the back end. (this is the query that works).
    Query 2:  The key figure that is being converted is tied to 0inv_curr in the back end.
    Both of the currency conversions are using zcurrency_mand.  Should query 2 be using a new variable similar to zcurrency_mand, but with a Reference Characteristic of 0inv_curr?
    If the answer is yes, I tried creating ZINV_CURR_MAND with Reference Characteristic of 0inv_curr, but am getting the following error when I try to save the changes to Query 2
    [E117(BRAIN)] Errors: Variable ZINV_CURR_MAND2 is not permitted for the target currency. 
    Thanks,
    Jennifer

  • How to enter a value into datagrid cell in wpf through manually?

    Hi,
        Here my datagrid rows are in readonly mode here how can i enter the values in to the datagrid cell.(means how can i edit the cell value).i am adding the value to datagrid through programetically, I think  for this reason my datagrid rows
    are visible in readonly mode. Then how can i edit. Please guide me.
    Regards,
    Bhadram

    Hi Barry,
       Thank you for your reply, Now i sending my sample please check it once and suggest me.
    MainWindow.xaml.cs
    private void Save_Click(object sender, RoutedEventArgs e)
     List<CustomerMainViewModel> customer = new List<CustomerMainViewModel>(); customerviewmodel.NameTextField = tbName.Text;
    customerviewmodel.AddressTextField = tbAddress.Text;
    customerviewmodel.CountryField = countryddl.Text;
    customerviewmodel.StateField = stateddl.Text;
    customerviewmodel.Product = customerviewmodel.Product1 + "," + customerviewmodel.Product2;
    foreach(string str in customerviewmodel.actionCollection)
    customerviewmodel.ActionColl.Add(str);
    customerviewmodel.actionCollection.Clear();
    customer.Add(customerviewmodel);
    dataGrid1.Items.Add(customer);
    MessageBox.Show("Data Successfully Saved", " MessageBox", MessageBoxButton.OK, MessageBoxImage.Asterisk);
    clearValues();
    MainWindow.xaml
    <DataGrid
    Height="144"
    HorizontalAlignment="Left"
    Margin="79,447,0,0"
    Name="dataGrid1"
    VerticalAlignment="Top" CanUserAddRows="True"
    Width="399" Grid.RowSpan="2" IsReadOnly="False">
    <DataGrid.Columns>
    <DataGridTextColumn Header="NAME" Binding="{Binding NameTextField,Mode=TwoWay}" Width="Auto" IsReadOnly="False" />
    <DataGridTextColumn Header="ADDRESS" Binding="{Binding AddressTextField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTextColumn Header="GENDER" Binding="{Binding GenderField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTextColumn Header="COUNTRY" Binding="{Binding CountryField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTextColumn Header="STATE" Binding="{Binding StateField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTextColumn Header="PRODUCT" Binding="{Binding Product,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTemplateColumn Header="ACTION" MinWidth="140" IsReadOnly="False">
    <DataGridTemplateColumn.CellTemplate>
    <DataTemplate>
    <ComboBox x:Name="actionddl" ItemsSource="{Binding ActionColl}"/>
    </DataTemplate>
    </DataGridTemplateColumn.CellTemplate>
    </DataGridTemplateColumn>
    </DataGrid.Columns>
    </DataGrid>
    In the above "xaml" file i am using the attribute "Readonly="False"" but its not effected on my code still my datagrid is in readonly mode, i don't know why it happens. 
    And I am adding data to my datagrid through "Wpf controls (TextBox,CheckBox,ComboBox and etc...)"  while click on "save" button the data added to grid. adding to grid works properly but the entire row is in readonly mode. How can
    i solve my problem.  

  • Error: You cannot enter negative value - message 3504-4

    Getting the above error message when trying to enter a sales order delivery. quantity on hand for the warehouse is 3000. We are trying to ship 3000 and getting the above error.
    Any ideas

    Hi Keith ,
    This might be helpful too to troubleshoot .
    You cannot enter a negative value - Goods Receipt - PO
    Even though thread talks about GRPO , Apple's message also talk about same issue in Delivery.
    Hope this helps
    Bishal

  • How to enter Net Value manually on item level?

    Hi Experts:
    My client wants to enter Net Value of opportunity position directly on item level, that is without entering manual condition. The reason is, that the process o entering manual condition is very long: opening price list - creating new codition - choosing price element.
    How can I do so??
    Best regards,
    Cristina

    Dear Cristina,
    I guess you are working on CRM 2007 or CRM 7.0.
    In new WEBUI in assignment block "item" your are able to enter the price in column "Net Value" .
    The column can be added by button personalization on the right side.
    I  hope this info helps,
    Regards
    Rene

  • How to enter Power Values

    Hi
    Here is the Requirement,
    How to enter 10 to the power of -7 in a field.Is it possible, if so please let me know the answer.
    Thanks & Regards
    Chakrapani

    Hi Chakrapani,
    Use a alphanumeric system field, or create your own alphanumeric user field to store the value, either like "10^-2" or "0,01", and then use the BeforeAction = True of the Validate event to check if the entered number is correct.
    If you want to store the value like 10-2 and use it in calculation, you'll need to create a function to return the numeric value of the string, in other words, a function the reads 10-2 and return 0,01.
    Hope it helps,
    Regards,
    Vítor Vieira

  • How to enter a value versus picking one from the pop-up menu?

    I am new to numbers and am using version 3.5.2.  I understand one can define a Pop-Up for cell value selection, but what if I want to also be able to specify a value that is not in the pull down?  I thought "start with blank" would do the trick, but it won't let me enter any values.  Thanks in advance for your suggestions!

    Hi Sultry,
    If your entry is a one time deal you could just delete the cells value and type in your choice. If you want to update your popup you need ot redefine its values. And then of course replace your old popups with your new one.
    quinn

  • How to show negative value in Pie Chart from Webi?

    I have below example data, I want to convert this to a pie chart in Web Intelligence, my problem is after I convert it to a pie chart, the revenue '-30' is shown as '30', looks like the pie chart is not suppor the negative value to show, I want to know if there is any workaround or solution to make the pie chart to show the negative value? Is this behavior is by design? do we have any official document to explain this?
    The product I used is BOE XI 3.1 SP3.
    Department    Revenue
    A                      100
    B                       -30
    C                        80
    Edited by: Alex Wang on Jul 13, 2010 5:51 PM

    Why are you showing this information as a pie chart? It doesn't make sense to try and display a negative slice in a pie chart. I can't really think of a logical way to try and draw a negative slice in a pie chart. With a pie chart you will need all your information to either all be positive or all negative, otherwise it doesn't work.
    What you need is to have a bar chart, with positive and negative values on the y axis.

Maybe you are looking for

  • I can't print from my Ricoh Alficio MP C2050?

    I have tried everything and am really at my wits end here. I have installed every driver I can think of and reset the printers 500 times and I'm still getting this infuriating error code, along with 300 sheets of blank paper getting printed out %!PS-

  • CS5 for mac air

    i have cs5 on my windows pc but just bought a mac air can this be transferred

  • ATSServer fatal exception- runaway syslogd process & massive asl.log file

    Hi All, (in lieu of a bug report) My MacBook has recently started to go unresponsive (beachball of death), with only cursor movement and the clock indicating it wasn't frozen (Cmd-Opt-Esc didn't work either), forcing me to hard restart. When this hap

  • JSplitPane with 2 JScrollPanes sincroniced

    Hi everyone, I have a problem, and I haven't been able to solve it yet, this is it: I have a SplitPane, on its left side I have a jTable, and on its rigth side I have a jPanel with labels, I need them to have independent horizontal Scrolls but I need

  • Is php or mysql hanging due to my code?

    Hi, I've a project where i need to display the result of a query in a table. One of the result is 1263 rows and even after 15 minutes the table doesn't display.Is php,mysql or apache hanging.I use latest softwares of the above.If yes, wht can i do to