How to remove leading zeros and leading blanks from numc
Hi experts,
i wanted to show personal number into my smartform..The field name is PERNR(8) which is of type N. But, in my smartform I get output as (000234)..if I use &pernr(Z)& leading zeros r removed but then the output is ( 234)..Now, I wanted to remove this leading space also...
please tell me the solution for this...
thanks
Hi Ujjwala,
You can use SHIFT.
DATA: V_CHAR(10) VALUE '00000'.
SHIFT V_CHAR LEFT DELETING LEADING '0'.
Regards,
Ramesh
*award the points if answer was helpful
Similar Messages
-
Removing leading zeros and leading blank spaces from an input field
Hi All,
I have an input field which is alphanumeric and i need to remove the leading zeros and blank spaces in it , but intermediate spaces should be kept .
so i used the UDF
String output = input.replaceFirst("^0+","");
return output;
but this code does not remove the leading blank spaces . Can anybody help in modifying this code so that even the leading blank spaces along with leading zeros can be removed .
Regards ,
Loveena .lets say input is a
then
int len = a.length();
for(int i;i< length;i++)
if(a.substring(0,1).equals(" ") || a.substring(0,1).equals("0"))
a = a.substring(1,len);
return a;
hope you got the logic so that you can enhance it better -
To remove leading zeroes and take directly from IDOC(Segment field) to file
Hi SapAll.
i have got a simple requirement in a idoc to file Interface.
here in a sender Idoc there will be one segment with one field,the requirement is to remove leading zeroes and take directly the data from this field and map to one of the field in reciever file structure.
i had used the formatnumber (under arithmatic functions)in PI 3.0 but now when iam using it in PI7.1 it was raising some jave exception error.
it would be preferable if any body can give me the solution without user defined functions.
regards.
Varma.from your first post:
i had used the formatnumber (under arithmatic functions)in PI 3.0 but now when iam using it in PI7.1 it was raising some jave exception error.
use the same formatting that you used in 3.0 .... try with just a # in the FormatNum function.
Regards,
Abhishek. -
How to Remove Custom Tracking and Leading
Hi, I am trying to edit a long document in InDesign which has already had a lot of custom tracking and leading applied to it in order to correct the "widows and orphans" in it. I want to remove all those custom changes in order to edit the text, and then reapply them as I reset the text in InDesign afterwards. Can someone tell me what is the easiest and quickest way of identifying and removing those custom changes (mainly tracking and leading) in InDesign?
I want to remove all those custom changes in order to edit the text, and then reapply them as I reset the text in InDesign afterwards. Can someone tell me what is the easiest and quickest way of identifying and removing those custom changes (mainly tracking and leading) in InDesign?
Well, assuming you want to reapply custom tracking & kerning manually, then
Find any character - ^? in the FInd window
Leave the "Change to" field blank and specify Kerning of Metrics and Tracking of 0 in the "Change Format" area -
How to remove Suspend ,Abort and some more from Bulk Actions
Hi
Does anybody have an idea as how to remove action such as Suspend,Abort but not all from Bulk actions in enterprise server.I am using 10.3.1 version.
Any kind of suggestion will be greatly appreciated.
RituWhat are you trying to accomplish here? By the sounds of it you want a way to be able to bulk abort, but not have the user be allowed to do this to individual instances...
If so, I'd recommend setting the activities to NOT be abortable or suspendable, and add a Grab activity in a support role. Then make the grab, be abortable. This makes it so that a 'super user' (ie one with support role), can go in, select several instances, grab them, then abort them but normal users can not.
Just a thought...
HTH
-Kevin -
How to remove all in and out points from extendscript code?
Hi,
I am creating a sequence from a clip from extendscript code to automateToSequence function.
But if there are some in and out points in the clip only the select clip part is converted as a sequence, what is the solution to remove all those in and out points from extendscript code, or to get the full clip to sequence even there are some in and out points.
I am using the function like this; qe.project.getItemAt(i).automateToSequence(seq,0,0,1,1);
Please suggest,
Thanks and Regards,
Anoop NRDouble click the pre-comp or nested comp, open comp settings from the menu or by using the keyboard shortcut Ctrl/Cmnd + k.
Note, changing the length of the comp will not extent the length of footage or layers inside the comp. You have to do that manually and it depends on your footage type. -
How to remove author name and/or date from blogsite summary
Hello,
Can someone please help me find how and where to remove the author name from the blogsite summary?
I don't want any author name listed, just the linked title of the blog post and the date posted.
Or, is it possible to have the linked title, with 50 words of article displayed, but no author name or date created?
Thank you very much in advance!Yes, thank you.
The site is still temporary: http://sculpturebythelakes.businesscatalyst.com/index.html
The "Latest News" box on the right hand column.
Ideally, I would like a linked post title, a return <BR> and then a set quantity of words below with "read more" following.
It seems there should be a template to edit, but I've gone through everything I can find in BC backend, and looked at every tutorial I can find (they are all very general, just getting started stuff) and can't figure it out.
Any help is greatly appreciated. -
How to remove a folder and some links from start-menu
Hi!
An application (Kaspersky Antivirus) is installed on quite
some Win2K-SP-Workstations by the Kaspersky Administration
Kit (with its own installer).
With this installation an entry to the start-menu is made
and this entry shall be removed by Zfd 3.2-SP3. I ran
through some tests with an application-object (run as secure
system user), which only intent was to remove this entry.
First I tried by "Distribution Options - Application Files"
to remove the folder "C:\Dokumente und Einstellungen\All
Users\Startmen\Programme\Kaspersky Anti-Virus 6.0 for
Windows Workstations". Then I tried a "Distribution Script"
with "RD /S /Q "C:\Dokumente und Einstellungen\All
Users\Startmen\Programme\Kaspersky Anti-Virus 6.0 for
Windows Workstations"", which also failed.
Do I miss something? Where could I check the results of
those tries to get a better feeling on what is going wrong
here?
Thanks in advance.
KarlWhen doing the job with an *.bat-file it works, when going
with the distribution script it does not. Are all the
windows/dos/batch commands available in the distribution
script option?
Karl
>>> Rolf Lidvall<[email protected]> 25.03.2009 11:37 >>>
>> Does that mean that, in case there are some files in
>that
>> folder, I have to delete those files first?
>
>Yes.
>
>> Can this whole
>> procedere be done by one app-object with keeping the
>order
>> like delete files first and then the folder as last
>thing?
>
>I think it's safest to do that with a script. I'd use the
>distribution
>script option.
>
>
>Regards
>Rolf Lidvall
>Swedish Radio (Ltd) -
How to remove bing toolbar and prevent it from searching for anything you type in the goto URL box
This isn't really a question, but I hope it will help some people. I had the bing toolbar appear at the top of firefox, and I tried every suggestion I found to delete it, in addition to ways I already knew. Nothing worked...until I searched through tools/options and found my home page had been changed. I simply changed it back to what it was before bing took over. Now everything is back to normal.
Yes I did. I reset Firefox and it cleared up the problem. It seems that I have to do a lot of resetting over the last 6 mos or so. In all the years that I have been using Firefox I have never had to reset Firefox. Lately I have to do it at least once a week or so.
-
Leading zeros are not carried from the pivot table to exported Excel (9927815)
Hello All -
I am just wondering if there is a fix available for -- Leading zeros are not carried from the pivot table to exported Excel (9927815)
can anybody suggest when it will be fixed and if there is any-workaround for this issue if there is no fix available.
Thanks
RamThanks Timo -
Studio Edition Version 11.1.1.2.0
About
Oracle JDeveloper 11g Release 1 11.1.1.2.0
Studio Edition Version 11.1.1.2.0
Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
Copyright © 1997, 2009 Oracle and/or its affiliates. All rights reserved.
IDE Version: 11.1.1.2.36.55.36
Product ID: oracle.jdeveloper
Product Version: 11.1.1.2.36.55.36
I will check on support.oracle.com -
How to remove Catalyst stylesheets and scripts
How do I stop BC from inserting stylesheets and scripts into my layouts? I have been working on catalog and product layouts and templates but BC continues to insert scripts & stylesheets that I do not want to include, particularly borders and margins.
I know about removing all code leaving it blank from the /StyleSheets/ModuleStyleSheets.css
But here is an example of a product large which includes a number of these which effect the layout
<link href="/StyleSheets/ModuleStyleSheets.css" type="text/css" rel="StyleSheet" />
<script type="text/javascript">var jslang='EN';</script>
<link rel="stylesheet" href="/CatalystStyles/Box.css" type="text/css" media="screen" />
<script type="text/javascript" src="/CatalystScripts/Java_OnlineShopping.js"></script>
<script type="text/javascript" src="/CatalystScripts/Java_Cookies.js"></script>
<script type="text/javascript" src="/CatalystScripts/Java_Box.js"></script>
Any suggestions would be greatly appreciatedWhile I don't recommend using the Cloud Service you are talking about to speed up the site (you can just combine and minify your styles and scripts for faster performance instead) I think your best bet is to copy the contents of ModuleStylesheets.css above the CSS rules in your main CSS file that styles your site. Then, delete all the CSS rules in ModuleStylesheets.css so that it's an empty file. BC will still render the ModuleStylesheets reference in the HEAD above your script but it will only be quick connection to the server to return 0kb (an empty file).
Since you moved your modulestylesheet css to your main css file (and it's referenced after the Cloud Service script) then you should be good to go.
Again, though I recommend not using that cloud service and just combine all your CSS and scripts into two files, one for all your CSS and one for all your js and then making sure all your images are optimized on the site and where there are instances of images that have a fixed width and height you can utilize sprite sheets so that a lot of your images are stored in a single image.
Another option is to pay for the super cheap Amazon S3 and upload your main css file and your single minified and combined javascript files to there and update your page template to reference the CSS and JS on Amazon S3 so it's essentially like a CDN which will speed things up as well. -
I got a new macbook pro and now I need to know how to remove the prior owners itunes id from my computer?
If you purchased a computer from another person, you need to wipe it clean. To do this, click on the link - Erasing disks securely
Depending on your model Macbook Pro...
Start up from your install disc, go to Disk Utility and select the disk and click erase - to securely erase data click Security Options and Erase Free Space which will entirely wipe your disk, overwriting it with zeros so that no data is recoverable. -
How to remove trailing zeros from a fraction part.
How to remove trailing zeros from fraction part, need standard API rather then some java code.
user8726363 wrote:
How to remove trailing zeros from fraction part, need standard API rather then some java code.I'm pretty sure we have all gathered that English is not your first language, but your question is not a good question in any language.
Back up. Take a deep breath.
Now - what's your problem ?
Please illustrate with results, and the code (just the class/method; not your entire application) that is causing them.
Winston -
Trying to update iPad mini. Old email continues to appear and can't authenticate. How to remove it totally and use my iCloud I.D.?
If you have any apps that were acquired with the old ID they will always be tied to that ID. Delete them and reacquire them with the new ID that you have in Settings > iTunes and App Store
-
How to padding the zeroes and space befoer sending from XI to R3 system.
Hi Experts,
How to padding the zeroes and space befoer sending any data from XI to R3 during mapping, how to write a java code to implement this logic, please help me with the coding or any other alternative.
thanks
dhanushto pad spaces you need to write a simple UDF
for right padding use the following
while( inputField.length() < Integer.parseInt(totalLength))
inputField = inputField + " ";
return inputField;
for left padding use the following
while( inputField.length() < Integer.parseInt(totalLength))
inputField = " " + inputField ;
return inputField;
Note:in the above examples <i>inputField</i> will be the input to UDF i.e. the sender field which you need to pad and send to receiver , and <i>totalLength</i> will be a constant i.e length of the field you want on receiver side after padding.
also i m not a Java expert so please check for syntax and semantics for code:) to me it looks correct
Thanx
Aamir
Message was edited by:
Aamir Suhail
Maybe you are looking for
-
Finding a PL/SQL developer
For those of you who have to select, or participate in selecting, PL/SQL developers, how do you know a really good one when you see him. I am not so much interested in ancillary skills like process modeling, data design, and so forth. I am only inter
-
How to setup pin for national or international calling on 3905 phones
Hi, I have this new project on CME along with IP phones 3905. I was just trying to find if there is any work around or scripts that i can use for calling national and International number using a pin. Any help in this regards will be appreciated.
-
Filtering the PR's in ERPTRANS queue
Hi, We are working on SRM integrated with ERP and the following has to be implemented: Select some items from the backend PR and create a SC in SRM from these items. This should be done as a batch process. The way we plan to implement this is create
-
G5 Power Mac won't boot past the white screen w/ the grey Apple logo
Ok trying this again. Thank you in advance for any help. My dual 2 gig proc power Mac froze during a movie. I shut it down restarted it but it hangs at the apple logo and the fans slowly build speed until it sounds like the box is take off for fligh
-
So I cannot tell if my ipad is backing up to iCloud or not. Forgive me, but I am just figuring all this out!