F4 on application path
Hi ,
I have a req to display the folder contained in application path as if we do it on presentation path.
I have tried all the FM and classes but those are displaying only files that to from this C:\usr\sap\DEV\DVEBMGS00\work.
Is that any FM or class which would display list of DIR (directories) so that user can choose.
Pls any pointers will be great helpful.
Try below program....
Give path of the folder in filename....
REPORT zapplf4help.
PARAMETERS : pl_path LIKE DXFIELDS-LONGPATH.
data : filename like DXFIELDS-LONGPATH VALUE 'usr\sap\DEV\DVEBMGS00\work'.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR pl_path.
CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
EXPORTING
I_LOCATION_FLAG = 'A'
I_SERVER = ' '
I_PATH = filename
FILEMASK = '.'
FILEOPERATION = 'R'
IMPORTING
O_LOCATION_FLAG =
O_SERVER =
O_PATH = pl_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,
vinod
Similar Messages
-
How do I define my web application path in Tomcat6
Hi friends,
Can anybody tell me how to define and where to define my web-application path in tomcat 6 server?
I absolutely don't want to change any files inside tomcat6\conf\ folder (like its server.xml or context.xml)
My problem comes in the following scenario:
i) My Webapplication path is c:\tomcat6\webapps\test-servletii) I have one html form file registration.html in c:\tomcat6\webapps\test-servlet\registration.htmliii) I have a form processing servlet in path c:\tomcat6\webapps\test-servlet\WEB-INF\classes\pkg_register\Process_Registration.classiv) web.xml file inside WEB-INF\ has contents
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<servlet>
<servlet-name>Process_Registration</servlet-name>
<servlet-class>pkg_register.Process_Registration</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Process_Registration</servlet-name>
<url-pattern>/Process_Registration</url-pattern>
</servlet-mapping>
</web-app>PROBLEM : In html <form action="/test-servlet/Process_Registration"> works fine.
But every time I don't want to give my web application folder name in URLs( not in web.xml or in form action, it should be default relative path).
I want to give just, <form action="/Process_Registration"> in registration.html file's form action.
Any help is appreciated.
Thanks.
---SujoyThanks...
It solved the problem by putting <form action="Process_Registration"> instead of <form action="/Process_Registration">When I was using <form action="/Process_Registration"> it was directly taking me to
http://localhost:8888/Process_Registration .
But, now when i use <form action="Process_Registration"> it takes me to
http://localhost:8888/test-servlet/Process_Registration which IS CORRECT.
But, still i don't know why the <form action="/Process_Registration"> was taking me out of my current webapplication path. It should have given me ERROR.
--Sujoy -
How to get application path in java bean
hi all,
We will be using <%= application.getRealPath("/") %> for getting the application path in jsp. is there any similar way to find the path using a bean. Please do help....
thanx
Message was edited by:
endI try to use application.getRealPath("/") in my .java file, but gets an error "application can't be resolved". Do you need to include any library in order to use "application.getRealPath("/")"?
Thank you. -
Description
Faulting Application Path: C:\Program Files\Safari\Safari.exe
Problem signature
Problem Event Name: APPCRASH
Application Name: Safari.exe
Application Version: 5.34.57.2
Application Timestamp: 4f982b5e
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.18015
Fault Module Timestamp: 50b83b16
Exception Code: 80000003
Exception Offset: 0003491e
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Extra information about the problem
Bucket ID: 3349202712im having this problem to ive uninstalled and installed but this still comes up!!
Problem signature:
Problem Event Name: BEX
Application Name: iTunes.exe
Application Version: 10.7.0.21
Application Timestamp: 504d85d9
Fault Module Name: StackHash_0a9e
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 00000000
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 5129
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789 -
When using the Secure Global Desktop, Configuration Wizard, Windows Applications, Application Type = Windows Application, what syntax is used in the "Application Path" field? Is it forward slashes or back slashes?
And can someone point me to a Microsoft document that explains how to look on the Windows server and tell if a server is serving an application? I presume it is via terminal services, but I have never administered that before.When using the Secure Global Desktop, Configuration
Wizard, Windows Applications, Application Type =
Windows Application, what syntax is used in the
"Application Path" field? Is it forward slashes or
back slashes?
And can someone point me to a Microsoft document that
explains how to look on the Windows server and tell
if a server is serving an application? I presume it
is via terminal services, but I have never
administered that before.Hi.
If memory serves I think you can use both syntaxes (ie, forward and backslahes); if in doubt, use the Windows syntax (ie, backslashes - eg C:\Windows\NOTEPAD.EXE).
Case is not significant.
Best,
Rob -
Hello,
While creating a new FDM application I am currently recieving a message that states that the application path is invalid.
Path statement currently being used_
\\SeverName\D$\Hyperion\products\FinancialDataQualityData\AppName
Can someone please shed some light on this issue?
Thank you!
TonyThe folder "AppName" likely does not exist. Remove that. When creating a new app, FDM will create the "AppName" folder natively.
-
Available Size in Application Path.
Hello,
I have developed an iPhone application.
The application build size is 1.3MB.
My application working with lot of mp3 and m4v files.
I downloaded all files from server and uploaded into application path [Document].
The audio and video file nearly take 1GB. Is it possible for store all files in iPhone application path. Otherwise give me a idea for me..
NalaNschavali wrote:
Pl post details of OS, database and EBS versions. Which message are you trying to change the font size for ?
We have not been successful in changing the font size of the messages defined in FND_NEW_MESSAGES (accessed using the Application Developer responsibilty, Application --> Messages)
HTH
SriniThanks for the reply. I'm also trying to change the font size using the application message and use it in messagestyledtext in oaframework but the font size is not being reflected. Below is my syntax which i have included in the html tags. Thanks
font color=#FF0000 face = "Arial" size ="25" color ="blue"
This is the test text which whose font and color needs to be changed. -
Getting application path when launching a Jar
Hi,
very simple
how do you get the application path when launching a jar file?
NNiolUnless you mean the standard application folder. That application path is an OS specific concept. On Windows systems, for example, you can get the application path by using System.getenv("ProgramFiles"); but that won't work on other systems.
If you're looking for a constant location to store data files, you'd do better to create an application-specific directory under System.getProperty("user.home");.
And if you're just looking for the place where your jar file is, you can successfully follow the previously given advice.
--DNP -
5.0.2 Faulting Application Path (Adobe Peeps?)
I posted this another thread but it was passed over with other things so I thought I would give it it's own thread.
I just updated to 5.0.2 and the installer finished and said installed correctly.
I then started Premiere and loaded an HDV project. When the media was loading Premiere crashed and a message from Windows popped up saying that it will try and fix the issue along with some other things I don't remember. Windows said to restart the program and when I did it seemed to load the HDV project correctly.
I checked the windows crash log and the description for the Premiere crash was a "faulting application path" It came with a problem signature with this underneath it:
problem event name: APPCRASH
Application Name: Adobe Premiere Pro.exe
Application Version: 5.0.2.0
Application Timestamp: 4c731297
Fault Module Name: Pluginsupport.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4c72c90b
Exception Code: c000041d
Exception Offset: 00000000000133ba
OS Version: 6.1.76002.0.0.256.48
Locale ID: 1033
Additional Information 1: 5464
Additional Information 2: XXXXXXXXXXXXXXXXXXXXXX
Additional Information 1: 9659
Additional Information 1: XXXXXXXXXXXXXXXXXXXXXX
Can anybody make any sense of this and why it might have happened?dradeke wrote:
First try clearing your preferences. Second try importing the project into a new one.
Dennis
Where do you clear preferences? -
How to get Application path? Urgent!!!!
Hai!
I have developed one application in Swing. I want take application path in that application. How can I get? Anybody pls help to me.
Thanks in advance
JosephYou can try this code to get all properties:
Properties props = System.getProperties();
Enumeration enum = props.propertyNames();
while(enum.hasMoreElements()){
String name = (String)enum.nextElement();
System.out.println("Prop Name: " + name + "\tValue: " + props.getProperty(name));
}And to find more about printing you can check this URL:
http://java.sun.com/j2se/1.4/docs/guide/jps/spec/jpsOverview.fm.html -
How to get the application path?
Does some body know how to get the application path in Java? Here is an example about what I'm thinking: Let's imagin the application is on "c:\try" or "c:\ProgramFiles\MyApp". My question is how can I find the path where the application is. Please give an example if you know the answer. Thank you so much.
Those two replies give you some useful directories, it's true, but maybe not what the OP asked. However the OP asked for something that doesn't have a meaning (applications don't have to be "on" any directory, whatever that might mean).
Would the OP like to describe what the actual problem is here? -
Hi
How to get Application Path from form module (Any Built Ins)Hi,
declare
curform varchar2(100);
begin
curform:=get_application_property(current_form);
end;
hope it helps u..
navneet jain
[email protected] -
APM how to create APM application group for same application but different application paths
Hi all,
We have few applications which are of same name but different application path.
Please check the screenshot. When we create different application groups using APM wizard, we still get errors mentioning the conflict. How to resolve this issue.
Thanks
Manish
ManishI cannot see any screenshot here, what do you mean same application name but different path?
-
I expirienced the behaviour that the first item in the Application Path Member from a Application Path List will be deleted as far as the first item in the Application Path Member List will be selected in anather Application Path List without saving. This is according to severals peripherals as well.
Example:
Configuration Manager > Application Path List
In the Application Path List "McalMediaRouting" the following Application Path Members are configured.
For this example, the first Media Routing Domain for the Peripheral is Chat.
Now, adding a new Application Path Member for the Application Path List "SiebelMediaRouting" with a new Media Routing Domain, which is not yet assigned to a Application Path List.
Select the same Peripheral PG1A_CCM and choose the new MediaRouting from the list. At this point the Application Path Memeber with the Media Routing Domain "Chat" will be deleted in the Application Path List "McalMediaRouting". This will be deleted even without saving it.
UCCE Version 9.0.2 used.
Is this per design or is this a defect?
Kind regards
DavidHI
add that fileds in the all locations where you need it like
in internal table declaration , write statement , select statement
these are the main areas where you have to add that 2 fileds -
How do you get the web application path from the servlet?
I have created a web application which is installed in
/webapps/myApplication
/webapps/myApplication/data/users.xml
/webapps/myApplication/WEB-INF/classes/myServlet
How can you get the path to the "users.xml" file from the "myServlet" file?
The code below doen's seem to return the xml file. anybody knows why?
public class myServlet extends HttpServlet {
public void doGet( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException
File myXmlFile = new File("/data/users.xml");Try this..
String FileName = getServletContext().getRealPath("\\data\\users.xml");
File myXmlFile = new File(FileName);
hope this helps..
Maybe you are looking for
-
Some differences in Java settings giving me problems running a java program
Hello, We have a Java app in our web-site. We haven't done that app our self and it has been working for quite some time. Now on my computer the java app loads just nicely. But for other users there java app crashes. So basically there has to be some
-
Ipod Touch won't recharge or connect to Itunes
Hi - first post here. I used my ipod touch with no problems on Monday night to upload music. I went to connect to Itunes yesterday and it didnt connect or does the ipod touch recharge when I connect it to my Bose docking station. I tried my girlfrien
-
I am trying to write XML file from xPath with corresponding values from database. Below are the part of xpath's and values in 1. I am trying to write as XML file with this format in 2(this is part of file). Could any please tell me how to write this
-
Java.exe has generated errors
Hi all, I have installed JRE 1.2 and Jdk 1.2.2 on my new machine (Pentium 4 ) with Windows 2000. When i am running the java.exe or javac.exe from command prompt , I am getting following error messages. "java.exe has generated errors and will be close
-
Third Party acct determination VAX
Hello, When I am trying to create a Third party Sales order PR is generated. But in this PR the account assigment data is not what we have set in OBYC in GBB --> VAX. (COGS G/L) Instead it is directly picking the Stock account G/L maintained in the B