Move File from one floder to the other
Hi,
did anyone work on this requirement?
Search for a file in a directory(AL11).
If the file is found than copy the file to the outbound directory
I have used the FM EPS_GET_DIRECTORY_LISTING to search file. and how will i copy it from arcive directory to the outbound directoty?
DATA: file_count TYPE i,
dir_count TYPE i.
DATA: file_table LIKE sdokpath OCCURS 0 WITH HEADER LINE,
dir_table LIKE sdokpath OCCURS 0 WITH HEADER LINE,
source LIKE rlgrap-filename,
destination LIKE rlgrap-filename,
return TYPE i.
IF p_move = 'X'.
CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
EXPORTING
directory = text1
filter = '*.*'
IMPORTING
file_count = file_count
dir_count = dir_count
TABLES
file_table = file_table
dir_table = dir_table
EXCEPTIONS
cntl_error = 1
OTHERS = 2.
IF sy-subrc = 0.
LOOP AT file_table.
CONCATENATE text2 file_table-pathname
INTO destination.
CONCATENATE text1 file_table-pathname
INTO source.
CALL FUNCTION 'WS_FILE_COPY'
EXPORTING
destination = destination
SOURCE = SOURCE
importing
return = return.
CALL FUNCTION 'WS_FILE_DELETE'
EXPORTING
file = source
IMPORTING
return = return.
ENDLOOP.
CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
EXPORTING
directory = text1
filter = '*.*'
IMPORTING
file_count = file_count
dir_count = dir_count
TABLES
file_table = file_table
dir_table = dir_table
EXCEPTIONS
cntl_error = 1
OTHERS = 2.
IF file_count > 0.
CONCATENATE 'Error copying' source 'to' destination
INTO i_error SEPARATED BY space.
APPEND i_error.
ENDIF.
ENDIF.
ENDIF.
Create a folder named tes1 and test2 in C drive and place a dummy file 1.txt and check the code.
Text 1--- C:\test1\1.txt
Text 2 -- C:\test2\1.txt
K.Kiran.
Similar Messages
-
How can I move apps from one computer to the other?
How can I move apps from one computer to the other?
(preferably without iCloud)Backup your iTunes library to an external drive and onto the other computer
http://support.apple.com/kb/ht1751 -
MAXDB copy log file from one server to the other server.
Hi All,
I want to copy a log file from one server to the other server , the database is Maxdb and i don't know how to do it. I want to do it through command prompt, (set of commands required) the front end tool which we are using is DBM ( database manager). Please help.
Regards
M.AHi,
Basically, the process is of log shipping. Transferring logs from DC to DR system.
For that, you can check HowTo - Standby DB log shipping - MaxDB - SCN Wiki
This is script based. I have not done it but the idea remains the same.
Regards,
Divyanshu -
I recently bought two iMac quad core i5 processor speed 2.5 Ghz. Every time I use Air Drop and I send a file from one iMac to the other, a black curtain drops and I am asked to restart the computer!!! What can I do?
That's a kernel panic and indicates some sort of problem either with the computer's hardware or software. Visit The XLab FAQs and read the FAQ on diagnosing kernel panics. It would help to post the panic log: Mac OS X- How to log a kernel panic.
Meanwhile, try booting the computers into Safe Mode then restarting normally. If this is simply a disk repair or cache file problem then this may fix it.
You can also try creating a new admin account on each computer then booting into the new account. This would help determine if the problem is related to a bad file in the user accounts. -
How can i move icons from one screen to the other?
How do i move icons from one page to another?
Tap and hold any icon for a couple of seconds. They'll all start to wobble. Tap and drag the one you want to move to the side of the screen and the next screen will appear; drop the icon on whatever screen you want it on.
You can also do it quicker in iTunes - connect the phone and click the Apps tab in the main window. You'll see a picture of your phone with the apps laid out. Just click and drag -
How do I move Events from one user to the other?
I have two users on my PowerBook G4 and in preparation of moving all to a new MacBook Pro I want to move the pictures of one user to the other user. I've tried copying them and was successful but the Events did not copy, rather all 530 photos copied as one Event. How do I copy the photos and maintain the Events?
iPhoto Library Manager is recommended on here many times every day. I can't recall anyone mentioning a significnt issue with it.
Regards
TD -
Move Window from One Screen to the Other
With multi-monitor setup, is there a shortcut key to move a window from one screen to another? This is about the only thing I miss from my old days of using a PC.
Way too lazy to drag
Thanks!
AlexSaeven wrote:
With multi-monitor setup, is there a shortcut key to move a window from one screen to another?
no, there isn't and I don't believe you can possibly make one. I don't know how this works in windows but os x would need to know where exactly to put a window on the other screen. since screens often have different sizes that would be impossible. besides, with extended desktop there is no actual separation between the screens and a window can be partly on one screen and partly on the other.
I'm afraid you are just going to have to drag.
This is about the only thing I miss from my old days of using a PC.
Way too lazy to drag
Thanks!
Alex -
How can I move music from one computer to the other?
We have a family computer with everyones music on it but my parents just got me a new laptop for x-mas and I want my music on mine. how do I move them?
There are a number of different ways that you can move the music. Look at this support article and see which way you think will work best for you.
iTunes: How to move your music to a new computer -
Is there a way to move files from one folder to another without copying and pasting and then going back to delete the original? The cut and paste function is not available and there's no "move to" function. Am I missing something? It was so easy with Windows.
Drag the files, or press Option when pasting them; this accesses the Move To function.
(124070) -
I have recently transferred data from my old Mac to my new one. The result was good, but I have 2 users now, whose data I want to merge into 1 single user, so to avoid having to switch from one user to the other to view and use certain files. How to do it?
Here's an easy way:
Pick the user that you want to eliminate (making sure that the remaining user has administrator privileges) and move all of the data that you want to keep into the Shared folder. Reboot or log out and login to the user you want to keep. Copy all the data from the Shared folder into your account - placing it neatly in folders (Documents, Music, Movies, etc.).
Once the data is moved, log into the account you want to delete just once more to make certain that you've grabbed all the data you want to keep. Log out and log back into your admin account and go to System Preferences>Users & Groups and delete the 'old' user.
That should do it.
Clinton -
How do I move from one tab to the other?
I know you can move from one tab to the other with the mouse, but how do you do it with the keyboard
From the Safari Help menu after searchf for "keyboard':
Bring the next tab to the front: Control-Tab or Command (⌘)-Shift-[
Bring the previous tab to the front: Control-Shift-Tab or Command (⌘)-Shift-] -
How do I move files from one album to another?
How can I move files from one album to another? And why does itunes split up imported folders?
Press the Command key while dragging them.
(58054) -
When I use Home Sharing, I can see the library I want to copy under Shared, but I can't get it save on the computer under the regular library. I go to edit and "select all" but there is no import button that is in the right hand corner. Also, it will not let me click and drag the music. How do I get it from one computer to the other?
Since both computers are connected via the network, you could simply copy the ENTIRE iTunes folder from one computer to another via the network.
If both computers are running Windows, use the Easy File Transfer Utility built into Windows to move iTunes and all other user media/data. -
Can't move files from one volume to another
Using the 1.2 client on SLED, I don't appear to be able to move files from
one volume to another. I have two drive "mappings", each to a
different volume on a NW65SP5 box, but when I try and cut and paste files
I get an error saying "Not on the same file system". However if I drop to
a terminal and just use mv, that works.
Is this a known issue?
JoeOn Tue, 12 Sep 2006 12:59:23 +0000, Joseph Marton wrote:
Hmm, yep get the smae problem when trying to move files.
Copy works just great though.
I know there are some issues in Gnome/Nautilus that's being worked upon.
These are outlined in the Readme. For example it's not possible to copy a
folder from Server A to Server B, then delete the folder form Server A.
Finally later on copy the folder back to Server A from Server B.
Also Gnome is leaking file handles, which could be the cause for the
problem we're getting here.
I'll ask my contact at Novell about this and have him enter it in as a bug
if it's not a known issue.
For a workaround you already have a good alternative of using mv in a
terminal.
Niclas Ekstedt, CNA/CNE/CNS/CLS
Senior Network Consultant/NSC Sysop
Telindus Sweden AB -
Can I move files from one caralog to another?
Can I move files from one caralog to another?
No. you cannot.
This, among many other reasons, is why multiple catalogs are not recommended.
(You could import the photo into another catalog, and delete from the first catalog ... and without first using the command File->Write Tags, you will lose your tags, captions and other metdata; version sets, stacks, album/collection membership are lost in any case)
Maybe you are looking for
-
Why can't I use my internet, when other Apple products Can?
why can't I use my internet, when other Apple products Can?
-
How to filter out inbound Read receipts but prevent prevent notification to sender
Greetings, For Exchange 2007, we would like to prevent external users from sending Read Receipt requests to our users. In the Outlook client, we can easily disable this. But for EAS users, their smartphones send a reply as soon as the email is open
-
Problems running the jsf-compnenets demo on Weblogic 8.1
Hi, I am just starting out with with JSF and I'm having problems running the jsf-components demo. Whenever I try to run any of the JSP's in this demo I get the following error : /imagemap.jsp(41): Error in using tag library uri='http://java.sun.com/j
-
First time ordering - a few quality questions
I am making a book for my mom that will have many pictures that I have scanned in and them imported into iPhoto. Has anyone noticed that printing a photo book greatly reduces the quality of their photos? The scan quality is OK, but obviously not as n
-
User Profile Disks with Windows Search
We have 2 RDS Servers (2012R2) and work With User Profile Disks We use outlook cached mode (Outlook 2013 SP1) because the link to our head office is to slow The problem is that the outlook search isn't working properly. Every time the users logs on,