How to make reports on a batch or command line?
The company where I work have bought recently the Crystal Report product.
We want to generate reports directly on a directory in batch mode. Everyday, we need to generate some PDFs. Is it possible to write a batch or to use the crystal report executable in command line?
We develop applications in Java, so if you have some solution using the Java language, it will be better for us.
I recommend the just-released Crystal Reports for Eclipse Version 2:
[https://www.sdn.sap.com/irj/boc/crystalreports-java]
and Java code such as:
reportClientDocument = new ReportClientDocument();
reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
reportClientDocument.open(reportPathString, OpenReportOptions._openAsReadOnly);
byteArrayInputStream = (ByteArrayInputStream) reportClientDocument.getPrintOutputController().export(ReportExportFormat.PDF);
then take the byte[] from the stream as sream as you like.
Sincerely,
Ted Ueda
Similar Messages
-
How to make report with access 2010 from SharePoint Discussion lists 2013
HI,
I want to make an access report from SharePoint Discussion lists 2013. When i open the list with access, the body of the list is in HTML format in access. Also if i reply something to one subject in the discussion, the reply is not mapped to that subject
but instead it is shown as a separate entry in the database.
Anyone can please help?
SAN
Santhiya
SanthiyaHi Santhiya,
I have seen a similar post from you, my understanding is that you wonder that the reply is mapped to the related subject. You can take a look at Daniel's reply in the following thread:
http://social.technet.microsoft.com/Forums/en-US/dfb5bcb9-0076-412a-b34f-46aa9cfba876/how-to-make-report-with-access-2010-from-sharepoint-discussion-lists-2013?forum=sharepointgeneral
Thanks,
Wendy
Wendy Li
TechNet Community Support -
How to make reports on FI Line items
Hi all,
Let me know how to make reports on FI Line items especially drill down reports. suggest me steps for developing reports through Bex query designer. Am new in reporting on FI. How to make the drilldown reports. Plz let me know step by step.
Thanks,
JackHi
Follw the steps
Step1
Lets take an example of ODS Accounts Payable: Line Items Technical Name: 0FIAP_O03
install all this 0FIAP_O03 ODS from the Business content.
For more details on FI Line item ODS
http://help.sap.com/saphelp_nw04/helpdata/EN/af/16533bbb15b762e10000000a114084/frameset.htm
Step2
After installing make sure that all the infoobjects and transfer rules and update rules are in active state
Step3
Now type the transaction code RRMX , you will get into the query designer
Step4
Select the Infoprovider from the above example 0FIAP_O03 . now you will arrive to the screen where you can see Rows and colums
Step5
Drag and drop the characteristic infoobject in to the row which is necesseayfor the report output
Step6
Drag and drop the Keyfigure infoobject into the column which is necesseayfor the report output
Step7
Now under Free characteristics draga and drop the charactor infoobject which you need to navigate in the reporting.
Note: Before dragging the objects in the freecharacteristic make sure that you need to check the navigation in the ODS level
Step8
Now save the report , when you save give the technical name of the report and save
now execute the report
Santosh
Edited by: Santhosh Nagaraj on Nov 15, 2009 1:35 AM -
How to make report high 3.33 inch per page(11g report)
Dear all,
How to make report high 3.33 inch per page
so if there are more than one page in the report it will start printing in the correct position on the next page,
i make generate to PDF then print
Thanks,
SakrHello Sakr,
This is a good question:
You can visualize:
http://1.bp.blogspot.com/_KYY-OV98iIo/S4-7ISbC5NI/AAAAAAAAAGw/bmelGzNg6UI/s1600-h/MainSection.bmp
You can change Height that shows 11 in the visual aid.
Mark Correct or Helpful !
Edited by: New Yorker on Aug 26, 2011 11:40 AM -
Financial Reporting - Exporting Batch for Command Line Scheduling Issue
Financial Reporting 11.1.2.2
When I export, a successfully run scheduled batch, for command line scheduling the xml file that is exported only has the following information in it. I think that it is missing alot of information.
Any ideas what I am doing wrong, if anything?
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<JOB_OBJECT OBJECT_ID="0">
<DATA_SOURCE_USER_CREDENTIALS DS_PASSWD="" DS_USER_NAME=""/>
<HR_USER_CREDENTIALS HR_PASSWD="" HR_USER_NAME=""/>
<OUTPUT_OPTIONS>
<HTML VALUE="No"/>
<MHTM VALUE="No"/>
<PDF EXPORT_PDF_FOLDER_LABEL="" VALUE="Yes"/>
<SAVE_AS_SNAPSHOT VALUE="No"/>
<PRINT VALUE="No"/>
</OUTPUT_OPTIONS>
</JOB_OBJECT>Hi again,
I am not sure if you can extract the formatting to Excel... I had also issues.
Can you please try to retrieve the report into Excel via Smartview? Check page 136 of http://docs.oracle.com/cd/E40248_01/epm.1112/smart_view_user.pdf
Regards,
Thanos -
How to make fields required in an updateble multi line form?
How to make fields required in an updateble multi line form?
You need to create a validation item that is triggered when the user clicks the submit button.
Set the validation type to "Function Returning Error Text".
Then add your validation into the "Validation Expression 1" field. Something like:
BEGIN
FOR I IN 1.. HTMLDB_APPLICATION.G_F02.COUNT LOOP
IF HTMLDB_APPLICATION.G_F02(I) IS NULL THEN
RETURN 'Please enter in a value for xxxxx on line ' || TO_CHAR(I,'0');
END IF;
END LOOP;
RETURN NULL;
END;
As long as the function returns a string, an error is generated - as there is no single field where this error can be displayed, it will need to be displayed "On Error Page".
If the return value is NULL, then the fields are valid and the submit process can continue.
Andy -
How to run form in the background from command line
please can anybody tell me to
how to run form in the background from command line
vishalUmmm....Oracle Forms is a foreground runtime kind of thing. What you want is a database procedure (or an OS utility - it depends on what sort of processing you want to do in the background).
Cheers, APC -
How to load the boot menu using the command line , after the configuration change ?
how to load the boot menu using the command line , after the configuration change ?
Hi @Bask-48
Welcome to the HP Forums!
It is a terrific place to find answers.
For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
I grasp you are trying to change the boot order. Here is a link to Configuring the Boot Order in the System BIOS
that will assist you.
Good Luck and Happy Holidays!
Sparkles1
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping! -
How do I cancel a rman job from command line?
Hello to all,
I am having some problems with a rman job that is running via OEM-GC. I get an error message regading the SPFILE and control file being locked due to another job accessing it. I found this in the RMAN ref guide:
To determine which job is holding the conflicting enqueue:
1. After you see the first RMAN-08512: waiting for snapshot controlfile enqueue message, start a new SQL*Plus session on the target database:
% sqlplus sys/sys_pwd@prod1
2. Execute the following query to determine which job is causing the wait:
SELECT s.sid, username AS "User", program, module, action, logon_time "Logon", l.*
FROM v$session s, v$enqueue_lock l
WHERE l.sid = s.sid and l.type = 'CF' AND l.id1 = 0 and l.id2 = 2;
You should see output similar to the following (the output in this example has been truncated):
SID User Program Module Action Logon
9 SYS rman@h13 (TNS V1-V3) backup full datafile: c1 0000210 STARTED 21-JUN-99
Solution
After you have determined which job is creating the enqueue, you can do one of the following:
* Wait until the job creating the enqueue completes
* Cancel the current job and restart it once the job creating the enqueue completes
* Cancel the job creating the enqueue
So with this in mind; How do I cancel the job from RMAN command line!!!
This is my output by the way:
SID User PROGRAM MODULE ACTION Logon ADDR KADDR SID TY ID1 ID2 LMODE REQUEST CTIME BLOCK
475 SYS [email protected] (TNS V1-V3) backup full datafile 0000018 STARTED16 23-APR-09 00000023EB8D488 000000023EB8D4A8
475 CF 0 2 4 0 113123 0
Any help will be gratefully received
Thanks to all that replyI used the following to get the spid and killed the process on the OS.
set linesize 120
col sid for 999
col username for a14 trunc
col osuser for a18 trunc
col spid for 99990
col logon_time for a12
col status for a9 trunc
col machine for a26 trunc
col running for a10 trunc
select s.sid
, s.username
, s.osuser
, s.machine
, s.status
, p.spid spid
, to_char( logon_time, 'Mon dd@hh24:mi') logon_time
, rtrim (s.module)||decode( nvl(length( rtrim(s.module)),0),0,'',' ')|| upper(s.program) running
from v$session s
, v$process p
where ( p.addr = s.paddr ) and s.type!='BACKGROUND'
and upper(s.program) not like '%CJQ0%' and s.program is not null and s.username is not null
order by s.sid; -
How to Load an app to iPad using command line
Hello,
I am trying to build an iOS app and load it to an iPad where I want to run an automated test on it from command line. I do not wish to use Fruitstrap or any other third party tool/code as I only want to use native apple code.
xcodebuild -verbose -project iOS_Calc.xcodeproj -configuration Release -sdk iphoneos6.1 -arch armv7 -target iOS_Calc clean build
xcrun -sdk "iphoneos" PackageApplication -v "$project_dir/build/Calc.app" -o "$project_dir/build/Calc.ipa" --sign "$provisioning_profile" --embed "$project_dir/$mobileprovision"
Above is the script I have so far to build the app, but I dont know how to load it to an iPad via command line. Does anyone know how to load the .app to iPad device?I'm also interested. Not only load but also run.
-
How to make Reports 9i display Danish national characters?
I am running Oracle9i Reports and cannot make Reports print the Danish national characters f, F, x, X, e and E. I have a development machine with Developer Suite 9.0.2, where I can run the report in Paper Design, where the characters displays correctly, but as soon as they are uploaded to the Application Server (9.0.2), all of the national characters are replaced with some very mysterious characters. The dev. machine and the Oracle9iAS machine both connect to the same database, and when I make a boilerplate object just containing "FXE", the problem is still there, so it does not seem to be a database issue.
I read some articles on MetaLink about adding some lines in uifont.ali, but they do not seem to apply, since the article only mention East-European languages (Polish and Czech). The font used is Times New Roman. The dev. machine has NLS_LANG set to AMERICAN_AMERICA.WE8MSWIN1252, and the Oracle9iAS machine is running DANISH_DENMARK.WE8MSWIN1252 - ie. the same character set. I tried to generate the report both to HTML and PDF, but that did not make any difference regarding this issue.
How do I make Oracle9i Reports Services display the Danish national characters correctly?
Thanks in advance!Thanks for your suggestions.
However, here's what I've done, and it did not make any difference.
1. Changed the NLS_LANG parameter to match on both server and dev. machine and recompiled and saved the RDF - no difference.
2. Installed the same model printer on the server, as the one on the development machine, and rebooted the server - no difference.
3. Checked uifont.ali on both systems - they're exactly the same...
What else might be causing this? -
How to make report for last 24 hours?
Hello,
I have a little problem, I can't make report for last 24 hours.
Example:
If I am running report on 2.1.06 at 14:00, I want to get results from 1.1.06 14:00 to 2.1.06 14:00.
How do i make a report with this selection?
Because,if I choose date from 1.1.06 to 2.1.06 and
hour 14:00 to 14:00, I will only get results on 1st and 2nd on 14:00.
If I choose 1.1.06 and 2.1.06, 14:00 to 24:00, I won't get results for 2.1.06 from 0:00 to 14:00.
Because all selections use AND to get results.
How can I choose that system compare selections with OR?
How can I get results for last 24 hours?
Best regards,
UrosHi,
define a structure in your query with two entries. First one with 1.1. and > 14:00 and second one with 2.2. and < 14:00. Perhaps you need to fill the structure by user exits.
Hope it helps,
Leo -
How to make report output non editable
Hi can any body give me sample code on how to make the report output non editable.
thanks in advance
kpHi
What are you meaning?
U don't want to allow to change the data in the selection-screen?
If it's so:
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDLOOP.
If you need to change only certain fields:
PARAMETERS: P1 ......,
P2 ...... MODIF ID AAA.
SELECT-OPTIONS: SO_1 FOR .....,
SO_2 FOR ..... MODIF ID AAA.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
CHECK SCREEN-GROUP1 = 'AAA'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDLOOP.
Max -
How to make reports based on Data block work on web?
I am using form 6i and oracle 9ias
I have successfully call the common reports from the form on the web using run_report_object, then web.show_documnet(..);
But when it come to the reports based on the data block from the form, it doesn't work. it always fetch all the records from the table which the data block is based
Anyone can tell me how to make that work?
thanksI have successfully do this when I am running forms and >reports in localhostTell me how did you achieve this?
Did you have both Reports and Forms running under same oracle home?
and off course was it a clinet server architecture?
What version for Form and Reports did you use?
Which executables did you use and what was your call from forms? When you call from Forms, which Reports executable use to run the report?
The data integration can only be achive if both the product were running under same Oracle home and were in client server architecture. I do not think data integration is possible in web architecture.
Thanks
Rohit (Orcale Reports Team) -
How to make report that contains only summaries?
How to make a report in Designer/2000 that shows only summary fields? For example something like:
select count(*) from emp;
nullHow to make a report in Designer/2000 that shows only summary fields? For example something like:
select count(*) from emp;
null
Maybe you are looking for
-
my iPhone 4 is no longer chargeable. Whenever I connect it to the charge, the charging icon appears on screen but even if I leave it for a night on charge the charge icon will remain on the screen but there will be zero percent of battery. I tried fi
-
how to finding a site wise sales and stock report? please reply ASAP
-
Stock Transfer from Plant to plant ..Same company code, No FI impact
Dear All, I wanted to transfer materail from one plant to other, without any financial impact. Please suggest me a method. I am assuming to use T code MB1B, and movement type 301. please let me know, is this right ? Thanks in advance regards venkat
-
Very bad microphone quality with LCCS on Android
Hello, I have created two applications with LCCS (audio and video conferencing), one for Windows and one for Android devices. From my PC, all work very well. When I speak with my desktop microphone, the sound delivered to my phone is good. But, when
-
Dialog WP runtime exceeds value set in rdisp/wp_max_runtime
Dialog wp runtime exceeds the value set in parameter rdisp/wp_max_runtime Value set for rdisp/wp_max_runtime is 1500 but wp runtime exceeds more than 10,000. we are using 4.5B system on Oracle/AIX. Please suggest how to avoid such wp running for more