Text element in the report
Hello dear experts,
please clearify my doubt?
what is the differen b/w "last data update" text element (in web report)and "status of data" in the in the report(in analyzer)? Is it same or different?
Regards
prathap.
Hi,
Hope this clears your doubt,
Last Data Update: This would give the information on ROLLUP time..
Status of Data: Time at which the data of the last request (that could be analyzed for reporting) was posted in the InfoProvider. In the case of MultiProviders, the respective current InfoPackages are determined from the individual standard InfoCubes and the one with the latest date is used for the validity of the data. This shows a date and a time (in the local time zone).
Similar Messages
-
How to find out all the text elements in the report using Java?
How to trace the contents of an rpt file?
I am able to open the rpt file in my report viewer but can not trace it using the JAVA code.
Actually, I need to find out all the text elements of rpt (Report) file and replace them with the contents of resource bundle.
My Java code to open a report is given below:
import com.crystaldecisions.reports.sdk.ISubreportClientDocument;
import com.crystaldecisions.reports.sdk.ParameterFieldController;
import com.crystaldecisions.reports.sdk.ReportClientDocument;
import com.crystaldecisions.sdk.occa.report.data.ConnectionInfo;
import com.crystaldecisions.sdk.occa.report.data.ConnectionInfos;
import com.crystaldecisions.sdk.occa.report.data.Fields;
import com.crystaldecisions.sdk.occa.report.data.IConnectionInfo;
import com.crystaldecisions.sdk.occa.report.data.ParameterField;
import com.crystaldecisions.sdk.occa.report.data.ParameterFieldDiscreteValue;
import com.crystaldecisions.sdk.occa.report.data.Values;
import com.crystaldecisions.sdk.occa.report.lib.IStrings;
import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
import com.crystaldecisions.sdk.occa.report.lib.PropertyBagHelper;
import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;
import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;
public String viewRpt()
//1.) Setting Database Infos
IConnectionInfo iConnectionInfoObj=setDatabaseConnectionInfos();
//2.) Setting Report Path
String reportPath=u201DE:
was60
rptFilesLocation
u201D;
reportPath=(reportPath!=null)? reportPath:AppConstants.CONSTANTS.BLANK;
String reportName="report1.rpt";
String reportFullPath = reportPath + rptName;
//3.) Setting Report Source
ReportClientDocument reportClientDoc = new ReportClientDocument();
reportClientDoc.open(reportPath, 0);
IReportSource reportSource = reportClientDoc.getReportSource();
setReportSource(reportSource);
reportClientDoc.close();
//4.) Setting the Fields Starts
setFieldsCrystal(null);
Fields fields = new Fields();
ParameterField pfield1 = new ParameterField();
Values vals1 = new Values();
ParameterFieldDiscreteValue pfieldDV1 = new ParameterFieldDiscreteValue();
pfield1.setName("@parameter1");
pfieldDV1.setValue(u201Cvalue1u201D);
vals1.add(pfieldDV1);
pfield1.setCurrentValues(vals1);
fields.add(pfield1);
pfield1 = new ParameterField();
vals1 = new Values();
pfieldDV1 = new ParameterFieldDiscreteValue();
pfield1.setName("@parameter2");
pfieldDV1.setValue(u201Cvalue2u201D);
vals1.add(pfieldDV1);
pfield1.setCurrentValues(vals1);
fields.add(pfield1);
setFieldsCrystal(fields);
//Setting the Fields Ends
The sample jsp code to view the report is as follows:
<%@taglib uri="http://www.businessobjects.com/jsf/crystalreportsviewers"
prefix="bocrv"%>
<bocrv:reportPageViewer viewerName="CrystalViewer"
reportSource="#{CrystalReportBeanObject.reportSource}"
displayToolbarRefreshButton="false"
allowDatabaseLogonPrompting="false"
allowParameterPrompting="false"
databaseLogonInfos="#{CrystalReportBeanObject.connectionInfosCrystal}"
parameterFields="#{CrystalReportBeanObject.fieldsCrystal}"
displayGroupTree="false" displayToolbarLogo="false"
displayToolbarToggleTreeButton="false"
enablePageToGrow="false" height="540"
zoomPercentage="100" width="750"
allowDrillDown="false"
displayToolbarPrintButton="true"
printMode="PDF"
></bocrv:reportPageViewer>
Edited by: JayKumarSharma on Mar 23, 2011 12:42 PMThis is how you retrieve all the text fields in the reort:
ReportObjects reportObjects = (ITextObject) oReportClientDocument.getReportDefController().getReportObjectController().getReportObjectsByKind(ReportObjectKind.text);
for(int i=0; i< reportObjects.size();i++)
ITextObject textObject = (ITextObject)reportObjects.get(i);
// use ReportObjectController to modify the text object.
If you want to modify the contents of the text element, you can do it as follows:
TextObject oTextObject = new TextObject();
Paragraphs oParagraphs = new Paragraphs();
Paragraph oParagraph = new Paragraph();
ParagraphElements oParagraphElements = new ParagraphElements();
ParagraphTextElement oParagraphTextElement = new ParagraphTextElement();
oParagraphTextElement.setText("This is the new text field");
oParagraphTextElement.setKind(ParagraphElementKind.text);
oReportClientDocument.getReportDefController().getReportObjectController().modify(textObject, oTextObject);
oReportClientDocument.save(); -
Query Text elements in the query
Hello all,
I have the following issue .. The multi provider has three cubes.. And the two cubes executed on 10th of this month and the other cube on 11th. The query is executed on 11th, in the text elements in the recent date it shows 10th with the last executed cubes instead it is showing 11th with the recent load of the cube... When the query is executed in the text elements for the Response date suppose to be the recent date 11th, it is showing old date 10th.. We have 7.0 system and the query and objects are 3.5 version.. please suggest me solution.
Thank you in advance.
Aryause function module READ_TEXT
FUNCTION MODULES
http://www.erpgenie.com/abap/functions.htm
http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
http://www.erpgenie.com/abap/index.htm
http://www.geocities.com/victorav15/sapr3/abapfun.html
Rewards if useful....................
Minal -
Print different text elements on the same line
Hi all,
1.
Is it possible to print different text elements on the same line ? with multiple write_form
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'TITLE1'
WINDOW = 'INFO'
EXCEPTIONS
ELEMENT = 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'TITLE2'
function = 'APPEND'
WINDOW = 'INFO'
EXCEPTIONS
ELEMENT = 1.
How to print TITLE1 and TITLE2 on the same line ?
TITLE2 in bold.
2. How to print 2 text elements on the same line with include statement ?
/: include test1 ...
/: include test2
Thanks
Edited by: Moo Yac on Sep 22, 2008 8:23 AMTo be more specific :
I want to print the following
Text_symbol1:$Var1$ Text_symbol:$Var2$
on the same line.
where Text_symbol1 and Text Symbol2 are defined in SO10 for different languages.
Thanks. -
Get the texts written in the report program
Hi
Is there any way(any table /FM) to get the texts written in the report program .Hi
check this code...
DATA: itab TYPE string WITH HEADER LINE.
PARAMETERS: tcode TYPE tstc-tcode.
PARAMETERS: prog TYPE rs38m-programm.
IF tcode IS NOT INITIAL.
SELECT SINGLE pgmna FROM tstc INTO prog WHERE tcode = tcode.
ENDIF.
READ REPORT prog INTO itab.
INSERT REPORT 'YDEV_TEST' FROM itab.
GENERATE REPORT 'YDEV_TEST'.
SUBMIT ydev_test VIA SELECTION-SCREEN.
DELETE REPORT 'YDEV_TEST'. -
Text elements in the Bex Report
Bex Gurus,
When we execute the Bex report, it will display with icons on top as Chart, Filter and Information - Information will display all the text elements as standard. Right now I want to modify these standard elements and disply the text elements which are more meaningful to any business user when they execute any report/query in Bex
Left Side:
Current User II79747
InfoProvider ZBYDCTBUD
Status of Data 04/18/2008 10:01:05
Query Technical Name Y_ZBYDCTBUD_VP_POOL
Query Description VP Matrix by Pool - Actual
Right Side: (based on Variable Enteries/selection)
Fiscal Year
Posting Period
Value Type
Version:
I want to implement this in Bex excel report when we click on Informaion icon which will show the text elements as explaiend above. (I know it is possible with WAD when we design the code)You may do this in a workbook inserting Buttons in design mode.
I dont think so there is an easy way to accomplish this when a report is executed.
May be possible with lot of coding.... -
Retrieve text elementes of deleted report
We have deleted a ABAP report that we thought was not used anymore.
Now I want to Retrieve this report. There is no problem retrieving this report using version management but I have a problem with the text elements and selection texts. I only can retrive the original language from SE38 - I wan't to retrieve all languages.
We are on ERP2005.Hi Zhenyun
Try generating the report with DESTYPE=CACHE and see if it works.
Regards
Sripathy -
Change the position of the text field in the report region
Hi,
I am having a report region in whch there are 2 buttons which are in the Region Template position #Create# and a
text field. I added a text field in the same region. I tried to change the position of the text field near the buttons. I
tried to change "label-Horizontal/vertical alignment" and "Element horizontal vertical alignment". But the postion of the
text field is not changing. Plz help,
Thanks,
TJHi Andy,
Sorry to ask this questions.
1.Where exactly i need to change the HTML code(By uisng the view source?)
2.My taskname part html code when viewing the source is given below
tabindex="999"><img src="/i/e.gif" alt="Edit" class="eLink" />
</a><tr></td><td nowrap align="left">
<label for="P1_TASK_NAME" tabindex="999">
<a class="t16OptionalLabelwithHelp" href="javascript:popupFieldHelp('5853137628393530415','676839962625525')"
tabindex="999">Task Name</a></label></td>
<td colspan="1" rowspan="1" align="left" valign="top"><input type="hidden" name="p_arg_names"
value="5853137628393530415" /><input type="text" name="p_t06" size="10" maxlength="20" value=""
id="P1_TASK_NAME" /><a class="eLink" title="Edit" href="javascript:popupURL('f?
p=4000:371:676839962625525::::P371_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:5853137628393530415,107,1');"
tabindex="999"><img src="/i/e.gif" alt="Edit" class="eLink" /></a></td></table>
<table summary="" cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td align="right"><table
cellpadding="0" cellspacing="0" border="0" summary="" class="t16Button">please suggest what changes i need in this code to change the alignment of the task_name text field,
Thanks,
TJ -
Unable to see text data in the reporting bw 3.5
Dear Gurus,
My clinet wants to see the text data for all the records in the reporting.unfortunately he cant see text data for only 5 records in the colum. i checked in the query designer for that object ,in properties its given as key and text. can any one suggest me why the text data is not comming for only that records..
Thanks in Advance.
Srikanth.Dear Pavan,
Thanks for the reply, the query properties are already set like key and text before, the problem text is showing to all the records except 6 records,for this 6 records in the place of text it is showing only same technical name..please guide..
Thanks,
srikanth. -
How the text elements of the SMARTFORMS can generate a field?
Hello guys
I have got this problem of not getting the value of the fields from the smartform. i wrote the text element to populate the field by inserting as the following &IV_BID_HEADER-PROCESS_TYPE& first it comes with the shaded background but after i activate the smartform the shaded part will gone and it remain as &IV_BID_HEADER-PROCESS_TYPE& which basically cannot populate any value.
can anyone help me on this,to keep the field remain shaded at the background which basicallly can populate the values of the fields.
ThanksHello,
Please click on "FIELD LIST on/off" or ctrlshiftf4 and then drag and drop the same from the left bar.
First find whether you have declared the value in Global Variables OR in Import/Export Interfaces.
Hope this was helpful.
Cheers,
Suvendu -
Show SQL Query to be showed in Text object at the report
Is there any way where I can take/copy the query showed in "Database->Show SQL Query" to be showed as a field in a TextBox inside the report.
So it is a bit clearer what I am trying to do, it is to get who, when and what runs that report.
Thanks in advance
TonioHi Toni,
I am not sure if I have understood your requirement. If you could elaborate what you are trying to do then i may be able to help.
I understand you want to copy the query which is displayed in DATABASE->Show query name... I hope u are refering to SQ01 trx...
I am not sure what next part..
Rgds
Abhijit -
Centering text element at the horizontal axis?
I'm creating a motion template for FCP. The idea is to have a text question in the center of the screen. With longer questions that takes up more lines I would like it to automatically stay in center at the horizontal axis as well. Can I do this in Motion?
With longer questions that takes up more lines I would like it to automatically stay in center at the horizontal axis as well.< </div>
Do you mean you want the lines of text to be center-justified or do you mena you wnatthe text object to always be centered on the x axis?
There is plenty of visual-reference research to suggest center-justified text is more difficult to read quickly and with the same level of comprehension as left-justified. The same research indicates mixed case is easier to read than all-caps because people tend to recognize glyph shapes more quickly than they see letterforms. The same research indicates serif faces are more quickly comprehended than sans serif type but serifs tend to create issues with interlaced video.
See publications by Edward Tufte, Stanford University.
bogiesan -
How to transport the text elements in Reports?
need answer to this question.
how to transport the text elements in the reports?
Edited by: venkata kumar on Feb 18, 2008 1:33 PMHi Venkata,
Text Elements are a component/part of the SAP script and are not individual ABAP objects within the SAP environment hence they cannot be transported independently.
You would need to make changes in your text elements in the SAP script which would result in the SAP script being saved under a transport and moving the transport across the landscape would result in the text elements also getting transported.
In short: Move SAP script - to move text elements.
Cheers,
Aditya -
Error in Assignment of Text Elements of Report to Transport
Hi All,
I have transported few reports to Quality system however the texts elements associated with those reports have not transported to Quality system .
Now I am trying to assign these text elements to new Transport however I am getting error while activation and messgae just displays " Error in Activation " .
The Original system of these reports is different from my current development system. The Transport Layer of Package and Transport is same.
Please advice . Thanks.Hi,
Try to transport the text-elements along with the report to the quality server. Save and activate the text-elements and the report in the same transport request and then transport to quality system.
Regards,
Vik -
Text Elements not working in report program
Hi Friends,
I had created a new Text-element in my report program while i execute the program my text element is not displayed. but if i use the exiisting element then it is displaying correctly.
For Ex:
There are Text-Elements like
E01: Error
S01:Success
Now i am adding new text-element
W01: Warning.
In program;
Message text-W01 type 'E'. . In this case it is not displying the TE.
But if i use E01 or S01 then it is displaying.
Can anybody tell me what is the problem?HI
Goto SE38 > GOTO> TRANSLATION
Check in which language it is then CHANGE LANGUAGE FROM GERMEN TO ENGLISH.
NOW YOU BE ABLE TO CHANGE.
GOTO> TEXT ELEMENTS> SELECTION TEXTS
Maybe you are looking for
-
Do i need a network card to install and run a local java web server
Friends, Do i need a network card in my computer to install and run a local Java Web Server or any Web Server.
-
How to change the posting periods
HI, could anyone tell me that how to change the posting periods in SD module regards, chary
-
What the Heck is going on with my PS CC?
My working version of PS CC started asking me to sign back in after 3 momths of use. I finally got a message that my version was wrong for my license, and I should un-install. Then download Photoshop CC from Adobe.com and re-install. When I try and d
-
I'm trying to get inbound email working in our ECC 5.0 sandbox. I've configured the system using the note 455140 including setting up a virtual SMTP port number of 25012. Is there a way to get mail into the system without having to use an external m
-
I can not connect my iphone with pc even using itunes
I have installed itune version 10.6.1.7. The operation system of my notebook is Windows XP Professional service pack 2.I I have an IPhone 4 Iiso 5.0 version. And I connect to pc it shows an unknown error -42408. I hope all help to. much thanks