Can I reference a .rpt as a table?
Post Author: u039307
CA Forum: Formula
Hello all,
I am trying to reference another .rpt from another .rpt. Is this possible?
Thank you for your advice in advance
Post Author: yangster
CA Forum: Formula
I don't understand what you are trying to achieve. You can't reference a report a table. You could embed one report within another as a subreport and pass a variable to the main report. You could create 2 commands within one report that encompass both statements and go from there.
Similar Messages
-
Can I reference a table with a calculated value?
I have monthly tables named by Roman numerals that correlate to the each month(Jan = I, Feb=II, Mar=III) and in a cell, want to reference the current month's table by using ROMAN(MONTH(TODAY()) :: B2 because it seems I cannot use numbers for table names as a reference. Although, this throws a syntax error at me too. Anyone have a solution or an alternative? Thanks!
I'm on iCloud Numbers, btw.=INDIRECT(ROMAN(MONTH(TODAY()))&"::B2")
I don't know what problem you are having with table names that use regular digits. If your table was named "3" instead of "III", the formula would be:
=INDIRECT(MONTH(TODAY())&"::B2") which, on the day ofthis post, corresponds to 3::B2 -
How can i reference a MIME object within a correspondence format through...
how can i reference a MIME object within a correspondence format through TX oofo or se71?
Hi, I need to put a MIME object within a correspondence's format that i've already done through Tx oofo. My problem is, that i don't know exactly how can i make the reference of that MIME object in the format? and What structure type do i have to use in order to make appear the MIME object in my correspondence's format? Does anybody can help me with this?
Regards HectorFrank,
I tried to find some examples/samples on how to create CollectionModel for a table component but not successful.
Can you clarify the following ?
1. "CollectionModel" is referenced only by af:table attributes "value", "selectedRowKeys" and "selectionListener".
The rest of af:table attributes such as "rows", "fetchSize" used to reference the iterator binding in the binding container via the EL expression "#{bindings.VOIteratorBinding.xxx} .
What should I replace that EL expression with?
2. I heck out the bean method to create the CollectionModel as following, is it close to what you mean?
public void initBusinessDataDashboardView() {
OperationBinding operation = BeanUtils.getOperationBinding("getPanelBusinessData");
Map params = operation.getParamsMap();
Key panelKey = getPanelInfoView().getKey();
params.put("panelKey", panelKey);
params.put("maximizedView", false);
panelView = (ViewObject)operation.execute();
// Heck code to create CollectionModel
RowSet rowSet = panelView.getRowSet();
ArrayList rowList = new ArrayList();
while (rowSet.hasNext()) {
rowList.add(rowSet.next());
model = new ChildPropertyTreeModel(rowList, null);
// To be used to set up af:table value, selectRowKeys, selectionListener via EL expr #{backingBeanScope.MyBean.model.xxx}
public CollectionModel getModel() {
return model;
Am I on the right track?
Edited by: Pricilla on May 4, 2010 2:20 PM -
Can we apply select statement on internal table.
can we apply select statement on internal table.if yes thrn let me know how to do.
Dear Sachin,
You cannot use SELECT statement on internal table.
If you want to select some rows from internal table you can LOOP the table or you can READ the table.
<u>Please check the following links for your kind reference:</u>
<b>http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm
http://www.sap-img.com/ab009.htm
http://www.itsmarc.com/crs/Clas0302.htm
http://www.sapdevelopment.co.uk/tips/tips_itab.htm
http://searchsap.techtarget.com/search/1,293876,sid21,00.html?query=whatisinternaltable&bucket=ALL</b>
Cheers !
Moqeeth. -
How do I reference cells from a different table/ sheet in the same document
Say I have a Sheet that contains two Tables: [A] and . Is it possible to cross-reference the content of a cell in Table [A] from Table and use it to create a function in Table ?
Eg: =SUM[TableA(K20)]+[TableB(F20:F50)]
Could I similarly cross-reference the content of cells in Tables in different Sheets?
Thanks,
SebSeb,
Yes, you can. With the cursor in the location where you want to place the external reference, navigate to your Sheet and Table of choice and click the cell that you wish to reference. The external reference will appear in the formula.
Note however that we are talking about different sheets in the same Numbers file. We can't reference sheets or tables in other files.
Jerry
Message was edited by: Jerrold Green1 -
Post Author: markeyjd2
CA Forum: Exporting
Greetings forum members,
My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records. When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record. The file names would be based on the table's primary key.
Is this possible?Post Author: Micha
CA Forum: Exporting
Hi,
you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
Here's an abstract of the ASP code I use:
First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
Micha -
How can I get rid of Global Temp Table
Hello,
I've been writing PL/SQL stored proc for creating reports on VB.NET front end. Until now, I've been using session specific global temp table to store intermediate results and at the end I pass the result set to .NET via reference cursor. The reports are created by simply binding the ref cursor result sets to .NET grids. It's been working fine, but I am kind of bothered by the temp tables. I looked on other options, but couldn't really come up with one.
Can somebody suggest me how I can get rid of those temp tables? Thanks,Tubby, that's exactly I was trying to do. I think that table type has to be defined in database, not within PL/SQL. How can I create that table of user defined record type? I tried that, but it doesn't allow me. I think I am missing something. For example,
create type group_t is record
(A varchar2,
B number,
C number)
now inside sp, i have something like:
type my_group is table of group_t index by binary_integer
now I have sp cursor as
cursor cur_test IS 'ABC' as A, 1 as B, 5 as C
now i do something like this. My original queries are longer and much more complicated so please don't suggest you can directly open ref cursor for this query.
FETCH cur_test BULK COLLECT INTO my_group;
Then I do all the processing, calculations, totals, sub-totals, and insert into temp table and return via ref cursor.
My problem is I can't directly fetch into the above table you mentioned. How should I go about in this situation?
Maybe I should STOP thinking about this approach and just do whatever I've been doing or solve it through pure SQL. However, there are tons of problems with pure SQL approach. -
How can we archive Partioning in parent child tables in Normalised way.
Hi Friends.
Could you please suggest me
How can we archive Partioning in parent child tables in Normalised way.
Bill_parent(
Bill_no number,
Bill_date date .-- I want to create Partition on this column
customer_id
Bill_Child{
bill_no number,
Bill_c_no number,
Item_code number
Qty number
Bill_Acsry{
Bill_c_no number,
acsry_it_code number,
qty number
Now for there Child Table I have also create a Bill_date column that is against Normalization
i.e
Bill_parent(
Bill_no number,
Bill_date date.
customer_id
) Partion by Range (Bill_date).......................
Bill_Child{
bill_no number,
Bill_c_no number,
Item_code number
Qty number,
Bill_Date date,-- against normalisation
}Partion by Range (Bill_date).......................
Bill_Acsry{
Bill_c_no number,
acsry_it_code number,
qty number,
Bill_Date date,-- against normalisation
}Partion by Range (Bill_date)....
with regards
Siddharth Singh([email protected])Looks like the new Reference Partitioning feature in 11g is what you want. In previous versions I think you're stuck with the denormalisation.
-
Can one reference points to many objects?
HI friend:
Can I use one object reference points to all objects defined in same class? Because sometimes I only want to access some instance methods and they require a object reference to access. And it doesn't matter which object it is. For example:
I have a table class:
public class Table
int tableNo;
int tableSize;
String tableSta;
String reserName;
public Table(int n, int s, String c)
tableNo = n;
tableSize = s;
tableSta = c;
Somewhere in the future, I will define a search method (a non-static method) inside table class and it doesn't really matter which object I use to call this method. Because the searching target is all the objects of this Table class. Is it possible to create 50 table objects from another class and use one object reference points to all these objects created and use that reference to access the search method?
Here is the coding in another class:
for (int i=1; i<=20; i++)
table = new Table(i, 2, "vacant");
for (int i=21; i<=30; i++)
table = new Table(i, 4, "vacant");
for (int i=31; i<=50; i++)
table = new Table(i, 8,"vacant");
Can I use table as object reference to access search method?Because if the method is static, it can't process instance variables, such as Table objects. But when I implement the search() method, it should search all table objects. That's why I don't want make the method static. :-)
-
Can VC print all data in a table?
Hello!
Can VC print all data in a table?
Best Reagrds!
csquare.I write it in this post:
Re: Qusetion about Table View.
It is possible, that you have to use the paging options.
Regards,
Marcel -
Can we enter data in any standard table directly through custom form??
Dear All,
Can we enter data in any standard table directly through custom form??
I have create custom form in R.12. I want to insert data in quality standard table directly through custom form. Need experts guideline.
Awaiting regards,Hi,
Can we enter data in any standard table directly through custom form??
I have create custom form in R.12. I want to insert data in quality standard table directly through custom form. Need experts guideline.
Awaiting regards,
I would not recommend touching the standard tables at all unless you are being guided by the SR. For a record to be in the standard table it should go through series of validations based on the what operation you are performing and some times datas are dependent upon the other tables, and also some times the same records are hit to so many other tables simultaneously.
Therefore I would not recommend this brother.
Thanks &
Best Regards, -
How can I modify data from a Transparent Table without ABAP code.
Hi,All
How can I modify data from a Transparent Table (like TCURR), and important thing is I want do all that with no ABAP code here. It is like that we always do that in a Oracle database use TOAD or PLSQL third party tools, with no script code here.
I had fond that there is a way can do that:
1, type 'se11',and Display Database table 'TCURR', click Contents, then click Execute to display all data
2, type '/h' and let debugging on
3, select one of this data then click 'Display',enter in debugging system.
4, then make a breakpoint in the code. But... display a dialog let I type a 'ABAP Cmnds', I want to know what can be type in for that?
and, My system is ECC6.
thank you all
Edited by: xuehui li on Aug 20, 2008 6:30 PMHello,
Your approach (with Vijay's suggestion) MAY work. However, depending on how tight security is at the company that you are working at you may or may not be able to acutaly change the value of the SHOW field to EDIT. This will be especially true if you are working in a Production environment. Vijay's other comment is true as well. This is not a recommended approach to change data (especially data with a financial impact like TCURR) in a production environment. The auditors will not be impressed.
Explore the option of a maintenace view or look at tcode TBDM to upload a file which includes daily rates from providers like Reuters or try tcode s_bce_68000174 which is a maintenance view on TCURR.
Regards
Greg Kern -
How can I reference more than one jar file
hi, In an applet, I use
Archive = "foo.jar" to reference this jar file.
But how can I reference more than one file?
Thanks.Suggestion: spend a few minutes reading the tutorials.
http://java.sun.com/docs/books/tutorial/applet/appletsonly/html.html
You can specify multiple archive files by separating them with commas:
<APPLET CODE="myapplet.class" ARCHIVE="file1, file2" WIDTH=anInt HEIGHT=anInt>
</APPLET> -
How can i pass calculated value to internal table
Hi
i have to pass calculated value into internal table
below field are coming from database view and i' m passing view data into iznew1
fields of iznew1
LIFNR LIKE EKKO-LIFNR,
EBELN LIKE EKKO-EBELN,
VGABE LIKE EKBE-VGABE,
EBELP LIKE EKBE-EBELP,
BELNR LIKE EKBE-BELNR,
MATNR LIKE EKPO-MATNR,
TXZ01 LIKE EKPO-TXZ01,
PS_PSP_PNR LIKE EKKN-PS_PSP_PNR,
KOSTL LIKE EKKN-KOSTL,
NAME1 LIKE LFA1-NAME1,
NAME2 LIKE LFA1-NAME2,
WERKS LIKE EKPO-WERKS,
NETWR LIKE EKPO-NETWR,
KNUMV LIKE EKKO-KNUMV,
GJAHR LIKE EKBE-GJAHR,
and now i want to pass
one field ED1 which i has calculated separatly and i want to pass this value into iznew1
but error is coming that iznew1 is a table with out header line has no component like ED1.
so how can i pass calculated value to internal table iznew1,When you declare your internal table , make an addtion occurs 0
eg . data : begin of iznew occurs 0 ,
fields ...
add the field here ed1.
end of iznew.
now when you are calculating the value of ed1,
you can pass the corresponding value of ed1 and modify table iznew.
eg
loop at iznew.
iznew-ed1 = ed1.
modify iznew.
endloop. -
How can i convert the data from mutiple-table to the other database(MSSQL)?
Dears,
How can i convert the data from mutiple-table to the other database such as MS-SQL?
I have a third party system based on MS-SQL 2000.
Now we want to make a integration between SAP R/3(Oracle) and SQL server.
When my user releases the purchase order in R/3, the application we coded will convert the releated data to the temp database on the SQL server.
But i don't know which tools will help me reach the purpose. BAPI, LSMW, IDoc... ???
Would anybody tell me which way is better and how to do?
Thanks a lot!
Kevin WangHello Kevin,
The question to use which method depend on your detail requirements. If you use BAPI, you need to find which Bapi can provide the data you want. Bapi normally use as a function called by external system. So you need to develop an external program like VB/Java to call this Bapi and move it to SQL. LSMW is use when you want to upload data from an external system to SAP. So it does not serve your requirement. Idoc can be use to export data to an external system. Again like Bapi, you need to find what Idoc can provide the data you want. However, it does not any programming from the external system. If I were you, based on your requirements, I think writing an Abap program that read the data you want and download it to NT/SQL server will be faster and easier.
Maybe you are looking for
-
How to pass a list of parameters to a query?
Hi, I use OracleXE 10 Database with JDeveloper 11g. In my project I use a Toplink mapping to get access to the database (Toplink Object Map file). This mapping xml file is called crmMap.xml. In the crmMap.xml file I define a mapping to a "User table"
-
Audio Not Working when updated to Windows 8.1
I had just updated to Windows 8.1 but my audio does not work. the Beats Audio Control Panel does not open and i dont have any sound whats so ever. I have an HP Pavillion 1451 Desktop and have done everything possible to fix this. I've tried links lik
-
How to get 8.7mp pictures? I only get 1.2mp!
OK - Am I blind? I only get 1mp resolution images from my new Lumia 920. For example, my largest picture was at 1278x720 = 1.2mp. Is there a setting I am missing? Help - I was expecting much better! Solved! Go to Solution.
-
Update to 28 and the checking compatibility just does not stop
fire fox does not start the checking thing keeps running
-
I recently turned my handwriting into a font that I want to use on my artist website. The font works just fine in photoshop but it is the ONLY font that isn't coming up in Muse. All of my other downloaded fonts are there, just not the one I want. How