Application Server Report Path
Dear Oracle Gurus
I am new to this area of expertise. We have a peculiar problem. Let me try to explain this
We are running Oracle Appication server in Windows based environment( windows server 2003 i presume)
we have multiple projects running in this server. Two of our projects are almost similar and identitcal. They share the same name for forms and reports but the content will be different.
The problem is when we execute a call to a report from our application, the report with the same name from other project gets executed.
I discussed this with our Hardware and network engineers. They said that the path to find the reports is specified in the windows registry file where it is specified that the folder of the other project is given first and then our project folder is specified next.
Tempororily , they put our project folder's name first.
I beileve that there should be some other better and permanant solution for this
can anyone help me out in this
with warm regards
ssr
Hi ssr,
the best way is to create two or more report server with different names. For each report server you can define a sourceDir and tempDir. You must enter the values of the sourceDir and tempDir in the*.conf File from the reportserver. You will find the *.conf-File in the following directory: $ORACLE_HOME\reports\conf The name of the file is <reportservername>.conf. It is a XML-File. IN Line 15 or 16 you find the Part for the sourceDir and tempDir. After that you must restart the report server.
Call from Forms:
Wenn you call the application you use a "?config=..." part in the formsweb.cfg. Then you must use two diferent *.env-Files. In each *.env-File you add a new environment parameter. Excample REPORTSERVERNAME=.... In your Forms application you can read this parameter with TOOL_ENV.getvar('REPORTSERVERNAME', l_name); And than you can controll wich application use wich reportserver. In our enviroment it works fine.
I hope that helps a little bit.
- Sven
Similar Messages
-
Application server file path vaidation
I have written the code for application server file path validation.
DATA : l_fname TYPE filename-fileintern." type c.
DATA : l_filpath TYPE filename-fileintern,
l_filname(40) TYPE c.
PARAMETER : p_sucfil LIKE rfpdo-rfbifile OBLIGATORY. " rlgrap-filename
AT SELECTION-SCREEN ON p_sucfil.
l_fname = p_sucfil.
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
CLIENT = SY-MANDT
logical_filename = l_fname
OPERATING_SYSTEM = SY-OPSYS
PARAMETER_1 = ' '
PARAMETER_2 = ' '
PARAMETER_3 = ' '
USE_PRESENTATION_SERVER = ' '
WITH_FILE_EXTENSION = 'X'
USE_BUFFER = ' '
ELEMINATE_BLANKS = 'X'
IMPORTING
EMERGENCY_FLAG =
FILE_FORMAT =
FILE_NAME = l_filpath
EXCEPTIONS
FILE_NOT_FOUND = 1
OTHERS = 2
IF sy-subrc <> 0.
message 'Invalid file name' type 'E'.
ENDIF.
But always i will get Invalid file name.
Y is it so.
pls help me.Praveen,
I have checked ur code and I found that if i give a logical file name from
tran. FILE under folder 'Logical file name definition, cross client' then ur code works. Pl. check.
Regards,
Joy.
DATA : l_fname TYPE filename-fileintern." type c.
DATA : l_filpath TYPE filename-fileintern,
l_filname(40) TYPE c.
PARAMETER : p_sucfil LIKE rfpdo-rfbifile OBLIGATORY. " rlgrap-filename
AT SELECTION-SCREEN ON p_sucfil.
l_fname = p_sucfil.
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
logical_filename = l_fname
operating_system = sy-opsys
with_file_extension = 'X'
IMPORTING
file_name = l_filpath
EXCEPTIONS
file_not_found = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE 'Invalid file name' TYPE 'E'.
ENDIF. -
How to give the application server file path in the module pool programming
Hi,
Could somebody help me how to provide the application server file path in module pool programming once the logo is uploaded to sap system.
For eg I have imported a logo name owens into sap system by using transaction se78; now I need to call the path in the below url,
if container2 is initial.
CREATE OBJECT CONTAINER2
EXPORTING
CONTAINER_NAME = 'PICTURE_CONTAINER2'.
CREATE OBJECT PICTURE2
EXPORTING
PARENT = CONTAINER2.
CALL METHOD PICTURE2->SET_DISPLAY_MODE
EXPORTING
DISPLAY_MODE = CL_GUI_PICTURE=>display_mode_fit_center
EXCEPTIONS
ERROR = 1.
CALL METHOD PICTURE2->LOAD_PICTURE_FROM_URL
EXPORTING
URL = " ? "
EXCEPTIONS
ERROR = 1
Others = 2.
endif.
Thanks in advance
Deepuhi Deepu,
Use FM '/SAPDMC/LSM_F4_FRONTEND_FILE' for fetching the data from the application server path/presentation server path
Regards,
Santosh -
Regarding Application server file path browsing
Hi All,
I have a issue regarding Application Server File Path browsing.
Actually in my selection-screen i will declare a parameter as <b>Application Server File Path</b> now when i press F4 in that field it should be able to browse through <b>Application Server Path's</b>.
Just like <b>F4_FILENAME</b> in the case of <b>Presentation Server File Path</b> Browsing.
Can anybody solve my issue.
Thanks in advance.
Thanks & Regards,
Rayeez.Hi Shaik,
Just copy and paste:
Here is the code for retrieving list of files contained within specific Application server directory(SAP).
PARAMETER: p_fdir type pfeflnamel DEFAULT '/usr/sap/tmp'.
data: begin of it_filedir occurs 10.
include structure salfldir.
data: end of it_filedir.
START-OF-SELECTION.
Get Current Directory Listing for OUT Dir
call function 'RZL_READ_DIR_LOCAL'
exporting
name = p_fdir
tables
file_tbl = it_filedir.
List of files are contained within table it_filedir
loop at it_filedir.
write: / it_filedir-NAME.
endloop.
Hope this will help you.
Let me know incase of any concerns.
EDIT:
There are few FM for ur refernce :
RZL_READ_DIR_LOCAL
SUBST_GET_FILE_LIST Return table with file list for the given directory (pattern allowed)
F4_DXFILENAME_TOPRECURSION Popup to select one file from the given application server directory
TH_SERVER_LIST Returns list of application servers.
EPS_GET_DIRECTORY_LISTING Lists filenames from the application server .
Cheers
Sunny
Rewrd points, if found helpful
Message was edited by: Sunny -
Application server file path name separated by apace
Hi All,
I am writing files on application server. Below is my fie path.
parameters: p_o_file like rlgrap-filename default '/xxx/tmp/app/outbound/1~lcxxxx~ACTUAL~periodfyyear~RR.txt'.
data : mnthyear(12) type c,
year(6) type c.
case p_rpmax.
when '010'.
p_ryear = p_ryear - 1.
concatenate 'FY' p_ryear into year.
concatenate 'OCT' '-' year into mnthyear separated by space.
replace 'periodfyyear' with mnthyear into p_o_file.
In the report output I am getting the file name correctly.
Output File: /dev/tmp/app/outbound/1~LC1000~ACTUAL~OCT - FY2013~RR.txt
When checked in AL11, it is showing me the below file name
1~LC1000~ACTUAL~OCT
my file name is truncated after space.
Can we create a file name with spaces? Awaiting your replies.
Thanks,
HarithaPl find snipet..
FORM save_file.
DATA: lv_data TYPE string.
*Move complete path to filename
gv_file = '1~LC1000~ACTUAL~OCT - FY2013~RR.txt'.
* Open the file in output mode
OPEN DATASET gv_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
MESSAGE 'Unable to create file' TYPE 'I'.
EXIT.
ENDIF.
LOOP AT gt_spfli INTO gwa_spfli.
CONCATENATE gwa_spfli-carrid
gwa_spfli-connid
gwa_spfli-countryfr
gwa_spfli-cityfrom
gwa_spfli-airpfrom
gwa_spfli-countryto
gwa_spfli-cityto
gwa_spfli-airpto
gwa_spfli-arrtime
INTO lv_data
SEPARATED BY ','.
*TRANSFER moves the above fields from workarea to file with comma
*delimited format
TRANSFER lv_data TO gv_file.
CLEAR: gwa_spfli.
ENDLOOP.
* close the file
CLOSE DATASET gv_file.
ENDFORM. -
Equalent of F4_filename function module for application server file path
hi experts,
i am using cl_gui_frontend_services=>file_open_dialog
for bring file path dynamically for user, in front end.
same feature i want to give when i am trying upload file from application server.
kindly provide me function module or class method, which will do it.
thanks in advance
regards,
pavanHi,
Use FM F4_DXFILENAME_TOPRECURSION
Sample code here
report ztest.
data : filename like DXFIELDS-LONGPATH.
data : begin of itab occurs 0,
a(200) type c,
end of itab.
CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
EXPORTING
I_LOCATION_FLAG = 'A'
*I_SERVER = '?'
*I_PATH =
FILEMASK = '.*'
*FILEOPERATION = 'R'
IMPORTING
*O_LOCATION_FLAG =
*O_SERVER =
O_PATH = filename
*ABEND_FLAG =
EXCEPTIONS
RFC_ERROR = 1
ERROR_WITH_GUI = 2
OTHERS = 3
break-point.
open dataset filename for input in binary mode.
while sy-subrc = 0.
clear itab .
read dataset filename into itab.
append itab.
endwhile.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
FILENAME = 'd:\abc.txt'
FILETYPE = 'BIN'
TABLES
DATA_TAB = itab
Regards,
Satish -
Validation and F4 help on an application server file path parameter
Hi
I have a field on a selection screen called File Path and it is for a download program where the user needs to specify the path for the download (NOT THE ACTUAL FILENAME).
I am trying to find a function or method that allows a user to use F4 help to browse for a directory rather than a specific file. There are lots of posts out there asking this question but all of the answers point to functions that allow you to browse for a particular file rather than just the file path/directory.
Does anyone know of a function that provides F4 help to browse for a file path on the Server (NOT PC). I would want the user to just be able to select the directory or path and have the path returned. They should not need to pick a specific file.
F4_DXFILENAME_TOPRECURSION is a very good function but unfortunately it makes the user pick a file rather than just a directory.
In addition to this, does anyone know of a function or method that allows you to then validate the path\directory that is entered?
Thanks for your help
NicoleHi,
You can try with the FM 'EPS_GET_DIRECTORY_LISTING'. With this Fm module you will get you the list of files of a particular path in an internal table. Then you can populate this internal table in F4 help.
Hope this solves your problem. If any difficulty, come back to me about that.
Below are some other FM related to application server directory. Hope these Helps.
EPS_GET_DIRECTORY_LISTING
EPS_GET_DIRECTORY_PATH
EPS_GET_FILE_ATTRIBUTES
EPS_GET_FTP_SYSTEM_INFO
Regards,
Shailesh Jadhav -
Regarding Application server file path
Hi All,
please explain the process how to create logical file path in FILE t-code.Hi,
logical file path
The (platform-independent) logical file path is evaluated at runtime to get the (platform-dependent) physical path (see Assignment of Physical Paths to Logical Path).
Two examples of this are:
· Logical file path: BW_OLAP_CACHE
Name: BW OLAP Cache
· Logical file path: BW_OLAP_CACHE_SPAN
Name: BW OLAP cache cross-application server
Assignment of Physical Paths to Logical Path
At runtime, the physical path assigned for the corresponding operating system platform is generated from the logical file path.
Since the physical path is platform-dependent, the customer must set it her/himself. The closer the file is to the application server or, with the cross-application server cache mode, to the application server, the faster it can be found and read.
Log(ical) path: BW_OLAP_CACHE
Name: BW OLAP Cache
Syntax group: UNIX (all Unix platforms)
Phys(ical) path: /usr/ (Syntax group WINDOWS NT)
In a heterogeneous system landscape (such as UNIX and Windows NT servers) all system-specific syntax groups must be maintained. Ensure that the definitions for the various syntax groups point to the same directory.
5. Save your entries
for detailed information
Have a look at this links... i guess it explains what you are looking for...
http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/content.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm
http://help.sap.com/saphelp_sm40/helpdata/EN/8d/3e4ec2462a11d189000000e8323d3a/frameset.htm
Regards,
Raj. -
Oracle Applications Server Reports Issue
Dear All,
When running a report in application server 10g release2(10.1.2). It's showing a error message
"Terminated with error: <br>REP-56109: Job 119651 is terminated due to connection timeout."
Anyone can tell me a procedure to rectify this error. I am struck in development due to this not able to proceed further.
Version Used:
Reports 10.1.2.0.2
Data Base 11.1.0.7.0
Application server 10g release2(10.1.2)
Note: This error occurred only in application server.where in local report builder it is working fine.Hi,
We have configured data base properly. This kind of problem we are facing in few reports.
apart that many other reports are working fine. however this reports are must to the customer for their MIS information.
Please advise us for a solution
Thanks & Regards
Dhamodaran -
Oracle Application Server Reports Keep Hanging even the engines is availabl
Dear All
i have oracle reports server running
but when i call the report its leep loading and in the application servers status it's tell me that the report is (Waiting in the queue)
even the all engines is available and not running any report
picture can tell better than thousand word
http://img199.imageshack.us/img199/7159/37178594.jpg
http://img718.imageshack.us/img718/6986/93253007.jpghi,
can you just give me the details of rep_<report_server>.conf file
Location:ORACLE_HOME/reports/conf
can you also pls provide the details of the application server on platform are you runnin.
Regards
Fabian -
Friends to surf the flat file
function module
what we use is
'KDGET_FILENAME_ON_F4'_
like this what is the fuction module for application server?????Try:
F4_DXFILENAME_TOPRECURSION
PARAMETERS: f_app(128).
AT SELECTION-SCREEN ON VALUE-REQUEST FOR f_app.
PERFORM get_fname_app.
FORM get_fname_app.
DATA: c_fnh_mask TYPE dxfields-filemask VALUE '.',
search_dir TYPE dxfields-longpath VALUE '/sapglobal/users',
file_path LIKE dxfields-longpath.
CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
EXPORTING
i_location_flag = 'A'
i_server = ' '
i_path = search_dir
filemask = c_fnh_mask
fileoperation = 'R'
IMPORTING
o_path = file_path
EXCEPTIONS
rfc_error = 1
OTHERS = 2.
IF sy-subrc EQ 0.
f_app = file_path.
ENDIF.
ENDFORM. "get_fname_app[/code]
OR
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_apath.
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
IMPORTING
serverfile = p_apath
EXCEPTIONS
canceled_by_user = 1
OTHERS = 2. -
9iAS application server(Reports)
sir ,
i am using oracle 9iAS on red hat linux 6.2 with oracle 8i database installed on the same machine.
my form server is running fine.
but when i try to run report server from the browser , nothing is shown in the screen except some words like :
GI/1.0 test script report:
argc is 0. argv is .
SERVER_PROTOCOL = HTTP/1.0
Content-type: text/html
and when i look at the report server log ,
i find '*** 14:41:39 server is starting up'
i find '*** 14:44:19 server engine cannot be started'
my Reserver.ora is like this
maxconnect=20
cachedir='some directory'
cachesize=100
minengine=0
maxengine=2
initengine=0
maxidle=30
security=1
englife=100
repositoryconn="our database userid/passwd@databasename"
i will be greatful to u,please help. this is very urgent
Prasun Neogy
nullHi,
I'm also facing the same problem but I'm using redhat7.1
did you get any solution for it.
thanks in advance
Akhil -
Starting iPlanet Application server reports an error and shuts down the ldap server
Hi,
This has been happening to me starting today. I have kept the service to
be interactive with the desktop. The starting of the service doesn't even
open up the command prompt.
The specific error is
Error 2147 : Internal server error.
Looking up on this error on gave me a statement :
"Error 2147
The specified parameter could not be found in the configuration information.
Explanation: Windows NT could not find a particular entry in your
configuration.
Action: Ask your network administrator to check your configuration. The
administrator should make sure your system configuration contains all
information required to run Windows NT and any associated applications. "
Can anybody put some light on this. The version of iplanet is 6.0 SP2 and is
being run on windows NT workstation.
Kind regards,
GurjitI ran into this error the other night talking to an openldap server running on solaris ... after hours and hours and hours and hours it turned out to be ...
wait for it
wait
My client was sending ldap V2 and I set this in my openldap slapd.conf file
allow bind_v2
I hope this helps. -
Create report output to the Client of the Application Server inst.of Server
Hi,
Please suggest the soution for the below:
We are using SET_REPORT_OBJECT_PROPERTY and WEB.SHOW_DOCUMENT to create report. Now Requirement is to save the report output to Client instead of server. I tried to use WEBUTIL but web util can be used from form only becuase that is using form item.
(1) We are calling all our report from a form. Is there any option to trigger a action when ever a report job is created in Application server (report server)
(2) Please let me now is there any option to create the output directly to client of application server 10G R1WIN , 10GR2WIN or in 11G. If yes please let me know the details.
Wtih Thanks & Regards
K.Sundar
Edited by: 870860 on Jul 13, 2011 10:27 PMHi,
Please suggest the soution for the below:
We are using SET_REPORT_OBJECT_PROPERTY and WEB.SHOW_DOCUMENT to create report. Now Requirement is to save the report output to Client instead of server. I tried to use WEBUTIL but web util can be used from form only becuase that is using form item.
(1) We are calling all our report from a form. Is there any option to trigger a action when ever a report job is created in Application server (report server)
(2) Please let me now is there any option to create the output directly to client of application server 10G R1WIN , 10GR2WIN or in 11G. If yes please let me know the details.
Wtih Thanks & Regards
K.Sundar
Edited by: 870860 on Jul 13, 2011 10:27 PM -
Deploying forms and reports on Application Server 10g
I had buit some forms,reports by using Oracle Developer Suite( Oracle Form developer, Report developer ) , I had run them on that tools. Now I want to deploy on Oracle Application Server. How can do it , any one can tell me step by step (because I'm a beginer). How do I deploy on Application Server ? I had installed Oracle Application Server (without install Infrastructure) , can I deploy ? because My computer not support install Oracle Application Server with Infrastructure (memory only 512M). Are there any way ?
I'm beginer, please tell me step by step. thanksHi,
You can install the Oracle Application Forms and Reports standalone version of the application server. This does not require an infrastructure.
As far as deployment of Forms and Reports, you can either place your compiled (.fmx and .rep) files in the default \forms90 directory or you can place them in another directory and specify the location in the formsweb.cfg file.
For more information on the Oracle Forms and Reports standalone, see the installation guide at http://download-west.oracle.com/docs/cd/B19375_06/doc/frs/install/B16392_03/toc.htm.
For information in deploying Oracle Forms, see the Oracle® Application Server Forms Services Deployment Guide at http://download-west.oracle.com/docs/cd/B19375_06/doc/frs/forms/B14032_03/toc.htm
Reports deployment info is contained in the Oracle® Application Server Reports Services Publishing Reports to the Web at http://download-west.oracle.com/docs/cd/B19375_06/doc/frs/reports/B14048_02/toc.htm
All of these documents are in the documentation library at http://download-west.oracle.com/docs/cd/B19375_06/doc/frs/docs.htm
HTH,
Jim
Maybe you are looking for
-
Unable to select a destionation to install OS X
I am trying to install OS X on my Mac but it will not allow me to select a destionation. Can anyone help?
-
My Infinity contract is due for renewal in a couple of months time. Should I ask for an HH4 when I renew? My HH3 has worked very well for me. Is anything likely to be worse with the HH4? I've seen one user say he has problems with 2.4ghz wireless - b
-
Also Having trouble with Safari
I have redownloaded Pantha twice, hoping to redown load Safari but it doesn't work...this is the message I get...Safari cannot open a browser window and may be missing important resources. Try installing Safari again. This started when I did the soft
-
Error during RETR epilogue: FTPEx: 426 Data connection: Broken pipe
Hi Experts, We have XI file to file transfer configured via the ftp... while im trying to upload the file from the source folder to target folder, im getting the following error: which i have tried to resolve but not able to... help in this regard wi
-
N86 games - Why only 2 buttons are avail and not a...
hi, The top part of the phone which is covered by the slider has 4 buttons (for pic viewing, music and games). I found it very convenient to play games with it. However, only the 2 middle buttons are available for n gage games. The top and bottom one