E-Rec: Create Requistion - *Text CUT*
Hi All,
Requistion request - content/text is getting CUT in Objectives, Competencies and Responsibilites after clicking on SAVE & SEND in Manager role via Mss.
Can any one share releated SAP note to rectify this - Text Cut.
Thanks,
Asha...
Hello Asha,
This you need to check from the Process and Form side, how you defined te fields and thir properties. I dont think we have any note in the Standard to correct this.
Best Regards,
Deepak..
Similar Messages
-
HOw to create a text file in the given path and delete it after the use?
Hi all,
I am trying to create a text file at the given path and delete the created file after the use.
I am using following code.:
import java.io.*;
// write binary data as characters
public class RanIO {
public static void main(String f[])
// First illustrate append
String lineSep = "\n";
try {
File temp= new File("C:/Ash","cute.txt");
boolean ch=temp.createNewFile();
if(ch)
System.out.println("file created");
else
System.out.println("file Not created");
//writing to file
/* PrintWriter p = new PrintWriter(new BufferedWriter(new FileWriter("cute.txt",true)));
p.print("Emp NO");
p.close();*/
// Open fileWriter in append mode
FileWriter fos = new FileWriter(temp, true);
BufferedWriter bw = new BufferedWriter(fos);
PrintWriter pw = new PrintWriter(fos);
double d=550;
// lineSep = System.getProperty("line.separator");
pw.print("Hello");
//pw.print( lineSep );
pw.print( d );
pw.close();
boolean det=temp.delete();
if(det)
System.out.println("File deleted");
else
System.out.println("File not deleted");
} catch (IOException ioe)
System.out.println( "Append IO error:" + ioe );
My problem:
1)
I am not able to write to the file. I want to know, where i am going wrong.
It is giving error message like
"Canot resolve Symbol: temp,"
But, FileWriter Constructor should accept a File type parameter.
here temp is a file parameter.
If i am not using file=new file();
i can't delete the file after the use. i.e if i use
PrintWriter p = new PrintWriter(new BufferedWriter(new FileWriter("cute.txt",true)));
how can i delete cute.txt after the use?
2)
I am not able to write to the text file. file is created but, a blank file.
"Hello" is not written into the text file.
can anyone help me in this regard
Thanks in advance
AshviniThank you Ram,
But, i want to create a text file in Append mode.
for that i used
FileWriter fos = new FileWriter(temp,true); But, it is not accepting FileWriter constructor in
this format. if i use
FileWriter fos = new
FileWriter("c:/ash/cute.txt",true); it works fine. !!!!!Here's the javadoc
public FileWriter(File file,
boolean append)
throws IOExceptionConstructs a FileWriter object given a File object. If the second argument is true, then bytes will be written to the end of the file rather than the beginning.
Parameters:
file - a File object to write to
append - if true, then bytes will be written to the end of the file rather than the beginning
Throws:
IOException - if the file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reason
Since:
1.4
Are you using jdk.13 or lower ?
>
ONe more doubt, Does flush method deletes a file?
if not, then i need to use
File temp=new File("c:/ash/cute.txt");
FileWriter fos = new FileWriter(temp,true); //which
is again a problem
if(temp.delete())
out.println("File is deleted");
}I don't know whether i am taking it wrong ! or
anything wrong with my coding ! but, after creating
and writing data into a text file. I must delete it
as it contains confidential informations.
Regards,
Thanks.'flush' writes to a file immediately. Else you should explicitly call 'flush' to write contents from buffer to underlying source.
javadoc again
PrintWriter
public PrintWriter(Writer out,
boolean autoFlush)Create a new PrintWriter.
Parameters:
out - A character-output stream
autoFlush - A boolean; if true, the println, printf, or format methods will flush the output buffer
cheers,
ram.
Question; What do you gain by opening a file, writing to it and deleting it in the same program ? -
How to create transparent text on a solid color background?
I want to create a transparent text on a solid color backround, and I need text transparency to go all the way to through the image (i.e. do not show the solid color background). I have the transparent background layer, the solid rectangle layer that occupies part of the image, and the text layer (with text element) on the top of the solid rectangle layer. How do I make text transparency to go all the way through? Here is a similar example for Photoshop CS, only in my case, the backround layer is transparent (i.e. there is no picture): http://www.photoshopessentials.com/photo-effects/transparent-text-area/. Basically, I need to make the letters see through, so they show the backround color on which the image will be placed. Is it possible to do in Photoshop Elements? I'm using version 9 on Windows 7. Thanks.
Thank you all for the suggestions, especially 99jon. 99jon's walktrhough is helpful, but I was hoping to find a workaround that would allow keeping transparent text that goes all the way through all other layers to transparent background as a text level, but once I flatten the image, I'd lose the text layer, so I cannot make any changes to it (like slightly change the font, size, style, face, etc). Let me clarify a bit what I'm trying to do to see if there is an even better option.
Say, I need to have a 300x300 pixel image that (forget about photos) consists of a solid-color circle (circle can be white, black, red, blue, or any solid color, or gradient, does not matter) on a transparent background, and inside of this circle I'd like to cut out a word (say, the word "TEST" with no bevels or other decoration, just flat font) all the way to the transparent background. I just need a circle with text cut out and showing around the circle and through the word "TEST". So if a circle is white and I place the image on a blue background, the word "TEST" would be in blue (so would be the area around the circle).
Is there a way to set it up to allow changing the color of the circle (say, from white to black, or blue, or red) and keep smooth edges of the text (and circle) blending with the background (i.e. avoid jagged edges) without redoing every color variation from scratch? Like, getting some master file which would define size and position of the elements,a s well as font, etc, and from this master file, use simple adjustments to change the color.
Ideally (in my dream world), there would be an option for the text element to be of transparent color that would go through all layers below it. But there must be a not too complex way to do this, right? -
Hi,
I am new to Motion. I have Motion 4 as part of the Final Cut Studio package. Hopefully, this is not too much of a newbie question:
I would like to create a 3D phone number that slides and rotates up in a commercial. I combed the web for tutorials. I watched one several times but the adding a camera part has me perplexed. I made a QuickTime movie of a Final Cut Pro project because the project has mattes that can't be sent to Motion. I opened the QT file in Motion 4. I added a camera, created the text and added a replicator. All good but when I go to slide and twist the text, the whole video imported from FCP moves. I want to keep the QT file in 2D and the text in 3D. I toggled the 3D/2D switch in Motion and couldn't ge it to work.
Do I need to assign the text to a separate group to animate in 3D? If yes, how do you do this? Is there a clearer tutorial that any of you know of that covers this?
Would appreciate any assistance as I am very much stuck!!!!
MikeMike,
Take a look at this tutorial to see if it helps.
Russ -
Creating synchronised text to music
What I want to do is quite simple to explain but possibly tricky to execute. I want to create synchronised text to match music exactly like you’d see on a karaoke video or a game like Singstar. eg
http://www.youtube.com/watch?v=NSXkVSwgiqQ
I have data files that contain the text / timecode information and I understand that Adobe After Effects can import things like XML . Assuming that I can parse the data so that it fits the Adobe format, does it sound like this might be feasible? In addition, if this is possible what’s the format / standard for this sort of process?
From my limited understanding, Adobe After Effects is the tool most likely do the job but if there is a better one in the Adobe suite or elsewhere (Final Cut?), I’d be interested in knowing this.-- applescript code start
set the_text to the clipboard
say the_text saving to choose file with prompt "OPEN AN already EXISTING .AIF FILE TO OVER WRITE (ERASE AND REPLACE)"
beep 2 -- sound indicATES FILE IS DONE.
say "file ready" as text
--notes
-- this is a shortcut from scriptgirl25 (a newbie)
--open script editor app. with a new script window. copy the above 4 lines into the window. (include these notes if you like.) save & name. RUN after there is text copied into the clipboard. The Mac writes about 7x faster than it takes to read out loud. Large blocks of text can take a few minutes to create. on my 1.67Ghz chip
--you must have an existing and erasable .aif file otherwise this short cut won't work.
--another shortcut if you have no .aif files.: create a blank textedit file . after you save it. change the ending to .aif instead of rtf. it seems to work
--oh yea. finally after creation of new .aif content open the file in itunes and convert the file into a mp3 using the itunes import settings. (Don't bother using more than 22khz.(like 32,44, or 48). Rename and make a duplicate of your .aif. Otherwise you will erase it with the next block of text. (there in lies the hazard of my shortcut) Repeat for the next block of copy.
--The script will work well if, you have set the system preferences and speech pane to the voice and speed you like. I use this vode to help make files for my visually handicapped and blind friends. I compress them in itunes and send them mp3's of interesting stuff in their wmails . "Ain't Apple great!! My blind friends applaud you's people!" -
Create hover text from mouse rollover with nav. menu
Howdy,
I'm using CS5 actionscript 2. I would like to create hovering text when one mouses over an item in the navigation window (please see pic). You know, something that would act like a brief abstract to give the user more info re: whether or not they need to click on that link.
At present, the nav_mc is linked to an xml doc FYI (the nav_mc accordians in and out, but doesn't have to). I input what I want the menu and submenu to say in the xml nodes and it shows up. It would be cool if the hover text added could also be xml driven too.
I am green to this so the more detail the better. Do I need to create a new xml doc? A new .swf? How do I link this? Should I use Flash Builder or Catalyst? I am happy to provide coding/docs of what I have to make things more clear.
Much Thanks!
kaveHi Kglad,
Thank you so much for taking the time to answer. I'm afraid I'm a bit of a newbie, would you mind fleshing your suggestions out a bit? sorry!
create a movieclip with a dynamic text, I'm not sure what this looks like (see pic) I made the green rec. a movie clip and created a dyn. text field...the movie clip and dyn. text are different things or one in the same?
assign the textfield an instance name (eg, tf) think I got this?
and assign the movieclip a linkage id. not sure what this might look like, do you mean an instance name? you can then attach your movieclip on rollover and assign the textfield's text and remove the movieclip on rollout. not sure what this looks like
you can enter the data used on each menu item's rollover wherever you like (including your xml). you just need to parse those data so each menu item is aware of its "tooltip" and can assign that to the attached movieclip's textfield. sorry, not sure hat this looks like either... the only menu item I have access to in the .fla is the lt. blue box you see in the upper left of pic. everything is generated in the xml...you probably gathered this, but just in case...
Thank you so much for your help!
kave -
Trying to create a text that is on fire or more like a hot branding iron
Trying to create a text that is on fire or more like a hot branding iron
Something like this?
That was from a project I did a few months ago. Sounds similar to what you want. I did that in After Effects.
Basically all I did was add a glow effect to the text and messed around with the glow parameters. The black smoke is animated and moves on the actual video and is basically some pre keyed smoke footage that I had. The smoke was originally gray but black looked cooler.
I'd say it's pretty close to your hot branding iron thing. -
How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word in the document. I am teacher. So for example when a student came to word he/she did not know, if he/she hovered the cursor over the word, a defintion or other information would appear. You can do this in Word using bookmarks/hyperlinks but I can't figure this out in Pages. I can link it to another point in my Pages document but I just need the text to pop up - not take the reader to another location. THANK YOU!!!!!!
Have you tried Word for Mac?
You will need to test if links survive export or printing to .pdf
Peter -
How to create a text tag that shows up in a file but not on the sceen.
I need some help, I'm a newbie with enough skill to be dangerous. If someone can point me in the right direction has to how to use the F keys to apply the tagging mentioned below and the direction of how to do the tagging and make the tag invisible
in a text editor but not the text file. That would be great. If you wish to show some code examples that's OK, but if not I can stumble through and learn while doing it from your directions on how to get it done.
I will start with an example of what I'm trying to do; using the old desktop pub program Ventura. They had (what I'm calling a tag) tags in from of ASCII text in a file to tell the program what it was and what to do with it, I. E.; "Title@this
is the title text" the next line could be "Body@this is body text". When loaded the "Title@" would not be there on the screen.
I'm trying to create some text that uses a similar concept but not for formatting of text like Ventura.
I want to be able to highlight some text in an editor and then have it place some sort of tag for the highlighted text so that I could use it to do something upon that text and only that text; in concept the text "Bob Brush was a painter." I would
highlight Bob Brush and somehow assign a tag that would be "name" and then highlight "painter" and be tagged with "job".
The text file would then have something in it to distinguish "Bob Brush" and "painter" as what each is name and job. (as a note I'm not trying to make a database or form just using this simplified concept to get my idea across
because I get to wordy).
Thanks in advance BK
blkHi bik,
>> how to use the F keys to apply the tagging mentioned below and the direction of how to do the tagging and make the tag invisible in a text editor but not the text file.
It is unclear to me. Like you mentioned F keys, how does it work for? And Could you show us some code with a simple sample or a capture? It could be better to help us understand more.
In addition, I found a related thread
Tag editing in a WPF TextBox. Not sure if it is useful for you. Thanks.
Have a nice day!
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to create a text object at runtime?
Hi,
I am using crystal reports for visual studio 2010 and using c# to programming.
I need to create a text object in a specific section like section 2. and also I need to control the text object's position and text.
I tried to move a object like:
reportDocument1.ReportDefinition.Sections[j].ReportObjects<i>.Left = 0x8760;
but object's position doesn't change at all.
How can I do these (create a text object and change a object postion)?
ThanksHi Don,
Thank you.
I have downloaded a RAS ( report application Server ) sample.
The sample uses the Business Objects Enterprise XI release 2. I am using win 7 and crystal reports for vs2010. Can I use this version of crystal reports to create a text object at runtime? If not, what is the lowest version I have to purchase to achieve what I want?
Basicly I need following capabilities at runtime:
1) craete text objects, line objects, image objects.
2) change text object, line object and image object positions, sizes, values of text object. If can I like to be able to change font as well.
3) supress objects, sections.
4) change section's height -
I would like to create a text field associated and linked to each photo in my iPhoto library so that I can more quickly retrieve photos. I would also like to have a field that describes what was taken for each photo that that information might be printed when printing a photo.
You can do what you want by printing the photos on a contact sheet. Add the keywords to the photos anb the description to the Description field in the Info tray at the right. Select the Contact list as the layout to print, select the no. of columns and, under settings, select Keywords and Description.
OT -
Is there a way to create standard text messages that can be reused easily
is there a way to create standard text messages that can be reused easily
if you meant phrases, then Yes
Setteings> general>keyboard> add new shortcut -
Hello all! I've been working from the FM book for almost 2 hrs trying to figure this out, so now I need your help. I am almost to this point:
Problem I: Importing a graphic
First of all, which is the best way?
-Insert an anchor frame and then import the graphic into the frame OR
-Just insert the graphic and get the anchor frame by default
Here’s my importing and sizing problem:
I hit ENTER to make a new paragraph line (side note: the book says make a new paragraph by hitting ENTER, import the graphic, and then ESC m+p to shrink wrap so that you can avoid the graphic overlapping the above text. I do exactly this (I believe), but my graphic still overlaps the above text when I shrink wrap. What the...?)
I insert an anchored frame with position Below Current Line and alignment CENTER (I chose to the insert anchor frame, since this way I have control over its alignment, correct?)
Anchor frame is selected when I import my image file
In the Imported Graphic Scaling box, what do I select if my file is HUGE (3072x2304)?
-Fit in selected rectangle (when I choose this the image imports small and fits in the anchored frame with lots of white space around it)
-72 dpi
-75 dpi
-150 dpi
-300 dpi
-Custom dpi: 96 (I’ve tried changing this to a smaller number (20) and I get a message that says “cannot handle a bitmap of that size.”)
I’ve had the best luck with selecting FIT IN SELECTED RECTANGLE, and then I just scale the image with my shift+click. If I choose 72 dpi or Custom, my image imports HUGE, and I just can’t manage it. I don’t have a method for resizing these images outside of FM.
Problem II: Creating a text frame for a caption
Once I have chosen FIT IN SELECTED RECTANGLE, I try to insert a text box underneath the image (and inside the anchor frame) to type a caption in it.
In Create New Text Frame box, the default is Number 1 and Gap 0.25. I click SET.
Next, I double-click inside the text frame to begin typing, but the cursor is OUTSIDE and UNDERNEATH the text frame! What the heck??? I’ve done this before and it has worked just fine. Then I had another problem where when I did get the text inside the text frame, I would select the text frame to move it, and it left the text behind! (I moved the frame but the text was separated from it and left behind.)
THANK YOU in advance for your help. I hope I wrote this out clearly enough. I appreciate those who respond. P.S. I'm in FM 10.My favorite method is to use a one-cell table for graphics and captions.
Import the graphic by reference into the table cell. Create a "Caption"
paragraph tag and assign it to the table title. (The title can be set
for above or below the table cell. I prefer below.) Now, whenever you
insert this table, it will be ready for graphic and caption. Another
advantage of this method is that graphic and caption always stay
together at page/column breaks.
When you create the table format above, assign it to have a -2.0 space
above. Then, create a paragraph tag, such as "TableAnchor" and assign it
-2.0 pt font size and -2.0 space below. (You can substitute a different
point size, but it must be the same in all three places. The TableAnchor
paragraph will hold the table and these settings let tables fit against
the top margin where necessary. Otherwise, they dip down a bit.
I wrote this from memory, so I hope I remembered all the steps! -
How to create long text in production order?
Hi,
i have found that i could only change long text in the
production order by 'SAVE_TEXT'.
but i want to create long text and any advice?DATA:TEXT_HEADER LIKE THEAD.
DATA:TEXT_LINES LIKE TLINE OCCURS 0 WITH HEADER LINE.
data: t_ponum like BAPI_ORDER_KEY-ORDER_NUMBER.
t_ponum = '000040000068'.
TEXT_HEADER-TDID ='KOPF'.
TEXT_HEADER-TDOBJECT = 'AUFK'.
TEXT_HEADER-TDSPRAS = sy-LANGU .
CONCATENATE SY-MANDT t_ponum INTO TEXT_HEADER-TDNAME.
clear text_lines.
refresh text_lines.
text_lines-TDFORMAT = '*'.
text_lines-TDLINE = '12567'.
append text_lines.
text_lines-TDFORMAT = '*'.
text_lines-TDLINE = 'lg'.
append text_lines.
text_lines-TDFORMAT = '*'.
text_lines-TDLINE = 'prh'.
append text_lines.
text_lines-TDFORMAT = '*'.
text_lines-TDLINE = 'ueue'.
append text_lines.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = TEXT_HEADER-TDID
FLANGUAGE = sy-LANGU
FNAME = TEXT_HEADER-TDNAME
FOBJECT = TEXT_HEADER-TDOBJECT
SAVE_DIRECT = 'X'
FFORMAT = '*'
TABLES
FLINES = text_lines
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = TEXT_HEADER
INSERT = ' '
SAVEMODE_DIRECT = 'X'
TABLES
LINES = text_lines.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
OBJECT = TEXT_HEADER-TDOBJECT
NAME = TEXT_HEADER-TDNAME
ID = TEXT_HEADER-TDID
LANGUAGE = sy-LANGU
SAVEMODE_DIRECT = 'X'. -
Can I create a short cut on the home screen to accessibility settings on an ipad
Hi, have a partially sighted sister who uses an iPad, is there an easy way for her to switch between voice over on/off and white on black? without having to go into settings and then scroll down to the appropriate menu
thanksPatrick Duncan wrote:
Can I create a short cut on the home screen to accessibility settings on an ipad
Patrick ~ Yes, see this post:
Shortcut to Bluetooth Settings
...For quick access to Accessibility settings, set up the shortcut icon with this URL(Homepage) — case sensitive:
prefs:root=General&path=ACCESSIBILITY
Maybe you are looking for
-
Hard drive and Battery related issues.
During the start up it shows the message to run the hard drive test and also shows the message that chances of imminent failure of hard drive and my batty backup is also too low.
-
Hi Guys, I am Looking for a Cash Book Report from sap b1. I have tried using the General Ledger Report but i need it as Column wise. and i have searched for ' 'XL-CashBook.ixr' but i didnt find this file. If i have 3 Accounts i need it to display it
-
Arabic font from photoshop to FCP
I've got Arabic fonts on Adobe Photoshop and would like to use them to type then transfer the image to FCP. Except when i type in Photoshop, it types in English instead of Arabic. Although the font selected is in Arabic. Help please.
-
IPhoto thumbnails are to small
Aweek or so ago my thumbnails in iphoto became very small to hard to ID there are 15 per line
-
Dump error: Dynpro does not exist while in transaction me41 / me31k
Hi Experts I am experiencing dump while attempting to create rfq/contract. Error analysis The system attempted to use dynpro 0301 in program "SAPLXM06". This dynpro does not exist. Trigger Location of Runtime Error Program