Data Archival : No physical file path can be generated
Dear all,
When i tried to archive a data in ERP i got the below error.
No physical file path can be generated for the logical file path
I want to store the archival data in local hard disk. For which i have given the Win NT path alone in logical path.
Kindly help me to solve this.
Regards,
Aishwarya.
Errors from SM21:
EFW > No job count can be generated for job BI_PROCESS_LOADING
- During the values check for background processing, the attempt to
generate a unique JOBCOUNT for the specified job failed because there
are more than 99 entries with the same JOBNAME / JOBCOUNT ID. Forward
this syslog entry to SAP.
EG7 BP_JOB_CREATE: Job cannot be generated. Reason:
EGA > Job BI_PROCESS_LOADING contains invalid data
Similar Messages
-
What is a Logical and Physical file path in sap?
what is a Logical and Physical file path in sap?
Hi,
Physical file is what you see from the OS level.
Logical file is what ABAP code can call certain functions to read/write.
Transaction FILE would link them together. Typically the logical path ends with "<FILENAME>", and the logical file refers to the logical path.
To extract the physical path from the logical path name
DATA: lf_mandt TYPE sy-mandt,
lf_opsys TYPE sy-opsys.
lf_mandt = sy-mandt.
lf_opsys = sy-opsys.
To extract the physical path from the logical path name
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
client = lf_mandt
logical_filename = p_unix
operating_system = lf_opsys
IMPORTING
file_name = gwa_input
EXCEPTIONS
file_not_found = 1
OTHERS = 2.
IF sy-subrc EQ 0.
Concatenating the physical path and the input unix file name
CONCATENATE gwa_input p_file INTO gf_file .
ENDIF.
Reward if helpful.
Regards,
Ramya -
Assign Logical file name for the physical file path through Program
Hi all,
I am having a physical file which is getting generated dynamically. It is having the date and time stamp in its name which is added at runtime.
Now I need to assign a logical file name for the physical file path through the program.
Is there any FM or any other method to assign the same.
GauravI think it is not possible. becuase the date & time added at runtime. so if you check the table PATH you can find filename and their definitions
a® -
Logical and physical file paths
Hi,
can anyone elobrate me on what are logical and physical file
paths ?hi,
Follow this link
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/frameset.htm
File format determination (Required / optional fields and field checks).
Logical File Path configuration through transaction 'FILE'. A new physical file path should be created on operating system level or an existing one can be used if agreed. The Basis team member should create a new file path at operating system level, if required.
Hope this helps, Do reward. -
Difference between logical file path and physical file path
Hi,
Can anyone tell me why logical file path is required and why physical file path is required? What exactly is the difference bet them?
Thanks in advance.
Regards,
PS.Hi,
The function module FILE_GET_NAME convert a logical path into its corresponding physical path.
The advantage of using logical pathes within your applications is obivous:
If you need to change the physical path you just adjust it within transaction FILE yet no changes are required to your application.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm
The file names that you use in ABAP statements for processing files are physical names. This means that they must be syntactically correct filenames for the operating system under which your R/3 System is running. Once you have created a file from an ABAP program with a particular name and path, you can find the same file using the same name and path at operating system level.
Since the naming conventions for files and paths differ from operating system to operating system, ABAP programs are only portable from one operating system to another if you use the tools described below.
To make programs portable, the R/3 System has a concept of logical filenames and paths. These are linked to physical files and paths. The links are created in special tables, which you can maintain according to your own requirements. In an ABAP program, you can then use the function module FILE_GET_NAME to generate a physical filename from a logical one.
Maintaining platform-independent filenames is part of Customizing. For a full description, choose Tools ® Business Engineer ® Customizing, followed by
Implement. projects ® SAP Reference IMG. On the next screen, choose Basis Components System Administration ® Platform-independent File Names.
For a more detailed description of the function module FILE_GET_NAME, enter its name on the initial screen of the Function Builder and choose Goto Documentation. On the next screen, choose Function module doc.
Another way of maintaining platform-independent filenames is to use the Transaction FILE. The following sections provide an overview of the transaction.
To create a logical filename, choose Logical filename definition, client-independent from the Navigation group box in Transaction FILE, then choose New entries. You define logical filenames
You can either define a logical filename and link it to a logical path (as displayed here), or you can enter the full physical filename in the Physical file field. In the latter case, the logical filename is only valid for one operating system. The rules for entering the complete physical filename are the same as for the definition of the physical path for the logical file. To display further information and a list of reserved words, choose Help.
If you link a logical path to a logical file, the logical file is valid for all syntax groups that have been maintained for that logical path. The filename specified under Physical file replaces the reserved word in the physical paths that are assigned to the logical path. To make the name independent of the operating system, use names that begin with a letter, contain up to 8 letters, and do not contain special characters.
Save your changes.
regards,
Omkar. -
Diff between logical and physical file path
Hi ,
Could you please explain difference between logical and physical file path's and their importance in ABAP.
Thanks and regards,
shylaHi
The function module FILE_GET_NAME convert a logical path into its corresponding physical path.
The advantage of using logical pathes within your applications is obivous:
If you need to change the physical path you just adjust it within transaction FILE yet no changes are required to your application.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm
The file names that you use in ABAP statements for processing files are physical names. This means that they must be syntactically correct filenames for the operating system under which your R/3 System is running. Once you have created a file from an ABAP program with a particular name and path, you can find the same file using the same name and path at operating system level.
Since the naming conventions for files and paths differ from operating system to operating system, ABAP programs are only portable from one operating system to another if you use the tools described below.
To make programs portable, the R/3 System has a concept of logical filenames and paths. These are linked to physical files and paths. The links are created in special tables, which you can maintain according to your own requirements. In an ABAP program, you can then use the function module FILE_GET_NAME to generate a physical filename from a logical one.
Maintaining platform-independent filenames is part of Customizing. For a full description, choose Tools ® Business Engineer ® Customizing, followed by
Implement. projects ® SAP Reference IMG. On the next screen, choose Basis Components System Administration ® Platform-independent File Names.
For a more detailed description of the function module FILE_GET_NAME, enter its name on the initial screen of the Function Builder and choose Goto Documentation. On the next screen, choose Function module doc.
Another way of maintaining platform-independent filenames is to use the Transaction FILE. The following sections provide an overview of the transaction.
To create a logical filename, choose Logical filename definition, client-independent from the Navigation group box in Transaction FILE, then choose New entries. You define logical filenames
You can either define a logical filename and link it to a logical path (as displayed here), or you can enter the full physical filename in the Physical file field. In the latter case, the logical filename is only valid for one operating system. The rules for entering the complete physical filename are the same as for the definition of the physical path for the logical file. To display further information and a list of reserved words, choose Help.
If you link a logical path to a logical file, the logical file is valid for all syntax groups that have been maintained for that logical path. The filename specified under Physical file replaces the reserved word in the physical paths that are assigned to the logical path. To make the name independent of the operating system, use names that begin with a letter, contain up to 8 letters, and do not contain special characters.
Save your changes. -
Experts!!
I have a table that holds the physical file path of files in one of its columns. It does not give a link, just the physical file path.
For example,---- C:\bu\test.pdf and let us say the file size is kb according to the OS.
Is there any way I can obtain the file size of the files from the physical path?
for example, the file size of the test.pdf file in the example here using t-SQL?
Much Appreciation
ebroHey there... thanks for the response......I found the following as a solution for my problem. But my problem is the SP created using the method needs a directory as a parameter. How can I pass the directory from a table that holds my directory?
EXEC [dbo].[GetListOfFileWithSize](@Dir)
How do I pass the directory from my table?
http://stackoverflow.com/questions/7952406/get-each-file-size-inside-a-folder-using-sql/7958070#7958070
ebro -
Table or function module from for complete physical file path?
Hi All,
I know the Logical file and Logical path name, i can see the complete path also from logical path name i.e. the physical file address through transaction FILE, e.g. /USR/TMP/ , but i want to display this path in one of the report output,
so please help me with the table or the function module which can give me the complete physical file path.
I checked the the table ADMI_FILES but it contains the file name or the Logical path name but the complete physical file address e.g /USR/TMP?, like this is not available. More over i tried function module file_get_name, still the physical address is not correct one, it is giving same address for all logical paths.
Kindly Guide me for this
Regards,
Nikesh Kumartry sth like this:
CALL FUNCTION 'FILE_GET_NAME_AND_LOGICAL_PATH'
EXPORTING
LOGICAL_FILENAME = LDS_NAME
IMPORTING
FILE_NAME = sfile
LOGICAL_PATH = pth
EXCEPTIONS
FILE_NOT_FOUND = 01.
IF SY-SUBRC NE 0.
MESSAGE E300(BD) WITH LDS_NAME. " TODO MG
ENDIF.
SELECT single PATHEXTERN FROM path INTO expth
where pathintern = pth.
replace '<FILENAME>' with space into expth.
concatenate expth '/' sfile into sfile.
open dataset sfile for output in text mode encoding default.
A. -
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 Gyes,
In selection screen i will enter <b>logical file path</b>.After executing this program i want <b>physical file path for that particular logical file path</b>(input).Is there any function module is there.
Thanks and regards,
Suresh.hello,
Use the function Module
Call function FILE_GET_NAME
CLIENT 200
LOGICAL_FILENAME <enter your logical file name>
OPERATING_SYSTEM WINDOWS NT
PARAMETER_1
PARAMETER_2
PARAMETER_3
USE_PRESENTATION_SERVER
WITH_FILE_EXTENSION
USE_BUFFER
ELEMINATE_BLANKS X
Reward points if helps.
Thanks,
Krishna -
Physical file path on the selection screen from AL11 Tcode
Hi All,
Please let me know some body how do we give only physical file path(only directory not the file names) on the selection screen?I need to see when I press F4 only the physical file directories of the application server.
Thanks in advance.
MaheshHi,
This FM will be helpful.....
F4_dxfilename_toprecursion
CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
* EXPORTING
* I_LOCATION_FLAG = ' '
* I_SERVER = '?'
* I_PATH =
* FILEMASK = '*.*'
* FILEOPERATION = 'R'
* IMPORTING
* O_LOCATION_FLAG =
* O_SERVER =
* O_PATH =
* ABEND_FLAG =
* EXCEPTIONS
* RFC_ERROR = 1
* ERROR_WITH_GUI = 2
* OTHERS = 3
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards,
Mdi.Deeba Najam. -
Create a dynamic physical file path in FILE tcode
Hi ,
I have a requirement where i need to create a file on application server. the physical path depend on the month in which it is executing.
For example I have a file with the name 29082011_hh:mm:ss.dat.
This file should be stored in the directory file015\FI\appl\Aug\.
So i require to create the logical file path as file15\Fi\appl\<month>\<filename>
My question is do we need to maintain the folders for all the months in AL11 or it can be generated at runtime
Plz replyYou must create the directories beforehand.
-
Reading data from a text file but can't use the data outside of the function.
I am trying to load a variable from data in a text file.
I can read the text file fine but the variable data seems
only to be available with in the function that reads it.
I need to use the variable data outside of the function.
Does anyone have any suggestions to work around this issue?
This is the actionscript code i'm using.
var pathVars= new LoadVars();
pathVars.onLoad=function(ok) {
if(ok)
trace("Loading");
path_var=pathVars.path;
trace("This is within the function "+path_var);
pathVar0="This is within the function... "+path_var;
Yet the path_var is available here fine.
pathVars.load("mypath.txt");
This is where the path_var becomes undefined
trace("This is outside the function... "+path_var);
pathVar1="This is outside the function... "+path_var;
This
is a download link for the FLA zip file
This
is a demo of the script loading the text fileThe external traces are being executed before the file is
loaded. -
The exported file path can't contain special Symbol '='
I see this error since I upgraded to LR 5.5 from 3.x
Now why should that be a problem on the Windows OS? A '=' is perfectly OK as part of a folder name. Actually my workflow automation depends on this naming convention.
It's a real nuisance to export to a "dummy" folder and then move the images again.
What do you think?I beg to differ with you - the bottom line is that "=" IS a valid character for filenames and filepaths not only in the Windows family of OS's but in HFS based systems (generally those with a linux kernel) such as the MAC OS family. It works in Photoshop AND every other app that I run on both my Linux and Windows systems. I do not have a MAC to test with but I bet you that it works fine (except with LR). In LR, Adobe decided to change something which is causing this problem. I know I am not the only one using this technique of a special character in a directory name to ensure that it sorts to the top of the list. Been doing it that way since computers needed air conditioning. I suppose I will be forced to come up with a work-around.
-
File path of open data storage
Hello all!
Now I'm using the blocks of open data storage, write data and close data storage for storing and extracting result data. For the file path issue, before I
set the data path by double clicking the "open data storage" block and inserting the file location in the indicated place, and that worked!
Now since I made a stand alone application of this program and shall use it in other computers, the file location I inserted in open data storage block isn't
valid any more in other PCs. So I modified my source code by connecting a "current vi path" to the open data storage block's file path node instead of
inserting it inside the block, and this doesn't work! During running there shows an error in the write data block saying that the storage refnum isn't valid!
I'm wondering why I couldn't specify the file path like this. Any way to allow me to specify the file path as the current vi path?
Thanks!
Chao
Solved!
Go to Solution.You need to account for the path changes when built in to an application, have a look at this example.
https://decibel.ni.com/content/docs/DOC-4212
Beginner? Try LabVIEW Basics
Sharing bits of code? Try Snippets or LAVA Code Capture Tool
Have you tried Quick Drop?, Visit QD Community.
Maybe you are looking for
-
Transfer kodak emailed photos to iphoto
my newest question is how do you get photos emailed to you in kodak's email photo gallery to transfer to iphoto ? there is no attachment to click on or save button
-
CR2 Files Not Recognized in Photoshop CS5
Hello! I've been having an issue trying to get a few cr2 files to open in CS5. I have about 800 cr2 files and all will open but about 100. I can't figure out what the issue is with this group of images compared to the rest. They won't open in Bridge
-
When I try to use my Turbotax it says I currently have MAC OS X 10.6.8 and I need MAC OS X 10.7 or later. What do I do?
-
I'm having an issue trying to edit my images. When I right click on an image and go to "edit with - photoshop CS4" nothing happens. I've tried several times with several images and nothing. The other day when I was editing it suddenly started open
-
My macbook4,1 is on OS X 10.5.8 can I upgrade online to Lion?
Any tips on how to upgrade my old Macbook4,1 which is still running Leopard to Lion or other so I can update Itunes so it is able to sync with my iphone 5?