Get logical file
is there any function module that will browse logical file names
HI,
You can use the function module 'FILE_GET_NAME'
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db95e635c111d1829f0000e829fbfe/content.htm
Regards
Sudheer
Similar Messages
-
Get Logical file name from Physical file name
Hi everybody,
Please how can i get Logical file name from Physical file name ?
Thanks & Regards
HassanHi,
What i want is to get Logical file name from Physical file name, and not the opposite (get Physical file name from Logical file name).
Thanks & Regards,
Hassan -
Hi Gurus,
I know the physical path of a file. Can anyone tell me how do I view this file? I do not know the logical file name, hence cannot use AL11 to view the file.
Regards,
RishiHi,
There are some function modules, Can you please check:
FILE_GET_NAME_USING_PATH : Generate a complete file name with file name and logical path
FILE_GET_NAME : Assign the Physical File Name Using a Logical File Name
FILE_GET_NAME_AND_LOGICAL_PATH: Assign physical file names and get logical path
Below link also helpfull.
[http://help.sap.com/saphelp_nw04/helpdata/EN/8d/3e4ec2462a11d189000000e8323d3a/frameset.htm]
Regrads,
Lokesh.
Edited by: Lokesh Tarey on Apr 20, 2010 12:53 PM -
How do I get Logic to stop looking for a specific .wav file?
I recently imported a project I started in GarageBand into Logic Pro. Once in Logic, I edited and added to the project then saved it as a Logic project file. I deleted the original project from GarageBand. Now, when I open the Logic file, Logic is still looking for .wav files that were used in the original GarageBand file. None of these files are actually needed in my project. Is there a way that I can get Logic to stop looking for these .wav files?
Thanks for any help!Do a cleanup.
http://documentation.apple.com/en/logicpro/usermanual/index.html#chapter=7%26sec tion=9%26tasks=true -
FM to get F4 for application server file or logical file or dataset .
Hi all.
Can any body pls let me know the FMs to get the F4 for applicattionserver file or logical file or unix file or dataset. Thanks in advance.
Kind Regards,
sami.hi,
use the FM: 'F4_DXFILENAME_4_DYNP' in the below mentioned format:
p_file: is the field name in selection screen in which you have to enter the filepath:
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_DXFILENAME_4_DYNP'
EXPORTING
dynpfield_filename = 'P_FILE'
dyname = sy-cprog
dynumb = sy-dynnr
filetype = 'P' "P-->Physical
location = 'P' "P Presentation Srever
server = space.
hope it will help you
regards
rahul -
Getting error logical file name not maintained adequtely
Hi,
when i execute a z report and press the download botton getting error logical file name not maintained adequtely,see long text.
Below code i wriien. Please somebody help..
DATA: lt_rows TYPE lvc_t_row.
CASE e_ucomm.
WHEN 'DOWNL'.
Determine and construct OS specific file name *
PERFORM get_file_name_for_os.
in the above perform , i wriien
FORM build_file_name USING pf_os
pf_with_file_extension
pf_param_1
pf_format
pf_fname.
DATA: lf_para1(20) TYPE c.
pf_param_1 hold the materialnr with leading zeros not prefered in *
download file name *
WRITE pf_param_1 TO lf_para1.
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
CLIENT = SY-MANDT
logical_filename = 'Z_MATERIAL_BOM_FILE'
operating_system = pf_os
parameter_1 = lf_para1
PARAMETER_2 = ' '
PARAMETER_3 = ' '
USE_PRESENTATION_SERVER = ' '
with_file_extension = pf_with_file_extension
USE_BUFFER = ' '
IMPORTING
EMERGENCY_FLAG =
file_format = pf_format
file_name = pf_fname
EXCEPTIONS
file_not_found = 1
OTHERS = 2
Error handling.
CASE sy-subrc.
WHEN '1'.
MESSAGE e014(ba) WITH 'Z_MATERIAL_BOM_FILE'. "error message i am getting LEAVE.
WHEN '2'.
MESSAGE e213(ky) WITH 'Z_MATERIAL_BOM_FILE'.
LEAVE.
ENDCASE.Hi.
In file txn,
click on "Logical File Name Definition, Cross-Client" from the left.
Then click position and check for your logical file name.
If you dont get it, it means you need to create it. You can click on New Entries to create.
Thanks
Mani -
FM for getting the logical file name
Hi,
is there any FM for getting the logical file name.
Thanks
VikranthHi,
CONSTANTS: c_mask TYPE char9 VALUE ',.,..'.
Pick up the file path from the application server
FORM f1001_browse_appl_file .
DATA: lcl_directory TYPE char128.
lcl_directory = p_direct.
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
EXPORTING
directory = lcl_directory
filemask = c_mask
IMPORTING
serverfile = p_f2 " Parameter File
EXCEPTIONS
canceled_by_user = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE e000(zmm) WITH text-039.
flg_app = 'X'.
ENDIF.
Then use OPEN DATASET for data reading
Hope this Helps.
Manish
Message was edited by:
Manish Kumar -
How do I get Logic to reference files instead of importing them?
Hey guys, I've been trying to figure this out for a while now with no luck. How do I get Logic X to reference audio files on my hard drive without importing them in to the project itself? I've got a lot of remix type tracks that use long audio files, and each one of the projects is at least 700mb. I'm very organized with my folders, so I have no need for Logic to keep its own copy of the files.
I've gone in to File -> Project Settings -> Assets and unchecked all the boxes including audio files, but no matter what I try or what order I change the settings and import the files in, as soon as I drop in a 30mb file my project instantly becomes 70mb. Changing the assets settings does nothing, and even if I delete all the tracks and do File -> Project Management -> Clean Up, it doesn't delete any of the files and the project stays the same size.
Am I missing something obvious or is Logic glitching? Any help would be much appreciated.
Cheers!Siri will make the letters uppercase by default. There is no way to change this. However, siri deals with lowercase just like it deals with punctuation. You have to say it. For example if I say lowercase l lowercase o lowercase l siri will write lol but if I just say l o l it will wright LOL. So just say lowercase before each letter (I tested this and unfortunaely it only works with each individual letter).
-
How to get physical file path from logical file path
Hi
there is a immediate requirement ,
I have logical file path but I need to get physical file path from it.
So is there any FM which providesthis functionality.
Points will be rewarded.
ThanksCan you please share the piece of code ?
Which File APIs are you using ?
For java file, you can get complete path by simple method call : getAbsolutePath() on file object.
Regards,
Ashwani Kr Sharma -
Hi Guys,
When I try to Brows Cube (SSAS 2005), I get below error (Sometimes):
TITLE: Microsoft SQL Server 2005 Analysis Services
Server: The operation has been cancelled.
The following system error occurred from a call to GetOverlappedResult for Physical file: '\\?\F:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\XXX_2012.0.db\XXX DC.0.cub\FACT_XXX.0.det\PARTITION_2013Q31.0.prt\674.fact.data', Logical file: '' : Insufficient
system resources exist to complete the requested service. .
The following system error occurred from a call to GetOverlappedResult for Physical file: '\\?\F:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\XXX_2012.0.db\XXX DC.0.cub\FACT_XXX.0.det\PARTITION_2013Q23.0.prt\385.fact.data', Logical file: '' : Insufficient
system resources exist to complete the requested service. .
BUTTONS:
OK
and I think due to above Error, Index on a Particular Attribute (EMP_ID) of a DIMENSION DIM_EMP is getting dropped from FEW of the Partitions (Folders) and started getting new error:
TITLE: Microsoft SQL Server 2005 Analysis Services
File system error: The following error occurred while opening the file '\\?\F:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\XXX_2012.0.db\XXX DC.0.cub\FACT_XXX.0.det\PARTITION_2013Q31.0.prt\688.DIM_EMO.EMP_ID.fact.map'.
BUTTONS:
OK
I followed the above path and did not find file 688.DIM_EMO.EMP_ID.fact.map in folder PARTITION_2013Q31.0.prt. Once I rebuild the Index (ProcessIndex) for this partition, I am able to See file 688.DIM_EMO.EMP_ID.fact.map.
But again when next time I get error "Insufficient system resources exist to complete the requested service", Then 688.DIM_EMO.EMP_ID.fact.map will be dropped and will not be available in folder PARTITION_2013Q31.0.prt.
Anyone had similar issue. Could you please share your experience and resolution if any.
Thanks Shiven:) If Answer is Helpful, Please VoteHi Shiven,
In your scenario, the issue occur at sometimes, right? Base on my research, the issue can be caused by that calculation estimate exceeded available memory. Possibly due to possible number of dimension members and sizes of keys. And 32bit environment didn’t
allow for any expansion to the SSAS memory space.
To avoid this issue, please try to use userva to fine tune the 3GB setting down to 2900 since /3GB is the likely
cause (has been for most other customers who encountered the same problem before). The KB Articles below discuss that setting in detail.
How to use the /userva switch with the /3GB switch to tune the User-mode space to a value between 2 GB and 3 GB
Regards,
Charlie Liao
TechNet Community Support -
Open Hub: How-to doc "How to Extract data with Open Hub to a Logical File"
Hi all,
We are using open hub to download transaction files from infocubes to application server, and would like to have filename which is dynamic based period and year, i.e. period and year of the transaction data to be downloaded.
I understand we could use logical file for this purpose. However we are not sure how to have the period and year to be dynamically derived in filename.
I have read in sdn a number of posted messages on a similar topic and many have suggested a 'How-to' paper titled "How to Extract data with Open Hub to a Logical Filename". However i could not seem to be able to get document from the link given.
Just wonder if anyone has the correct or latest link to the document, or would appreciate if you could share the document with all in sdn if you have a copy.
Many thanks and best regards,
VictoriaHi,
After creating open hub press F1 in Application server file name text box from the help window there u Click on Maintain 'Client independent file names and file paths' then u will be taken to the Implementation guide screen > click on Cross client maintanance of file name > create a logical file path by clicking on new entiries > after creating logical file path now go to Logical file name definition there give your Logical file , name , physical file (ur file name followed by month or year what ever is applicable (press f1 for more info)) , data format (ASC) , application area (BW) and logical path (choose from F4 selection which u have created first), now goto Assignment of physical path to logical path > give syntax group >physical path is the path u gave at logical file name definition.
however we have created a logical path file name to identify the file by sys date but ur requirement seems to be of dynamic date of tranaction data...may u can achieve this by creating a variable. U can see the help from F1 that would be of much help to u. All the above steps i have explained will help u create a dynamic logical file.
hope this helps u to some extent.
Regards -
Hi All,
My requirment is to get releted files from Local Directory.
For Example Path is "D/Data/"
in this path there is files like
abc123_de.txt
abc123_en.txt
xyz123_de.txt
abc123_pt.txt
xyz123_en.txt
pqr123_en.txt
bcg234_en.txt
sjd467_en.txt
Now i want to use only files which are strart from abc123 and use their data.
From which FM i can do it or how can i do this?
Thanks,
MahipalsinhDear Mahipalsinh,
I have got the same requirement some days back, i think there is no FM for your requirement. so what i did, i have get all the files using below FM and Concatenate the ABC.
Please use the Below FM, because if the file name is above that 50 character that time always it gives the full file name. Please check, if u used the other one for getting the Files.
CALL FUNCTION 'EPS2_GET_DIRECTORY_LISTING'
EXPORTING
iv_dir_name = lv_dir_name
TABLES
dir_list = lt_file_name
EXCEPTIONS
invalid_eps_subdir = 1
sapgparam_failed = 2
build_directory_failed = 3
no_authorization = 4
read_directory_failed = 5
too_many_read_errors = 6
empty_directory_list = 7
OTHERS = 8.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
For reading Specific Files.
CONCATENATE 'AP' lv_internal_date INTO lv_filename.
LOOP AT lt_file_name INTO ls_file_name.
lv_index = sy-tabix.
IF ls_file_name-name CS lv_filename.
" PUT YOUR LOGIC
endif.
endloop.
Thanks,
Nishant -
Hi,
I'm totally stumped. I'm using Logic Pro 7.1.1 and have recently upgraded my OS from 10.3.9 to 10.4.8 and Logic won't even pass the "setting up memory buffers" stage on loading the program. It was working fine before. I have tried to un-install using the standard manual removal of all logic files but everytime I try to install Logic 7.0, I get a message telling me there is a newer version of the software detected on the hard disk. I've installed all the earlier versions anyway but the program still won't load. Any ideas? Thanks,
Dave.Download and install the Pro Application Runtime package for Tiger and install it.
http://docs.info.apple.com/article.html?artnum=301838
jord -
LSMW - Logical File Path not pointing to Physical Path
Hi All,
I'm trying to upload some MIGO goods movement transactions through LSMW. I'm to step 7, specifying files, and am getting the error "No logical file path has been specified. I saw another thread which helped me, but I am still stuck after reading it.
Re: Error in Creation of Purchase Requisition through LSMW
I have gone into transaction FILE and created the logical file name MM_GOODS_MOVEMENT, and set the physical file as the .lsmw.conv converted data file as the above thread says. I also tried using the logical path LOCAL_TEMPORARY_FILES for the converted data, but I get the error telling me that the path does not point to a physical directory. I then tried creating my own file path, and setting the path to my desktop where the source file is, and the same error occurred.
Does anyone know why it is not recognizing the physical path maintained in the logical path?
Thanks,
JThanks for both replies,
I have full authorization across all transactions in the sandbox system I am working in, so that is not an issue. I filled the logical path field in the MM_GOODS_MOVEMENT logical file with LOCAL_TEMPORARY_FILES, as well as trying my own created file path, and I recieved the same error for each. Here is how the config is currently:
Logical File Path Definition: MM_GOODS_MOVEMENT
Syntax Group: WINDOWS NT
Physical path: C:\Documents and Settings\jchanski\Desktop\<FILENAME>
or,
Logical File Path Definition: LOCAL_TEMPORARY_FILES
Syntax Group: WINDOWS NT
Physical path: C:\temp\<FILENAME>
Logical File Name Definition: MM_GOODS_MOVEMENT
Physical file: MM_MM_MIGO_INVUPLOAD.lsmw.conv
Data format: ASC
Applicat.area: MM
Logical path: LOCAL_TEMPORARY_FILES or MM_GOODS_MOVEMENT
Do you see any error with this Brajvir? Thanks! -
Create logical file path and read it in main program
Hello Experts,
My requirement is, I have to read files from application server.
File path/ Directory is different in different system (systid). i have to read all files starting with (xyz*) from mentioned directory.
This path i must define in logical path.
Following are the steps i followed.
1) In FILE (TCODE) i have created a logical path and assigned a physical path to it.
2) I have created logical file ( I am not sure about this, as i dont have to create logical file, i just need to read file from above path starting with xyz*, but FM FILE_GET_NAME requires logical file name so i have created it).
3) I will pass logical file name to FM FILE_GET_NAME and recieve physical file path(with file name which i can ignore).
these all steps i found on SDN. but its not working.
FM FILE_GET_NAME is always returning same file path ( Not even close to what i have defined ).
I can not read data from Table path as it will return physical path as it is, but i need it replaced with system id.
Any suggestion will be really helpful.
Thanks in Advance.
Regards,
AmarHi Amar,
one difficulty defining physical path name is to know the right Syntax group.
For example if you habe OS Linux, you need Syntax Group UNIX here. In Table OPSYSTEM you can see, which OS (OPSYS) needs which FILESYS (Syntax Group).
If you always get a wrong physical path, this may be caused ba a wrong choice of the Syntax Group. Only the correct one will lead to the correct path.
Regards,
Klaus
Maybe you are looking for
-
hi, I am not able to see the split in BPM when using SWITCH. Scenario: IDOC->XI->Multiple Receivers with error handling using BPM In BPM SWITCH i have 2 steps. 1st branch step has Transformation0, Receiver Determination0 and Send0 2nd branch step has
-
How to get a organization name for a particular user using API's
Hi alll, How to get a organization name for a particular user using API's
-
Please help me out to design better exception handling framework.
-
How can I now get my ipod to be recognised by my computer again and most importantly how can I store my music in the itunes library? Each time I try I get a message that says an ipod can only be synced to one computer at a time and if I go ahead I wi
-
Hard drive read/write question
Hi, I purchased this mac pro(2008) with the stock seagate 320gb hard drive (model ST3320820AS_P) and I am interested to know what kind of read write numbers to expect from this drive. I am having a tough time trying to find any numbers that aren't in