How to run OBIEE Reports in Multi-Org Environment?
How to run OBIEE Reports in Multi-Org Environment of EBS.
hi Rainer,
My Forms and Reports Server is in Same System only. Actually i am giving this path
http://vagee.ail/reports/rwservlet?
server=rep_vagee_oracle10g_apps_server&report=D:\FP2
\dealer_reports\oc_dealer.rep&userid=fp2/fp2erp@info
&destype=cache&desformat=pdf&ODSNO=OC0809/00110&branch=DLR002
In My AS System Running Successfully. But Client systems Page cannot be display message is displaying.
but generally i m able to access the reports server using this path
http://vagee.ail/reports/rwservlet?
then Reports server page is displaying but
when i specify that report server name
http://vagee.ail/reports/rwservlet?server=rep_vagee_oracle10g_apps_server
page cannot be displayed.
what will be the problem. please help me. thank you.
Regards,
Kalyan.
Similar Messages
-
Discoverer Reports does not work in Multi-org Environment after R12 Upgrade
Discoverer Reports does not work in Multi-org Environment after R12 Upgrade. Created a simple report using the below query:
SELECT po_header_id, segment1, type_lookup_code
FROM po_headers
WHERE segment1 = '5000002'
Query works perfectly fine; when i set the ORG_CONTEXT in the database using the command:
EXEC mo_global.set_policy_context('S',129)
But the report doesn't fetch any data when ran from an Org based responsibility. We've ensured that the MO: Operting Unit is set accurately and general Oracle reports (PLSQL Program OR XML Publisher) are working perfectly fine.
===========
I followed the steps provided in Metalink Note: 732826.1 - It works for some responsibilities where the MO: Security Profile is not set; but fails for those responsibilities where the MO: Security Profile is set.
I am looking for specific solution that works irrespective of either the MO: Operating Unit profile is set of not.
Please suggest. Appreciate your response.
Thanks,
Kesava ChunduriHi Hussein,
Thanks for the quick response.
Yes, I've gone thru both the notes specified below:
Discoverer Workbooks Based On Organization Enabled Views Are Not Populated [ID 1293438.1]
- Tried this option; but this option is messing up a couple of Oracle Standard Functionalities.
- For ex: If i set this profile option; we are not able to create any receipts using Custom Responsibilities.
I am able to create the receipt, when i remove this profile option.
No Data Shows for Reports in Discoverer 10g with Applications Release 12 [ID 1054380.1]
- I see that the products i am running these reports from AR/GL - already exists in these tables.
Anything other options??
Thanks,
Kesava -
How to run a report from oracle 10g form in .csv format
dear all,
how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
i'm using
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
Please Help..i have already tried.
but the report show in htm or html format. that file will not save into csv. please help. -
How to run a report in form 10g
How to run a report in form 10g;
RUN_REPORT_OBJECT - check the on line help and there is a great paper on otn.oracle.com/products/forms and click on 9i papers (it will be relevant for 10g as well)>
Regards
Grant Ronald
Forms Product Management -
How to run the report and show the output in excel file
salam
how to run the report and show the output in excel file,
how to run the report and print the o/p via printer
how to run the report and send the o/p via mail
thank u allHi,
There are Parameters DESTTYPE, DESFORMAT and DESNAME. You can set these parameters to get as you want.
1) Output in Excel File
ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'FILE');
ADD_PARAMETER(PL_ID, 'DESFORMAT', TEXT_PARAMETER, 'DELIMITED');
ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<file_name>.XLS');2) output to printer
ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'PRINTER');
ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<printer_name>');3) Email - Have to configure SMTP and all. ( i didn't checked it)
ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'MAIL');
ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<email_id>');Regards,
Manu.
If this answer is helpful or correct, please mark it. Thanks. -
How to Run a Report automatically in Background for every night
Hi,
How to run a report program in Background automatically for every nigh.
Thanks
RameshHi Ramesh,
You can use SM36 and use the "Job Wizard" to define a background job in simple step by step procedure
Or
Goto SM37 and specify a job name.
Next specify the ABAP Program Name of the report you want to execute under Job Step.
Then click on "Extended Job Selection" and goto the Period Tab.
There select "Only Periodic Jobs" and then specify the frequency of execution based on Months, Weeks, Days, Hours or Minutes.
Hope this helps,
Regards,
Madhur
Message was edited by: Madhur Chopra -
How to run a report in back ground
how to run a report in background with out using job open, submit , close is there any other function module to run report in background.
Hi,
There are two ways for you to handle,
one manually setting up the job through SM36 which is better and convinient,
secondly through program using FM's JOB_OPEN, SUBMIT, JOB_CLOSE.
Find below steps in doing both:
Procedure 1:
1. Goto Trans -> SM36
2. Define a job with the program and variant if any
3. Click on start condition in application tool bar
4. In the pop-up window, click on Date/Time
5. Below you can see a check box "Periodic Job"
6. Next click on Period Values
7. Select "Other Period"
8. Now give '15' for Minutes
9. Save the job
Procedure 2 via Program:
Below is a sample code for the same. Note the ZTEMP2 is the program i am scheduling with 15mins frequency.
DATA: P_JOBCNT LIKE TBTCJOB-JOBCOUNT,
L_RELEASE(1) TYPE c.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = 'ZTEMP2'
IMPORTING
JOBCOUNT = P_JOBCNT
EXCEPTIONS
CANT_CREATE_JOB = 1
INVALID_JOB_DATA = 2
JOBNAME_MISSING = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SUBMIT ZTEMP2 VIA JOB 'ZTEMP2' NUMBER P_JOBCNT
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
WITH DESTINATION = 'HPMISPRT'
WITH IMMEDIATELY = SPACE
WITH KEEP_IN_SPOOL = 'X' AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = P_JOBCNT
JOBNAME = 'ZTEMP2'
STRTIMMED = 'X'
PRDMINS = 15
IMPORTING
JOB_WAS_RELEASED = L_RELEASE
EXCEPTIONS
CANT_START_IMMEDIATE = 1
INVALID_STARTDATE = 2
JOBNAME_MISSING = 3
JOB_CLOSE_FAILED = 4
JOB_NOSTEPS = 5
JOB_NOTEX = 6
LOCK_FAILED = 7
INVALID_TARGET = 8
OTHERS = 9.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Hope the above helps you.
<b>Reward points</b>
REGARDS -
hi sap gurus
can anybody tell me about how to run a report in sap (ABAP). what is the TCode for that one.while i am trying to post asset master it is asking to start a report first and then post. kindly reply me soon
thanx in advanceHi,
- normal ABAP reports are executed by a TCode or SE38
- reports relating to assets are located at SPRO-Info Systems-Accounting-Fixed Assets
Rgds. -
How to run the report RM07CUFA?
How to run the report RM07CUFA?
Go to SE38 and enter RM07CUFA and click execute.
in the next screen enter details for
Movement Type
Special Stock Indicator
Company Code
G/L Account
and execute.
If you have any inconsistency with fields that will be shown with red colour.. -
How can run the report SAP_INFOCUBE_DESIGN?
hI gURUS
To know about the DIM Table size
How can run the report SAP_INFOCUBE_DESIGN?
Thanks
Cheers
DuraiFunction (se37):
RSDEW_INFOCUBE_DESIGNS
Try to see/run this function in order
to get statistic about one InfoCube
How to determine the size of DIM?
From this Function u can determine
how many rows in DIM u have.
After this u can determine size of DIM table:
ROWS * (How many Bytes are in one row) = Size of table.
In order to determine how many Bytes are in one row,
u can see transaction se11 -> Database table -> Tabkle name of DIM -> Display -> Fields -> just add the length*Bytes for all fields in this table.
BR -
Updating Salespersons in Multi-Org Environment
Has anyone devised an easy way to update salespersons in a Multi-Org Environment? The application requires you to update the salesperson at the address site level and frequent changes in personnel can force massive amounts of data entry time.
Any ideas?Hi
I have a setup document for R12 AME regarding invoice approval process.
However i need to find out if i have the same for R11i.
I am not sure whether R12 ame approval doc will be of any help for you, however i can forward you the same if you need it.
Thanks
Manish Jain. -
How to Run a Report for Blanket PO that have been OVER Invoiced (over limit
Hi All,
How do I run a report in ME2N, where I would want to see all the Blanket POs (Framework Orders) that has a "Actual Value" (the amt invoiced so far) which is Greater than the Overall Limit (specified in the "Limits" tab)?
Are there any fields in the Dynamic Selection in ME2N? I coudn't Find any......How can I compare two fields in the Blanket PO, for example "Overal Limit' > "Actual Value"?? How to put this selection criteria in ME2N
Edited by: Duke Dukester on Sep 17, 2008 10:31 AMYou will not get this information via ME2N but you can get via ME2S
once you execute the ME2S you will see the PO lines and if oyu double click on it than you will get the all information you are looking but the exact query directly not possible with ME2S
The best way is write the query using table ESUH and EKPO
joint EKPO to ESUH and do the query based on your requirements.
you can get the package number from EKPO and based on the package number you can retrive the data form ESUH table -
How to run GR55 reports in background for cost center hierarchies
1. I have been asked by our users to create batch jobs to run in the background for some GR55 reports, that can then be sent directly to cost center managers via email.
I have figured out the process to do this as long as the cost center manager only needs to see a single cost center at a time. However, if they are in charge of multiple cost centers, we also want to send them a summarized report using the hierarchy we have set up. I can't seem to make this work, as the job only seem to recognize the last cost center in the group and the report is for that cost center.
Example. cost centers 100, 200 and 300 belong to hierarchy abc. If I run the job just for cost center 100 it is fine. But if I have a variant to run hierarchy abc, or even if I use the range 100 to 300, all I get is a report for cost center 300.
We cannot use BW because we only have revenue in BW. I am being asked to make this work from standard R/3 within the GR55 realm of reporting.
2. In addition, the report selection criteria includes two separate plan/forecast versions. They need to update these each month prior to running the reports and sending them out. I looked at the variables associated with the versions and tried to set them up with default values that I hoped would update automatically so that they don't have to manually change 50 or so variants each month. But I don't see any dynamic variables that I can use to have the system make that change without going into each variant individually.
3. There is another piece to this equation as well. There is another report they want sent out in batch, but it is several pages wide in SAP and several pages long. So when you run it in batch and either spool it or get it sent as an email, it is very ugly in the formatting due to all the page splits horizontally and vertically. If anyone knows how to get the report to stay together like it would if you had excel integration turned on, it would be very helpful. I have tried running it with that integration turned on, but the jobs are set up with user batch_mgr and not my id, so it isn't working well. The batch_mgr id is just a system id, not a dialog id. We also don't want the jobs set up with a regular user id because if people leave, then the jobs all need to be changed.Kim,
I may have options for issues 1 and 2. In case of 3, what I can tell you is I understand the concern, but this is what typically happens in some standard CO reports that are not ALV compatible, I don't think there is not much there to do unless you add some custom code for the output.
In regards to point 1, yes, I have noticed that this happens in some standard and custom reporting, not sure what is going on. I came up with a work around that made the trick for my client in a similar scenario; which is editing the cost center groups. For instance, instead of having the group set as a range from 100 to 300, the groups are have listed the cost centers, 100, 200 and 300. Obviously, the disadvantage of this option is that it would require a bit of more cost center group maintenance.
In regards to point 2, I understand from your note that your users already have set up selection variants for the report. One option for you is to get the help from a developer to create a custom period variable and tiny program that runs in batch every month that would update that variable accordingly. Once that's done, you may have to update at least once, the selection variant attributes to change the period to a selection variable, so everytime from that point of time forward that the variable gets updated, it will be ready with the right value for every selection variant that uses it.
Hope this helps.
GG -
hi,
I am trying to run a report from a WCF service application, and then render it in PDF Format to a caller WPF application. But I cant get it! In more detail, this is what my app should do
1. from WPF, call a web service procedure, pass a report name, report path and parameters. Report is store at the same server where Web Service is installed
2. WCF procedure loads report, set parameters, retrieve data from DB and renders it as an array of bytes
3. WPF gets the array, save it into a PDF file, then open it.
this is the code of the WCF procedure.
Function DownloadCRReport(codEnte As String, connString As String, reportDir As String, reportName As String, Parameters As Dictionary(Of String, Object)) As Byte() Implements IGesiService.DownloadCRReport
Try
Dim bytes As Byte()
Dim infile As BinaryReader
Dim fs As FileStream
Dim rep As New ReportDocument
Dim RepAddress As String
logPath = reportDir & "log\"
sb = New StringBuilder()
timestamp = Now.Year.ToString & Now.Month.ToString & Now.Day.ToString & Now.Hour.ToString & Now.Minute.ToString & Now.Second.ToString
logFileName = timestamp & "_" & reportName & ".txt"
logFile = New StreamWriter(logPath & logFileName, FileMode.CreateNew)
logFile.WriteLine("----
Date and time: " & Now.ToString & " -
If My.Computer.FileSystem.FileExists(reportDir & reportName & ".rpt") = False Then
Throw New Exception("file RPT non found in: " & reportDir)
End If
RepAddress = reportDir & reportName & ".rpt"
logFile.WriteLine("rep address: " & RepAddress)
rep.Load(RepAddress, OpenReportMethod.OpenReportByDefault)
logFile.WriteLine("load rep")
If rep.DataSourceConnections.Count > 0 Then
rep.DataSourceConnections.Item(0).SetLogon("usr", "pwd")
logFile.WriteLine("data source connection")
End If
For Each i In Parameters
rep.SetParameterValue(i.Key, i.Value)
logFile.WriteLine("param: " & i.Key & " - " & i.Value)
Next
Try
fs = rep.ExportToStream(ExportFormatType.PortableDocFormat)
logFile.WriteLine("export to stream")
infile = New BinaryReader(fs)
logFile.WriteLine("created binaryreader")
bytes = infile.ReadBytes(CInt(fs.Length))
logFile.WriteLine("render pdf. fine")
logFile.Close()
Return bytes
Catch ex As Exception
logFile.WriteLine("vbCrLf & ex.Message & vbCrLf & ex.InnerException.Message)
logFile.Close()
Return Nothing
End Try
Catch ex As Exception
logFile.WriteLine("vbCrLf & ex.Message & "-" & vbCrLf & ex.InnerException.Message)
logFile.Close()
Return Nothing
End Try
End Function
I detected that error occurs on rep.ExportToStream(ExportFormatType.PortableDocFormat). I should point out that the same procedure works under WPF application. In the WCF server I installed CR Runtime engine for .NET framework (13.0.9.1312) and CR version for Microsoft Visual Studio (same version). Moreover, all DB operations are stored into the report, so I should not pass any dataset, just parameters.
Anyway, just to begin, I tried to call a simple report with just two string parameters and no queries, but I alwais get error ("An exception of type 'System.NullReferenceException' occurred in MyApp... Object reference not set to an instance of an object)!
How can I make it work? thanks for helphi Ludek,
Im trying to change DB connection info at runtime for all of the report tables. this is the code I used in my Web Service
Function DownloadCRReport(...)
If rep.DataSourceConnections.Count > 0 Then
Dim conn As New ConnectionInfo
Dim tabLogon As TableLogOnInfo
conn.ServerName = "10.10.15.90" 'IP address of DB server
conn.DatabaseName = "MyDB" 'Database name as set in TNSNAMES.ORA
conn.UserID = "newuser"
conn.Password = "newpwd"
For Each t As Table In rep.Database.Tables
tabLogon = t.LogOnInfo
tabLogon.ConnectionInfo = conn
t.ApplyLogOnInfo(tabLogon)
logFile.WriteLine("changed logon tab. " & t.Name)
Next
rep.Refresh()
logFile.WriteLine("changed data source connection")
End If
'set parameters
If Not IsNothing(Parameters) Then
For Each i In Parameters
rep.SetParameterValue(i.Key, i.Value)
logFile.WriteLine("set parameter" & i.Key & " - " & i.Value)
Next
End If
fs = rep.ExportToStream(ExportFormatType.PortableDocFormat)
End Function
that comes to an error on rep.ExportToStream: "Unable to access database".
Running web service in debug mode, I noticed that, after t.ApplyLogonInfo(tabLogon), the new ConnectionInfo has "password" property empty. Maybe this could cause the error, or is there some mistake in the new connectioninfo? -
How to run Oracle Report in new window
Hi,
There appear to be many threads regarding this issue, but so far I've been unable to piece together a solution to my problem.
My requirements are quite simple really.
- Invoke an Oracle Report from an HTMLDB page
- Pass parameters form the page to the report URL
- Run the report in a new window
I have created a simple example at:
http://htmldb.oracle.com/pls/otn/f?p=36506:1
Page 1 contains the following HTML Header attribute
<script language="JavaScript" type="text/javascript">
function callMyPopup (url){
w = open(url,"winLov","");
if (w.opener == null)
w.opener = self;
w.focus();
</script>
The URL i wish to invoke is
http://myappserver/reports/rwservlet?test/test@test+report=test.rdf+&P1_PARAMETER.
My question is, where would I put the code to invoke the URL? I'm trying to use the following code
javascript:callMyPopup('http://myappserver/reports/rwservlet?test/test@test+report=test.rdf+&P1_PARAMETER.');
I've tried putting this in a branch but I get a 'Page can not be displayed' error.
Any help would be appreciated.
Thanks
AndrewHi,
I'm trying to invoke an oracle report through a button in apex2.2. Please let me know how to display the report in a new window.
I have put the URL as of now in the branch of the button, and the report is getting displayed in the same window.
I've read some of the posts and put the URL as the target of the button instead of a branch and also used the javascript:popupURL(), but it still doesnt work for me. The URL works fine without the javascript.
I have put the URL as of now in the branch of the button, and the report is getting displayed in the same window.
Thanks in advance,
Priyanka
Maybe you are looking for
-
Help! Installed Bootcamp on iMac and now I can no longer access my Mac OS!
Hi ALL, I'm hoping someone can help... I installed Windows 8 64bit on my 27" iMac and downloaded all recommended drivers. However, now I can only load the Windows partition. I've tried restarting my computer and have pressed 'option' when restarts an
-
When adding a printer under "Printer Setup Utility" get the error message: "An error occurred while trying to add the selected printer" 'server-error-service-unavailable' Have downloaded the latest HP LaserJet 1200 drivers, etc. BTW, printer was work
-
How to go further in Process chain
Hi Gurus, while running process chain some error occured and i solved that by modifying the record from PSA.. Then Instead of Going for repeat for next process mistakenly I double clicked on that and run the infopackage, it runs successfully but it s
-
Uploading music or photos with PC Suite to 7510 fa...
Hi! I'm trying to upload photos or music to my 7510 but it keeps failing.. either it won't let me drag anything to the area where I'm supposed to drag files in PC Suite or the upload fails around 34%. I have a 8 Gt card inside which I'd like to use!
-
SSL error 107 on Mountain Lion across all browsers.
I'm getting ssl error 107 when trying to access sites that use ssl on both safari and chrome. I've tried a clean version but that didn't work, it still came up with the same error. Any suggestions/solutions?