UDf sample plz..adding spaces

Hi experts,
i need UDf code for filling the target field with spaces...
proxy to file
e.g:
i am geeting 14 digit input field from proxy......
some times the data will be 4 digits...
i/p 0.00 then o/p should be "0.00          " like this...
adding spaces after the field
as i am using FCC on receiver side....
plz help me out.

Hi,
int len = a.length();
for(int i=0;i<14-len;i++){
a=a+" ";
return(a);
I think this is what you expect.
By varying the condition you can get the spaces howmuch ever you need.
Regards,
Sakthi

Similar Messages

  • Issue in adding Space to the existing Virtual Machine from added repository

    Hi,
    I'm facing issue in adding Space to the existing Virtual Machine (Guest OS) from added repository.
    Environment details :
    VM Server : /OVS => 130GB
    /OVS/935970F2CC2D4B4391701397517F1001/ => 512 GB
    Things I have done :
    •     I created a VM (Guest OS) in the VM Server with 120 GB
    •     After creating the VM (Guest OS) , When I tried adding a VIRTUAL DISK of size 150 GB , I got an error “Maximum available Disk space is only 10GB”.
    My query :
    •     Will I be able to add space to Existing VM from the added Repository ( /OVS/935970F2CC2D4B4391701397517F1001/ ) , whose system.img is stored in path /OVS/running_pool/34_rhel/ .
    Kindly help me out in this.
    Thanks in advance.
    -- Sri

    Hi all,
    I checked with Oracle on the above and got the info currently , the we can utilise only the space available in the existing repo and cannot extend to additional repo.
    Work around is : Clone it to the other repo , or Use Symbolic link .
    Thanks,
    Sri.

  • Error while adding space to the table space

    HI Gurus
    Can you please put some light on the error which i encountered while adding space to a tablespace
    ALTER TABLESPACE "GISR_NDEX" ADD DATAFILE '+DATA2' SIZE 2G;
    ALTER TABLESPACE "GISR_INDEX" ADD DATAFILE '+DATA2' SIZE 2G
    ERROR at line 1:
    ORA-01119: error in creating database file '+DATA2'
    ORA-17502: ksfdcre:4 Failed to create file +DATA2
    ORA-15041: diskgroup space exhausted
    Any suggestion is highly apprciated .
    Thanks

    Hello;
    The "diskgroup space exhausted" is key.
    Try creating smaller files or adding disk space.
    ASM Disk Group Unbalanced :
    http://surachartopun.com/2010/03/ora-15041-asm-disk-group-unbalanced.html
    Best Regards
    mseberg

  • RH8 After conversion, added space after conditional tag phrase

    We just installed RoboHelp 8. After converting my 3 projects from RH7 to RH8, the system added spaces in between words of a condtional build phrase. That's great since it's much easier to see the words -- that was an improvement over version 7.
    However, it's also adding a space after the conditional build phrases, which is incorrect. It adds a space before a comma, adds a space before a period if the conditional build phrase occurs at the end of the sentence, etc. But it doesn't look like it does this in every case...I'm not sure why it did this, but it only happened after the conversion to 8.
    The generated help appears as in the example below. Note the space before the period in the first sentence and the space before the comma in the second sentence. It has done this on quite a few pages.
    Customer Definition Detail
    This page allows you to add a new customer or to edit an existing customer . If you are adding a customer , you must complete the detail information and then save it.
    Tried to upload the example of conditional build phrase, but it's not letting me.
    Thank you in advance for any help you can offer. This would be a lot to manually repair, so I'm hoping someone knows of a way to fix this using a setting.

    Thanks for your posts.
    After trying everything I could think of the only thing that resolved the issue was replacing any instance of back-to-back conditional text followed by any punctuation with two sentence exactly the same except for the conditional choice.
    For example, the original sentence (color indicates conditional build tag):
         For customersmembers, this field indicates transaction limits.
    would be changed to these two sentences:
         For customers, this field indicates transaction limits.
        For members, this field indicates transaction limits.
    I'll submit this as a RoboHelp 8 bug in the forums (if it hasn't already been submitted).

  • Xserve raid can not recongize added space after expansion

    My Xserve is Mac OS X server (ver 10.5.7), 2x2.8GHz Quad-core intel Xeon CPU. My Raid box is older (It is ordered with ours previous G5 Xserve), but work with Intel Xserve pretty good. It has 5 500GB disks on lower controller as Raid 5, I recently bought a new 500GB Apple disk drive module, and using Expansion function in RAID Admin to expand current raid, after that, the Raid admin correctly shows increased disk size, but in my system (or disk utility), it still shows the original (unchanged) disk size.
    Could you please tell me how to make system recognize the newly added space? Thanks

    Hi, after expansion you need to re-format to get the increased size. Don't forget to backup all that data first !!!

  • CRVS2010 beta 2 - header underline adding spaces

    Hello,
    I'm noticing that headers that are 2 words and the second word is a number, there is a space/break in the underline
    For example Address 1 instead of Address 1.
    I reported this in beta 1 (see CRVS2010 beta - header underline adding spaces) and hoped that it would have been fixed.
    I'm wondering if it is on the list of things to fix for the final release.
    Thank you.

    I assume you are referring to the embedded designer's preview is breaking the underline betweeen the word and the number (ie: Address 1).  I am able to reproduce with the CR for VS 2010 Beta2. 
    I found that the WinForms and ASP.NET CR runtime viewers do not have this issue but the WPF viewer does have this issue.
    I will log a bug for both issues.
    As a potential workaround, instead of underlining the field, format the object (right-click the object and select Format Object), on the Border tab, set the Bottom line style to "Single".  This is not ideal but it may work for you.
    -Mandeep

  • [svn] 1053: Basic and custom security-constraint samples were added to the team app mainly for the doc team to have a reference .

    Revision: 1053
    Author: [email protected]
    Date: 2008-04-01 11:35:28 -0700 (Tue, 01 Apr 2008)
    Log Message:
    Basic and custom security-constraint samples were added to the team app mainly for the doc team to have a reference. The custom authentication sample uses the new ChannelSet.login and ChannelSet.logout methods.
    Modified Paths:
    blazeds/branches/3.0.x/apps/team/WEB-INF/flex/remoting-config.xml
    blazeds/branches/3.0.x/apps/team/WEB-INF/flex/services-config.xml
    Added Paths:
    blazeds/branches/3.0.x/apps/team/features/security-constraints/
    blazeds/branches/3.0.x/apps/team/features/security-constraints/README.txt
    blazeds/branches/3.0.x/apps/team/features/security-constraints/securityConstraint_Basic.m xml
    blazeds/branches/3.0.x/apps/team/features/security-constraints/securityConstraint_Custom. mxml
    Removed Paths:
    blazeds/branches/3.0.x/apps/team/features/remoting/remoting_AMF_SecurityConstraint_Basic. mxml

    Congrats to Carmelo!
     Windows Phone and Windows Store Apps Technical Guru - February 2015  
    Carmelo La Monica
    Windows Phone 8: control Nokia Maps (Part 3)
    JH: "Part 3 of the series how to work with the Nokia maps control. As the previous articles this one contains a lot of code snippets and some pictures. Good work!"
    Ed Price: "A great topic, a fantastic breakdown of sections with clear descriptions, and a nice mix of code formatting and helpful images! Another stellar article from Carmelo! Great job including the link back at the end to the portal
    article!"
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • IE6 Adding Space in Tables

    I have a design that includes nested tables. The page appears
    as it should in FireFox (ie. as it appears in DW8); but, in IE6
    there is extra space being added. It looks like the space is being
    added below the content in the table cells. I'm using CSS and I've
    tried setting margins to zero and collapsing the borders of the
    tables, but nothing is working.
    Can anyone suggest how to clear the added space in IE6?
    Thank you,
    Ron

    As Osgood mentions can't really tell until your code is
    sighted... post a
    link.
    Make sure you don't have any empty <p> or <br>
    tags after the close of your
    table or before the ending body tag.
    Nadia
    Adobe® Community Expert : Dreamweaver
    http://www.csstemplates.com.au
    http://www.DreamweaverResources.com
    |Tutorials|SEO |CSS Templates
    http://www.adobe.com/devnet/dreamweaver/css.html
    CSS Tutorials for Dreamweaver
    "RonSanSolo" <[email protected]> wrote in
    message
    news:eeudq1$eou$[email protected]..
    >I have a design that includes nested tables. The page
    appears as it should
    >in
    > FireFox (ie. as it appears in DW8); but, in IE6 there is
    extra space being
    > added. It looks like the space is being added below the
    content in the
    > table
    > cells. I'm using CSS and I've tried setting margins to
    zero and collapsing
    > the
    > borders of the tables, but nothing is working.
    >
    > Can anyone suggest how to clear the added space in IE6?
    >
    > Thank you,
    >
    > Ron
    >

  • Request a Simple Sample of adding Hierarchical Tree Node

    Hai! if you are familiar with hierarchical tree. please show me
    some sample of adding node to the hierarchical tree(simple
    adding node)
    If you are providing code, please also provide information where
    the code am I suppose to be put cause i'm still new in oracle.
    Thanks in advance for spending some time on it...
    Eric :)
    null

    Here is the code for both the tree node selected and tree node activated triggers
    Tree Node Seleceted code:
    :CONTROL.Node_Activated := null ;
    :CONTROL.Node_Selected := Ftree.Get_Tree_Node_Property('CONTROL_TREE.MENU', :SYSTEM.TRIGGER_NODE, Ftree.NODE_VALUE) ;
    ===========================================================
    Tree Node Activated code:
    Declare
    LN$I Pls_integer ;
    Begin
    :CONTROL.Node_Selected := null;
    :CONTROL.Node_Activated := Ftree.Get_Tree_Node_Property('CONTROL_TREE.MENU', :SYSTEM.TRIGGER_NODE, Ftree.NODE_VALUE) ;
    If :CONTROL.Node_Activated IS NOT NULL Then
    if :GLOBAL.curr_proc_id <> :control.node_activated or :control.node_activated
    is null then                          
    CALL_FORM(:CONTROL.Node_Activated);     
    else
    Set_Alert_Property( 'AL_FORM_OPENED', ALERT_MESSAGE_TEXT,
    :CONTROL.Node_Activated || ' is already opened. Please check your current or previously opened library.' );
    LN$I := Show_Alert( 'AL_FORM_OPENED' ) ;
    end if;          
    end if ;
    end ;

  • Changing sample rate corrupted space designer.... somehow.... HELP!

    This is a new one to me, so it's very difficult to explain whats happened. I'll start from the beginning.
    I created a new, blank logic file with a sample rate of 96.
    I created a new software instrument and began to fill it out, adding some compression, some eq, and a little bit of reverb. The reverb came from space designer, using the small room preset "Thicken Vocals". So far so good. No problems, everything's working fine.
    I open Reason to rewire in (and ultimately track and record) some drum samples out of reason. The sound is coming out of reason into an aux bus in Logic, and that aux bus is being used as the input for a new audio track. I lay down some midi notes, play back the drum audio out of Reason and hit record on the audio track, essentially making an audio file of the drum samples coming out of logic.
    During this, something happens. Rewire is doing a LOT of work balancing the sync, the sample rate, etc.... and somehow, SOMETHING freaks out in the space designer i was using as some subtle reverb for my software instrument in logic (this software instrument is UNRELATED to the Reason audio).
    Now, when i hit play, the space designer just produces a loud, annoying pop. If I CHANGE the space designer preset, everything is cool. If i change it back to "Thicken Vocals" under small rooms.... POP.
    Worse, it seems to be a permanent problem.
    SO --- Ive done a LOT of trying to figure out whats going on. I create a new document and recreate the software instrument. I browse to Thicken Vocals... POP! I tried to replace the IR that "thicken vocals" is referencing by overwriting the file from a system backup I have (an IR called "0.03s_Room Vocals")... still no dice.
    Here's where it gets strange. It works FINE if the sample rate is 44.1... I can browse to "Thicken Vocals" and it loads up and init's fine, and everything is golden. As soon as I go to 96, or load it up when the document is set to 96, that's when it freaks out. NOW, if i adjust the falloff curves of the reverb just enough, THEN it suddenly works again, even under 96k.
    So, in a nutshell, at 96k, when I load "thicken vocals"... it almost appears (even according to the waveform Space designer draws) to misread the IR waveform, and it plays back as a POP. If I adjust the Falloff curve, it corrects itself, and the waveform even redraws! At 44.1, there are no problems.
    I did NOT have this problem before... does anyone have ANY clue what could be tweaking my system right now? I can post more details if I haven't posted enough... including pictures.
    THANKS!!
    Chris

    You might have a corrupted song file. Possibly your autoload as well. Try trashing logic prefs and rebuilding you autoload. Also, repair permissions and maybe even try updating the prebinding in the terminal. Another possibility could be a conflict with the driver of the Audiowerk8, unlikely, but possible.

  • Get the sum/product of two UDF rows before adding A/R Invoice

    Hi Everyone,
    I am making some tests here where I am trying to get the sum or product of two UDF rows in a service type A/R invoice where I need to get the product before i even add the document.
    The query goes like:
    SELECT T0.[U_UDF1] * T0.[U_UDF2] FROM INV1 T0 WHERE T0.[U_UDF1] = $[INV1.U_UDF1]
    It did not work. Is this possible?
    Thanks,
    Derrick

    Before you add a transaction, the values you specify in the screen are not stored into the database. In an FS you can use SQL statements but in these statements you can refer only to the actual header or row level data with the special expressions starting with $. The system replaces these expressions with a constant containing the actual value before executing the SQL string.
    So there is no possibility to sum the columns with FS before adding the document.
    Sorry, I didnu2019t read carefully your question and probably misunderstood it.
    Edited by: István K#rös on Jan 13, 2011 11:27 AM

  • Acrobat Pro 9.0 Adding Spaces

    I'm converting Word 2007 documents with file extensions of .doc to a single PDF in Acrobat Pro 9.0.  After the conversion, there are extra spaces added throughout the document between words and even within words themselves.  I'm not sure what's causing it and I can't find a fix for it.  Does anyone have any ides?
    Thanks!

    It is likely a font issue. Are your fonts embedded (use ctrl-D>fonts to find out)?

  • Adding space in front of unique number?

    I downloaded photos from camera and renamed the files with the 'Rename files to:' function.
    How can I add a space between the file name and the unique number which is added to the name? If I write name "On the lake", the filenames will be "On the lake001.jpg". Even when I write "On the lake " (adding an extra space), the filename will be "On the lake001.jpg", as well. Annoying!
    Is there a way to add the space to make the name like "On the lake 001.jpg"?

    Hi Mikail,
    I am sorry but in my case, there is always an underscore that separates the filename and the unique sequence number. I am using PSE 7.
    Which version are you using?
    -Tarun

  • Extract adding space for dateTime elements

    I just ran into something a little strange when I use extract on a datetime element it appears that an extra space is added to the begining of the date.
    example
    select extract(value(o),'/Person/CreatedDate')
    from person o
    Returns
    <CreatedDate> 2006-04-26T19:33:22.307000-04:00</CreatedDate>
    But if I do an extract on the parent node of CreatedDate
    Example
    select extract(value(o),'/*')
    from person o
    Returns
    <Person>
         <CreatedDate>2006-04-26T19:33:22.307000-04:00</CreatedDate>     
    </Person>
    Right after the <CreatedDate> tag a space exists before the 2 in 2006 when CreatedDate is extracted by it's self but that space does not exist when the extract is done on the parent node.
    Does anyone have any ideas on how to fix this. I am currently using 10.2.0.3.
    Thanks

    In 11g this is fixed
    C:\Documents and Settings\Mark D Drake>sqlplus scott/tiger
    SQL*Plus: Release 11.1.0.4.0 - Beta on Fri Apr 20 13:40:34 2007
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.4.0 - Beta
    With the Partitioning, OLAP and Data Mining options
    SQL> var xmltext varchar2(4000)
    SQL> --
    SQL> begin
      2    :xmltext :=
      3  '<Person>
      4     <CreatedDate>2006-04-26T19:33:22.307000-04:00</CreatedDate>
      5  </Person>';
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    SQL> select extract(xmltype(:xmltext),'/*')
      2    from dual
      3  /
    EXTRACT(XMLTYPE(:XMLTEXT),'/*')
    <Person><CreatedDate>2006-04-26T19:33:22.307000-04:00</CreatedDate></Person>
    SQL> select extract(xmltype(:xmltext),'/Person/CreatedDate')
      2    from dual
      3  /
    EXTRACT(XMLTYPE(:XMLTEXT),'/PERSON/CREATEDDATE')
    <CreatedDate>2006-04-26T19:33:22.307000-04:00</CreatedDate>
    SQL>Which release are you working with...

  • Adding space in Header Prompt

    Hi All
    Did any one try adding couple of white spaces in Header bean prompt dynamically??I tried " " but oaframework encodes "&" -> "&amp;". Is there any way for displaying white spaces in header prompt?
    Thanks in advance
    Murari

    Hi Tapash
    I am infact setting page title. The code is:
    pageContext.getPageLayoutBean().setTitle("OA<space><space><space> Framework");
    I want the output in the browser as:
    OA<space><space><space>Framework.
    But I get
    OA<space>Framework
    I tried passing as:
    pageContext.getPageLayoutBean().setTitle("OA <semicolon>& nbsp<semicolon>&nbsp<semicolon>Framework");
    ( <semicolon> => ";">
    But its displayed as is.
    Thanks
    Murari

Maybe you are looking for

  • Itunes credit doesnt seem to be updating?

    I recently purchases an iTunes card and redeemed it..no problems there. However, when I purchased something, my credit didnt update with the new amount..any help here?

  • Select query - timeout error

    hi experts, I have written a pgm where i need to select records from BSAD table. This table has about 10 key fields. But according to my requirement, i can pass only 2 key fields to the table and have to fetch records from this table.  But it goes to

  • Deceptive Business Practices

    I have been paying for my 86 year old mothers cell phone for years on my AT&T account.  This week she went to the AT&T Wireless store on Trindle Road in Camp Hill to get a new phone.  Instead of the store rep,  Billie H[edited for privacy – please do

  • Showing Yes/No option  popup from backing bean

    Hi, I have a af:query popup where i search for the results using the backing bean. So if this query retrieves more than say 100 rows, I want to show an Yes/No option popup from baking bean informing the user that "the result rows exceed 100, do you w

  • Image border with CSS

    This is probably something simple I'm missing. I want to create a thin border using CSS that will go around images. But it needs to be able to resize as needed to the particular image. I can obviously create a border of a particular size, but is ther