Comparision of Integer field with Quantity

Hi folks,
I Need Help from you.My problem is i have two fields like F1 and F2.
F1INT4 Datatype    F2Quantity Fiels.
i need to compare those two fields..I have done all the conversion types nut iam unable to get proper outcome out of it due to the Quantity field.
Please Tell me your suggestions ASAP.

Hi Vijay ,
I have got the solution like converting Quantity into STRING field and Splitting at '.' into two fields two get number before decimal.
Thanks vijay for responding.

Similar Messages

  • Hi can we add a field with ''quantity'' in Adobe Forms Central?

    I would like people to choose how much tickets they would like to buy for our foundation and have the possibility to pay online with Paypal, since our account is already created.
    Thanks

    Hi,
    To add a quantity field, you need to add a text field first, then select the text field and in the property panel on your right, change field type to Number.
    Then, in Options/Payment/Purchase field you will select this field in "Quantity field" and make sure this field is correctly associated with the Purchase field (for example) you can use Choice fields for the purchase field, say, choice1 = t-shirts, choice2= pants ..etc
    Please take a look at this link for additional information on how to set up payment fields:
    http://forums.adobe.com/docs/DOC-1632
    Thanks,
    Lucia

  • How to multiply a numeric field (with Quantity) with a Cell (text field with price) to get a total?

     

    In Javascript I suggest multiplying the text field by 1 to change it to a numeric type then multiply this with the other numeric field.  The code would look something like:
    Total.rawValue = numericField.rawValue * (textField.rawValue*1)

  • Control an Integer field Length without using Validation ??

    Hi,
    I have Couple of fields where I need to configure them as Integers.
    Now each one has a fixed length that i need to limit to.
    But when i create a field of type: integer, i cannot select teh length!!!
    To achive this the idea i have is to write a validation which checks length..
    But can i achive it without going for a validation on each field???
    PS: I am aware that TEXT field can limit the length But it also allows me to enter text values, my requirement clearly says that to allow users to only enter Numeric values..
    Did anyone face a similar Case?
    Kind Regards
    Eva

    Hi Eva,
    I didn't try in the system, but I feel there are two solutions to achieve your requirement (*of course in both cases you will need to write a simple validation)
    Solution 1 : When field is defined as "Integer" in Console.
    lets take an example, you want to restrict an integer field with a limit of max 4 characters.
    Maximum value of a 4 character integer can be "9999". So, you can put a simple validation to compare the field value with 9999. if the value is less then this means fields values is less than 4 characters, else more than 5 characters.
    In this case Your validation expression in expression editor will be:
    FIELD NAME<= "9999"
    Solution 2 : When field is defined as "Text" in Console.
    In this case you can restrict the maximum field length through Console. But you will also need to write a validation to ensure that user is not entering any alphabets or special characters in this field.
    In this Case you can use below validation:
    HAS_ALL_CHARS(FIELD NAME, "0","9")
    This will ensure that field has all characters between 0 and 9 and doesn't hold any special character or alphabets.
    In Both cases you will need to set  "Automatic Execution" property as "Error". Also please do not manually type any function or value in expression editor. use drop down for fields, operators, functions etc.  and enter numeric values using the first blank box before dimension list.
    Kindly revert if you face any issues.
    -Shiv

  • Pre populate field with integer numbers?

    Hi,
    I want to pre-populate my field which is integer type with numbers in a sequantial order like 101,102,103,104...
    How can i do this with 10gr2?
    Regards.

    Actually i have two tables.
    First table has ID1, NAME1, REF1 columns.
    Second table has ID2, NAME2, REF2 columns.
    ID1 and ID2 is autonumbered id columns. NAME and REF columns are emtpy columns. I populated NAME1 and NAME2 manually entering data from my project.
    Now i want to relate each table's rows one by one, i.e., one to one cardinality. Therefore, i have to populate first table's REF1 column with sequantial numbers, and then manually enter corresponding number to table two's REF2 columns.
    I don't want to use ID columns, because i insert data these tables at different time intervals.
    Hence, when i query TABLE1's NAME1 data, i will see corresponding data in TABLE2's NAME2 column via this relationship.

  • Sum quantity field with 5 key fields

    How to sum quantity field with 5 key fields

    try this out.
    loop at <itab>.
         at new <field>.
           sum.
        endat.
    endloop.

  • The report in FI which contains Quantity field with every line item

    Hi Gurus,
    What are the reports in Finance which contains Qty field with every Line Item reports & reports that contains user name & System Id in it along with other informations e.g. G/L, Ar, AP
    Thanks & Regds,
    Santosh Rothe

    Hi
    Using the line item display report you can get the required details by changing layout in the output:
    FBL1N: Vendor line item
    FBL3N: G/L line item
    FBL5N: Customer line item
    VVR

  • How to compare table's date field with dropdown year field

    Hi All,
    I have one requirement to display the selected rows from a database table based on the selection of drop down.
    Here, I have one dropdown of year(like 2009,2010,....) and I have one database table which contains one field with "DATE".
    Now, I want to compare table's DATE field with my dropdown field.
    Problem is that table's DATE field is of type "DATS" and dropdown is of type INTEGER(or) STRING ...
    How to compare this fields?
    Can any one please give me solution for this...!
    Thanks in Advance!

    Hi  sreelakshmi.B,
    try the following:
    DATA lt_dats        TYPE TABLE OF dats.
    DATA l_dat_i        TYPE          i.
    DATA l_dat_c_4(4)   TYPE          c.
    DATA l_dat_c_12(12) TYPE          c.
    DATA l_dats_from    TYPE          dats.
    DATA l_dats_to      TYPE          dats.
    *Move Date from Integer to Char
    l_dat_c_4 = l_dat_i = 2005.
    *Create Date From use in WHERE-Clause
    CONCATENATE '01.01.' l_dat_c_4 INTO l_dat_c_12.
    CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
         EXPORTING
              date_external            = l_dat_c_12
         IMPORTING
              date_internal            = l_dats_from
         EXCEPTIONS
              date_external_is_invalid = 1
              OTHERS                   = 2.
    IF sy-subrc <> 0.
    ENDIF.
    *Create Date To use in WHERE-Clause
    CONCATENATE '31.12.' l_dat_c_4 INTO l_dat_c_12.
    CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
         EXPORTING
              date_external            = l_dat_c_12
         IMPORTING
              date_internal            = l_dats_to
         EXCEPTIONS
              date_external_is_invalid = 1
              OTHERS                   = 2.
    IF sy-subrc <> 0.
    ENDIF.
    * Select records in range
    SELECT *
           FROM [DBTAB]
           INTO TABLE [ITAB]
           WHERE [DATE] BETWEEN l_dats_from
                        AND     l_dats_to.
    Regards
    REA

  • Message Mapping, filling field with 0 (zeros) on left

    I need to fill a field with values that has variable lenght adding 0 (zeros) on the left, how can I do it ?
    I'm using the LENGHT in message mapping, with value returned by LENGHT I use FIXVALUES to map the quantity of 0 (zeros) that I need to add in the field.
    Somebody can help me with this problem ?
    Thank's.

    Hi Regis,
    You can use the Arithmetic:FormatNum built-in function for this.
    If you want to left-pad the number with zeros so that the length is always 10, then specify 10 zeros for the format, 0000000000.
    This function takes formats based on java.text.DecimalFormat so you can see all of the possibilities at:
    java.sun.com/j2se/1.4.2/docs/api/java/text/DecimalFormat.html
    Thanks,
    Jesse

  • Mapping: constant to integer field

    Hello,
    I've a integer field in target. I've need mapping to constant value. How can i do it?
    Now,  i've:
    constant   ->   integer field
       5  
    in SXMB_MONI i can see the message with status waiting and no change
    i suppose that this value (constant) is a string, but i am not sure, how can i do this?
    thanks very much

    >
    silvia diego wrote:
    > Thanks to all,
    >
    > the message is waiting in 'integration engine', exactly MI_MT_PEDIDO_TRAS_ASY_INB
    >
    > i think the problem is this because when i delete this field in the data type the mapping is ok.
    If your message is waiting state and no change
    you can try  to register the Queues
    TCODE SXMB_ADM -> Manage Queues -> Register the Queues.
    Or run program: RSXMB_REGISTER_QUEUES .
    Regards
    Anika

  • How to create Using Formatted Text Field with multiple Sliders?

    Hi i found the Java Sun tutorial at http://java.sun.com/docs/books/tutorial/uiswing/components/slider.html very useful, and it tells how to create one Formatted Text Field with a Slider - however i need to create Formatted Text Field for multiple Sliders in one GUI, how do i do this?
    my code now is as follows, and the way it is now is scroll first slider is okay but scrolling second slider also changes value of text field of first slider! homework due tomorrow, please kindly help!
    // constructor
    label1 = new JLabel( "Individuals" );
    scroller1 = new JSlider( SwingConstants.HORIZONTAL,     0, 100, 10 );
    scroller1.setMajorTickSpacing( 10 );
    scroller1.setMinorTickSpacing( 1 );
    scroller1.setPaintTicks( true );
    scroller1.setPaintLabels( true );
    scroller1.addChangeListener(this);
    java.text.NumberFormat numberFormat = java.text.NumberFormat.getIntegerInstance();
    NumberFormatter formatter = new NumberFormatter(numberFormat);
            formatter.setMinimum(new Integer(0));
            formatter.setMaximum(new Integer(100));
    textField1 = new JFormattedTextField(formatter);
    textField1.setValue(new Integer(10)); //FPS_INIT
    textField1.setColumns(1); //get some space
    textField1.addPropertyChangeListener(this);
    //React when the user presses Enter.
    textField1.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0),  "check");
            textField1.getActionMap().put("check", new AbstractAction() {
                public void actionPerformed(ActionEvent e) {
                    if (!textField1.isEditValid()) { //The text is invalid.
                        Toolkit.getDefaultToolkit().beep();
                        textField1.selectAll();
                    } else try {                    //The text is valid,
                        textField1.commitEdit();     //so use it.
                    } catch (java.text.ParseException exc) { }
    label2 = new JLabel( "Precision" );
    scroller2 = new JSlider( SwingConstants.HORIZONTAL, 0, 100, 8 );
    scroller2.setMajorTickSpacing( 10 );
    scroller2.setMinorTickSpacing( 1 );
    scroller2.setPaintTicks( true );
    scroller2.setPaintLabels( true );
    scroller2.addChangeListener(this);
    textField2 = new JFormattedTextField(formatter);
    textField2.setValue(new Integer(10)); //FPS_INIT
    textField2.setColumns(1); //get some space
    textField2.addPropertyChangeListener(this);
    //React when the user presses Enter.
    textField2.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0),  "check");
            textField2.getActionMap().put("check", new AbstractAction() {
                public void actionPerformed(ActionEvent e) {
                    if (!textField2.isEditValid()) { //The text is invalid.
                        Toolkit.getDefaultToolkit().beep();
                        textField2.selectAll();
                    } else try {                    //The text is valid,
                        textField2.commitEdit();     //so use it.
                    } catch (java.text.ParseException exc) { }
    // State Changed
         public void stateChanged(ChangeEvent e) {
             JSlider source = (JSlider)e.getSource();
             int fps = (int)source.getValue();
             if (!source.getValueIsAdjusting()) { //done adjusting
                  if(source==scroller1)   {
                       System.out.println("source ==scoller1\n");
                       textField1.setValue(new Integer(fps)); //update ftf value
                  else if(source==scroller2)     {
                       System.out.println("source ==scoller2\n");
                       textField2.setValue(new Integer(fps)); //update ftf value
             } else { //value is adjusting; just set the text
                 if(source==scroller1)     textField1.setText(String.valueOf(fps));
                 else if(source==scroller2)     textField2.setText(String.valueOf(fps));
    // Property Change
        public void propertyChange(PropertyChangeEvent e) {
            if ("value".equals(e.getPropertyName())) {
                Number value = (Number)e.getNewValue();
                if (scroller1 != null && value != null) {
                    scroller1.setValue(value.intValue());
                 else if (scroller2 != null && value != null) {
                    scroller2.setValue(value.intValue());
        // ACTION PERFORMED
        public void actionPerformed(ActionEvent event) {
        if (!textField1.isEditValid()) { //The text is invalid.
            Toolkit.getDefaultToolkit().beep();
            textField1.selectAll();
        } else try {                    //The text is valid,
            textField1.commitEdit();     //so use it.
        } catch (java.text.ParseException exc) { }
             if (!textField2.isEditValid()) { //The text is invalid.
            Toolkit.getDefaultToolkit().beep();
            textField2.selectAll();
        } else try {                    //The text is valid,
            textField2.commitEdit();     //so use it.
        } catch (java.text.ParseException exc) { }
    ...

    if :p3_note_id is null
    then
    insert into notes (project_id, note, notes_month, notes_year) So, p3_note_id is NULL.
    Another option is that you have a trigger on table NOTES that generates a new note_id even for an update.

  • Is Text/Integer Field required in Flat Lookup table?

    Hi,
    I have a flat look up table.
    In that i want to create 4 Flat lookup fields....... one of them will be a display field.
    But when i Verify Repository with this structure then it gives me Fatal Error:
    $$$ Fatal error(1323): Table 'Product Hierarchy'(A2i_24) does not have valid display field(s): 1:79;.
    $$$ Invalid display fields are 79.
    $$$ Table Product Hierarchy must have one or more display fields.
    When i repair the repository......... it adds 1 Text Display field in my table.
    Does is mandatory to have 1  text/integer field in lookup table?
    If NO what i m doing wrong & if YES then Why?
    Thanks,
    Mahi

    Sorry.......... Posted in Wrong forum.
    Thanks,
    Mahi

  • Field "Open Quantity" is empty on ME23N

    Hello,
    I am running the BAPI_GOODSMVT_CREAT for "Purchase Order", and when i go to ME23N, the field "Open Quantity" of item is empty.
    I'm usind this parameters:
          t_bapiitem-material             = v_ematn.                
          t_bapiitem-plant                = t_ba-werks.          
          t_bapiitem-stge_loc          = t_ba-lgort.          
          t_bapiitem-move_type      = t_ba-bwart.          
          t_bapiitem-entry_qnt        = t_ba-erfmg.         
          t_bapiitem-entry_uom      = v_meins.              
          t_bapiitem-po_number     = t_ba-po_number.     
          t_bapiitem-po_item           = t_ba-ebelp.         
          t_bapiitem-shipping          = '01'.                 
          t_bapiitem-comp_ship     = t_ba-norm_exp.       
          t_bapiitem-no_more_gr   = 'X'.
          t_bapiitem-mvt_ind          = 'B'.
          t_bapiitem-unload_pt       = t_ba-unload_pt.
          t_bapiheader-ref_doc_no = t_ba-nota_de_remessa.
          t_bapiheader-header_txt = t_ba-txt_cab.
          t_bapiheader-pstng_date = t_ba-dtlanc.
          t_bapiheader-doc_date   = t_ba-dtdoc.
    Anyone Help me ?
    With regards,
    Reginaldo Borges

    Hi,
    Try use:
    t_bapiitem-no_more_gr = ' '.
    Best regards,
    Leandro Mengue

  • Display MENGE field with no decimals in smartfroms

    Hi Experts,
    I  want to print MSEG-MENGE field with no decimals in smartforms , how do i declare this field,
    I have also declared this field in global defination in quantity/currency field...
    But i am unable to get the output..
    I tried using &mseg-menge(13.0)& but i get an error in my program stating formating is wrong.
    Thanks In Advance.
    Ashwin.

    write a code to display menge value.
    data: l_menge   type i,
          l_menge2  type string.
    move: w_bseg-menge to l_menge.
    move: l_menge to l_menge2.
    condense l_menge2.

  • EEWB : in CRM 4.0 adding  field with data element = table type

    Hi,
    Do you have experience in CRM4.0 to add a customer field with data element that is a table type ?

    Marie,
    I don't believe it is possible in CRM 4.0.  Another drawback of the EEWB is that you can't add currency or quantity fields using the EEWB tool.
    Good Luck,
    Stephen

Maybe you are looking for

  • Calling a stored proc in a decode statement

    I am having a problem calling a store procedure in a SQL statement. I am using Oracle's thin driver. I have been able to do the following: select col1, col2, SOME_STORED_PROC(var1,var2,col3) from some_table where col3 = var3 However, when I try to ca

  • Java JVM in safari?

    Java 6 undate 10 or above is required. Please help install on my computer.

  • Problems with Chapters in iDVD 5!

    Hey, I'm trying to fix a problem I'm having... I'm burning a DVD with a few different videos on them added in a certain order. When playing back on a DVD player, if I press the 'Next Chapter' button, it just skips through them randomly... not in the

  • LMS3.2/CWA1.2.0: Device troubleshooting - Timed out

    Hi, Customer has LMS 3.2 on windows 2008. They have this issue since they have upgrade to LMS 3.2. He has a multi-server config. Both master and slave have the same issue. When trying to launch Device troubleshooting, cu has an error message "Error :

  • Disable movieclip error

    Hi all I just done a project here i create a movieclip which contains many thumbnails in it and above this layer i have a phone movieclip which have 2 children movieclip 1st child movieclip contain canvas movieclip which allow user to draw something