Report file with cursor (RDF) to XMLP ! Help me !
My report file (rdf) have not a SQL query, i used cursor to get data in database at runtime !
It like:
function QR_1RefCurDS return GetdataReport_PK.R11Curtype is
rc GetdataReport_PK.R11Curtype;
begin
rc:=GetdataReport_PK.GL0200(:P_SOB,:P_BRANCH,:P_LEVEL,:P_DETAIL,:P_ACCT,:P_FROMDATE,:P_TODATE,:P_SEGMENT,:P_SEG_VALUE);
return rc;
end;
I run report file with postscrip output, archived data is ok !
But when i run this report file with xml output, no data archived !
Please tell me how to used this report (rdf) with xml output
Sorry, my english is not good !
Hi Tim !
Could you help me please !
Please mail to me with add: [email protected] or [email protected]
I have somethings and files want to send to you, such as rfd files and my package !
After you see my rfd files i think you can give me some advice !
Thanks !
Similar Messages
-
I can't restart my mac , I get a file with a question mark? Help
Need help, what to do when I cannot restart my mac. I get a file with a question mark?
That indicates that your Mac is unable to find a system to boot from
This is usually caused be either a corrupt system file, corrupt ot dead disk drive
Allan -
Writing a report file with specific information
Hi, all:
I need to write a text file with specific information in it. I'm going to copy it into Excel, so the easier the format, the better (perhaps CSV format?). I've never done this before, so here's the method I need to capture the information from:
public void step() {
greenColorStorage = new ArrayList();
magentaColorStorage = new ArrayList();
System.out.println( "==> Model step " + getTickCount() );// Checking step #
for (int i = 0; i < soldierList.size (); i++) {
Soldier s = (Soldier) soldierList.get (i);
s.step();
Collections.shuffle(soldierList);
System.out.println("Shuffling collection now.");
dsurf.updateDisplay ();
System.out.println("Model.step() finished.");
for (int i = 0; i < soldierList.size (); i++) {
Soldier s = (Soldier) soldierList.get (i);
if (s.getMyColor() == Color.green ) {
greenColorStorage.add(s);
if (s.getMyColor() == Color.magenta ) {
magentaColorStorage.add(s);
if (magentaColorStorage.size() == 0 || greenColorStorage.size() == 0 ) {
stop();
}In this method, I need to capture this information: There are soldiers on the Green team and on the Magenta team. I need to know how many there are originally, how many in this time step, at what time step the model stops, and how many of the winning color team are left when the model stops. How do I do this? If you can point me to a specific thread that shows how to write a report file like this, I'd be grateful, since I couldn't find one when I searched. Otherwise, I'd be grateful for examples. I'm in the middle of doing some research, and I have the feeling that I'll need to write report files in the future, so if you'd explain any code you provide, I would be quite grateful--I need to understand what I'm doing as well as simply using your code so that I can really learn what I'm doing when I do this again. Thanks very much!FileOutputStream
public FileOutputStream(File file,
boolean append)
throws FileNotFoundException
Creates a file output stream to write to the file represented by the specified File object.
If the second argument is true, then bytes will be written to the end of the file
rather than the beginning.
*/ -
Hello, I am trying to send an email where the recipient opens the PDF file with a password, can anybody show me how to do that
Hi surez,
To password protect a PDF file, you need to use Acrobat. If you don't have Acrobat, you can try it for free for 30 days. See www.adobe.com/products/acrobat.html for more information.
In Acrobat, you choose File > Properties when the document is open, and then click the Security tab to set up a password.
Please let us know how it goes.
Best,
Sara -
How to use .keystore file with BEAweb 6?? Help
Hi,
Is there a way to use .keystore file with BEA Weblogic 6 or 6.1 ?
I used keytool to create private key and public key..
I do not know how to tell weblogic 6 to use it....
Can this be done through the GUI or do I have to add something to the .xml
config file for the site?
Thanks,
Rob"Bobby Digi" <[email protected]> wrote:
Hi,
Is there a way to use .keystore file with BEA Weblogic 6 or 6.1 ?
I used keytool to create private key and public key..
I do not know how to tell weblogic 6 to use it....
Can this be done through the GUI or do I have to add something to the.xml
config file for the site?
Thanks,
Rob
nope. with 7.0 you can do that.
>
> -
Hi ,
I am doing a Scenario from JDBC to File Asynchronous .The underlying database is Oracle .
can now use stored procedures in Oracle , to pass the select query?
I know it was not possible in XI, wanted to know about this functionality if we can do this in PI 7.1 ?.
Thanks,
Viswa>>can now use stored procedures in Oracle , to pass the select query?
Yes, it is possible.
<REMOVED BY MODERATOR>
<LINKS CAN BE SEARCHED. NO NEED TO PROVIDE ALL LINKS>
Edited by: Prateek Raj Srivastava on Apr 10, 2011 12:37 AM -
Creating crystal report file dynamically.
Post Author: malcomstewart115
CA Forum: General
Hi, everybody.
I have one problem.
How to create crystal report file(*.rpt) in php dynamically.
I mean, I want to create the "*.rpt" file with php code.
Please help me. thanks everybody.Post Author: PWilkens
CA Forum: General
It sounds like you're defeating the power and purpose of Crystal Reports, or replace it with pure PHP (which I suppose could be done... but why?)
What exactly are you trying to do?
If you're trying to make certain parts of the report hide or reveal or change depending on variables settings in the PHP file, that's easy enough to accomplish by sending parameters with your PHP values into the report. But the dynamic actions really need to be done within the report itself, accomplished through ample use of the section and field settings provided within the Report Designer. -
Design capture of report files of type .sql
Hope someone would be kind enough to help me out here.
I'm trying to reengineer some report files using Oracle designers (release 6) Design Capture facilities. The facilities allow me to capture report files of type '.rdf' but it does not allow me to capture report files of type '.sql '.
Would you know a way i can capture these files into the repository. Whats the trick? if any.Hi,
First of all put an exception block and see what exact exeption it is throwing and then post that exception. You also have to check wheather you have created a directory and it has sufficient privileges.
create or replace procedure verify as
declare
ACTIVITY_FILE UTL_FILE.FILE_TYPE;
log varchar2(600);
begin
ACTIVITY_FILE := UTL_FILE.fopen('/dacscan/Mani',log,'W');
EXCEPTION
WHEN others THEN
DBMS_OUTPUT.PUT_LINE(SQLCODE||SQLERRM);
end;
/ -
How to delete the file with space in name
Hi
I want to delete the file "test ex.txt" file.
i run the following command in command prompt.i can delete the file successfully.
/bin/rm -f /mnt/"test ex.txt"
I want to run the command from java.So i am using the following code
String cmd = "/bin/rm -f /mnt/\"test ex.txt\"";
Runtime rt = Runtime.getRuntime();
process = rt.exec(cmd);
The file was not deleted.
How to delete the file with space in name?
Help meUse the form of exec that takes an array of command + args.
arr[0] = "/bin/rm"
arr[1] = "-f"
arr[2] = "/home/me/some directory with spaces";Or use ProcessBuilder, which is the preferred replacement for Runtime.exec, and which Runtime.exec calls. -
Need to generate the excel file with diffrent sheets using utl_file package
Hi,
Sorry for previous message in which I had missed the usage of " UTL_FILE " package
I need to generate the excel file with diffrent sheets . Currently I am generating the data in three diffrent excel files using
" UTL_File " package and my requirement is to generate this in a single excel file with diffrent sheets.
Please help on this
Thanks & Regards,
Krishna VyavahareHello 10866107,
at Re: How to save a query result and export it to, say excell? you can find links to different solutions. At least the packages behind second and fourth link support more than one worksheet.
Regards
Marcus -
Need to generate excel file with different sheets
Hi,
I need to generate the excel file with diffrent sheets . Currently I am generating the data in three diffrent excel files
and my requirement is to generate this in a single excel file with diffrent sheets.
Please help on this
Thanks & Regards,
Krishna VyavahareI'm not able to realize how Oracle will help in the problem. You may probably want to look at some [.net forums|http://www.google.com.sg/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS280&q=.net+forums&btnG=Google+Search&meta=lr%3D] about this.
Cheers
Sarma. -
Open PDF-File (with LinkToURL or what?) !
Hello@all,
I have a PDF-File, which I have stored in my project like a image
(->src->mimes->Components->com.sap.....Comp--->Help.pdf
In the View of this Component I want to have a LinkToURL or something else to open the PDF file with adobe.
Can someone help me for this?
Best regards
MarcusHi,
You can alternatively open Pdf using the following logic
String pdfLink = <Your Link>
FileInputStream fileIn = new FileInputStream(pdfLink);
int lastIndex = pdfLink.lastIndexOf(Constants.PATH_SEP);
String saveFileName = pdfLink.substring(lastIndex);
IWDResource resource = WDResourceFactory.createCachedResource(fileIn, saveFileName,WDWebResourceType.PDF,true);
String url = resource.getUrl(WDFileDownloadBehaviour.OPEN_INPLACE.ordinal());
wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,saveFileName).show();
Hope this helps. -
How to attach file with an email in travel and expenses
Hi Experts,
I am new to sap cloud application studio.
We have requirement that need to attach any type of files in the mail,
I have gone through this : How to send an email with attachments in SAP Cloud Application Studio
But compilation error at import AP.FO.ACTIVITY.GLOBAL., so not able to work with that lines of code.
I am using these lines of code to send email.
EMailUtilities.SendEMail(lang, bcc, cc, toAddress, htmlContent, from name, subject);
So am not able to getting how to attach file with this code.
Please help me regarding this.
Thanks & Regards,
Preethi AndeHi Preethi,
I am trying to send mail from custom BO in Travel on Demand System.I am getting compilation error.please look into the attached screenshot for the code.
Please assist me on this, Thanks in advance
regards,
Sendhilazhagan -
Save file with high resolution progamatically
Hello,
I'm trying to export the document to JPEG and PNG formats with a resolution of 300 DPI. I'm using the following code:
PIActionDescriptor desc00000178 = NULL;
error = sPSActionDescriptor->Make(&desc00000178);
if (error) goto returnError;
PIActionDescriptor desc00000180 = NULL;
error = sPSActionDescriptor->Make(&desc00000180);
if (error) goto returnError;
error = sPSActionDescriptor->PutInteger(desc00000180, keyExtendedQuality, 10);
if (error) goto returnError;
error = sPSActionDescriptor->PutUnitFloat(desc00000180, keyResolution, unitDensity, 300.00);
if (error) goto returnError;
error = sPSActionDescriptor->PutEnumerated(desc00000180, keyMatteColor, typeMatteColor, enumNone);
if (error) goto returnError;
error = sPSActionDescriptor->PutObject(desc00000178, keyAs,
classJPEGFormat, desc00000180);
if (error) goto returnError;
Handle aliasValue = NULL;
FullPathToAlias("C:\\temp\\Myfile.jpg", aliasValue);error = sPSActionDescriptor->PutAlias(desc00000178, keyIn, aliasValue);
if (error) goto returnError;
error = sPSActionDescriptor->PutBoolean(desc00000178, keyCopy,
true);
if (error) goto returnError;
error = sPSActionControl->Play(&result, eventSave, desc00000178, plugInDialogSilent);
if (error) goto returnError;
returnError:
if (result != NULL) sPSActionDescriptor->Free(result);
if (desc00000178 != NULL) sPSActionDescriptor->Free(desc00000178);
if (desc00000180 != NULL) sPSActionDescriptor->Free(desc00000180);
if (aliasValue != NULL) sPSHandle->Dispose(aliasValue);
return error;
The file gets saved in the desired format but the resolution is always 72 DPI. Is there something i'm missing while exporting the file with higher resolution?
Please help..
ThanksWhy are you adding a resolution value to the save command?
It doesn't take or understand a resolution value.
You need to set the resolution on the document first, then save. -
Ls shows ??.html after creating file with arabic name using java applicatio
Hi,
I have a java application which is taking attachments and saving to the file system. when somebody attaches any file with the file name in arabic, the ls command shows ??.html , ????.html etc. The application is also not able to find the file later, cos it expects the arabic named file. How can I accomplish this task (" how can i rename a text file with an arabic name")
Any help would be highly appreciated
Many thanks in advance
Ushas SymonI found a sample class that also uses HttpServlet and it won't work on my computer Either:
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
public class Circle extends HttpServlet
public void doGet( HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println( "<BODY><H1 ALIGN=CENTER> Circle Info </H1>\n");
try
String sdiam = request.getParameter("diameter");
double diam = Double.parseDouble(sdiam);
out.println("<BR><H3>Diam:</H3>" + diam +
"<BR><H3>Area:</H3>" + diam/2.0 * diam/2.0 * 3.14159 +
"<BR><H3>Perimeter:</H3>" + 2.0 * diam/2.0 * 3.14159);
catch ( NumberFormatException e )
out.println("Please enter a valid number");
out.println("</BODY></HTML>");
}As for IE I tried setting all of my security to the lowest settings I have but it didn't work. I just noticed though that the IE explorer bar at the bottom states :
Exception null.
When the applet is first started. Not sure what to make of that.
I don't think it's a dependancy error because when I make a reference to something that the compiler can't find I get a different error. Or if I miss importing something it just refuses to compile.
I'm wondering if there's something wrong with my Java or the Servlet classes?
Thanks
Ga'an djin
Maybe you are looking for
-
Can Captivate 7's playback controls control Flash swf files?
Hi folks, I have created a swf file using Adobe Flash and I have imported it as an animation slide in Captivate 7. I have turned on the playback controls to just have the play button and the progress bar. When I export the presentation, the playback
-
Dear Experts, I would like to print directly from SAP through tcode CXR0 : system- list - print is grey. I have checked if authorization is missing from nsu53 but my authorization already successful. Please advice me how to print report from CXR0 and
-
I Dropped my Iphone 5s and its not responding anymore
Hi guys I dropped my iphone 5s on the floor , and the touch screen is not responding anymore, but all the buttons of the phone are working fine , and there are 3 lines to the right side of the screen one thick and two thin ones , but there is no phys
-
Add Employee Button missing in 'My Employees'
Hello, I am facing a problem with My Employees iview in T&E. We maintained same roles for all users. However, for some users, we can see 'Add Employee' Button, for some, we can't see this. These are the following steps we checked. - In PA30, every us
-
Unacceptable services from Bestbuy
I am writing to let you know about bad services I received from the Bestbuy store and on the phone likewise. This started when I purchased a refrigerator on Apr 19th 2015. Product: Open Box - 26 CU. FT. FRENCH DOOR REFRIGERATOR SKU: 1618091Store: Be