Validation for Amount fields..very urgent

hI ALL.
I want Validation like     Right justify amount decimal point and 2 decimal places.
this is Work area
TYPES: BEGIN OF T_DATATAB,
          COL01(60) TYPE C,
          COL02(60) TYPE C,
          COL03(60) TYPE C,
            end of T_datatab.
data: g_t_dbt like table of dbt initial size 10,
      wa_dbt type dbt.
DATA : VAL TYPE STRING.
Now i want  move value from VAL to wa_DBT-CURRENCY as follows,
        move wa_datatab-col07 to wa_DBT-CURRENCY.
        MOVE VAL TO wa_DBT-CURRENCY.
so if i give input  100, i need display like 100.00
Help me
helpful answers will be get rewarded.it is very urgent
Regards.
Bhanu
Message was edited by:
        bhanu

Hi bhanu,
1. simple
2. just use
  WRITE numberfield to charfield.
(it will put the field
   in the SAME FORMAT as DISPLAY FORMAT)
eg. YYYYMMDD  will put as dd.mm.yyyyy
    256 will put as 256.00
regards,
amit m.

Similar Messages

  • Insert asterisk(*) for amount field (Very Urgent)

    Hi all,
    I want to insert asterisk() for amount field REGUD-SWNET(15C) in SAP script. ie suppose amount is 1000.00 rest of the length should be filled by asterisk() infrount of amount. ie ********1000.00 it has display like this.
    Your help ll be rewarded.
    Regards
    Yathish

    hi,
         We can replace leading spaces in a value with a FILL CHARACTER.
    SYNTAX:    <b> &symbol(Ff)&</b>    here f is fill character.
    example:    &REGUD-SWNET&  value is 700.00
                     &REGUD-SWNET(F*)& value printed as ******700.00.
    regards,
    sudheer.

  • How to make a validation for a field?

    Is any possible to make input value
    validation for a field?
    E.g. Force the user enter ItemCode in a
    correct format with proper prefix XX-BB-.... .
    If SDK is a only solution, how to do it?
    Regards,
    Kenneth

    You can't realy do it with out sdk. You could always try to right a query that will clear the code when it isn't in the correct format. then if they press add it will give an error cause there is no item code. But you'll struggle to get this right and it won't be full proof.
    In sdk in your item event you'll test if the specific edit box lost focus and before the action, if that is true then check the value. If it is not correct then bubble the event and give an error. when you bubble the event it won't do the action they wanted to do.
    Hope this helps.

  • Validation for text field: Null and contains no spaces

    Currently on APEX 3.2
    I want to check 1 text field and 2 text areas to ensure they are not null and blank (hitting the space bar in the field) before submitting the page. How do I do both validations for on each field?

    I created a validation with a type of 'Function Returning Boolean' and using the following code in the expression:
    IF( TRIM( :P1_Text_Field) IS NULL
    Or LTRIM( :P1_Text_Field ) != :P1_Text_Field )
    THEN
    RETURN false;
    ELSE
    RETURN true;
    END IF;
    Edited by: Jeremy_F on Apr 12, 2012 8:15 AM

  • How to Activate a Condition Type in the Tax OCde for A/P  -- Very Urgent

    Hi  Peers
    I'm creating a new Tax Code in T.Code FTXP, while creating, One Condition Type is Deactivated, say JM01, How to activate that condition Type. I know how to activate the Condition Type in A/R side but I want to know it in A/P side.  Plz help. Its very urgent. 
    Regards
    Rajaram

    Hi Rajaram,
    U pls Check ur configuration. First u check the calculation procedure (F.A- Tax on sales & purchase-Basic setting-Check calculation procedure _ Define procedure) In the procedure field u  check JM01 is activated or deactivated otherwise u created in condition Type.
    I think its usefull otherwise u let me know
    Thanks
    R.Manigandan

  • Data validation for Date Field in Web Dynpro ABAP

    Hi ,
    In my WDA i want to perform data validation for date filed. (i.e. While creating a new record i have to check the Start Date should be always lesser than End Date.)
    If u ll enter the wrong date it should validate the Date and throw an error message.
    Please Reply soon its urgent.
    Thanks,
    Deepika

    Hi,
    First read the two attributes start date and end date.
    Then write the following condition.
    IF item_start_date > item_end_date.
    Error message.
    Endif.
    For pop up error message you need to use Create_window method of the Interface if_wd_window.
    Thanks.

  • BAPI's for remote Cube very urgent

    Hi,
       I want to activate the cube 0FIGL_R10 and 0TRCM_RC1. Can anyone guide me what needs to be done. I jave activated the cube from Business Content. When I try to execute the query it is not running .
    please help as it is very urgent for me ..
    Regards
    Baljit Singh

    Hve a look at this:
    Need step by step process for creating remote cube
    Regards

  • FIELDS -----very urgent

    Hi all,
    i am searching for some fields of tables after PGI.i am developing a report to show all the data after PGI.it includes SO & PO data as well.
    so i need some fields.those are
    1)payment terms
    2)payment terms text
    3)address1 of customer (i think it is --adrnr)
    4) address2 of customer (urgent)
    5)transportation method or type
    6)routing
    7)date of manufacture of finished goods
    8)vendor's customer PO number(customer of our vendor)
    9)vendor sales order number(different from our sales order number)
    initially our vendor is selling raw materials to our company.then my company converts raw material to finish goods.then my company will sell finish goods to  same vendor or customer of that vendor.this is the process.plz tell me the above database table fields.i need the table fields which should be filled after PGI.
    it is urgent.
    any help is highly appreaciated.
    Regards
    pabitra

    Hi,
    <b>SE84</b> will be useful for you, this will search in SAP about the Fileds, Tables and programs ...
    goto SE84 -> ABAP Dictionary Entry -> Fields -> Table fields. here give the Short Description and press Enter, you will get the field name alog with table name
    Regards
    Sudheer

  • How to exclude Required Validation for some fields?

    Hi,
    I have a page in a form with some fields that are set as required like this:
    Field 1   Field 2
    table
    Field 3   Field4 "Add" button
    Field 5    Field 6
    "Submit" button
    There are two buttons in this form. The "Add" button is PPR allows adding Field 3 and Field 4 to the table. The "Submit" button is for the actual submission and processing. When "Add" button is pressed, I only want the require validation to be done for Field 3 and Field 4, but not Field 1/Field 2/Field 5/Field 6.
    Currently, if I press "Add" button, the required field validations are triggered for all six fields. How can I only limit the require validation to some required fields only for this button?
    Thanks
    -Mina

    subform is a great idea and kinna what I needed in this situation, but there is another challenge.
    In my case, I tried to put table, Field 3 and Field 4 in subform:
    Field 1 Field 2
    <af:subform>
    table
    Field 3 Field4 "Add" button
    </af:subform>
    Field 5 Field 6
    "Submit" button
    When I press "Add" button, Required validation still triggered for all fields. Only if I put Field 1 and Field 2 in another subform, and Field 5 and Field 6 in a different subform. Then it works like this:
    <af:subform>
    Field 1 Field 2
    </af:subform>
    <af:subform>
    table
    Field 3 Field4 "Add" button
    </af:subform>
    <af:subform>
    Field 5 Field 6
    "Submit" button
    </af:subform>
    But in my case, I need Field 1, Field 2, Field 5, Field 6 and "Submit" button to be in the same subform, as the "Submit" button applies to these four fields. In the UI design, Field 3 and Field 4 are between Field 1/Field 2 and Field 5/Field 6 though.
    Any other ideas?

  • Changing SIgn for Amount field

    Hi:
    We have a requirement where we need to change +/- sign on amount field in Infocube during the data loading. How this can be done?
    Thanks

    Hi Sunil,
    In the update rules, in the key figure you want, instead of assigning a source key figure from communication structure (first option), select the formula  and press create. Name your formula, and then, in the formula editor, double click your key figure so it appears in the upper part. Then press the * button. and finally press constant button and enter -1 in the text box it appears. This should do it.
    Hope it helps.
    Regards,
    Diego Lombardini

  • Not inserting date field-very urgent

    thanks in advance any help appreciated
    im getting all the datas in csv as an array and inserting using the insert method, the date(not datetime) field is not inserting (vb.net), and not showing any error
    im getting the datas as array string wat iv to do while inserting ive used all the conversion techniques but still not inserting

    Hi,
    You must indicate the "specified" attribute in order to inset or update any field that is not string type.
    For example, I guess that your program do something like:
    obj.date=%%date expression%%
    but you must do also:
    obj.date_specified=true
    That is for any field like number, date, boolean, etc...that is not a string.
    Hope it helps.
    Kim.

  • Validation Numeric Field(very urgent please)

    Hi,
    Iam new to java.
    I have one JSP form.
    my question is :
    How do i validate that user has entered all numeric values in a particular column.?
    And if he has not entered the numeric data, do i have to throw NUMBERFORMATEXCEPTION.
    Please help !
    Thanks
    [email protected]

    Hi
    If you have a JSP form , you can post the form to a servlet and verify the format of the column.
    If you prefer, you can use javascript to validate the clumn on client broser, so he can't post the form if it's not correct
    bye
    Nicola

  • Struts validator for two fields(conditional required)

    Have a Drop down and an input field.
    When user selects "Type 1" from drop down only then the input field is required. otherwise it's not a required field.
    Looking at the validator guide in struts maybe I have to create a new validator rule which should check if drop down value "Type 1". But not sure how to code to say that the input field is required here.
    How to do this?
    Thanks.

    Yes you have to check for drop down value "Type 1".
    when you hit on submit it goes to the validation function right ...
    there add a condition. Check if tpe 1 is selected , if so proceed validation the text box , else skip that validation and come out.

  • Important : how to create a  validation for table field.

    Hi all,
    I have created a table in which i have date field of format MM/DD i.e char 5.
    i want validation that if user creates a entry in date field then if he enters first two digit more then 12 then validation must be their that please enter first 2 digits from 1-12.
    similarly for last two digitsi.e it must be from 1-31
    so how can i provide this validation.
    if u have any confusion in understanding the query please revert.

    Declare 3 variables
    DD(2) type char
    MM(2) type char
    Temp(2) type char
    Date(5) type char
    Get the DD and MM value from your date field
    if MM > 12.
        temp = MM.
        MM = DD.
        DD = temp.
    endif.
    Then concatenate MM & DD into date and save
    Hope it helps!
    Regards,
    Ashok

  • Activating F4 help/Validating for a field added to SRM shopping cart screen

    I have added Profit Center as an additional field on the Shopping Cart Screen. This should be displayed only when the user selects Cost Center as value for another input field. Also I need F4 help for this profit center.
    Can someone please guide me with the steps to do the same.
    Thanks and Regards,
      Vanessa

    Hi Vanessa,
    Validation can be done in doc change and doc check BADIs.
    For attaching F4 help you can create a search help in ABAP Dictionary and attach that serach help to your cutom field .
    Hope that helps,
    Anubhav

