How can I get file list for a given directory?
Hi,
How can I get file list for a given directory? Is there a function?
Thanks.
Hi friend,
Try this sample report. It displays all files in a directory.
While executing give some directory name in input. ex: C:\
Mention file type in filter parameter. ex: *.DOC
REPORT ztests.
DATA : file_table LIKE TABLE OF sdokpath WITH HEADER LINE .
DATA : dir_table LIKE TABLE OF sdokpath WITH HEADER LINE .
PARAMETERS:p_dir(50) TYPE c.
CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
EXPORTING
directory = p_dir
filter = '*.DOC'
TABLES
file_table = file_table
dir_table = dir_table
EXCEPTIONS
cntl_error = 1
OTHERS = 2.
LOOP AT file_table .
WRITE:/ file_table-pathname.
ENDLOOP.
Might be helpful...
Thanks.....
Edited by: Guest77 on Feb 11, 2009 5:30 AM
Similar Messages
-
The user has permissions on site A B, and C. within the sites, the user has permissions on some lists/libraries.
how can i retrieve an entire list to see what the user has permissions on?
thank you
I might be a newbie in some area. But I'm working hard. :)You can get the report using powershell, please check below posts
http://social.technet.microsoft.com/Forums/sharepoint/en-US/5a3252bf-cb03-4488-9a0d-f4e0ce07d497/user-permissionsaccess-report-in-sharepoint-site
http://reality-tech.com/2011/12/30/reporting-on-all-user-permissions-in-a-web-application/
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful -
Hi ,how can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm
or poerwshell . i have struggled for a week
tchocrHi,
There is no such PowerShell command can achiev this. Maybe you can use a script to get the user name with folder redirection enabled. However, I am not familiar with writing script, and it would be better for you to ask in script forum below for professional
assistance:
http://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
Best Regards,
Mandy
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
How can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm or poerwshell . i have struggled for a week.
Hi,
There is no such PowerShell command can achiev this. Maybe you can use a script to get the user name with folder redirection enabled. However, I am not familiar with writing script, and it would be better for you to ask in script forum below for professional
assistance:
http://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
Best Regards,
Mandy
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
How can I get a list of active savepoints for the current session?
Hi,
In Oracle Applications, we are getting the following error while performing ROLLBACK to a Savepoint.
"Unexpected Error: ORA-01086: savepoint 'PTNR_BULK_CALC_TAX_PVT' never establishe d ORA-06510: PL/SQL: unhandled user-defined exception"
So how can I get a list of active savepoints for the current session?
Could you please also let me know if there is any better way to debug this issue.
Appreciate any quick response as the issue is very critical.
Thanks,
Somauser776523 wrote:
Hi,
In Oracle Applications, we are getting the following error while performing ROLLBACK to a Savepoint.
"Unexpected Error: ORA-01086: savepoint 'PTNR_BULK_CALC_TAX_PVT' never establishe d ORA-06510: PL/SQL: unhandled user-defined exception"It sounds like there's an execution path in the code where the SAVEPOINT is never issued.
There is no way to get a list of active savepoints. Is this your code or a "canned" procedure? If it is your code you can go through the code looking for answers, possibly tracing execution using DBMS_OUTPUT.PUT_LINE or writing messages to a log table. If its a "canned" procedure you may need to open an SR with Oracle -
How can I get "library components" for Encore? download from Adobe site is corrupted/missing files. I have tried 3 times to d/l and each time problems. HELP please!
I just want the DVD templates and buttons that would come with actual purchase of Encore. Having creative cloud subscription should not limit this for me, right?
BTW I have CC subscription, Windows 7,Thanks very much I have contacted them via this. Just hope they respond quickly- rather annoing! Greatly appreciated though
-
How can I get the list of drivers without getting popup message?
Every time the application gets to this line:
File[] roots = File.listRoots();
I get message box: "There is no disk in the drive.
Please insert disk into drive A:"
How can I get the list of drivers without getting
this message popup?I don't have a solution to this problem. However, it does occur and it is annoying. I am testing our application on 4 client machines. On three of them, it NEVER asks for the floppy disk. On the remaining one, it ALWAYS asks. I have looked on the computers and cannot find any configuration differences (in fact, these machines are kept in a "closed environment", and therefore, they are configured, by default, exactly the same).
Does anyone have any thoughts? -
How can I get raw converter for Sony a7m2
Aperture does not recognize raw files from my new Sony Alpha a7m2 camera. How can I get an update for Aperture? I have Aperture 3.6.
I have macbook pro retina display using ox10.10.1Check, if your camera is on this list, that shows the supported cameras: http://www.apple.com/aperture/specs/raw.html
I could not find it there, but perhaps the camera is known by more than one name.
If the camera is not yet supported, you will have to wait, until Apple releases raw support for the camera and use the software that came with your camera to develop the raw files. -
How can I get a list of database names from environment
Hi,
How can I get a list of database names from environment.
I had found a method in JE API Docs named Environment.getDatabaseNames(), and i couldn't found the same method in Berkeley DB.
I use java interface, is it supported?
Thanks.Hello,
I don't know if it would work for you, but have you checked the db_archive utility at:
http://download.oracle.com/docs/cd/E17076_01/html/api_reference/C/db_archive.html
Check the -s option.
Thanks,
Sandra -
How can I get a list of purchased apps?
Recently restored my iPhone from backup, and I need to download my apps. How can I get a list of apps that I've downloaded/purchased?
If I search for an app via the app store that I had previously installed, the Install icon turns into a Cloud with a down arrow symbol on it - there must be a way to get a list of all of these right?
Anyone clever enough to solve this riddle?Open the App Store app, go to the Updates pane and tap Purchased.
-
How can I get a list of all my annotations to send to someone else, listed by PAGE #, not order??
The comments list is sorted by page by default. If it's not for some reason, click the "Sort comments" button and select that option. It looks like this:
-
How can i get the list of all users present in the UME ?
Hi Experts,
How can i get the list of all users present in the UME ?
Is there any API or function Code to get all user list??
Please help me out!!!
Help will be rewarded
-pankaj chouhanHi Pankaj,
find the official NetWeaver security javadocs (including access to UME) <a href="http://help.sap.com/javadocs/NW04S/current/se/index.html">here</a>. Look for classs UMFactory and proceed from there.
Best regards,
Martin -
How can I get a list of products
Hi!
How can I get a list of products via java interface? I know how to get items of product (via SBOCOMUtil.getProductTrees(company, "PcCw0001")), but which source of code list for second param?Should be sth like this (I have no chance to test Java code ):
IRecordset Src_Rec;
int i, ii;
String str2="";
try
Src_Rec= SBOCOMUtil.newRecordset(aCompany);
Src_Rec.doQuery("SELECT Code FROM OITT");
ii = Src_Rec.getRecordCount().intValue();
// could be a while-loop as well
for(i =0; i< ii;i++)
try
str2 = Src_Rec.getFields().item(new Integer(0)).getValue().toString();
Src_Rec.moveNext();
catch(Exception e)
catch(Exception e2)
HTH,
Frank -
How can I get a list of users who work now in B1
Hello Tasha,
Do you want to get the run time user list or enabled user of B1? For the second one, you can use Users object from DI API. I don't think you can get the run time user list.
In addition, to get a more effitive feedback, here are some suggestions of how to post a question. Please check it out. /thread/117227 [original link is broken]
Hope this helps,
Nick He -
I have a G4 Quicksilver 2001 that no longer works, but the hd may still be good. How can I get files off the G4 hd and onto my new late 2013 iMac?
Also, how do I boot the G4 into FireWire Target Disk mode?
First, the G4 must be able to start to use FWTDM. If it can start, hold the t key at boot until you get a "screensaver pattern" that looks like this:
If the G4 is attached via a FireWire cable to a newer Mac with a FireWire port, the G4's hard drive will appear on the other Mac's desktop just as if it were any external drive. A USB cable won't work for FWTDM.
Just wondering if the drive in my G4, which I believe may be an ATA drive will also work in an enclosure for a SATA drive?
No. ATA (actually "PATA" or "IDE") and SATA are different interfaces. PATA external enclosures are now very hard to find. You best and least expensive option is the adaptor that BDAqua linked. One of its connectors is for PATA drives.
Maybe you are looking for
-
Move photos, music, time machine
I would like to move my iphoto library, itunes library and time machine off of my current i-mac. What is my best solution? I love that my ipad and iphone sync with my computer when i walk in the door, if I move the libraries to an external drive wo
-
Sql query to know the number of triggers and cursors present in a schema?
friends,is there any way to know the number of triggers and cursors preseent in a schema. thanks in advance..
-
Debug an USER-EXIT which is present inside an INCLUDE
Hi folks, i want to debug a include ' LVEDFF0E.' which is present in the program 'SAPLVEDF. my user exit 'ZXEDFU02' is present in the include LVEDFF0E . This exit is to change the IDOC segmants. i want to debug my user exit which is present inside a
-
Are there MySql database scripts for all the tables?
-
How to control Preferences setting in adobe Reader?
Hi, Is there any way to control the adobe reader->security-> Preferences setting at run time at adobe livecycle server either by Javascript or API. I want to change the setting of the pdf before rendering forms to client desktop. Regards Sunil