Physical Path of BDS document
Hi friends,
Can any one tell me how to find out the Physical path of BDS which are stored in the server
Thanks and regards
Srikanth. S
Hi,
I uploaded a document in the transaction OAOR (Business document service tcode). According to my knowledge that uploaded document will get stored in development server. I want to find out the physical path of that uploaded document.
For example: I uploaded a word document say PO.DOC in tcode OAOR. In the developement server where the PO.DOC will store.
Thanks and regards
Srikanth. S
Similar Messages
-
Physical path for KM documents and folders in WAS
Dear All,
Could you please help me in finding the physical path of the KM Content stored in the back-end WAS.
Helpful answers will be rewarded.
Thanks
Prabhakar MHello Prabhakar M,
In the Details of your Document.
Click on Properties.
Under Properties, Click on Access Link.
Under Access Link, there will be WEBDEV URL
Webdev URL is the path where your Documents are Stored.
Also, it is highly dependent on type of Repository.
All the 3 modes of CM Repository have different ways of Storing.
Kindly share, the mode of repository you use?
Regards,
Chinmay Joshi -
Physical Path for KM Documents
Hi,
I would like to know the path for the physical location of the documents that I have uploaded into the Portal.
(EP6 SP9)
Regards,
HarishHi Harish,
to complete this issue:
(a) CM-Repository:
(a1) DB: As already said, nothing is saved within the file structure.
(a2) FSDB: Under the "normal" structure which is mapped within the CM Repository Manager settings; this only for the "etc" repository is the path given above.
(a3) DBFS: Under an internal structure of the directory mapped within the CM Repository Manager settings
(b) All other repository types depend on their types. Filesystem repositories for example of course - are mapped filesystem structures.
Hope it helps
Detlev -
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! -
Print BDS document(in PDF format) from SAP R/3
Hello ,
I have a requirement to print BDS document(in PDF format) from SAP R/3 without user interaction.
In simple way, if I execute the program - PDF document will get printed on local default printer.
Please help me if anybody worked on similar requirement.
Thank you very much,
LiliyaHi Liliya,
First you should create a smartform for BDS Layout and give output parameter like this..
wa_param-langu = sy-langu.
wa_param-no_dialog = 'X'.
wa_param-getotf = 'X'.
wa_param-DEVICE = ' '. " (here you can give the path of your printer)
lv_output_options-tdnewid = 'X'. "Print parameters,
lv_output_options-tddelete = space. "Print parameters,
lv_output_options-tdnoprev = 'X' .
lv_output_options-TDIMMED = 'X' . " it will give the immediate output of form in given output device
I hope it will help you.....
Enjoy... -
Finding of the Logical and Physical filename,Logical and Physical Path
Hello All
Where and how can I find the below details in an SAP server
Logical filename:
Physical filename:
Logical path:
Physical path:
Regards
Kalyanihi
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.
You need to tak ehelp of ABAPer for this
Check the link
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/frameset.htm
Regards -
How to find the physical path of the ASM disks?
I am in a dilemma on how to find out the physical path of the ASM disks. I tried the following query, but as you can see it is not providing me the physical path of the LUN. This is a 2 node 10.2.0.4 RAC Cluster using asmlib package.
col name format a20
col path format a20
col label format a20
select name, path, label from v$asm_disk;
NAME PATH LABEL
ORCL:ASM103 ASM103
ORCL:ASM104 ASM104
ORCL:ASM117 ASM117
ASM101 ORCL:ASM101 ASM101
ASM102 ORCL:ASM102 ASM102
ASM105 ORCL:ASM105 ASM105
ASM106 ORCL:ASM106 ASM106
ASM107 ORCL:ASM107 ASM107
ASM108 ORCL:ASM108 ASM108
ASM109 ORCL:ASM109 ASM109
ASM110 ORCL:ASM110 ASM110
NAME PATH LABEL
ASM111 ORCL:ASM111 ASM111
ASM112 ORCL:ASM112 ASM112
ASM113 ORCL:ASM113 ASM113
ASM114 ORCL:ASM114 ASM114
ASM115 ORCL:ASM115 ASM115
ASM118 ORCL:ASM118 ASM118
ASM119 ORCL:ASM119 ASM119
ASM120 ORCL:ASM120 ASM120
ASM121 ORCL:ASM121 ASM121
ASM122 ORCL:ASM122 ASM122
ASM123 ORCL:ASM123 ASM123
NAME PATH LABEL
ASM124 ORCL:ASM124 ASM124
ASM125 ORCL:ASM125 ASM125
ASM126 ORCL:ASM126 ASM126
ASM127 ORCL:ASM127 ASM127
ASM302 ORCL:ASM302 ASM302
ASM303 ORCL:ASM303 ASM303
ASM304 ORCL:ASM304 ASM304
ASM305 ORCL:ASM305 ASM305
ASM306 ORCL:ASM306 ASM306
ASM307 ORCL:ASM307 ASM307
32 rows selected.
Any help will be appreciated.
--MMhi
use the following linux command as root:
$oracleasm listdisks
hth -
How to get the physical path of my web app root context ?
Hi,
I used this code to initialize my LOG4J logger.
System.out.println(Version + "Servlet context path : " + sctx .getContextPath());
String path = sctx .getRealPath("/");
fullyqualifiedlog4jpath = path + "log4j.xml";
File locallogxml = new File(fullyqualifiedlog4jpath);
if (locallogxml.exists()) {
initialized = true;
DOMConfigurator.configure(fullyqualifiedlog4jpath);
log = Logger.getLogger(Log4j.class.getName());
log.info(Version + "Logger initialized");
else {
System.out.println(Version + "Unable to locate the log4j.xml file");
}It works perfectly when running the application with the embedded Jdev11 WLS.
When deploying the application on a standalone WLS server the path is not returned ;-( I get a null value.
Does someone has three lines of code which get the physical path of my web app root context?
YvesChanged the methiod used to access log4j.xml.
FacesContext ctx = FacesContext.getCurrentInstance();
ServletContext sctx = (ServletContext) ctx.getExternalContext().getContext();
String contextPath = sctx.getContextPath();
HttpServletRequest hsr = (HttpServletRequest)ctx.getExternalContext().getRequest();
String host = hsr.getServerName();
int port = hsr.getServerPort();
try
String urlstring = "http://" + host + ":" + port + contextPath + "/faces/log4j.xml";
DOMConfigurator.configure(new URL(urlstring));
log = Logger.getLogger(Log4j.class.getName());
.....using the URL s OK. -
How to find the physical path of a file
Usually, one can use absFileNmae() method to find the path of a file in Java. The problem is that it may only return a mapped path when a Servlet or JSP is running in a special server. For example, when I run a servlet "MyProgram" in JRun, absFileName() only returns "c:\JRun\jsm-default\MyProgram", which is just a mapped path, not a real physical path.
By the way, in ASP, one can use server.mapPath("MyASPProgram.asp") to obtain the real physical path of the file.
Your solution is welcome.
YCUsually, one can use absFileNmae() method to find the path of a file in Java. The problem is that it may only return a mapped path when a Servlet or JSP is running in a special server. For example, when I run a servlet "MyProgram" in JRun, absFileName() only returns "c:\JRun\jsm-default\MyProgram", which is just a mapped path, not a real physical path.
By the way, in ASP, one can use server.mapPath("MyASPProgram.asp") to obtain the real physical path of the file.
Your solution is welcome.
YC -
Physical Path in File Adapter for Windows Server
Hi There,
I am trying to read a file from a directory on a windows server and write it to the same server in a different directory.
In the file adapter I gave the value for physical path as below:
"\\10.xx.34.xxx\Share\input".
However I am getting below message in the debug:
"Value specified for input Physical/Logical Directory is not a directory or is not readable."
Hence my question is what should be the value in the physical path for windows server.
Thanks in Advance
Krishna
Edited by: user452458 on Jul 19, 2010 11:30 AMThanks for your reply again.
Actually they are not on the same file system.
I have successfully used FTP Adapter to connect to a UNIX server.
However is it possible to use FTP Adapter for Windows Server. If so how should be the corresponding JNDI defined.
I am getting below error when I use FTP Adapter for Windows Server:
Unable to send file to server. [Caused by: A remote host refused an attempted connect operation.]
; nested exception is:
ORABPEL-11429
Error sending file to FTP Server.
Unable to send file to server. [Caused by: A remote host refused an attempted connect operation.]
Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
Please Advise.
Thanks
Krishna -
Getting physical path from logical path
Hi,
I am using the FM FILE_GET_NAME to get the physical path for a given logical path which I have specified within the FILE transaction.
The code works fine when I run the program in foreground but it doesn't work when I run it in background.
Can anyone advise on why this is and how I can get this to work correctly in background aswell as foregroud.
The ultimate goal is to be able to poll a directory on the SAP server (which could be windows or unix) and to process the files in there.
Thanks,
RubyThank-you.
I would prefer to to use a default path if possible. The reason I defined a logical path was so that this could be defined outside the program.
Are you saying I cannot use this FM in background at all?
Is there another FM which will do the same thing but will work in background?
What I am trying to do is create a program which will run in the background polling a particular directory and then process the files in this directory if it finds any.
Do you know how I could achieve this using logical paths rather than using hardcoded paths? -
Directory logical path to directory physical path
Hello experts,
I have question related to getting path from defined earlier logcal path in FILE transaction.
I know there are FMs called 'FILE_GET_NAME' and 'FILE_GET_NAME_AND_LOGICAL_PATH' but they are not solving my problem.
Let's say I know only physical file name and logical file directory, but I don't know the full physical path of file.
I now want to build a program where user writes down the physical name of the file and in the code side there is defined logical file directory from which we can get the physical directory path and concatenate it with entered filename. Is there a possibility to do that?
Thank you in advance.
Best regards,
Andrewfunction module FILE_GET_NAME_USING_PATH is doing exactly that.
-
How to Configure logical path and how to retrieve physical path for an IDOC
Hi ,
I want to configure logical path for an IDOC,
and then I need to retrieve Physical path from this logical path
using a FM (eg. FILE_GET_NAME).
How to configure the logical path for an idoc ?
Regards ,
Harshit RungtaUsing Logical Files in ABAP Programs
To create a physical file name from a logical file name in your ABAP programs, use the function module FILE_GET_NAME. To insert the function module call in your program, choose Edit ® Insert statement from the ABAP Editor screen. A dialog box appears. Select Call Function and enter FILE_GET_NAME. The parameters of this function module are listed below.
Import parameters
Parameters
Function
CLIENT
The maintenance tables for the logical files and paths are client-dependent. Therefore, the desired client can be imported. The current client is stored in the system field SY-MANDT.
LOGICAL_FILENAME
Enter the logical file name in upper case letters that you want to convert.
OPERATING_SYSTEM
You can import any operating system that is contained in the list in Transaction SF04 (see Assigning Operating Systems to Syntax Groups). The physical file name will be created according to the syntax group to which the operating system is linked. The default parameter is the value of the system field
SY-OPSYS.
PARAMETER_1
PARAMETER_2
If you specify these import parameters, the reserved words in the physical path names will be replaced by the imported values.
USE_PRESENTATION
_SERVER
With this flag you can decide whether to import the operating system of the presentation server instead of the operating system imported by the parameter OPERATING_SYSTEM.
WITH_FILE_EXTENSION
If you set this flag unequal to SPACE, the file format defined for the logical file name is appended to the physical file name.
Export Parameters
Parameters
Function
EMERGENCY_FLAG
If this parameter is unequal to SPACE, no physical name is defined in the logical path. An emergency physical name was created from table FILENAME and profile parameter DIR_GLOBAL.
FILE_FORMAT
This parameter is the file format defined for the logical file name. You can use this parameter, for example, to decide in which mode the file should be opened.
FILE_NAME
This parameter is the physical file name that you can use with the ABAP statements for working with files.
Exception Parameters
Parameters
Function
FILE_NOT_FOUND
This exception is raised if the logical file is not defined.
OTHERS
This exception is raised if other errors occur.
Suppose the logical file MYTEMP and the logical path TMP_SUB are defined as in the preceding topics and we have the following program:
DATA: FLAG,
FORMAT(3),
FNAME(60).
WRITE SY-OPSYS.
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
LOGICAL_FILENAME = 'MYTEMP'
OPERATING_SYSTEM = SY-OPSYS
PARAMETER_1 = '01'
IMPORTING
EMERGENCY_FLAG = FLAG
FILE_FORMAT = FORMAT
FILE_NAME = FNAME
EXCEPTIONS
FILE_NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC = 0.
WRITE: / 'Flag :', FLAG,
/ 'Format :', FORMAT,
/ 'Phys. Name:', FNAME.
ENDIF.
The output appears as follows:
HP-UX
FLAG :
FORMAT : BIN
Phys. Name: /tmp/TEST01
In this example, the R/3 System is running under the operating system HP-UX, which is member of the syntax group UNIX. The logical file name MYTEMP with the logical path TMP_SUB is converted into a physical file name /tmp/TEST01 as defined for the syntax group UNIX. The field FNAME can be used in the further flow of the program to work with file TEST01 in directory /tmp.
Suppose we have a logical file name EMPTY with the physical file name TEST, connected to a logical path that has no specification of a physical path. If you replace the EXPORTING parameter 'MYTEMP' with 'EMPTY' in the above example, the output appears as follows:
HP-UX
FLAG : X
FORMAT :
Phys. Name: /usr/sap/S11/SYS/global/TEST
The system created an emergency file name, whose path depends on the installation of the current R/3 System. -
Changing physical path in FILE TCODE using ABAP CODE
Hi all ,
I want to change physical path linked to logical path in TCODE FILE dynamically using ABAP program. Is it possible.
If yes then how?
Thanks for your help.
Regards,
Uday.s
-
Physical path and Logical name in File adapter
Hi All-
I am using a file adapter, in which i need to specify the physical path or logical path.
In dev environment my file adapter's input path is /c01/interface/dev/input, but in my test environment it is /u01/interface/test/input.
So everytime I have to change the path and deploy it in two different environment.
I am using unix environment, is there any way i can use some environmental variable $INPUT_DIR and use it in logical name so that in logical name i can use as $INPUT_DIR/input, where in dev $INPUT_DIR will be /c01/interface/dev and in test environment it is /u01/interface/test.
I have tried this but there is still some probelm, I want to know is the approach I am using is correct? or is there any other solution for it?
Regards,
SreejitHi,
1. physical name: use a specific directory (e.g. /u01/....
2. logical name: use a LogicalDirectory like "InputFileDir" and rewrite this inside the bpel.xml
http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/adptr_file.htm#CACDEBBH
and
http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/appx_deploydesc.htm#CHDBDIIF
But what about creating a softlink like this on your testsystem:
ln -s /u01 /c01
Maybe you are looking for
-
UNLOADING EXTERNAL SWF. SOMEONE HELP!
I have a menu in my site and i recently added a comment form that is loaded when you click one of the buttons of the menu. My problem is that when I click on a different menu button the external swf [comment form] its still there I've tried adding th
-
Hi Experts, I have three tables and I am using a join condition to link the three tables. Just need to know how can I improve the performance of the select query by using indexes. Can a secondary index be used in join table where in the where clause
-
Hi, I would like to know why is Long objects are not cached internally and pooled in Java. Since Long objects are immutable there shouldn't be any problem in doing this right? Let me know am I missing anything here...Currently for one of my applicati
-
XSS-apps on ERP2004 won't run in a NW04s Portal?
Hi, I'm facing here the curious situation where the XSS-WebDynpro-applications running on a ERP2004-AddIn-Java-Stack produce errors, when they are accessed within a Netweaver<b>04s</b> based Portal. On first click on a ESS/MSS area-link, nothing happ
-
Help needed on troubleshooting setup of tomcat3.3
I run the startup.bat in my tomcat folder, i got the following error... 2002-03-09 13:56:12 - ServerXmlReader: Config=$TOMCAT_HOME\conf\server.xml 2002-03-09 13:56:12 - PathSetter: home=F:\tomcat 2002-03-09 13:56:12 - ContextXmlReader: Context config