Generate logs from user report options
Hi all !
I would like to know if there is a possibility to generate logs from report user selection:
E.g: users can fill execution options to delimit the scope of the report execution and the output, company code, date ranges, account numbers, cost.
- Is there a way to generate logs containing these report options that were typed / filled by the user for every transaction executed?
- If Yes could you please assist?
Thanks in advance for the cooperation!
Regards,
There is a way of doing this using the object history, but the user can control this themselves and turn it off if they want to.
Read the SAP notes on term "RSSGOSHIRE".
Another way is to use parameter transactions or variant transactions, which the user cannot change or only change selected parameters for which you don't care about.
Cheers,
Julius
Similar Messages
-
1. TACAS+ Accounting and Logged in Users report is not working on ACS 4.1(1
Hi,
I am facing problem with ACS 4.1 accounting, TACAS+ Accounting and Logged in Users report are not working, the csv file is been generated but nothing is showened in the file.
I have checked the documents related to ACS 4.1, it says that there is a bug related to command accounting âCSCsg97429 - TACACS+ Command Accounting does not work in ACS 4.1(1) Build 23â.
Tried upgrading the same with the patch applAcs-4.1.1.23.3.zip, still it is not working.
Other reports are working fine.
1. TACAS+ Accounting - not working
2. Logged in Users - not working
3. TACAS+ Administration - working
4. Passed Authentication - working
5. Failed Attempts - working
Any suggestions or any idea, please revert.
Regards
VineetHi,
Thanks
Yes I have configured the command âaaa accounting exec default start-stop group tacacs+â
As I have mentioned all the other reports are working. Which user and when he has logged in and what commands he has used. Only the TACAS+ Accounting and logned user is not working.
Regards,
Vineet -
JNDI error while generating pdf from crystal reports in java
Hi, i want to generate PDF from crystal reports in java. I have the .PDF file with database configured into the report. Following details are available in report.
1. Server Name = testdb
2. Database Name = testdb
3. User
4. Password
I am using CR XI.
In CRConfig.xml i had given following details.
<JDBC>
<CacheRowSetSize>100</CacheRowSetSize>
<JDBCURL>jdbc:oracle:thin:@192.218.216.102:1521://TESTDB</JDBCURL>
<JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
<JDBCUserName>user</JDBCUserName>
<JNDIURL>password</JNDIURL>
<JNDIConnectionFactory></JNDIConnectionFactory>
<JNDIInitContext>/</JNDIInitContext>
<JNDIUserName>testdb</JNDIUserName>
<GenericJDBCDriver>
<Default>
<ServerType>UNKNOWN</ServerType>
<QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
<StoredProcType>Standard</StoredProcType>
<LogonStyle>Standard</LogonStyle>
</Default>
</GenericJDBCDriver>
</JDBC>
When i am calling from java as standalone, i am getting following error.
JRCAgent1 detected an exception: Error finding JNDI name (testdb)
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source) at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
Can anyone let me know where is the problem?Actually, the question boils down to; does the framework support the fonts?
I believe that my question re. this working in the designer was valid. The designer does not use the framework, so if it works there, it is either a framework issue or a runtime print engine issue.
I believe if you use the code below, it will list fonts available to the framework:
foreach(FontFamily ff in FontFamily.Families)
System.Diagnostics.Debug.WriteLine(ff.Name);
For more information see kbase [1198306 - Crystal Report displaying incorrect font in Microsoft Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333333303336%7D.do]
Ludek -
Generate Spoool from classical report output
Hi ,
I have created a report with classical output.
for that i want to generate spool.
is there any FM or other way of generating spool from the outputHi,
Declaration of local constants
CONSTANTS : lc_paart LIKE sy-paart VALUE 'X_65_132', " Paper Format
lc_locl TYPE sypdest VALUE 'LOCL'. " Destination
If print option is selected.
IF p_print IS NOT INITIAL.
MOVE c_x TO v_print.
ELSE.
CLEAR v_print.
ENDIF.
Setup the Print Parmaters
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
authority = space
immediately = v_print
new_list_id = c_x
no_dialog = c_x
user = sy-uname
IMPORTING
out_parameters = v_print_parms
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF sy-subrc NE 0.
CLEAR : v_print_parms.
ENDIF.
The printer destination has to be set up
IF v_print_parms-pdest = space.
v_print_parms-pdest = lc_locl.
ENDIF.
Explicitly set line width, and output format so that
the PDF conversion comes out OK
v_print_parms-linsz = c_linsz.
v_print_parms-paart = lc_paart.
Then u need write like this..
NEW-PAGE PRINT ON PARAMETERS v_print_parms NO DIALOG.
Perform output_display.
NEW-PAGE PRINT OFF.
Regards,
Nagaraj -
Need to change auto generated text from pdf report
I have implemented pdf but it generated text from the autogenrated xml.
If I need to change that text then what should I want to do for that?
Following is my xsl file and the generated output in pdf.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:fn="http://www.w3.org/2005/xpath-functions">
<xsl:output method="xml" indent="yes" encoding="utf-8" omit-xml-declaration = "yes" />
<xsl:template match="/">
<fo:root>
<fo:layout-master-set>
<fo:simple-page-master master-name="my-page">
<fo:region-body margin="1in"/>
<fo:region-before extent="1in" background-color="silver" />
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="my-page">
<fo:static-content flow-name="xsl-region-before">
<fo:block height="150px" width="1024px" background-color="blue" >
<fo:external-graphic width="340px" src="http://localhost:9000/web-determinations9000/images/logo.png"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block >
<xsl:apply-templates mode="dump" select="/session/entity/instance/attribute"/>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
output from pdf -
What is Student Id?=
65.0
Is scored more than 80% true%=
true
What is Student Name?=
asf
What is lastname?=
asdf
Is student eligible for gold medal?=
true
If i want "what is student id?" text to only student Id then what change I need for that?Hi,
Following is the code sample for your understanding:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:fn="http://www.w3.org/2005/xpath-functions">
<xsl:output method="xml" indent="yes" encoding="utf-8" omit-xml-declaration = "yes" />
<xsl:template match="/">
<fo:root>
<fo:layout-master-set>
<fo:simple-page-master master-name="my-page">
<fo:region-body margin="1in"/>
<fo:region-before extent="1in" background-color="silver" />
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="my-page">
<fo:static-content flow-name="xsl-region-before">
<fo:block height="150px" width="1024px" background-color="blue" >
<fo:external-graphic width="340px" src="http://localhost:9000/web-determinations9000/images/logo.png"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block>
<xsl:apply-templates mode="dump" select="/session/entity[@name='global']/instance[@label='global']"/>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
<xsl:template match="/session/entity[@name='global']/instance[@label='global']" mode="dump" priority="100">
<fo:block margin-top=".5cm" margin-left=".1cm" border-start-style="solid">
Student ID:<xsl:value-of select="attribute[@id='var_student_id']/number-val"/>
</fo:block>
</xsl:template>
</xsl:stylesheet>Thanks,
Aakarsh -
Generate email from ABAP report.
Hi Folks,
I would like to know if it is possible to send email from to an external mail id from an ABAP report.
If it is possible then what are detailed steps that needs to be taken in order to achive it. Also let me know how to attach files to the created email.
Thanks,
ImranFAQ, please search the forums before posting, do not ask the same question once again.
Thread locked.
Thomas -
Logging from user defined class
should I be able to use the log method from a custom class within my apps's pacakge? Well if I should , I cant! :-)
PaulWere you able to compile your application? If not, what errors are you getting
-
Generate graphs from Oracle Reports
How to use graphs in Oracle Reports server, the version of Oracle Application Server is 10.1.2.3
thanks,You need to develope your graph in reports builder. Then deploy the rep file to the server and run it.
You can open this post in reports forum. -
Hi,
Can you please give some idea or some useful links for information on generating IDocs from User Exits.
For example, while creating a Sales Order I need to trigger an IDoc with the document number, plant, partner functions, and netvalue to the PI system. Please give some inputs for the same.
Regards,
RenjithMake the settings for IDoc processing (partner profiles, ports, destination, etc) fill the IDoc structure and call function module master_idoc_distribute
Also have a look at documentation:
http://help.sap.com/erp2005_ehp_04/helpdata/EN/78/21783151ce11d189570000e829fbbd/frameset.htm -
Displaying logged in user when printing a query generated report.
Hi all
I need to know how can i show the user code of the person who printed a certain report.
Scenario:
When a despatch clerk reconciles driver cash they print a query genereted report , so i need his user code to show on the report... please check the query below... and make suggestions ...
SELECT T0.DocNum, T0.CardName, T1.PymntGroup, T0.DocTotal, T0.U_ROUTEMARKTN, T0.U_RTNAME
FROM OINV T0 INNER JOIN OCTG T1 ON T0.GroupNum = T1.GroupNum
WHERE T0.docDate =[%0] and T0.U_ROUTEMARKTN = [%1] GROUP BY T0.DocNum, T0.CardName, T1.PymntGroup, T0.DocTotal, T0.U_ROUTEMARKTN, T0.U_RTNAME
ORDER BY t0.u_rtname
i need the user be copied from the logged in user and be displayed in the header level of the report.
ThanksHi
To display the username you need not modify your query.
Rather, Add a Database Field in the PLD and click in Properties and select Content Tab and set following values:
Table: Users
Column: Username
Preview the report and you'll get the logged in UserName -
ADDM Report is not produced by SQL DEV 4.0 if logged in user does not have SYSDBA privilege
Hello -
In SQLDEV 4.0 (Early Adapter), I logged in as user with no SYSDBA privilege granted. But ADVISOR granted and execute on DBMS_ADDM granted and "select any dictionary" granted, etc.
Then i go to the menu View --> DBA --> Performance --> Automatic Database Diagnostic Monitor
Select ADDM report from the available choices.
Out of 3 menu options: Summary, Findings and ADDM Report, I can see the first two, but I am getting a grey screen for ADDM Report.
^^^^^^^^^^^^^^^^^^^^^
If i do exactly the same but login as SYSDBA, then ADDM Report can be produced and can be seen. So the issue is in the missing grants and privileges.
^^^^^^^^^^^^^^^^^^^^^^
The goal that we are pursuing in our shop is to empower developers to work with ADDM reports by having them login as non-SYSDBA user.
^^^^^^^^^^^^^^^^^^^^^^^^
Please advise what privilege should be granted to get this working for non-SYSDBA login
The same user can successfully execute $ORACLE_HOME/rdbms/admin/addmrpt.sql and produce file with complete ADDM report. But not able to get the ADDM from SQL DEV 4.0
Thank you,
vrThank you, Phil.
This worked for me in my quick test case.
Great help, as DBA group wants to allow NON-privileged users (like Developers and QA) to execute ADDM on demand.
Here is my observation for RAC database with two instances.
I have followed your instructions:
"Performance / Automatic Database Diagnostic Monitor -> Run ADDM"
Then
- Uncheck box "By Creating New Snapshot" (this box was checked by default)
- Provide new "Task Name" (let's say "vr1")
- Select "Start Snapshot" (this is where my first confusion is: each screen shot # is shown twice, may be because i have two instances of RAC)
- Select "End Snapshot" (the same way: each SNAP_ID is shown twice)
- and finally APPLY button is pressed
This creates 3 reports:
vr1
vr1$1 (for instance_id=1)
vr1$2 (for instance_id=2_
So, my question is: this expected and normal behavior of the tool?
What if my RAC database has 8 instances? Then I would generate 9 separate ADDM reports?
Is this correct observation?
Thank you,
vr -
ADDM Report is not produced if logged in user does not have SYSDBA privilege
Hello -
In SQLDEV 4.0 (Early Adapter), I logged in as user with no SYSDBA privilege granted. But ADVISOR granted and execute on DBMS_ADDM granted and "select any dictionary" granted, etc.
Then i go to the menu View --> DBA --> Performance --> Automatic Database Diagnostic Monitor
Select ADDM report from the available choices.
Out of 3 menu options: Summary, Findings and ADDM Report, I can see the first two, but I am getting a grey screen for ADDM Report.
^^^^^^^^^^^^^^^^^^^^^
If i do exactly the same but login as SYSDBA, then ADDM Report can be produced and can be seen. So the issue is in the missing grants and privileges.
^^^^^^^^^^^^^^^^^^^^^^
The goal that we are pursuing in our shop is to empower developers to work with ADDM reports by having them login as non-SYSDBA user.
^^^^^^^^^^^^^^^^^^^^^^^^
Please advise what privilege should be granted to get this working for non-SYSDBA login
Thank you,
vrThank you, Phil.
This worked for me in my quick test case.
Great help, as DBA group wants to allow NON-privileged users (like Developers and QA) to execute ADDM on demand.
Here is my observation for RAC database with two instances.
I have followed your instructions:
"Performance / Automatic Database Diagnostic Monitor -> Run ADDM"
Then
- Uncheck box "By Creating New Snapshot" (this box was checked by default)
- Provide new "Task Name" (let's say "vr1")
- Select "Start Snapshot" (this is where my first confusion is: each screen shot # is shown twice, may be because i have two instances of RAC)
- Select "End Snapshot" (the same way: each SNAP_ID is shown twice)
- and finally APPLY button is pressed
This creates 3 reports:
vr1
vr1$1 (for instance_id=1)
vr1$2 (for instance_id=2_
So, my question is: this expected and normal behavior of the tool?
What if my RAC database has 8 instances? Then I would generate 9 separate ADDM reports?
Is this correct observation?
Thank you,
vr -
Set Report options on user interface launch
Is there a way to set the Report Options dynamically when the Operator Interface launches? Using CVI 8.5.
For example if user select HTML report then Sequence for Select a Reprot Generator for Producing the Report Body should be selected. Result Filtering to be set to All Results and Include Limits and Measurement checked.
CLD,CTDHello lvrat,
If you want this to happen each time the Operator Interface launches, you can place a sequence call in "FrontEndCallbacks.seq" to run "Configure Report Options" from the process model. This will essentially call "ModelSupport.seq" which runs modelsupport2.dll. This is exactly what happens when you click Configure->Report Options... from a TestStand Development System.
Note: FrontEndCallbacks.seq runs at the start of the Operator Interface and at the exit of the Operator Interface because it handles Login & Logout. You will need to prevent it from running this "Configure Report Options" sequence call at Logout by setting the Precondition to "!Parameters.logout". Also, If your Login step has a Post Action to "Goto step" -> "<EndGroup>", you must set the Post Action to "Goto Next Step".
Regards,
Jeff L.
Applications Engineer | National Instruments -
Generate pdf file from 9i reports and save it in C:\oracle_reports\
i want to generate a file from oracle reports in PDF format and want to save it on already defined path.
c:\oracle_reports\
right now pdf generation of report is working fine but before generation of pdf report system prompt me or open a dialogue box to save my pdf file on drive. i dont want to see these dialogue box or prompt me to explicitly save it.
i want all the work done automatically.
regards
------------ source code--------------
PROCEDURE PRINT_PROC IS
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
pl_id ParamList;
report_path varchar2(100);
aud_sno varchar2(1000);
aud_type varchar2(500);
BEGIN
pl_id := Get_Parameter_List('report_data');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('report_data');
User parameters : Customize these to fit your report
report_path := :GLOBAL.Web_BASE_PATH||:GLOBAL.PATH_SCM||'REPORT\scm_rfq.rep';
-- Initialize your report parameters here
Add_Parameter(pl_id, 'p_cmp_code' , TEXT_PARAMETER, :global.company_code);
Add_Parameter(pl_id, 'p_rfq_sno' , TEXT_PARAMETER, :document_sno);
Add_Parameter(pl_id, 'P_PATH' , TEXT_PARAMETER, REPORT_PATH);
Standard parameters: Don't change
Add_Parameter(pl_id, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
Add_Parameter(pl_id, 'PAGESTREAM' , TEXT_PARAMETER, 'NO');
Add_Parameter(pl_id, 'MAXIMIZE' , TEXT_PARAMETER, 'YES');
-- end standard parameters
repid := find_report_object('REPORT_OBJ');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_oas');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,report_path);
-- SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'\\ORCLSRV\UTL_MAIL\'||:doc_type||:receiver_sno||'.pdf');
v_rep := RUN_REPORT_OBJECT(repid,pl_id);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
END;If you use rwclient you could that easily, from a Form, it requires additional steps.
Look at this thread Re: save report -
Generate PDF file from a report using greek characters
Dear all,
I tried to generate a PDF file from a Report having greek characters on it.While in previewer I could see everything OK, when PDF file was generated all greek characters had been substituted by symbols...
Any ideas, suggestions and workarounds are welcome.
Thanx a lot!hi Kiriakos,
which version are you using ?
please test this with reports 9i since PDF support
has been enhanced there.
to test i would suggest to run the report from rwclient
as well and specify desformat=pdf and to a generate to
file within builder to see if the same behavior occurs.
if this problem reproduces there as well i suggest
to contact oracle support to log the problem.
regards,
christian
Maybe you are looking for
-
I bought a new computer and want to move all my music from the Ipod to the new computer
how do I transfer my music from my Ipod Nano to my new computer?
-
Using resource bundler with a specific encoding type
Hi All, Using resource bundler class in Java one can pass the key and get the appropriate string value for that in appropriate language. These strings can be stored in a class (BuldlerList) or in some file. My doubt is can I specify the encoding type
-
Major issues with nforce3 250GB IDE controller: help needed
I am currently facing the following issues with the IDE controller of the Nforce3 250GB: 1. On random occasions, the PC hangs on the BIOS boot logo (Platinum) and fails to detect the IDE drives. 2. In most of the above cases, one of the PATA driv
-
Maxl statement create or replace database freezes essbaseserver
We run on daily basis maxl scripts to copy database from one application to another. with statements like: alter system logout session on database 'Devel_H'.'HRM'; create or replace database 'INform'.'HRM' as 'Devel_H'.'HRM'; We just migrated (from e
-
Lens Correction filter not working?
I upgraded to CS5 specifically to use the auto lens correction feature (primarily for barrel and pincushion distortion on my Canon zoom lenses). Now I find that: Even though the camera back (5D Mark II) and lens information is included with an image,