Maybe you are looking for

  • IPad screen keeps enlarging since iOS upgrade, no way to control it

    Since upgrade to ios 5.1, iPad 1 screen size keeps enlarging by around 5 to 10 percent, so that most of screen is hidden from view/ inaccessible, no apparent way to control it.to reset, I have to turn iPad off and on again. For example, as I type thi

  • Why can't I reload 10.4?

    After two days with a grey screen and a grey circle going round and round I managed to reload the original 10.3 software which came with my iMac when it was new. I then did all the 10.3 upgrades, but it simply will not let me upgrade to 10.4 again.  

  • Parameter Form in OAS and Web, Paper Report Output

    Hello, In the Reports Builder 10g I have this Parameter Form. It starts before a paperreport is generated (with props, LOV and etc.) If I put my rdf in the OracleAS i can call the report trough the browser, but there Is no parameter window. How can I

  • How can you replace v.25 with an earlier version, say v.23 for my business purposes?

    How can I install an earlier MAC Version of Firefox, e.g. 23 or earlier ? and then Uninstall the latest Version 25? According to the Health Insurer I charge for services, Version 25 cannot work for them.

  • Import-module Lync

    hey i use powershell v3 from win7 , i installed ocscore.msi and try to import-module Lync but i get error : the assembly 'microsoft.rtc.management' was not loaded because no assembly was found why it didn't work??? any idea?