A little hlp needed
Hello,
I have an Iphone, old white 60g and a small Nano.
My laptop crashed the other day which required me to wipe XP completely. I have now put everything back on but of course Itunes was wiped too.
I put the Nano in and it says its attached to a different PC. How do I download all my files back onto my Itunes in the computer? Help I have so many songs and dont want to leave them.
1). Connect your iPod to your computer. When you get the message that it is linked to a different library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all the songs from your iPod.
Alternatively open iTunes first and go to Edit>Preferences>Devices and check the box "Disable automatic syncing for iPhones and iPods" and choose Ok. Then connect your iPod.
2). When your iPod appears in the iTunes source list change the update setting to manual, that will let you continue to use your iPod without the risk of accidentally erasing it. Check the "manually manage music and videos" box in Summary then press the Apply button. Also when using most of the utilities listed below your iPod needs to be enabled for disc use, changing to manual update will do this by default: Managing content manually on iPod and iPhone
3). Once you are connected and your iPod is safely in manual mode there are a few things you can do to restore your iTunes from the iPod. iTunes will only give you the option to copy your iTunes Store purchases directly from an iPod to the computer, you'll find details in this article: Copying iTunes Store purchases from your iPod or iPhone to a computer
For everything else (music from CDs, other downloads etc) there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. You'll find that they have varying degrees of functionality and some will transfer movies, videos, photos, podcasts and games as well. You can read reviews and comparisons of some of them here:
Wired News - Rescue Your Stranded Tunes
Comparison of iPod managers
A selection of iPod to iTunes utilities:
TuneJack Windows Only (iPhone and iPod Touch compatible)
SharePod Windows Only (iPhone and iPod Touch compatible)
iPod2PC Windows Only
iDump Windows Only
YamiPod Mac and Windows
iPod Music Liberator Mac & Windows
Floola Mac & Windows
iPodRip Mac & Windows (iPhone and iPod Touch compatible)
iPod Music Liberator Mac & Windows (iPhone and iPod Touch compatible)
Music Rescue Mac & Windows (iPhone and iPod Touch compatible)
iGadget Mac & Windows (iPhone and iPod Touch compatible)
iRepo Mac & Windows (iPhone and iPod Touch compatible)
iPod Access Mac & Windows (iPhone and iPod Touch compatible)
TouchCopy Mac & Windows (iPhone and iPod Touch compatible)
There's also a manual method of copying songs from your iPod to a Mac or PC. The procedure is a bit involved and won't recover playlists but if you're interested it's available on page 2 at this link: Copying Content from your iPod to your Computer - The Definitive Guide
4). Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync.
5). I would also advise that you get yourself an external hard drive and back your stuff up, relying on an iPod as your sole backup is not a good idea and external drives are comparatively inexpensive these days, you can get loads of storage for a reasonable outlay: Back up your iTunes library by copying to an external hard drive
Similar Messages
-
A little help needed in message mapping
a little help needed in message mapping
I have to map one of the idoc header segments as many times as it occurs to each Idoc when using the split message funcionality
let us say we have the segment seg1 and there is a QUALF in it
<seg1>
<qualf>001</qualf>
</seg1>
<seg1>
<qualf>002</qualf>
</seg1>
then we use the vbeln to split the idoc into 2.
so if we have
<vbeln> 1 </vbeln>
and
<vbeln>2 </vbeln>
then 2 Idocs should be created like this
<Idoc>
<vbeln> 1 </vbeln>
<seg1>
<qualf>001</qualf>
</seg1>
<seg1>
<qualf>002</qualf>
</seg1>
</Idoc>
<Idoc>
<vbeln> 2 </vbeln>
<seg1>
<qualf>001</qualf>
</seg1>
<seg1>
<qualf>002</qualf>
</seg1>
</Idoc>
it is easy to create the segment by using createif with the QUALF field but my problem how to map the qualf twice for each idoc
Thanks.UseOneAsMany is the function you need to use.
It takes three parameters:
1 --- The node you want to duplicated
2 --- How many times you want to duplicated
3 --- The context you want to place for it.
Regards
Liang -
Little help needed on utl_file
Hi
I am trying to write a small stored procedure for recording some information to a text file, and I need a little help. However, beforehand, let me give you what I have done:
procedure create_record (order_id IN VARCHAR2) IS
l_dir VARCHAR2(10) 'c:/orders';
l_filename VARCHAR2(25) := 'orderlist';
l_datetime DATE := sysdate;
l_output utl_file.file_type;
begin
l_output := utl_file.fopen(l_dir, l_filename, 'w');
if !utl_file.fopen(l_output) THEN
utl_file.put_line(l_output, l_datetime || order_id);
utl_file.fclose(l_output);
else
utl_file.fclose(l_output);
l_output := utl_file.fopen(l_dir, l_filename, 'a');
end if;
end;
Now for questions, firstly, I am not entirely sure that the if statement for checking to see if an existing text file exists is the correct way, and would welcome some help on this, and correction.
Secondly, I need to add a second statement to the if, which if the file exists and the date on that file is the same as the system date, then to open and append some information to it, else create a new file.
Unfortunately, for me, I am not sure how to do this.
Can anyone show me how this can be done?
ThanksHope you can read my coding correctly.
ps: not tested
DECLARE
myFileExist BOOLEAN;
myFileLength NUMBER;
myFileBlockSize BINARY_INTEGER;
myText VARCHAR2(1000):= NULL;
myInstr NUMBER;
l_dir VARCHAR2(10) 'c:/orders';
l_filename VARCHAR2(25) := 'orderlist';
l_datetime DATE := trunc(sysdate);
l_output utl_file.file_type;
BEGIN
utl_file.fgetattr(l_dir, l_filename, myFileExist, myFileLength, myFileBlockSize);
if not myFileExist then -- file not exist
<ul>l_output := utl_file.fopen(l_dir, l_filename, 'w');
utl_file.put_line(l_output, l_datetime || order_id);</ul>
else --file exist
<ul>
l_output := utl_file.fopen(l_dir, l_filename, 'r');
LOOP
<ul>
--------------------------------------------------------------------start loop
UTL_FILE.GET_LINE(l_output,myText) ;
SELECT instr(UPPER(myText),UPPER(trunc(SYSDATE))) into myInstr FROM dual;
IF myText IS NULL THEN
<ul>
EXIT;
</ul>
END IF;
if myInstr > 0 then
<ul>
utl_file.fclose(l_output);
l_output := utl_file.fopen(l_dir, l_filename, 'a');
</ul>
else
<ul>
utl_file.fclose(l_output);
l_filename:='newfilename';
l_output := utl_file.fopen(l_dir, l_filename, 'w');
</ul>
end if;
--------------------------------------------------------------------end loop
</ul>
END loop;
utl_file.put_line(l_output, l_datetime || order_id);
</ul>
end if;
utl_file.fclose(l_output);
END;
Edited by: Lie Ching Te on 12-Feb-2010 12:34 PM
Edited by: Lie Ching Te on 12-Feb-2010 1:01 PM -
A little help needed with Dijkstra's algorithim
Hi I'm trying to implement Dijkstra's algorithm. I have a class GraphMaker
which creates the graph, and is the main console. And then a second class for Dijkstra's algorithm. Overall it works alright but, I can't to figure out how to get it to find the shortest path for all the cities.
Here's a sample output:
BOSTON To NEW YORK: Cost of: 22 MIAMI: Cost of: 122
NEW YORK To MIAMI: Cost of: 50 HONOLULU : Cost of: 422
DETROIT To CHICAGO: Cost of: 22 PHOENIX: Cost of: 62
MIAMI To HONOLULU : Cost of: 402
CHICAGO To
PHOENIX To
HONOLULU To DETROIT: Cost of: 302 PHOENIX: Cost of: 102
[BOSTON ----> ]
[BOSTON ----> , NEW YORK------>]
[BOSTON ----> , NEW YORK------>, HAWAII------>, DETROIT------>]
[BOSTON ----> , NEW YORK------>, MIAMI------>]
[BOSTON ----> , NEW YORK------>, HAWAII------>,CHICAGO------>]
[BOSTON ----> , NEW YORK------>, HAWAII------>, PHOENIX------>]
[BOSTON ----> , NEW YORK------>, HAWAII------>]
I know its not the most efficient looking output, I'm intermediate coder at best. But at the top you have 7 cities from BOSTON to HONOLULU, and the cities they connect to. Where I'm really having the problem is at the bottom part. It shows the shortest paths from Boston to other the cities. But I want it show not only the shortest paths from Boston but also the shortest paths from the other cities, to their destination.
Here's my code:
The GraphMaker Class:
public class GraphMaker {
private int [][] edges; // The adjacency matrix
private Object [] Cities; // Cities
public static int count;
public GraphMaker (int n) {
edges = new int [n][n];
Cities = new Object[n];
public int GetSize()
return Cities.length;
public void SetCities (int vertex, Object label)
Cities[vertex]=label;
public Object GetCities (int vertex)
return Cities[vertex];
public void AddEdge (int source, int target, int w)
edges[source][target] = w;
public boolean IsEdge (int source, int target)
return edges[source][target]>0;
public void RemoveEdge (int source, int target)
edges[source][target] = 0;
public int GetWeight (int source, int target)
return edges[source][target];
public int [] Neighbors (int vertex) {
count = 0;
for (int i=0; i<edges[vertex].length; i++) {
if (edges[vertex]>0) count++;
final int[]answer= new int[count];
count = 0;
for (int i=0; i<edges[vertex].length; i++) {
if (edges[vertex][i]>0) answer[count++]=i;
return answer;
public void print () {
for (int j=0; j<edges.length; j++) {
System.out.print (Cities[j]+" To ");
for (int i=0; i<edges[j].length; i++) {
if (edges[j][i]>0) System.out.print (Cities[i]+": Cost of: " +
" " + edges[j][i]+" ");
System.out.println (" ");
public static void main (String args[]) {
GraphMaker t = new GraphMaker (7);
t.SetCities (0, "BOSTON");
t.SetCities(1, "NEW YORK");
t.SetCities (2, "DETROIT");
t.SetCities (3, "MIAMI");
t.SetCities (4, "CHICAGO");
t.SetCities (5, "PHOENIX");
t.SetCities (6, "HAWAII");
t.AddEdge (0,1,22);
t.AddEdge (1,6,422);
t.AddEdge (0,3,122);
t.AddEdge (2,4,22);
t.AddEdge (2,5,62);
t.AddEdge (6,5,102);
t.AddEdge (3,6,402);
t.AddEdge (6,2,302);
t.AddEdge (1,3,50);
t.print();
final int [] pred = Dijkstra.dijkstra (t, 0);
for (int n=0; n<7; n++) {
Dijkstra.PrintPath (t, pred, 0, n);
And my Dijkstra class
import java.util.LinkedList;
public class Dijkstra {
public static int [] dijkstra (GraphMaker G, int s) {
final int [] dist = new int [G.GetSize()]; // shortest known distance from "s"
final int [] pred = new int [G.GetSize()]; // the node that preceeds it in the path
final boolean [] visited = new boolean [G.GetSize()]; // all false initially
for (int i=0; i<dist.length; i++) {
dist[i] = Integer.MAX_VALUE;
dist[s] = 0;
for (int i=0; i<dist.length; i++) {
final int next = SmallestVertex (dist, visited);
visited[next] = true;
final int [] n = G.Neighbors (next);
for (int j=0; j<n.length; j++) {
final int v = n[j];
final int d = dist[next] + G.GetWeight(next,v);
if (dist[v] > d) {
dist[v] = d;
pred[v] = next;
return pred;
private static int SmallestVertex (int [] dist, boolean [] v) {
int x = Integer.MAX_VALUE;
int y = -1;
for (int i=0; i<dist.length; i++) {
if (!v[i] && dist<x) {y=i; x=dist[i];}
return y;
public static void PrintPath (GraphMaker G, int [] pred, int s, int e) {
final LinkedList path = new LinkedList();
int x = e;
while (x!=s) {
path.add (0, G.GetCities(x) + "------>");
x = pred[x];
path.add (0, G.GetCities(s) + " ----> ");
System.out.println (path);These are the actual results I get.:
BOSTON To NEW YORK: Cost of: 22 MIAMI: Cost of: 122
NEW YORK To MIAMI: Cost of: 50 HONOLULU : Cost of: 422
DETROIT To CHICAGO: Cost of: 22 PHOENIX: Cost of: 62
MIAMI To HONOLULU : Cost of: 402
CHICAGO To
PHOENIX To
HONOLULU To DETROIT: Cost of: 302 PHOENIX: Cost of: 102
[BOSTON ----> ]
[BOSTON ----> , NEW YORK------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>, DETROIT------>]
[BOSTON ----> , NEW YORK------>, MIAMI------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>,CHICAGO------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>, PHOENIX------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>]
BOSTON To NEW YORK: Cost of: 22 MIAMI: Cost of: 122
NEW YORK To MIAMI: Cost of: 50 HONOLULU : Cost of: 422
DETROIT To CHICAGO: Cost of: 22 PHOENIX: Cost of: 62
MIAMI To HONOLULU : Cost of: 402
CHICAGO To
PHOENIX To
HONOLULU To DETROIT: Cost of: 302 PHOENIX: Cost of: 102
^
^
^
This part is what I expected I'm fine with that.
[BOSTON ----> ]
[BOSTON ----> , NEW YORK------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>, DETROIT------>]
[BOSTON ----> , NEW YORK------>, MIAMI------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>,CHICAGO------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>, PHOENIX------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>]
^
^
^
This is where I'm having the problem, it shows the shortest paths from Boston to other cities,which fine right there those are accurate, but I also need it to show the same for the other cities
for example something this:
[NEW YORK----> ]
[NEW YORK ----> , MIAMI------>]
[NEW YORK ----> , NEW YORK------>, HAWAII------>, DETROIT------>]
[NEW YORK ----> , NEW YORK------>, MIAMI------>]
[NEW YORK ----> , NEW YORK------>, HAWAII------>,CHICAGO------>]
[NEW YORK----> , HONOLULU------>]
This would be the results from New York to other cities, although the actual routes for NY would probably be a little different. It would also do the same all the other cites
like DETROIT
[DETROIT ----> ]
[DETROIT ----> , CHICAGO------>]
[DETROIT ----> , CHICAGO------>, HAWAII------>,]
[DETROIT ----> , NEW YORK------>]
[DETROIT ----> ,CHICAGO------>]
[DETROIT ----> , HONOLULU------>]
It should produce a overall chart similar to this:
BOSTON ----> ]
[BOSTON ----> , NEW YORK------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>, DETROIT------>]
[BOSTON ----> , NEW YORK------>, MIAMI------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>,CHICAGO------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>, PHOENIX------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>]
[NEW YORK----> ]
[NEW YORK ----> , MIAMI------>]
[NEW YORK ----> , NEW YORK------>, HAWAII------>, DETROIT------>]
[NEW YORK ----> , NEW YORK------>, MIAMI------>]
[NEW YORK ----> , NEW YORK------>, HAWAII------>,CHICAGO------>]
[NEW YORK----> , HONOLULU------>]
[DETROIT ----> ]
[DETROIT ----> , CHICAGO------>]
[DETROIT ----> , CHICAGO------>, HAWAII------>,]
[DETROIT ----> , NEW YORK------>]
[DETROIT ----> ,CHICAGO------>]
[DETROIT ----> , HONOLULU------>]
and so on for the other cities
Hopefully makes it a little clearer -
A little help needed on divs etc
ok this is my first time building a site using dw tbh and im still getting to grips with it and learning new code etc as i go.
Ive been asked to design a site for a friend of mines escort business lol kinky i know.
But im having a few probs aligning things properly, here is the site http://www.oldskoolbeats.com/rach (using temp domain until i find other hosting)
the main page is ok as it is i think .. ?
the aboutus.php page is where im getting a bit stuck i cant seem to get anything in the centre as im wanting to put images down the middle.
(btw text size is a little diff as it needs changing anyways as its off an older site)
if anyone can help that will be great.Looking at the code on the aboutus page.
You have links to 2 stylesheets:
<link href="default.css" rel="stylesheet" type="text/css" />
<link href="/default.css" rel="stylesheet" type="text/css" />
The above link is probably the one that shouldn't be there.
You have 2 instances where you use id=pagewrap
<div id="pagewrap">
<div id="left">
and again here:
<div id="pagewrap">
<div id="right">
An ID can only be used once per page.
I'm assuming that the pagewrap rule is supposed to center all of your page corect?
In that case, you need to remove both of the pagewrap divs
and only insert one div and that encloses all of the content
Like so:
<body>
<div id="pagewrap">
<div id="topnav"><div id="menu-wrap">
the rest of the code here
then at the bottom of the page:
</div> <!-- / pagewrap -->
</body>
</html>
As for the top banner image, there is just too much banding on the actual body of the 'model',
particularly on her backend. Did you try and over optimise the image to make
the file size smaller possibly - but this has only degraded the image quality quite a lot by doing so. -
Little App needs a lotta memory... plz help me debugging
Greetings.
I have programmed a little POP3-Checker in Java, using the JavaMail-API and the SysTray4Java-API. The programm is small, 112 KBytes, but running it needs 21 MB of Memory, the TaskManager says.
That's way too high, he? At first the Program needed between 19MB and 300 Kb Memory, that changed from time to time (most of the time it was at about 4Kb). But after I kept programming a little, it now needs 21MB ALL THE TIME.
So my question to you all is: Why could that happen, is this normal? How could I debug this, means how to find out what exactly needs this amount of memory? Is the GarbageCollector sleeping? (I'm not explicitly calling it in my app)
Advices would be appreciated!
Thanks ;),
AntiBitThanx, I will try that.
But I notied something really weird...
I started my App as an Executable-JAR, like I normally do. Like I said before, process "javaw.exe" at first needs 19.000 KB of memory, and after 10 min's, it still needs 19.000KB.
But when I manually run java ProgName in a DOS-prompt, the process "java.exe" at first needs 19.000 KB, like javaw.exe does -
after 10 minutes it only needs 240 KB (!!). So here it's like it should be.
So what's the difference between running the jar and manually running the programm? Why doesn't javaw.exe decrease it's memory-use, but java.exe does?
????!!!???? -
7th gen Pod nano black screen due to a little sweat, need fixed
Need a fix for 7th gen ipod nano that went dead, black screen, due to little sweat ? These units are supposed to be decent enough for some activity. No one in Cancun Mexico will fix it for me , I went to apple store in Cancun and they said they won't do anything for me. Not impressed with this product, far to sensitive.
Hi shannons923,
Thanks for using Apple Support Communities. This article has some steps that may help, and additional information if the issue persists:
iPod won't turn on
http://support.apple.com/kb/ts1383
Although the image is for an iPod classic, the steps also apply to your iPod nano (7th generation).
Cheers,
- Ari -
A little help needed with AppleScript
Hi:
I need a little help with AppleScript.
I created an AppleScript application to copy some files to a LAN disk that I always have mounted. The application works fine, except that it creates some sort of a lock that prevents me from doing other work with the Finder until the copy process is completed.
If anyone has any ideas for how I can disable this lock, please let me know. I have included the source code of my script below.
Thanks,
-AstraPoint
===== source code =====
with timeout of 1500 seconds
tell application "Finder"
activate
set current_date to (do shell script "date '+%Y-%m-%d at %H-%M-%S'") as string
set name_p to "Personal Data " & current_date & ".dmg"
set name_d to "Documents " & current_date & ".dmg"
(* copy the target files to another local disk - to create an extra backup *)
duplicate file "Personal Data.dmg" of folder "File Backups" of disk "Macintosh HD" to folder "Ad Hoc Backups" of disk "Macintosh HDx" replacing yes
set the name of file "Personal Data.dmg" of folder "Ad Hoc Backups" of disk "Macintosh HDx" to name_p
duplicate file "Documents.dmg" of folder "File Backups" of disk "Macintosh HD" to folder "Ad Hoc Backups" of disk "Macintosh HDx" replacing yes
set the name of file "Documents.dmg" of folder "Ad Hoc Backups" of disk "Macintosh HDx" to name_d
(* mount remote disk/folder using the alias file on our desktop *)
open alias file "disk HD5"
(* copy the target files to a remote disk - to create an extra backup *)
duplicate file name_p of folder "Ad Hoc Backups" of disk "Macintosh HDx" to folder "Bkup" of disk "HD5" replacing yes
duplicate file name_d of folder "Ad Hoc Backups" of disk "Macintosh HDx" to folder "Bkup" of disk "HD5" replacing yes
end tell
end timeoutTry:
ignoring application responses
Documented [here|http://developer.apple.com/library/mac/#documentation/AppleScript/Concept ual/AppleScriptLangGuide/reference/ASLRcontrolstatements.html].
Message was edited by: xnav -
I have a 2 and a half hour project on PPro CS 5.5 that I want to encode in H.264 Blu-Ray. I want to get it to 15 GB.
What woud be the best settings to do so?
The Target Bit Rate and Max Bit Rate have a lot to do with it, but I am a little confused on what each of them really do.
I just want to get it to 15 GB and make sure the Estimated file size somewhat accurate.
Is 15 GB too big for a Blu-Ray?
Thanks in advance
PPro CS 5.5
Media Encoder 5.5.
Thanks in advanceHi Jeff,
I just started to build just my menus with my QT files inside of them as a "Build to Folder."
I think I know why it's saying 7.1 GB used.
Since the menus in Encore stop and loop after 30 seconds, I did not like that.
I like to play a full song on each menu and then when the song ends, it starts again. If I did that on a standard 30 second menu in Encore, the song would stop every 30 seconds and start again. This was not acceptable to me.
This does not happen in DVD Studio Pro. In DVD Studio Pro, I can put in a full song with Videos in Video Zones, change the loop time to the length of that song, and the menu would play that song, and loop again when it was over.
I wanted to do this in Encore, so I had to make the menus a little longer than the song I wanted to put in them. I did that.
1) I went into After Effects with the background of the menu I wanted to use.
2) It comes in as a .psd file.
3) I then stretched it out to a length a little longer than the song. (For exaample, I'm using a song that is 4 minutes and 50 seconds, so I stretched out the background of that menu to 5 Minutes.)
4) I then rendered out that newly made 5 minute menu out of After Effects, using H.264 1440 x 1080i, 29.97 High Quality.
5) I then brought that newly made 5 minute background back into Encore and placed it over the original 30 second background in Encore.
6) Now the song and the videos inside the "Video Drop Zones" will loop until the song is over, stop, then the song will start again and the videos keep on looping. Just like in DVD Studio Pro
For this particular job I did this 6 times (1 for each sub-menu) depending on the length of the song I am using for each menu.
1) The first sub-menu is a 5 minute menu which, when rendered in After Effects, came out to be 1.5 GB Big
2) The second menu is a 4 minute menu which came out to be 1.2 GB
3) The third is a 4 and a half minute menu which is 1.35 GB
4) The fourth is a 3 and a half minute menu which is 1.05 GB
5) The fifth menu is another 4 minute menu which is 1.2.GB
6) The sixth menu is a 7 minute menu which is 2.1 GB.
When you add them up it actually comes out to be 8.4 GB just the menus without any videos in them.
So Encore has already compressed them down a little.
It's not the videos that are taking up much space, but these menus.
Since I am building my job in Encore to a folder, I want to see what the actual size comes out to be after it's compressd. This will give me an idea of how big I can make my 2 and a half hour wedding. The Target and Max Bit rate.
I hope that sheds some light on why Encore is saying that the menus and QT files are taking up 7.1 GB already.
I wish there was another way that I can have my menus play for the length of any song without having to go into After Effects and stretch each menu to accomodate the length of a particular song. This takes up a lot of space, but it's the way I like to make my menus.
Thanks again -
Functional hlp needed...
hi frnds i m having an interview can anyone hlp me to know why we develop following reports i mean what is requrement
·----> a report which facilitatesMaterial document list as per given receiving plant,
receiving storage location , Movement type and document date.
·-----> a report to know the PR for stock transfer item category between supplying and receiving plant..Hi Koushik,
For your first requirement u can use Transaction MB5B. It gives the material document list per movmt type, doc date,plant and storage location.
This report gives us the total receipt quantities and Total issue qty, By giving the date selection we will know how much material was recieved and issued during that particular period and what are all the movements happened. And it also list down the material documents created.
Reward if u find this useful.
regards
Anand.C -
SDTM Maintenance cycle - little help needed
Hi all
I am following the blogs of Dolores Correa (thank you for the blogs) and I have become a little stuck - I am hoping you can help me out.
I have created an SDTM (test message) during my Test Phase. In the blog there is a way to assign the project for the test phase (and therefore the MC) - I cannot find where to do this, how do I assign my test message to the correct maintenance cycle?
Many thanks
MarinaPerhaps I am thinking this is more complicated than it is .... if I only have 1 maintenance cycle does the test message get automatically assigned to that maintenance cycle? and only if I have multiple maintenance cycles do I have to assign a cycle??
I guess that there is also no way to have a test message associated with a particular change request - that would be helpful because then the developer would know what the test message is in relation to, but I can't see a way of connecting a SDTM to a SDMJ.
Any ideas or musings are welcome -
A little help needed???
Hi all... Extreme Newb here.... I have been dragged into the
scary world of flash kicking and screaming all the way.. I am
photoshop junkie that has been brought into a website makeover for
a friend.. I need help creating a page that works very similar to
this link
http://www.yamaha-motor.com/sport/products/modelinnovation/6/0/innovation.aspx
{not sure if the rules of this fourm allow for link examples I am
sorry if they are frowned on} thought it would be the quickest way
to explain what I am after...
I am looking to create a simple action when the mouse rolls
over a hot square... I need for a seperate image to appear on the
stage with a bit of text and on rollout disappear.. It all seems
simple enough but I can't find any info on this either in book form
or web help.... Any suggestion or help would be greatly
appreciated..
Thanks inadvance!!!
FrostbyteA very simple, no code, method for showing something on a
rollover event is to use a button symbol. Create a new button
symbol. This will open the editor. If you look at the timeline for
the button, you'll see that there are only four frames available.
In the existing layer, draw the target that you want to use to
trigger the rollover. If you are using text or an open object, to
to the last frame and add a new keyframe. Draw a filled object to
cover the whole target image. What you draw in the last frame is
the area that will define the hit target of the button.
Add a new layer. and place a keyframe in the second frame of
this new layer. Add another keyframe to the third fram of this
layer. Use the space in the second frame of this second layer for
the content that you want to show when the target is rolled over.
The cross hair at the center of the window will be the
registration point for the button, place the rollover content so
that it appears in the location that you want.
That should get you started. -
A little stuck, need help =)
Hey all, Im fairly new here and new to Java as well. I just started college this month and am moving along quite well but I kinda wrote myself into a wall if you will. I just finished writing a program to calculate commission based on some data the user inputs and have just found out that I need to output the total commissions they entered as well as the total value of the sales they entered. Well ive got the program written and now I need to figure out how to squeeze in a list. Ive attached my code so you guys can have a look. Any assistance is very much appreciated and I thank you in advance for any help you can give.
Thanks all,
Halfzipp
Brad.B
P.S. - I apologize if its a bit ugly as again I am a total noob to java.. well.. Ive got about 3 weeks of experience with it so far but thats only 2, 3 hour classes a week.. not enough imo but thats another story.. anyways, i digress, so here ya go.
// imports
import javax.swing.*;
import java.awt.*;
import java.io.*;
import java.util.*;
import java.text.*;
// class
public class JavaAssignment3
// main method
public static void main(String[] args)
//declare variables
char commissionRateCode, continueCode1;
double commission;
double salePrice = 0.0;
double commissionRate = 0.0;
String commissionRateCode1; // user must choose either R, M or C
String salePrice1, commission1, continueCodeString;
boolean commissionRateCheck = true;
boolean continueCode = true;
boolean enterSalePrice = true;
// create new scanner class to capture keyboard input
Scanner keyboard = new Scanner(System.in);
// display program title
System.out.println("\t\t\t|#| Brad Bass |#|\n");
System.out.println("\t |#| Real Estate Commission Calculator |#|\n\n");
// create while loop to take user back to price
// input if they wish to calculate more commissions
while (continueCode == true)
/** //This is what screwed everything for me..
//First, not having these 2 variables at all
//and then Second, putting them here, Lol
enterSalePrice = true;
commissionRateCheck = true;
{//main while loop
//initiate the variables so the loop will run again
enterSalePrice = true;
commissionRateCheck = true;
//create while loop to check if users input is a positive number
while (enterSalePrice == true)
{//second while loop
//tell user to input the sale price
System.out.print("Enter the property's selling price: ");
//grab sale price from keyboard
salePrice1 = keyboard.nextLine();
//convert to a double
salePrice = Double.parseDouble(salePrice1);
//blank space for looks
System.out.println();
//if the price is zero or negative
//tell them to enter a positive number
if (salePrice <= 0.0)
//tell them to enter a positive number
System.out.println("You must enter a positive number.\n");
else
//if the number is valid continue program
enterSalePrice = false;
}//second while loop
//if they do Not enter the correct code,
//ask them to input the code again
while (commissionRateCheck == true)
{//third while loop
//ask user to input commission code and show them the choices
System.out.println("\nEnter the property code according to the following:\n\n" +
"\tResidential" + "\t\t" + "enter R\n" +
"\tMulti-Dwelling" + "\t\t" + "enter M\n" +
"\tCommercial" + "\t\t" + "enter C\n");
//give the user a spot to enter the code
System.out.print("Choose your code: ");
//grab code as a string
commissionRateCode1 = keyboard.nextLine();
//convert to char
commissionRateCode = commissionRateCode1.charAt(0);
//extra line to keep things looking good
System.out.println();
// create switch statement to find commission rate
switch (commissionRateCode)
case 'R':
case 'r':
commissionRate = 0.07;
commissionRateCheck = false;
break;
case 'M':
case 'm':
commissionRate = 0.06;
commissionRateCheck = false;
break;
case 'C':
case 'c':
commissionRate = 0.035;
commissionRateCheck = false;
break;
//tell the user if they enter the wrong code and what the choices are
default:
System.out.println("Code must be either - R, M or C!");
}//third while loop
//calculate commission using calcCommission method
commission = calcCommission(salePrice, commissionRate);
//format the double so it only displays 2 decimal points
String fmt = "0.00#";
DecimalFormat df = new DecimalFormat(fmt);
String finalCommission = df.format(commission);
//output users commission
System.out.println("Your commission is $" + finalCommission + "\n");
//ask if user would like to enter more commissions
System.out.print("More commissions? (y/n): ");
//grab thier answer as a string
continueCodeString = keyboard.nextLine();
//convert to a char
continueCode1 = continueCodeString.charAt(0);
//extra line to keep it looking good
System.out.println();
//if customer wants to continue, set continueCode = true,
if (continueCode1 == 'y')
continueCode = true;
//else set continueCode = false and exit the loop
else if (continueCode1 == 'n')
continueCode = false;
}//main while loop
//toss program in the garbage.... collector
System.gc();
}//main
// create second method to calculate commission
public static double calcCommission(double salePriceA, double commissionRateA)
// declare variables
double commission;
// calculate commission -> commission = salePrice * commissionRate
commission = (double)salePriceA * (double)commissionRateA;
// return results
return commission;
}//classpaulcw wrote:
The right way would be to create a class called, say, Sale, and Sale would have fields for sale price and commission (and probably other stuff relevant to a sale as well). Before the loop, you could declare a java.util.List of sale objects, like this:
List<Sale> sales = new ArrayList<Sale>();Then in your loop, after you get a sale price and a commission, you'd create a Sale object, and add the object to the list, like this:
sales.add(sale);Then after the main loop finished you could loop through this list, and add up values, etc.
It would also make sense to move stuff like the method that calculates commissions, into the Sale class, but that might not be part of your assignment.Sweet, thanks so much and ya know I definitely should have just read a bit more because just before I read your reply I found ArrayList in the API and added the following to my code:
//create an array for the salePrice
ArrayList a = new ArrayList( 100 );
Collection threadSafeList = Collections.synchronizedCollection( a );
//create an array for the commissions
ArrayList b = new ArrayList( 100 );
Collection threadSafeList2 = Collections.synchronizedCollection( b );right at the top with the other variables and near the bottom, just before i exit the main loop i added:
//add elements to the arrays
a.add(commission);
b.add(salePrice);
//test if its working
System.out.println(a);
System.out.println(b);so that is all working now and I must admit I feel a bit silly for having posted this but then again I guess it did get me to stay up and keep searching hehe.
Now I just need to sum the elements in the arrayList, after the user chooses to end. My concern is, how are these elements being stored in the array? I assume they are getting stored as Strings so if thats the case could I declare the arrayList as an array of doubles? or would I have to parse the data and then add it all.. Or, is there an easy to use method like ArrayList.sum() or something to that affect.. Im searching as I write this but ya never know.
Thanks again for your help.
Take it easy,
Brad.B
EDIT:
Ok so from my reading it seems Im going to need to convert my arrayList to an array and then I can sum the elements. The code would look something like this:
// get array
Object c[] = a.toArray();
double sum = 0.0;
// sum the array
for(double i=0.0; i<c.length; i++)
sum += ((Double) c).doubleValue();
System.out.println("Sum is: " + sum); altho I could be totally wrong.. it is 4 am and I can barely see straight but I cant stop... I must... get... this ... done... =P
Edited by: halfzipp on Jan 29, 2008 2:05 AM
Edited by: halfzipp on Jan 29, 2008 2:10 AM -
IPhone 4s little advise needed.
Hi everyone, I have an Audi TT which has a factory fitted iPhone 4 cradle, what I need to know if possible, will the iPhone 4s still work in the iphone 4 cradle or will I need to buy a new one for the 4s?
Thanks
RodThe only external physical difference betwwen the 4 and 4S is the buttons on the 4S are positioned like the CDMA (Verizon) iPhone 4. The postion of the volume and mute switch vary only slightly from the GSM iPhone 4. So, I would say that the iPhone 4S should fit the iPhone 4 cradle.
-
Can someone please tell me in detail how to easily take a video soundtrack from an FCP sequence and apply an effect to specific areas of the track and then have it renedered that way in FCP?
I know how to call SP from FCP for one selected segment of a sequence - do I mark the whole sequence to get it all - what is the keystroke shortcut?
Once in SP - how do I mark a segment, apply an effect, mark another segment, apply and effect, etc ,etc and then when done, what do I do to save this for rendering? Anything to do back in FCP?
Just simple menu or keystrokes needed to do this would be greatly appreciated.So you just want to apply effects. There's a roundtrip command from FCP you can use that part you can find [it's in the manual].
In Soundtrack Pro-applying filters once you've got the audio file: just select the audio with the timeline ruler like you would text-then from the process menu>apply filter and it's done; move on to the next segment repeat procedure.
Bottom line think of the audio separate from the text, you can just save it as an aif. file and reinsert it into the video, provided the sample rate and timeline so on doesn't change [unless you're applying it to the video also in SP.]
Power Mac G5 2GHz iBook g4 1.42GHz Mac OS X (10.4.7) 2.5GB ram 500gb Micronet Platinum
Maybe you are looking for
-
How do I backup my Helix Windows 8 install if I'm about to do some OS experimentation
For example I have two partitions now of my own, not counting all the hidden and special and weird Lenovo partitions. One is empty, and the main one has got Windows 8. I am about to do some weird OS surgery, by trying to install Linux and other OS on
-
How to Connect Adobe form to Portal
hi sdn friends, How to connect R/3 Adobe form to the Enterprise Portal / Smart form to the Enterprise Portal plz help me thank u, praveen.
-
need help installing Adobe Pro on a new laptop. Do I uninstall from old computer first??
-
BEx Not Reusing Excel Sessions
Since installing SAP_BW Support Package 19, I have a problem when trying to run more than one workbooks in BEx Analyzer. The first workbook opens OK, but subsequent workbooks give the following messages: Call cl_rsr_excel_launch -> Execute with work
-
Logistic minimum from BAPI_PO_CREATE
Hi experst. I've got problem. As we know when in ME21 we want to create PO and if some supplier has got minimum logistic, ME21 can throw specified message. Problem is, that I am creating PO from BAPI_PO_CREATE, so how can I get same info in FM.? Than