Demo BW Reports
I'm currently developing excel macros to make Excel BW Reports easier to work with. However, I'm in need of demo BW Reports in order to test my program. I was wondering where I could find demo BW Reports in Excel format.
Thank you
Hi,
Pls chk this link, should be useful.
http://help.sap.com/saphelp_nw04/helpdata/en/67/f3013872af2946e10000009b38f8cf/frameset.htm
Regards
CSM Reddy
Similar Messages
-
Help!! Error Generating demo paper report with barcode from web
Now I am using Oracle 9i AS Release 2 + Report 9i and I try to run the demo paper report "ShippingManifest.rdf" which includes Bar Code inside. But I cannot launch the report successfully. The problem seems the report service cannot call build in package ORA_JAVA. Btw, with the same report, I can run this report on the report bulider without any problem on the same machine.
Actaully, can I launch this demo report from web? If so, how can I includes classpath for the bulid in package?
or I must use JSP report instead?
Thanks & Regards
Louis LeiHi Philipp,
My environment is Windows 2000. After I added by classPath in rwEng, my report can launch on web now. Thanks you for your help.
But, another question is: I can display chinese character on both HTML and PDF if I run the report on report bulider. But if I run the report on the web, the Chinese charecter can not be displayed on boht HTML and PDF. I tried to modify the NLS_LANG in registry and environment variable, but also failed.
On the other hand, I use http://www.abc.com:7778/reports/rwservlet/showenv?server=rep_winrms to display the environment. It always return TRADITIONAL CHINESE_TAIWAN.UTF8 for environment variable NLS_LANG. Do you want know how to modify this value?
Thanks & Regards,
Louis Lei -
IDM Demo always reports connection failed for Solaris target
I'm setting up the IDM Demo, using the Setup Wizard, using a Solaris 10 container as
the target system. For this demo, I'm using telnet directly as root, which seems to be
the only method available. This succeeds when I run telnet by hand from the IDM host
to the target host. When I test the connection from the wizard, after a long delay, it
always reports that the test connection failed. However, the console log on the target
system shows a successful login. The Details button says that it was looking for `_.)#+(:',
regardless of what I specify as the `Login Prompt'. (I assume this really means the shell
prompt.) I've tried changing the shell prompt by setting PS1 in /.profile and tried suppressing
the banner by creating a /.hushlogin file. Still, the test button always reports that the
connection failed. What's wrong here?ah, familiar territory :)
the string _.)#+(: is something that the adapter uses as a suffix to check whether the previous command executed has changed state or not. The assumption being that _.)#+(: will not be encountered as output of any command on Solaris.
1. Try connecting as root
2. Whats your IDM version?
3. Try this: login as root over putty, and paste whatever strings you get into the adapter configuration page on IM (for say, prompt, etc.)
4. Tracing the following variables can give you better details regarding where its getting stuck:
com.waveset.adapter.SolarisResourceAdapter
com.waveset.adapter.SVIDResourceAdapter
com.waveset.adapter.ScriptedConnection
Hope this helps!
Ankush -
I'm running Oracle BI Enterprise Edition 10gR3 with BIP Integrated (version 10.1.3.2.1) When I invoke the Paint Demo Report under the Business Intelligence Folder, I get the following error:
java.io.IOException: prepare query failed[nQSError: 27004] Unresolved table: "Paint Exec".
Any Advice. Thank you in advance.This issue was resolved. I had the SH Repository and the SH Webcat loaded. I replace with the PAINT repository and webcat and the error was resolved.
-
Barcode report is not working in linux
hi,
i am running the report using the barcode, which is running perfectly in the windows server - i meant in the report builder.
but when i try run the same report in linux server through application, i am getting the below mentioned error:
Terminated with error:
REP-1401: 'beforereport': Fatal PL/SQL error occurred. ORA-39565: Message 39565 not found; product=RDBMS; facility=ORA
below mentioned is the code written in beforereport trigger:
globals.barcode_to_use := BarCodeConstants.BAR_CODE_128;
globals.bcobj := barcodemaker.new();
i have include the jar file path /ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar both in class path and report_path, but still its not working.
any one had solve this issue?...pls help me out
for you info:
CLASSPATH=/ora/u01/oracle/v101/ds1/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/ora/u01/oracle/v101/ds1/jlib/repository.jar:/ora/u01/oracle/v101/ds1/jlib/ldapjclnt10.jar:/ora/u01/oracle/v101/ds1/jlib/debugger.jar:/ora/u01/oracle/v101/ds1/jlib/ewt3.jar:/ora/u01/oracle/v101/ds1/jlib/share.jar:/ora/u01/oracle/v101/ds1/jlib/utj.jar:/ora/u01/oracle/v101/ds1/jlib/zrclient.jar:/ora/u01/oracle/v101/ds1/reports/jlib/rwrun.jar:/ora/u01/oracle/v101/ds1/forms/java/frmwebutil.jar:/ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar
RW=$ORACLE_HOME/reports; export RW
REPORTS_PATH=$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo:$ORACLE_HOME/reports/integ:$ORACLE_HOME/reports/printers:${REPORTS_PATH}; export REPORTS_PATH
REPORTS_TMP=/tmp; export REPORTS_TMP
REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar:$ORACLE_HOME/reports/jlib/oraclebarcode.jar; export REPORTS_CLASSPATH
repserver.conf file setting:
<engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000" jvmOptions="-Xms512m -Xmx512m" classPath="/ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar">
<property name="sourceDir" value="/ora/u02/oraadmin/config/as2/app_qits_run"/>
<property name="tempDir" value="/ora/u02/oraadmin/config/as2/app_qits_tmp"/>
</engine>
<engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="60000" classPath="/ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar"/>
thanks
renjishHello,
The first step if to find the PL/SQL line causing the error in 'cf_1formula':
create a procedure Trace in your Reports : (modify the line trace_file := Text_IO.Fopen('d:\temp\rep_trace.txt', 'A'); to adapt the filename to your system)
PROCEDURE Trace (trace_string in varchar2) IS
trace_file Text_IO.File_Type;
BEGIN
trace_file := Text_IO.Fopen('d:\temp\rep_trace.txt', 'A');
Text_IO.Put_Line(trace_file, trace_string);
Text_IO.Fclose (trace_file);
END;
Then, add some calls to this procedure in the program unit 'cf_1formula'
trace('Before line 1';
<PL/SQL code of line 1>
trace('Before line 2';
<PL/SQL code of line 2>
trace('Before line 3';
<PL/SQL code of line 3>
Excecute the Reports and find in the file 'd:\temp\rep_trace.txt' the last line executed.
Regards -
Help! Generating paper report with Bar code for web
Now I am using Oracle 9i AS Release 2 + Report 9i and I try to run the demo paper report "ShippingManifest.rdf" which includes Bar Code inside. But I cannot launch the report successfully. The problem seems the report service cannot call build in package ORA_JAVA. Btw, with the same report, I can run this report on the report bulider without any problem on the same machine.
Actaully, can I launch this demo report from web? If so, how can I includes classpath for the bulid in package?
or I must use JSP report instead?
Thanks & Regards
Louis Leitnx. i resolved the problem.
now i have anoyher one:
my report has a CF formula --- OLE2--- some file.doc (Word) (one page :))
in reports 6i it works just fine...
but in oracle apps i can only see the header and not the word doc....
i tried to convert the doc to pdf (because i have pdf as output for my report...) but i still have the same problem....
the word doc is a paramater :p_link : d:\scan\pag1.doc
what should i do to see this in application....
??? -
Unable to start Oracle Reports Server for 10g version 10.1.2.3.0
Attention Oracle Reports Team or anyone else:
I am unable to start the Oracle Reports Server for 10g version 10.1.2.3.0 of the Application Server.
I have included the trace files see below. I marked the text in bold that might indicate the issues.
Any help will be greatly appreciated. Thank you.
Reports engine rwEng trace file:+
[2010/7/8 10:11:51:626] Debug 50103 (RWEngine:init): args[0]=name=rwEng-0
[2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[1]=server=myreportserver
[2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[2]=ORACLE_HOME=/myoraclehomepath
[2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[3]=engineimplclass=oracle.reports.engine.EngineImpl
[2010/7/8 10:11:51:627] Debug 50103 (RWEngine:init): args[4]=traceopts=trace_all
[2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[5]=tracefile=/myoraclehomepath/reports/logs/rwEng-0.trc
[2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[6]=tracemode=trace_append
[2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[7]=cacheDir=/myoraclehomepath/reports/cache
[2010/7/8 10:11:51:628] Debug 50103 (RWEngine:init): args[8]=server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
[2010/7/8 10:11:51:678] Info 50128 (RWEngine:init): orb init succeeded
[2010/7/8 10:11:52:108] Info 55007 (EngineImpl:loadLibrary): Load librw.so succeeded
[2010/7/8 10:11:52:108] Debug 50103 (EngineImpl:init): useDataCache = null
[2010/7/8 10:11:52:108] Debug 50103 (EngineImpl:init): ignoreDataParameter = null
[2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): start CInitEngine()
[2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[0] = rw
[2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[1] = ora_rw20_3tng
[2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[2] = myreportserver
[2010/7/8 10:11:52:115] Debug 50103 (EngineImpl:EngineImpl): commandline[3] = /myoraclehomepath/reports/cache
[2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[4] = null
[2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[5] = null
[2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[6] = trace_all
[2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[7] = /myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
[2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[8] = trace_append
[2010/7/8 10:11:52:116] Debug 50103 (EngineImpl:EngineImpl): commandline[9] = null
[2010/7/8 10:11:52:117] Debug 50103 (EngineImpl:EngineImpl): commandline[10] = null
[2010/7/8 10:11:52:117] Debug 50103 (EngineImpl:EngineImpl): commandline[11] = null
*[2010/7/8 10:11:58:329] Error 50103 (C Engine): 10:11:58 ERR REP-3000: Internal error starting Oracle Toolkit.*
*[2010/7/8 10:11:58:329] Error 50103 (C Engine): 10:11:58 ERR REP-3000: Internal error starting Oracle Toolkit.*
[2010/7/8 10:11:58:330] (C Engine)
[2010/7/8 10:11:58:330] (C Engine)
| Reports Builder Profiler statistics |
[2010/7/8 10:11:58:330] (C Engine)
[2010/7/8 10:11:58:330] (C Engine)
TOTAL ELAPSED Time: 6.06 seconds
[2010/7/8 10:11:58:331] (C Engine)
Reports Time: 6.06 seconds
[2010/7/8 10:11:58:331] (C Engine) (100.00% of TOTAL)
[2010/7/8 10:11:58:331] (C Engine)
ORACLE Time: 0.00 seconds
[2010/7/8 10:11:58:331] (C Engine) ( 0.00% of TOTAL)
[2010/7/8 10:11:58:331] (C Engine)
UPI: 0.00 seconds
[2010/7/8 10:11:58:332] (C Engine)
SQL: 0.00 seconds
[2010/7/8 10:11:58:332] (C Engine)
TOTAL CPU Time used by process: 1.08 seconds
[2010/7/8 10:11:58:340] Debug 50103 (EngineImpl:EngineImpl): CInitEngine returns 3000
[2010/7/8 10:11:59:129] Debug 50103 (RWEngine:init): args[0]=name=rwEng-0
[2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[1]=server=myreportserver
[2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[2]=ORACLE_HOME=/myoraclehomepath
[2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[3]=engineimplclass=oracle.reports.engine.EngineImpl
[2010/7/8 10:11:59:130] Debug 50103 (RWEngine:init): args[4]=traceopts=trace_all
[2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[5]=tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
[2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[6]=tracemode=trace_append
[2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[7]=cacheDir=/myoraclehomepath/reports/cache
[2010/7/8 10:11:59:131] Debug 50103 (RWEngine:init): args[8]=server_ior="/tmp/myreportserver_xxxxxxx_xxxxxxxxxxxxx"
[2010/7/8 10:11:59:179] Info 50128 (RWEngine:init): orb init succeeded
[2010/7/8 10:11:59:593] Info 55007 (EngineImpl:loadLibrary): Load librw.so succeeded
[2010/7/8 10:11:59:593] Debug 50103 (EngineImpl:init): useDataCache = null
[2010/7/8 10:11:59:594] Debug 50103 (EngineImpl:init): ignoreDataParameter = null
[2010/7/8 10:11:59:597] Debug 50103 (EngineImpl:EngineImpl): start CInitEngine()
[2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[0] = rw
[2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[1] = ora_rw20_3tng
[2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[2] = myreportserver
[2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[3] = /myoraclehomepath/reports/cache
[2010/7/8 10:11:59:598] Debug 50103 (EngineImpl:EngineImpl): commandline[4] = null
[2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[5] = null
[2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[6] = trace_all
[2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[7] = /myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
[2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[8] = trace_append
[2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[9] = null
[2010/7/8 10:11:59:599] Debug 50103 (EngineImpl:EngineImpl): commandline[10] = null
[2010/7/8 10:11:59:600] Debug 50103 (EngineImpl:EngineImpl): commandline[11] = null
*[2010/7/8 10:12:5:757] Error 50103 (C Engine): 10:12:05 ERR REP-3000: Internal error starting Oracle Toolkit.*
*[2010/7/8 10:12:5:758] Error 50103 (C Engine): 10:12:05 ERR REP-3000: Internal error starting Oracle Toolkit.*
[2010/7/8 10:12:5:758] (C Engine)
[2010/7/8 10:12:5:758] (C Engine)
| Reports Builder Profiler statistics |
[2010/7/8 10:12:5:758] (C Engine)
[2010/7/8 10:12:5:759] (C Engine)
TOTAL ELAPSED Time: 6.06 seconds
[2010/7/8 10:12:5:759] (C Engine)
Reports Time: 6.06 seconds
[2010/7/8 10:12:5:759] (C Engine) (100.00% of TOTAL)
[2010/7/8 10:12:5:759] (C Engine)
ORACLE Time: 0.00 seconds
[2010/7/8 10:12:5:760] (C Engine) ( 0.00% of TOTAL)
[2010/7/8 10:12:5:760] (C Engine)
UPI: 0.00 seconds
[2010/7/8 10:12:5:760] (C Engine)
SQL: 0.00 seconds
[2010/7/8 10:12:5:760] (C Engine)
TOTAL CPU Time used by process: 1.01 seconds
[2010/7/8 10:12:5:769] Debug 50103 (EngineImpl:EngineImpl): CInitEngine returns 3000
[2010/7/8 10:12:6:475] Debug 50103 (RWEngine:init): args[0]=name=rwEng-0
[2010/7/8 10:12:6:475] Debug 50103 (RWEngine:init): args[1]=server=myreportserver
[2010/7/8 10:12:6:475] Debug 50103 (RWEngine:init): args[2]=ORACLE_HOME=/myoraclehomepath
[2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[3]=engineimplclass=oracle.reports.engine.EngineImpl
[2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[4]=traceopts=trace_all
[2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[5]=tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
[2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[6]=tracemode=trace_append
[2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[7]=cacheDir=/myoraclehomepath/reports/cache
[2010/7/8 10:12:6:476] Debug 50103 (RWEngine:init): args[8]=server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
[2010/7/8 10:12:6:523] Info 50128 (RWEngine:init): orb init succeeded
[2010/7/8 10:12:6:942] Info 55007 (EngineImpl:loadLibrary): Load librw.so succeeded
[2010/7/8 10:12:6:942] Debug 50103 (EngineImpl:init): useDataCache = null
[2010/7/8 10:12:6:942] Debug 50103 (EngineImpl:init): ignoreDataParameter = null
[2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): start CInitEngine()
[2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): commandline[0] = rw
[2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): commandline[1] = ora_rw20_3tng
[2010/7/8 10:12:6:946] Debug 50103 (EngineImpl:EngineImpl): commandline[2] = myreportserver
[2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[3] = /myoraclehomepath/reports/cache
[2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[4] = null
[2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[5] = null
[2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[6] = trace_all
[2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[7] = /myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc
[2010/7/8 10:12:6:947] Debug 50103 (EngineImpl:EngineImpl): commandline[8] = trace_append
[2010/7/8 10:12:6:948] Debug 50103 (EngineImpl:EngineImpl): commandline[9] = null
[2010/7/8 10:12:6:948] Debug 50103 (EngineImpl:EngineImpl): commandline[10] = null
[2010/7/8 10:12:6:948] Debug 50103 (EngineImpl:EngineImpl): commandline[11] = null
*[2010/7/8 10:12:13:91] Error 50103 (C Engine): 10:12:13 ERR REP-3000: Internal error starting Oracle Toolkit.*
*[2010/7/8 10:12:13:91] Error 50103 (C Engine): 10:12:13 ERR REP-3000: Internal error starting Oracle Toolkit.*
[2010/7/8 10:12:13:91] (C Engine)
[2010/7/8 10:12:13:92] (C Engine)
| Reports Builder Profiler statistics |
[2010/7/8 10:12:13:92] (C Engine)
[2010/7/8 10:12:13:92] (C Engine)
TOTAL ELAPSED Time: 6.05 seconds
[2010/7/8 10:12:13:92] (C Engine)
Reports Time: 6.05 seconds
[2010/7/8 10:12:13:92] (C Engine) (100.00% of TOTAL)
[2010/7/8 10:12:13:93] (C Engine)
ORACLE Time: 0.00 seconds
[2010/7/8 10:12:13:93] (C Engine) ( 0.00% of TOTAL)
[2010/7/8 10:12:13:93] (C Engine)
UPI: 0.00 seconds
[2010/7/8 10:12:13:93] (C Engine)
SQL: 0.00 seconds
[2010/7/8 10:12:13:93] (C Engine)
TOTAL CPU Time used by process: 1.02 seconds
*[2010/7/8 10:12:13:102] Debug 50103 (EngineImpl:EngineImpl): CInitEngine returns 3000*
reports engine rwURLEng trace file:+
*** 2010/7/8 10:11:47:306 -- Reading server config file /myoraclehomepath/reports/conf/myreportserver.conf
*** 2010/7/8 10:11:47:307 -- <server version="10.1.2.3.0">
<cache class="oracle.reports.cache.RWCache">
<property name="cacheSize" value="50"/>
<!--property name="cacheDir" value="your cache directory"/-->
<!--property name="maxCacheFileNumber" value="max number of cache files"/-->
<!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"/-->
</cache>
<!--Please do not change the id for reports engine.-->
<!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
<engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="4" minEngine="1" engLife="50" maxIdle="30" callbackTimeOut="90000">
<!--property name="sourceDir" value="your reports source directory"/-->
<!--property name="tempDir" value="your reports temp directory"/-->
</engine>
<engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" initEngine="1" maxEngine="4" minEngine="1" engLife="50" maxIdle="30" callbackTimeOut="90000"/>
<!--security id="rwSec" class="oracle.reports.server.RWSecurity">
<property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
<property name="oidEntity" value="reportsApp_myhostname_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"/>
</security-->
<!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">
<property name="portalUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
</destination-->
<destination destype="ftp" class="oracle.reports.plugin.destination.ftp.DesFTP">
<!--property name="proxy" value="proxyinfo.xml"/-->
</destination>
<destination destype="WebDav" class="oracle.reports.plugin.destination.webdav.DesWebDAV">
<!--property name="proxy" value="proxyinfo.xml"/-->
</destination>
<!-- By default server will use rwnetwork.conf as network config file
Use this element to override the same -->
<!--networkConfig file="rwnetwork.conf"></networkConfig-->
<job jobType="report" engineId="rwEng" securityId="rwSec"/>
<job jobType="rwurl" engineId="rwURLEng" securityId="rwSec"/>
<notification id="mailNotify" class="oracle.reports.server.MailNotify">
<property name="succnotefile" value="succnote.txt"/>
<property name="failnotefile" value="failnote.txt"/>
</notification>
<!--notification id="wfNotify" class="oracle.reports.server.WorkflowNotify">
<property name="connStr" value="%WF_DB_USERNAME%/%WF_DB_PASSWORD%@%WF_DB_TNSNAME%" confidential="yes" encrypted="no"/>
</notification-->
<log option="noJob"/>
<!--jobStatusRepository class="oracle.reports.server.JobRepositoryDB">
<property name="repositoryConn" value="repo_db_username/repo_db_password@repo_db_tnsname" confidential="yes" encrypted="no"/>
</jobStatusRepository-->
<trace traceOpts="trace_all" traceMode="trace_append"/>
<connection maxConnect="20" idleTimeOut="15">
<orbClient id="RWClient" publicKeyFile="clientpub.key"/>
</connection>
<queue maxQueueSize="1000"/>
<!--jobRecovery auxDatFiles="yes"/-->
<!--
The value of the 'identifier' element is encrypted and is of the form SERVERACCESSKEY_USER/SERVERACCESSKEY_PASSWORD
SERVERACCESSKEY_USER and SERVERACCESSKEY_PASSWORD in <server>.conf and targets.xml
file should match for Reports EM pages to display data correctly.
Corresponding entries of username and password in targets.xml:
<Property NAME="Password" VALUE="SERVERACCESSKEY_PASSWORD" ENCRYPTED="FALSE"/>
<Property NAME="UserName" VALUE="SERVERACCESSKEY_USER" ENCRYPTED="FALSE"/>
-->
<!--pluginParam name="mailServer">stmail.oracle.com</pluginParam-->
<!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->
<pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>
<pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>
<pluginParam name="textpds" type="file">textpds.conf</pluginParam>
</server>
*** 2010/7/8 10:11:47:308 -- Reports Server is starting up
*** 2010/7/8 10:11:51:982 -- Reports Server started up engine rwURLEng-0
*** *2010/7/8 10:12:13:175 -- Shutting down engine rwURLEng-0*
*** *2010/7/8 10:12:13:177 -- Reports Server shut down engine rwURLEng-0*
*** 2010/7/8 10:12:13:178 -- Server is shutting down
Why does the rwURLEng engine start up and then immediately shut down?+
reports server trace file:+
[2010/7/8 10:11:47:276] Debug 50103 (EnvironmentUtility:getEnvironment): XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
[2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
[2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): DEBUG_SLFIND=/myapppath/log/mydebuglogfile.log
[2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): DISPLAY=myhostname:0.0
[2010/7/8 10:11:47:277] Debug 50103 (EnvironmentUtility:getEnvironment): LD_LIBRARY_PATH=/myoraclehomepath/jdk/jre/lib/sparc:/myoraclehomepath/lib:/myoraclehomepath/opmn/lib:/myoraclehomepath/lib32
[2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
[2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): ORACLE_CONFIG_HOME=/myoraclehomepath
[2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): ORACLE_HOME=/myoraclehomepath
[2010/7/8 10:11:47:278] Debug 50103 (EnvironmentUtility:getEnvironment): ORA_NLS33=/myoraclehomepath/ocommon/nls/admin/data
[2010/7/8 10:11:47:283] Debug 50103 (EnvironmentUtility:getEnvironment): PATH=/myoraclehomepath/jdk/bin:/myoraclehomepath/bin:/myoraclehomepath/jdk/bin:/myoraclehomepath/bin:/myoraclehomepath/dcm/bin:/myoraclehomepath/bin:/myoraclehomepath/Apache/Apache/bin:/myoraclehomepath/opmn/bin:/myoraclehomepath/dcm/bin:/bin:/usr/bin:/etc:/usr/ccs/bin:/usr/local/bin:/usr/ucb:/usr/sbin:/export/home/oracle:/usr/bin:/bin
[2010/7/8 10:11:47:283] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_CLASSPATH=/myoraclehomepath/reports/jlib/rwbuilder.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar:/myoraclehomepath/j2ee/home/oc4j.jar:/myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/oraclebarcode.jar
[2010/7/8 10:11:47:283] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_DEFAULT_DISPLAY=NO
[2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_NO_DUMMY_PRINTER=TRUE
[2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_PATH=/myapppath/bin:/myapppath/util/bin:/myoraclehomepath/guicommon/tk/admin/TTF:/myoraclehomepath/reports/templates:/myoraclehomepath/reports/samples/demo:/myoraclehomepath/reports/integ:/myoraclehomepath/reports/printers
[2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar
[2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_TMP=/tmp
[2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): RW=/myoraclehomepath/reports
[2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): SHELL=/usr/bin/ksh
[2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TK_DEBUG_POSTSCRIPT=Func/L/Mem
[2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TK_ICON=/myoraclehomepath/reports/plugins/resource
[2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TMP=/tmp
[2010/7/8 10:11:47:284] Debug 50103 (EnvironmentUtility:getEnvironment): TNS_ADMIN=/myapppath
[2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): TZ=US/Eastern
[2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): X_LD_LIBRARY_PATH_64=/myoraclehomepath/lib
[2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
[2010/7/8 10:11:47:285] Debug 50103 (EnvironmentUtility:getEnvironment): REPORTS_TMP=/tmp
[2010/7/8 10:11:47:308] Info 56025 (RWServer:startServer): Reports Server is starting up
[2010/7/8 10:11:47:503] Debug 50103 (JobManager:start): Using Maximum Job Retry value = 0
[2010/7/8 10:11:47:526] Info 65000 (Multicast:init): Communication channel initialized
[2010/7/8 10:11:47:528] Debug 50103 (Multicast:registerReceiver): Packet handler registered
[2010/7/8 10:11:47:529] Info 50103 (ServerPacketHandler:start): ServerPacketHandler started successfully
[2010/7/8 10:11:47:532] Info 50103 (RWServer:startServer): Using multicast mechanism
[2010/7/8 10:11:47:562] Debug 50103 (ServerPacketReceiver:handleRequestPacket): Received packets. Multicast is working
[2010/7/8 10:11:48:561] Debug 50103 (ServerPacketReceiver:handleRequestPacket): Received packets. Multicast is working
[2010/7/8 10:11:49:572] Debug 50103 (ServerPacketReceiver:handleRequestPacket): Received packets. Multicast is working
[2010/7/8 10:11:50:589] Info 56023 (ServerImpl:ServerImpl): Idle thread has been started
[2010/7/8 10:11:50:691] Info 56020 (EngineManager:spawnEngine): Launching engine rwEng-0
[2010/7/8 10:11:50:691] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
[2010/7/8 10:11:51:56] Info 50103 (RWLocaleUtility:RWLocaleUtility): Using oracle.i18n.util.LocaleMapper class
[2010/7/8 10:11:51:58] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.engine.EngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
[2010/7/8 10:11:51:95] Info 56021 (EngineManager:spawnEngine): Engine rwEng-0 has been launched
[2010/7/8 10:11:51:95] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Initial
[2010/7/8 10:11:51:97] Info 56020 (EngineManager:spawnEngine): Launching engine rwURLEng-0
[2010/7/8 10:11:51:98] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
[2010/7/8 10:11:51:99] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwURLEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.urlengine.URLEngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwURLEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxx_xxxxxxxxxxxxx"
[2010/7/8 10:11:51:129] Info 56021 (EngineManager:spawnEngine): Engine rwURLEng-0 has been launched
[2010/7/8 10:11:51:129] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Initial
[2010/7/8 10:11:51:131] Debug 50103 (JobStore:writePersistFile): Purge persistent file
[2010/7/8 10:11:51:169] Debug 50103 (JobStore:writePersistFile): Purge persistent file done
*[2010/7/8 10:11:51:981] Warning 50103 (EngineManager:registerEngine): REP-55103: API URLEngine:getEngineEnvs not applicable to URL engine*
[2010/7/8 10:11:51:982] Info 56026 (EngineManager:registerEngine): Reports Server started up engine rwURLEng-0
[2010/7/8 10:11:51:998] Debug 50103 (EngineManager:updateEngineState): Engine rwURLEng-0 status is 1
[2010/7/8 10:11:51:998] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Ready
[2010/7/8 10:11:58:490] Info 50103 (EngineManager:manage): Engine restart count: 1
[2010/7/8 10:11:58:590] Info 56020 (EngineManager:spawnEngine): Launching engine rwEng-0
[2010/7/8 10:11:58:590] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
[2010/7/8 10:11:58:592] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.engine.EngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxx_xxxxxxxxxxxxx"
[2010/7/8 10:11:58:623] Info 56021 (EngineManager:spawnEngine): Engine rwEng-0 has been launched
[2010/7/8 10:11:58:624] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Initial
[2010/7/8 10:12:5:832] Info 50103 (EngineManager:manage): Engine restart count: 2
[2010/7/8 10:12:5:932] Info 56020 (EngineManager:spawnEngine): Launching engine rwEng-0
[2010/7/8 10:12:5:934] Info 50103 (EngineManager:spawnEngine): OS Name = SunOS : OS Arch = sparc
[2010/7/8 10:12:5:935] Debug 50103 (EngineManager:spawnEngine): Start engine command line = /myoraclehomepath/bin/rwengine.sh -server -cp /myoraclehomepath/j2ee/home/lib/ojsp.jar:/myoraclehomepath/reports/jlib/rwrun.jar:/myoraclehomepath/jlib/zrclient.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwEng-0 server=myreportserver ORACLE_HOME=/myoraclehomepath engineimplclass=oracle.reports.engine.EngineImpl traceopts=trace_all tracefile=/myoraclehomepath/reports/logs/myreportserver/rwEng-0.trc tracemode=trace_append cacheDir=/myoraclehomepath/reports/cache server_ior="/tmp/myreportserver_xxxxxxxx_xxxxxxxxxxxxx"
[2010/7/8 10:12:5:963] Info 56021 (EngineManager:spawnEngine): Engine rwEng-0 has been launched
[2010/7/8 10:12:5:964] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Initial
*[2010/7/8 10:12:13:174] Exception 56105 (): Engine rwEng-0 died with error:*
oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
at oracle.reports.utility.Utility.newRWException(Utility.java:758)
at oracle.reports.server.EngineManager.manage(EngineManager.java:367)
at oracle.reports.server.IdleThread.run(IdleThread.java:88)
*[2010/7/8 10:12:13:175] Info 56029 (EngineManager:shutdownEngine): Shutting down engine rwURLEng-0*
[2010/7/8 10:12:13:176] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Shutdown
[2010/7/8 10:12:13:177] Info 56047 (EngineManager:remove): Reports Server shut down engine rwURLEng-0
[2010/7/8 10:12:13:177] Info 50103 (ServerPacketHandler:stop): Multicastmanager stopped successfully
[2010/7/8 10:12:13:178] Info 50002 (RWServer:shutdown): Server is shutting down
[2010/7/8 10:12:13:178] Info 50103 (RWServer:startServer): Notify thread to exit
Why does the trace file indicate that the rwEng engine died with error?+
Again why does the rwURLEng engine start up and then immediately shut down?+
Thank you for your help on this issue.+OK, I did this once and did not follow the oracle docs
If you saved your targets.xml before you started you might save it by renaming it back.
(Double check to make sure you did not miss a rename)
Otherwise, all I have to offer is my rough notes:
1. Backup the file $ORACLE_HOME/sysman/emd/targets.xml.
[oracle@ias02 emd]$ pwd
/u01/app/oracle/product/midtier/sysman/emd
cp targets.xml targets.xmlbackup
2. Modify the file targets.xml by changing all the occurrences of the wrong reports server name by the correct one.
i.e. Replace rep_test_midtier with rep_new (4 places - changes)
Copy the conf file as follows: ( this will named different from system to system )
cp /u01/app/oracle/product/midtier/reports/conf/rep_pia_oracleas.conf /u01/app/oracle/product/midtier/reports/conf/rep_fam.conf
run this script:
/u01/app/oracle/product/midtier/bin/addNewServerTarget.sh rep_fam (change rep_fam to new report server name)
3.Update the changed configuration .
/u01/app/oracle/product/midtier/dcm/bin/dcmctl updateconfig -ct opmn -v -d
/u01/app/oracle/product/midtier/dcm/bin/dcmctl resyncinstance -v -d
4. Restart the Application Server Control Console
/u01/app/oracle/product/midtier/bin/emctl stop iasconsole
/u01/app/oracle/product/midtier/bin/emctl start iasconsole
In the file:
/u01/app/oracle/product/midtier/reports/config/reportsConfig.properties
Change the Reports_Server_Name setting from rep_test_midtier to rep_fam (change rep_fam to new report server name)
Best Wishes (I was able to save mime)
The other option is to reinstall -
Problem submitting a report in back ground
Hi,
I'm trying to submit a report in background and I always get an error saying make an entry in all required fields. But it works perfectly fine in foreground. I'm not sure what am I doing wrong. Pls suggest.............I'm not using any front end FMs...
SUBMIT RKAEP000 via selection-screen
USING SELECTION-SCREEN 310
with p_tcode eq 'KOB2'
WITH SELECTION-TABLE seltab
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
AND RETURN.Hi chesat
u just compare ur code with this...
Using JOB_OPEN,JOB_SUBMIT,JOB_CLOSE
Demo Program:
REPORT YJob .
DATA : v_jobhead LIKE tbtcjob.
DATA : v_jobcount LIKE tbtcjob-jobcount.
DATA : v_eventparm LIKE tbtcjob-eventparm.
DATA : v_flg_released TYPE c.
DATA: e_error.
DATA: running LIKE tbtcv-run.
TYPES: esp1_boolean LIKE boole-boole.
CONSTANTS: esp1_false TYPE esp1_boolean VALUE ' ',
esp1_true TYPE esp1_boolean VALUE 'X'.
CONSTANTS: true TYPE boolean VALUE esp1_true,
false TYPE boolean VALUE esp1_false.
PARAMETERS: v_jobnam LIKE tbtcjob-jobname,
v_report LIKE sy-repid,
v_varian LIKE raldb-variant,
v_uname LIKE sy-uname.
START-OF-SELECTION.
add the new job
CALL FUNCTION 'JOB_OPEN'
EXPORTING
delanfrep = 'X'
jobname = v_jobnam
IMPORTING
jobcount = v_jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc <> 0.
e_error = true.
ELSE.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
authcknam = v_uname
jobcount = v_jobcount
jobname = v_jobnam
report = v_report
variant = v_varian
EXCEPTIONS
bad_priparams = 1
bad_xpgflags = 2
invalid_jobdata = 3
jobname_missing = 4
job_notex = 5
job_submit_failed = 6
lock_failed = 7
program_missing = 8
prog_abap_and_extpg_set = 9
OTHERS = 10.
IF sy-subrc <> 0.
e_error = true.
ELSE.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
EVENT_ID = IC_WWI_WORKPROCESS_EVENT
EVENT_PARAM = V_EVENTPARM
EVENT_PERIODIC = 'X'
jobcount = v_jobcount
jobname = v_jobnam
strtimmed = 'X'
IMPORTING
job_was_released = v_flg_released
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
e_error = true.
ELSE.
DO.
CALL FUNCTION 'SHOW_JOBSTATE'
EXPORTING
jobcount = v_jobcount
jobname = v_jobnam
IMPORTING
ABORTED =
FINISHED =
PRELIMINARY =
READY =
running =
SCHEDULED =
EXCEPTIONS
jobcount_missing = 1
jobname_missing = 2
job_notex = 3
OTHERS = 4.
IF sy-subrc <> 0.
e_error = true.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF running = space.
EXIT.
ENDIF.
ENDDO.
ENDIF.
ENDIF.
ENDIF.
Are u using any ALV display while prinitng..?? -
Need to get .ENV and reports.sh set up correctly for 9i/WebUtil
We have been editing default.env, a app-specific version of default.env called duris.env, and reports. sh, trying to fix the conflict between Forms WebUtil and Reports in 9.0.2.0.1. Now, it's to the point that I can't even run Reports from Forms without core dumping(direct URL calls to Reports work fine) .
I am pasting the contents of these 3 files into this note, in hopes someone can look at them and tell me why Reports won't even run from Forms any more. Any suggestions are welcome. My email is [email protected].
Here is the content of our default.env:
# $Header: default.env@@/main/25 \
# Checked in on Wed Apr 3 15:45:42 PST 2002 by vobadm \
# Copyright (c) 2002 by Oracle Corporation. All Rights Reserved. \
# $
# $Id: default.env /main/25 3-apr-2.15:45:42 vobadm $
# default.env - default Forms environment file, Solaris version
# This file is used to set the Forms runtime environment parameters.
# If a parameter is not defined here, the value used will be that defined
# in the environment in which the servlet engine (OC4J or JServ) was started.
# NOTES
# 1/ The Forms installation process should replace all occurrences of
# <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
# setting, and all occurrences of <percent>O_JDK_HOME<percent> with
# the location of the JDK (usually $ORACLE_HOME/jdk).
# Please make these changes manually if not.
# 2/ Some of the variables below may need to be changed to suite your needs.
# Please refer to the Forms documentation for details.
ORACLE_HOME=/usr/oracle/product/9iasr2/mtier
# Search path for Forms applications (.fmx files, PL/SQL libraries)
FORMS90_PATH=/usr/oracle/product/9iasr2/mtier/forms90:/usr/oracle/product/webutil/forms:/usr/oracle/apps/duris/forms/bin:/usr/oracle/apps/tools/forms/bin
# Java class path
# This is required for the Forms debugger
# You can append your own Java code here
CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:/usr/oracle/product/webutil/lib/webutil.jar
#@@CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar:/usr/oracle/product/webutil/lib/webutil.jar
#CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar
# The PATH setting is not required for Forms if the Forms executables are
# in <ORACLE_HOME>/bin. However, it is required if Graphics applications
# are called from Forms applications.
PATH=/usr/oracle/product/9iasr2/mtier/bin
# Settings for Reports
# NOTE: This setting is only needed if Reports applications
# are called from Forms applications
#@REPORTS_CLASSPATH=$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:/usr/oracle/product/webutil/lib/webutil.jar
REPORTS_CLASSPATH=$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar
# Settings for Graphics
# NOTE: These settings are only needed if Graphics applications
# are called from Forms applications
# Please uncomment the following and put the correct 6i
# oracle_home value to use Graphics applications.
#ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
# Search path for Graphics applications
GRAPHICS60_PATH=
# Settings for forms9i tracing and logging
# Note: This entry has to be uncommented to enable tracing and
# logging.
#FORMS90_TRACE_PATH=<FORMS_ORACLE_HOME>/forms90/server
FORMS90_TRACE_PATH=/ford/thishost/u/oracle
# System settings
# You should not normally need to modify these settings
# Path for shared library objects
# This is highly platform (if not machine) specific ! At install time
# <percent>LD_LIBRARY_PATH<percent> should be replaced with the
# actual value of the LD_LIBRARY_PATH environment variable (at install
# time). That should ensure we have the paths for such necessities as
# the motif and X11 libraries.
# Explanations:
# - Reports needs the path for libjava.so
# (/cdm/solaris/o_jdk/1_2_2_0_0/jre/lib/sparc)
# - Forms needs two paths to the jre, for libjvm.so and libhpi.so
# - In ojdk 1.3.1 the location of libjvm.so is lib/sparc (there is no
# classic directory) so we do not include the .../classic directory
# below. There are other versions of libjvm.so (in directories server,
# client and hotspot) but we will use the version in lib/sparc for now.
SHLIB_PATH=/usr/oracle/product/9iasr2/mtier/lib32:/usr/oracle/product/9iasr2/mtier/jdk/jre/lib/PA_RISC:/usr/oracle/product/9iasr2/mtier/jdk/jre/lib/PA_RISC/classic:%SHLIB_PATH%
# Added for WebUtil
WEBUTIL_CONFIG=/usr/oracle/product/webutil/server/webutil.cfg
Here is the content of our app-specific .ENV file, duris.env:
# $Header: default.env@@/main/25 \
# Checked in on Wed Apr 3 15:45:42 PST 2002 by vobadm \
# Copyright (c) 2002 by Oracle Corporation. All Rights Reserved. \
# $
# $Id: default.env /main/25 3-apr-2.15:45:42 vobadm $
# default.env - default Forms environment file, Solaris version
# This file is used to set the Forms runtime environment parameters.
# If a parameter is not defined here, the value used will be that defined
# in the environment in which the servlet engine (OC4J or JServ) was started.
# NOTES
# 1/ The Forms installation process should replace all occurrences of
# <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
# setting, and all occurrences of <percent>O_JDK_HOME<percent> with
# the location of the JDK (usually $ORACLE_HOME/jdk).
# Please make these changes manually if not.
# 2/ Some of the variables below may need to be changed to suite your needs.
# Please refer to the Forms documentation for details.
ORACLE_HOME=/usr/oracle/product/9iasr2/mtier
# Search path for Forms applications (.fmx files, PL/SQL libraries)
FORMS90_PATH=/usr/oracle/product/9iasr2/mtier/forms90:/usr/oracle/product/webutil/forms:/usr/oracle/apps/duris/forms/bin:/usr/oracle/apps/tools/forms/bin
# Java class path
# This is required for the Forms debugger
# You can append your own Java code here
CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:/usr/oracle/product/webutil/lib/webutil.jar
#@@CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar:/usr/oracle/product/webutil/lib/webutil.jar
#CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar
# The PATH setting is not required for Forms if the Forms executables are
# in <ORACLE_HOME>/bin. However, it is required if Graphics applications
# are called from Forms applications.
PATH=/usr/oracle/product/9iasr2/mtier/bin
# Settings for Reports
# NOTE: This setting is only needed if Reports applications
# are called from Forms applications
#@REPORTS_CLASSPATH=$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:/usr/oracle/product/webutil/lib/webutil.jar
REPORTS_CLASSPATH=$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar
# Settings for Graphics
# NOTE: These settings are only needed if Graphics applications
# are called from Forms applications
# Please uncomment the following and put the correct 6i
# oracle_home value to use Graphics applications.
#ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
# Search path for Graphics applications
GRAPHICS60_PATH=
# Settings for forms9i tracing and logging
# Note: This entry has to be uncommented to enable tracing and
# logging.
#FORMS90_TRACE_PATH=<FORMS_ORACLE_HOME>/forms90/server
FORMS90_TRACE_PATH=/ford/thishost/u/oracle
# System settings
# You should not normally need to modify these settings
# Path for shared library objects
# This is highly platform (if not machine) specific ! At install time
# <percent>LD_LIBRARY_PATH<percent> should be replaced with the
# actual value of the LD_LIBRARY_PATH environment variable (at install
# time). That should ensure we have the paths for such necessities as
# the motif and X11 libraries.
# Explanations:
# - Reports needs the path for libjava.so
# (/cdm/solaris/o_jdk/1_2_2_0_0/jre/lib/sparc)
# - Forms needs two paths to the jre, for libjvm.so and libhpi.so
# - In ojdk 1.3.1 the location of libjvm.so is lib/sparc (there is no
# classic directory) so we do not include the .../classic directory
# below. There are other versions of libjvm.so (in directories server,
# client and hotspot) but we will use the version in lib/sparc for now.
SHLIB_PATH=/usr/oracle/product/9iasr2/mtier/lib32:/usr/oracle/product/9iasr2/mtier/jdk/jre/lib/PA_RISC:/usr/oracle/product/9iasr2/mtier/jdk/jre/lib/PA_RISC/classic:%SHLIB_PATH%
# Added for WebUtil
WEBUTIL_CONFIG=/usr/oracle/product/webutil/server/webutil.cfg
Here is the content of reports.sh:
#!/bin/sh
# $Header: reports.sh@@/main/pl_hpux_formsreports_9i/8 \
# Checked in on Mon Apr 8 19:40:42 PDT 2002 by diglesia \
# Copyright (c) 2002 by Oracle Corporation. All Rights Reserved. \
# $
# Copyright (c) 60, 2002 by Oracle Corporation. All Rights Reserved.
## Example file to set environment variables in Bourne-shell or K-shell
## for Oracle Reports 9i. Refer to Install Doc for more detail on each
## of these environment variables. You need to modify some of the environment
## variables before doing source on this file ( % . reports.sh ).
##DISPLAY=< your unix machine name:0.0 >; export DISPLAY
DISPLAY=localhost:5; export DISPLAY
## ORACLE_HOME=< oracle home >; export ORACLE_HOME
## if you need more than one diretory in your path, all directories should be
## separated by ':'
PATH=$ORACLE_HOME/jdk/bin:$ORACLE_HOME/bin:${PATH}; export PATH
## Platform specific settings
## HP-UX settings
if [ `uname -s` = 'HP-UX' ]
then
SHLIB_PATH=$ORACLE_HOME/jdk/jre/lib/PA_RISC:$ORACLE_HOME/jdk/jre/lib/PA_RISC/classic:$ORACLE_HOME/lib32:${SHLIB_PATH}; export SHLIB_PATH
## Linux settings
elif [ `uname -s` = 'Linux' ]
then
LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/i386:$ORACLE_HOME/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
## Compaq Tru64 settings (OSF1)
elif [ `uname -s` = 'OSF1' ]
then
LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/alpha:$ORACLE_HOME/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
## Default settings
else
LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/sparc:$ORACLE_HOME/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
## end platform specific settings
fi
## You need to set TNS_ADMIN and TWO_TASK or ORACLE_SID to connect to database
## Some default values have been set below
TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
## TWO_TASK=< two task name >; export TWO_TASK
## ORACLE_SID=< ORACLE SID >; export ORACLE_SID
## setting for Reports Runtime
RW=$ORACLE_HOME/reports; export RW
#REPORTS_PATH=$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo:$ORACLE_HOME/reports/integ:$ORACLE_HOME/reports/printers; export REPORTS_PATH
REPORTS_TMP=/tmp; export REPORTS_TMP
REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar;export REPORTS_CLASSPATH
##This section added by configurefont.sh
PRINTER=fontprinter;export PRINTER
TK_PRINT_STATUS=echo;export TK_PRINT_STATUS
REPORTS_PATH=$REPORTS_PATH:$ORACLE_HOME/guicommon9/tk90/admin/TTF;export REPORTS_PATH
#REPORTS60_PATH=$REPORTS60_PATH:$ORACLE_HOME/guicommon6/tk60/admin/TTF;export REPORTS60_PATH
TK90_UNKNOWN=$ORACLE_HOME/guicommon9/tk90/admin; export TK90_UNKNOWN
TK90_PPD=$ORACLE_HOME/guicommon9/tk90/admin/PPD; export TK90_PPD
TK90_AFM=/opt/rational/base/cots/acrobat.4.0/hppa_hpux/Resource/font:$ORACLE_HOME/guicommon9/tk90/admin/AFM; export TK90_AFM
TK90_FONTALIAS=$ORACLE_HOME/guicommon9/tk90/admin; export TK90_FONTALIASI tried these steps here:
http://articles.techrepublic.com.com/5100-10878_11-6174105.html
However I don't have a selection called share Windows in my sharing prefs, nor do I have a Utility called Directory Access -
Report to find total absences of all the employees for 2006
we have to find the total absences of all the employees for the year 2006. is there any good report to do this job
If u wnt absence data then u can create query in SQ01.
or
Hope thts wht u wanted ,pls change the code accordingly as per ur need,just refer it as demo code -
REPORT ZGILL_ABSDATA .
tables: pa2001.
data: begin of itab occurs 0,
Pernr like pa2001-pernr,
Subty like pa2001-subty,
begda like pa2001-begda,
endda like pa2001-endda,
ABWTG like pa2001-ABWTG,
KALTG like pa2001-KALTG,
end of itab.
start-of-selection.
select pernr subty begda endda abwtg kaltg from pa2001 into table itab
where begda ge '20060101' and
endda le '20061231'.
if sy-subrc eq 0.
write:/2 'Emp No',
12 'Abs Type',
18 'Start Date',
28 'End Date',
40 'Abs Days',
50 'Calen Days'.
loop at itab.
write:/2 itab-pernr,
12 itab-subty,
18 itab-begda,
28 itab-endda,
40 itab-abwtg,
50 itab-kaltg.
clear itab.
endloop.
else.
message i000(000) with 'No data found'.
endif. -
Example of a Simple ALV Report using Function Modules (not OO)
Hi,
I am new to ABAP. Where can I get a proper Example of a Simple ALV Report using Function Modules? I searched the forum but did not find a proper solution. Kindly help.
Smruthi.
Edited by: Smruthi Acharya on Jan 29, 2009 7:13 PMHi,
Use this demo code:-
REPORT z_alv01 MESSAGE-ID zmsg.
* TABLES
TABLES : ekpo.
* TYPE POOLS
TYPE-POOLS : slis.
* TYPE DECLARATION
TYPES : BEGIN OF t_ekpo,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
matnr TYPE ekpo-matnr,
werks TYPE ekpo-werks,
menge TYPE ekpo-menge,
END OF t_ekpo.
* PARAMETERS
PARAMETERS : s_var TYPE disvariant-variant.
* DATA DECLARATION
*VARIABLES
DATA : check(1),
rep_id TYPE sy-repid.
*INTERNAL TABLE TYPE OF ZEKPO
DATA : it_ekpo TYPE STANDARD TABLE OF t_ekpo WITH HEADER LINE.
*FIELD CATALOG
DATA : it_field TYPE slis_t_fieldcat_alv,
wa_field TYPE slis_fieldcat_alv.
*SORTING
DATA : it_sort TYPE slis_t_sortinfo_alv,
wa_sort TYPE slis_sortinfo_alv.
*FOR TOP OF THE PAGE
DATA : it_top TYPE slis_t_listheader,
wa_top TYPE slis_listheader.
*FOR END OF THE PAGE
DATA : it_end TYPE slis_t_listheader,
wa_end TYPE slis_listheader.
*TO CAPTURE EVENTS AND HANDLE
DATA : it_event TYPE slis_t_event,
wa_event TYPE slis_alv_event.
*FOR GRID TITLE
DATA : wa_title TYPE lvc_title.
*FOR LAYOUT
DATA : wa_layout TYPE slis_layout_alv.
*FOR EXCLUDING STANDARD BUTTON FROM ALV TOOLBAR
DATA : it_exclude TYPE slis_t_extab,
wa_exclude TYPE slis_extab.
*FOR VARIANT
DATA : wa_variant TYPE disvariant.
* INITIALIZATION
INITIALIZATION.
check = 'X'.
rep_id = sy-repid.
wa_variant-report = sy-repid.
*GET DEFUALT ON THE SELECTION SCREEN FOR DEFAULT DISPLAY
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = 'A'
CHANGING
cs_variant = wa_variant
EXCEPTIONS
wrong_input = 1
not_found = 2
program_error = 3
OTHERS = 4.
IF sy-subrc = 0. " IF DEFAULT VARIANT FOUND
s_var = wa_variant-variant. " PASS THE DEFAULT VARIANT TO THE SELECTION SCREEN FIELD
ENDIF.
* AT-SELECTION SCREEN ON VALUE REQUEST
* TO GET THE F4 HELP FOR VARIANT
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_var.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = wa_variant
* I_TABNAME_HEADER =
* I_TABNAME_ITEM =
* IT_DEFAULT_FIELDCAT =
i_save = 'A'
* I_DISPLAY_VIA_GRID = ' '
IMPORTING
* E_EXIT =
es_variant = wa_variant
EXCEPTIONS
not_found = 1
program_error = 2
OTHERS = 3.
IF sy-subrc = 0.
s_var = wa_variant-variant. " PASS THE SELECTED VARIANT TO THE SELECTION SCREEN FIELD
ENDIF.
* AT-SELECTION SCREEN
* TO CHECK THE EXISTENCE FOR VARIANT
AT SELECTION-SCREEN.
wa_variant-variant = s_var.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = 'A'
CHANGING
cs_variant = wa_variant
EXCEPTIONS
wrong_input = 1
not_found = 2
program_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE w001.
ENDIF.
* START OF SELECTION
START-OF-SELECTION.
SELECT ebeln
ebelp
matnr
werks
menge
FROM ekpo
INTO TABLE it_ekpo.
* FIELD CATALOG
wa_field-fieldname = 'EBELN'.
wa_field-tabname = 'IT_TAB'.
wa_field-outputlen = 10.
wa_field-seltext_l = 'PO #'.
APPEND wa_field TO it_field.
CLEAR wa_field.
wa_field-fieldname = 'EBELP'.
wa_field-tabname = 'IT_TAB'.
wa_field-outputlen = 10.
wa_field-seltext_l = 'Line Item'.
APPEND wa_field TO it_field.
CLEAR wa_field.
wa_field-fieldname = 'MATNR'.
wa_field-tabname = 'IT_TAB'.
wa_field-outputlen = 15.
wa_field-seltext_l = 'Material'.
* wa_field-input = check.
* wa_field-edit = check.
APPEND wa_field TO it_field.
CLEAR wa_field.
wa_field-fieldname = 'WERKS'.
wa_field-tabname = 'IT_TAB'.
wa_field-outputlen = 6.
wa_field-seltext_l = 'Plant'.
* wa_field-input = check.
* wa_field-edit = check.
APPEND wa_field TO it_field.
CLEAR wa_field.
wa_field-fieldname = 'MENGE'.
wa_field-tabname = 'IT_TAB'.
wa_field-outputlen = 10.
wa_field-seltext_l = 'Qty.'.
* wa_field-input = check.
* wa_field-edit = check.
wa_field-do_sum = check.
APPEND wa_field TO it_field.
CLEAR wa_field.
* SORT W.R.T. PURCHASE ORDER NUMBER
wa_sort-spos = 1.
wa_sort-fieldname = 'EBELN'.
wa_sort-tabname = 'IT_EKPO'.
wa_sort-up = check.
wa_sort-subtot = check.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
* FOR GRID TITLE
wa_title = 'Hello'.
* FOR LAYOUT
wa_layout-zebra = check.
* FOR EXCLUDING STANDARD BUTTONS FROM ALV TOOLBAR
wa_exclude-fcode = '&OUP'.
APPEND wa_exclude TO it_exclude.
CLEAR wa_exclude.
wa_exclude-fcode = '&ODN'.
APPEND wa_exclude TO it_exclude.
CLEAR wa_exclude.
wa_exclude-fcode = '&OAD'.
APPEND wa_exclude TO it_exclude.
CLEAR wa_exclude.
* wa_exclude-fcode = '&AVE'.
* APPEND wa_exclude TO it_exclude.
* CLEAR wa_exclude.
wa_exclude-fcode = '&INFO'.
APPEND wa_exclude TO it_exclude.
CLEAR wa_exclude.
* POPULATE ALL EVENTS INTO INTERNAL TABLE
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = it_event
EXCEPTIONS
list_type_wrong = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE it_event INTO wa_event WITH KEY name = 'END_OF_LIST'.
wa_event-form = 'END'.
MODIFY it_event FROM wa_event INDEX sy-tabix.
CLEAR wa_event.
* DISPLAY RECORDS IN ALV GRID
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
i_callback_program = rep_id
* i_callback_pf_status_set = 'PF'
i_callback_user_command = 'COMMAND'
i_callback_top_of_page = 'TOP'
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
* I_BACKGROUND_ID = ' '
i_grid_title = wa_title
* I_GRID_SETTINGS =
is_layout = wa_layout
it_fieldcat = it_field
it_excluding = it_exclude
* IT_SPECIAL_GROUPS =
it_sort = it_sort
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
i_save = 'A'
is_variant = wa_variant
it_events = it_event
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* I_HTML_HEIGHT_TOP = 0
* I_HTML_HEIGHT_END = 0
* IT_ALV_GRAPHICS =
* IT_HYPERLINK =
* IT_ADD_FIELDCAT =
* IT_EXCEPT_QINFO =
* IR_SALV_FULLSCREEN_ADAPTER =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = it_ekpo
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
*& Form top
* TO WRITE THE HEADER
FORM top.
REFRESH it_top.
wa_top-typ = 'S'.
wa_top-key = text-001.
wa_top-info = rep_id.
APPEND wa_top TO it_top.
CLEAR wa_top.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_top
* I_LOGO =
* I_END_OF_LIST_GRID =
* I_ALV_FORM =
ENDFORM. "top
*& Form end
* TO WRITE THE FOOTER
FORM end.
REFRESH it_end.
wa_end-typ = 'S'.
wa_end-key = text-001.
wa_end-info = rep_id.
APPEND wa_end TO it_end.
CLEAR wa_end.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_end
* I_LOGO =
* I_END_OF_LIST_GRID =
* I_ALV_FORM =
ENDFORM. "end
*& Form pf
* FOR PF-STATUS WITH USER DEFINED BUTTONS
* -->RT_EXTAB text
FORM pf USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'ZTG_PF_ALV'.
ENDFORM. "pf
*& Form command
* TO HANDLE USER ACTIONS AGAINST PF-STATUS
* -->UCOMM text
* -->SELFIELD text
FORM command USING ucomm LIKE sy-ucomm selfield TYPE slis_selfield.
DATA : ok_code TYPE sy-ucomm.
ok_code = ucomm.
CASE ok_code.
WHEN 'T_DOWN'.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = 'HELLO'
txt1 = 'USER COMMAND'
txt2 = 'TOTAL DOWN'.
WHEN 'DOWN'.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = 'HELLO'
txt1 = 'USER COMMAND'
txt2 = 'DOWN'.
WHEN 'UP'.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = 'HELLO'
txt1 = 'USER COMMAND'
txt2 = 'UP'.
WHEN 'T_UP'.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = 'HELLO'
txt1 = 'USER COMMAND'
txt2 = 'TOTAL UP'.
ENDCASE.
ENDFORM. "command
Hope this helps you.
Thanks & Regards,
Tarun Gambhir -
Arabic Numerical font is not display in PDF report output
I am facing an issue with Arabic Numerical font, If Query the data from form it is displaying Numeric data in Arabic font, If run a report for same data it is display in Normal format[Arabic font is not displaying].
The below settings i had done
1. I added font path to REPORTS_PATH
2. Set the NLS_LANG
3. I set font aliases properly in unifont.ali
4.REPORTS_ARABIC_NUMERAL=CONTEXT
5.REPORTS_BIDI_ALGORITHM=UNICODE
Oracle Reports Developer 10.1.2.3
NLS_LANG=AMERICAN_AMERICA.AR8ISO8859P6;
REPORTS_PATH=$ORACLE_HOME/forms/custom:$ORACLE_HOME/guicommon/tk/admin:$ORACLE_HOME/bin:$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo:$ORACLE_HOME/reports/integ:$ORACLE_HOME/reports/printers:${REPORTS_PATH}; export REPORTS_PATH
[ PDF:Subset ]
Arial..... = "arial.ttf"
Arial...Bold.. = "arialbd.ttf"
Arial..italic... = "ariali.ttf"
Arial..italic.Bold.. = "arialbi.ttf"
Tahoma..... = "tahoma.ttf"
Can any one Please help me to fix this Issue.
I search lot of sites and blogs but one gave any solution for this problem.
Excepting Positive reply's
Regards,
AvinashHi, check this two link...
1. Re: PDF Reports in Unicode / Arabic & English
2. http://www.orafaq.com/forum/t/162197/149761/
Hope this helps
If someone response is correct or helpful, mark it. -
Full report on Aperture at PMA (include 1.1 features) up
I've just put up my PMA overview - as PMA continues I'll continue to go back and flesh out detail for things I may have missed (and expand the booth coverage with pictures). I think I've pretty well covered the 1.1 features though.
http://insideaperture.com/Site/Aperture%20PMA%20Overview.html
To keep in tune with updates, make use of the rss subscription from this page:
feed://insideaperture.com/Site/PMA/rss.xml
As I add new information to any section of the overview I'll announce it via that news channel.Thanks for the info kgelner. But I am not sure I
agree with one of your conclusions. For instance,
Apple saying that third parties may provide custom
book sizes has nothing to do with opening up the API
for plugins. Custom book sizes could be delivered
without access to the API.
<...>
The thinking here is that if they expect custom third party books, that implies eventually publishing a standard for design of the books - as it stands now you can't be sure a custom book would work in the next version of Aperture (even just point releases like 1.1). I agree it's a bit of a stretch but published support in one area implies thinking of third party extensions which leads naturally to other areas.
You should note that the info on certification has
been on Apple's website for weeks.
Hmm, I had missed those before!
Come to think of it I still do not see the second level certification class for Aperture, I'll have to take a look.
Also of note, Josh Anon's Aperture2iLife program
already makes it possible to use images from Aperture
projects in all other iLife applications (except
iPhoto). While it would be good to eventually have
this capability within Aperture, I don't see this as
nearly important as say improved RAW decodes.
Will full resolution? I think it may only be using the large JPG thumbnails. Not that it makes much difference for most iLife uses.
All in all, it's my opinion that the work Apple has
done on Aperture addresses most of the legitimate
concerns voiced by users. Several photographers at
the show have called me after seeing demos to report
vast improvement in performance and RAW decodes.
That's great to get some other afirmations on the progress, I'm glad I'm not the only one who thinks so. The Apple booth is definatley pretty busy and the reaction has been very positivve - I think Apple is going to come away from the show with a positive reaction from a lot of people.
I am excited about the progress Apple has made in
only 13 short weeks. While they will never be able to
please all of their critics, Apple has at least shown
they are listening.
That impressed me as well! It seemed like in a short timespan they had added some impressive things, really key things too like the color meter, DPI support, and a very good plan for RAW decoder upgrades (which I'm sure had been in the works for a while before Aperture even shipped). -
Installing Reports 6i on win2000
We are having difficulty installing Reports 6i, the report server and the demo reports. There seems to be an issue with using different oracle homes for reports, report server and report demo. Using the installer and installing report demo after report developer and report server we get a message asking for items that belong to the report developer to be installed in the demo home. This seems odd that the installer would expect to find report dev items in the demo home.
Is there a white paper available that describes the steps to install report dev, report server and demo reports on windows 2000.
SincerelyTry this, it may help...
1. Shut down the DB, and make sure it won't automatically restart.
2. Right click on my computer, go to manage.
3. in manage, expand the services 'menu' (on right window).
4. Press on services. That should bring up a list of all the services, running or
not. Scroll down till you find the Oracle services, Highlight them and press stop.
(You can also check the services from HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services)
Run regedit (Start > Run > Enter "regedit", click "Ok"), find and check the following keys:
HKEY_LOCAL_MACHINE
\SOFTWARE
\ORACLE
HKEY_LOCAL_MACHINE
\SYSTEM
\CurrentControlSet
\Services
\EventLog
\Application
\Oracle.oracle
Also check in HKEY_CURRENT_USER\SOFTWARE\ORACLE
5. If that doesn't work, then try to find a different solution
Uninstall Oracle and then Re-install
Hassan -
Challenging question: Status report for long running program...
Hi All,
With all the control stuff around like cl_dd_document I was wondering if there is a way to give a user a report which shows the progress of a very long running program?
i.e. If I have a 20 step process and each step takes 1 minute, the following is what I would like to occur:
Output a status line in a report format, run step, repeat until all steps are finished.
This is similar to the status bar, but with a history of what is happening. Obviously scrolling needs to be considered also. Ideally it would behave like sapinst would but in a reporting format.
Obviously this has to bypass the PBO/PAI approach, hence why I believe UI Controls must be the answer.
Any ideas anyone?
Regards,
MattWithout using a control, you could try the old report refresh trick using set user-command and an action triggered after an RFC in a new task ... see basic demo below:
report zlocal_auto_refresh no standard page heading.
data:
begin of gs_step,
uzeit like sy-uzeit,
step like sy-tabix,
start_end(10) type c,
end of gs_step,
gt_step like gs_step occurs 10,
g_step_number like sy-tabix.
*=======================================================================
* Events
*=======================================================================
at user-command.
perform user_command.
*=======================================================================
* Mainline
*=======================================================================
start-of-selection.
perform start_of_report.
end-of-selection.
*& Form start_of_report
form start_of_report.
set pf-status '1000LIST'. "contains ZREFRESH ucomm
perform run_a_step.
endform. "start_of_report
*& Form run_a_step
form run_a_step.
* Demo with something that takes some time, like sleeping...
data:
ls_step like gs_step.
add 1 to g_step_number.
if g_step_number > 9.
stop.
endif.
get time.
clear: ls_step.
ls_step-step = g_step_number.
ls_step-uzeit = sy-uzeit.
ls_step-start_end = 'Starting'.
append ls_step to gt_step.
* generate a delay for demo
call function 'ENQUE_SLEEP'
exporting
seconds = 1
exceptions
others = 0.
get time.
clear: ls_step.
ls_step-step = g_step_number.
ls_step-uzeit = sy-uzeit.
ls_step-start_end = 'Ended'.
append ls_step to gt_step.
format reset.
format color col_normal.
loop at gt_step into ls_step.
write: /
ls_step-uzeit,
ls_step-start_end,
ls_step-step,
at sy-linsz space.
endloop.
uline.
call function 'RFC_PING'
starting new task 'NEWTASK'
performing when_back on end of task.
endform. "run_a_step
*& Form when_back
form when_back
using
i_taskname type any.
receive results from function 'RFC_PING'.
set user-command 'ZREFRESH'. "act like user pressed something
endform. "when_back
*& Form user_command
form user_command.
case sy-ucomm.
when 'ZREFRESH'.
perform run_a_step.
sy-lsind = sy-lsind - 1.
endcase.
endform. "user_command
cheers
jc
Maybe you are looking for
-
I found the solution to a Mavericks bug on the Mail program. How can I share it? Several of my mail boxes stopped functioning properly when I updated to Mavericks. The title of the mails stored in the mailbox appear, but the content was unavailable.
-
the job takes me away from home and at times I need information stored on the iMac. I would like to access the main computer and its files through a second computer, Mac Pro. Is there a service that will allow me to access my main computer when I'm t
-
Importing images from an SD card to Lightroom 3.6
I am a newbie to Lightroom and am having trouble importing images from an SD card. Can somebody run through the import procedure step by step for me please??
-
Brush Tool / Spot Healing unresponsive with PS CC 2014 on Yosemite!
Hi community, I'm running CC2014 on OS Yosemite but had the same problem on Mavericks.... Whenever I've used the brush tool and move the circle back over the toolbar to select a different tool, the circle does not change back into the arrow unless I
-
How to convert rows into columns with decode function
Hi, How to convert rows into columns with the help of decode function in oracle. thanks and regards P Prakash