How to avoid printing zero in amount field in adobe forms

Hi All,
If the amount is empty in the amount field then it is printing 0,00. I have written some peice of code to avoid printing that value. I wanted to print space.
Below is the  logic which  i have tried in  javascript.
if  ( this.WRSHB.rawValue == null )
this.presence == "hidden";
if  ( this.WRSHB.rawValue == '0,00' )
this.presence == "hidden";
I am still able to print 0,00 in the form output.
Can anyone please help me out in achieveing the same ? Am I missing anything in the javascript coding?
Thanks and Regards,
Karthik Ganti.

Hi,
Issue is fixed. I have written the above code in Form ready event and changed the amount field type to text field. It worked. Thanks.
Thanks and Regards,
Karthik Ganti.

Similar Messages

  • How to avoid Print pop-up while using a Adobe form.

    Hi Experts,
    I am calling a adobe form from a BAPI.I am using the following function modules FP_FUNCTION_MODULE_NAME and CALL FUNCTION fun_name. But when I try to execute the BAPI a print preview pop-up appears.Please let me know the steps to avoid the print preview pop-up while execution of the BAPI.
    Thanks in Advance.
    Warm Regards,
    Arun.

    Hello
    I don´t understand the connection between BAPI and the printing program. I guess - at least that is what I have done - is to generate the form when creating and invoice or something, then I could understand.
    When you ask for GETPDF = 'X' then you always get the PDF data back and not the popup.
    Or if you would like to display the print preview without a print settings popup. Or variants...
    FUNCTION ZPDF_SET_OUTPUT_MODE.
    *"*"Lokální rozhraní:
    *"  CHANGING
    *"     VALUE(FP_OUTPUTPARAMS) TYPE  SFPOUTPUTPARAMS
    fp_outputparams-dest     = 'ZPDF'.
    fp_outputparams-nodialog = 'X'.
    fp_outputparams-preview  = 'X'.
    ENDFUNCTION.
    regards Otto

  • Weird character while printing amount field in ADOBE form

    When amount field is set for any diplay pattern  in PDF form it is displaying like  ¤7.41.
    All display patterns are tried leading to same display.
    All display patterns show the first character as $, but displays this weird character '¤'.
    Advice me how to eliminate this or
    Is there a way to hide this character?

    Duplicate post - thread locked.

  • How to delete leading zeros for amount  fields

    Hi all,
    I have problem with the leading zeros, where I am populating nearly 30 amount fileds in my  statement.i want to delete leading zeros.
    I have tried with shift and pack.
    and I cannot call every time the function module *alpha_output or input.
    can anybody suggest me the better solution.
    Regards,
    Sre

    You could use a syntax like 
    SHIFT: w10a LEFT DELETING LEADING '0',
           w10b LEFT DELETING LEADING '0',
           w10c LEFT DELETING LEADING '0',
           w10d LEFT DELETING LEADING '0'.
    or using macros like
    DEFINE delzero.
      shift &1 left deleting leading '0'.
    END-OF-DEFINITION.
    delzero: w10a, w10b, w10c, w10d.
    Regards

  • How can i avoid leading zeros for a field in smartform?

    how can i avoid leading zeros for a field in smartform?

    Hi,
    Using the Symbols.
    &symbol(Z)&  Omit Leading Zeros  &symbol(S)&  Omit Leading Sign 
    &symbol(<)&  Display Leading Sign to the Left 
    &symbol(>)&  Display Leading Sign to the Right 
    &symbol(C)&  Compress Spaces 
    &symbol(.N)&  Display upto N decimal places 
    &symbol(T)&  Omit thousands separator 
    &symbol(R)&  Right justified 
    &symbol(I)&  Suppress output of the initial value 
    Regards,
    Shiva Kumar

  • How to avoid printing a blank page when there is 'no data' in the report.

    how to avoid printing a blank page when there is 'no data' in the report.

    try like this
    if@section:IND=1
    this template
    end ifsectionbreak
    if@section:IND=2
    this template
    end if

  • How to deactivate withholding tax base amount field

    Dear Experts,
    My in client is using the extended withholding tax with setting Define Formulas for calculating withholding tax, my client feel that the tax base amount field is open and user may accidentally input the wrong amount there thus can anyone tell me how to deactivate this tax base amount field?
    thank you

    Dear,
    Go into Withholding tax type under SPRO>Financial Accounting Global Settings>Withholding Tax>Extended Withholding Tax>Calculation>Withholding Tax Type.
    While maintaining the Withholding Tax type you have selected "W/tax base manual" under the control data. Just don't select that option then your requirement will be met.
    There are other options also like Manual W/tax amt. which you might want to go for.
    Regards,
    Chintan Joshi.

  • How to avoid printing of void cheques

    Hi Friends,
    In the check printing program FBZ5,  whenever there are more than 25 line items, the first two cheques are getting cancelled and the third cheque is getting printed and thereby wasting the first two cheques.
    I would like to know, how to avoid printing of such cancelled cheques.
    TIA.
    Regards,
    Mark K

    hi
    good
    you can use like this when you r going to FBZ5 tcode in the right hand side there is a tab called Output Control, there if you check the test print out it ll give you this result
    Indicator: Test Print
    If you select this indicator, the print program carries out a test print (for purposes of fine-tuning the printer output) before printing the actual payment media.
    so before taking the original print out you can able to understand which is going to be cancel and which one is going to print .
    Reward Point If Helpful
    thanks
    mrutyun^

  • How to add two zeros end of field

    how to add two zeros end of field?

    Hi srinu,
    If it's a number field, then just multiply by 100.
    If it's a string, then just use CONCATENATE and add the '00' to your existing string.
    Hope this helps.
    SL

  • How to encrypt the text in password field in Oracle Forms version 6i

    Need help!
    How to encrypt the text in password field in Oracle Forms version 6i?
    one way is to change the settings in the property palette. Can somebody provide me some script to be run while the form is running which will enable the password to be encrypted?
    Thanks!

    Hello,
    Do you mean "hidden" (replaced with stars) or encrypted (that needs to be decrypted ?
    Francois

  • How to make a field in adobe form noneditable

    how to make a field in adobe form noneditable. like info keys..
    when this form is sent through worflow the receiver shudnt be able make changes to the field value...(I have a form, which has fields prefilled(like pernr employee name) but these fields are in editable able..(i want only some fields to be uneditable not all)
    Edited by: kumar gaurav on Apr 11, 2008 8:04 AM

    Hi,
    You can make fields non-editable at runtime using this code:
    field.access = "readOnly"
    Hope this helps.
    Amit

  • How to make Mandatory field in adobe form

    Hi Experts,
              I have a text field in adobe form,.If user could not interact this form, without filling the text field..can you please give me the suggestion?
    Thanks,
    Hans

    Hi,
    Write the following script at the exit event of your text field.
    if ( $.rawValue == null )
    then
    $host.messageBox("Please Enter Value")
    $host.setFocus("TextField1");
    endif
    Here TextField1 is the name of the text field.
    Regards,
    Vaibhav Tiwari.

  • How to put water mark in web dynpro abap Adobe forms

    Hi
    Can any body tell me how to put water mark in web dynpro Abap adobe forms ,
    actually I need to print water mark as back ground in gray color.
    Points will be rewarded of Helpful answer..!
    Regards,
    Sidram

    Hi,
    for more information about layout options in forms, go to your form in transaction SFP, layout view and choose Help -> Adobe LifeCycle Designer Help. There you find information on page layout, e.g. " Objects can be placed anywhere on a master page, inside or outside the content area. As a general rule, do not place objects inside the content area unless your intention is to have other objects laid down on top of the master page objects when the form is rendered. If you are setting up a watermark, place it inside the content area. "
    Besides, there's an Adobe forum where you might get more information for such Adobe questions.
    Regards, Heidi

  • Print the attachements added in the adobe form

    Hi,
    I added the attachments in the adobe form.But when ever i print this adobe form , i want to make sure that the attachments are also printed in addition to the original adobe form.
    Is there any automatic way of doign it or any alternatives to avoid adding it as an attachment ,
    i have  a word document stored in the database.
    so when ever i print my form need to print the document sthat are stored in the database also.
    Please help me.
    Regards,
    Sasi

    "Discrepancies"?

  • Hide a row or field in adobe form

    Hi guys,
    Can any one suggest me how to hide a field in adobe form.
    My scenario is:
    Using control levels for deliveries with item data, if the item line is only one, then I should not display any subtotal field, if item lines are more than one, only then i need to display subtotal field in adobe form.
    Subtotals are maintained at item level not at the page level.
    Can any provide solution with scripting.
    Thanks.
    RP.

    One way is have some variable which tells how many rows of data is present. Check it and then make subtotal
    visible or hidden. The script will be like below.
    if (rownum.rawValue == 1) then
    this.presence = 'hidden'
    else
    this.presence = 'visible'
    endif
    Thanks,
    Aravind

Maybe you are looking for

  • I've added songs and vedios to iTunes in my computer then I synchronise it with my iPad the problem came to the video that I couldn't show the videos and the screen became black

    I've added songs and vedios to iTunes in my computer then I synchronise it with my Ipad3 ..... For the songs it was OK but for the vedios I got a message that  some format are not supported then the screen became black with no video or sound ....how

  • Problems in ABAP Proxy Generation

    Hi All, I tried to generate an ABAP proxy for outbound message interface "Interface_ABC", which is under software component "DEF". In our development system, I had successfully created ordinary function modules and structures under the package "/XYZ/

  • UDO type Document, Add lines

    Hi All, I have a problem with a User Defined Object of type Document/Document Lines. I have a custom form for the UDO. I can add new Documents with one or more Document Lines. These are stored in the database as expected, both Father table and Child

  • End of streaming audio clipped off

    We have a long (nearly 15,000 frame) timeline with several different mp3 audio clips placed at various points with some animation. The audio is set to stream. In some places the last littlest bit of audio is getting clipped off when playedback. The a

  • Strange errors in 6513

    I have two 6513s configured in a VSS-SSO pair. These switches provide power to Cisco IP phones (various models). I am seeing an error that says C6K_POWER_SW1-4-PD_NOLINKUP: The device connected to 20/25 is powered up but its link is not up in 5 secon