Using many images in a "Text element"
Hi,
I'd like your advices and tips about how using multiples images in a Text element. In fact, i'm not completely satisfied with the default Rich Text Editor because when you when to use an image you have to know in advance the url of it...
I tried to use FCK editor but there is no link between the images uploaded and the portal elements. So it's really hard to maintain.
Can you explain me how your webmasters include multiples images in a text element ? In my dreams, i wish i had a button which will display all elements of type "Image" (which can be located in a single page)
Thanks in advance
Max.
Hi,
I'd like your advices and tips about how using multiples images in a Text element. In fact, i'm not completely satisfied with the default Rich Text Editor because when you when to use an image you have to know in advance the url of it...
I tried to use FCK editor but there is no link between the images uploaded and the portal elements. So it's really hard to maintain.
Can you explain me how your webmasters include multiples images in a text element ? In my dreams, i wish i had a button which will display all elements of type "Image" (which can be located in a single page)
Thanks in advance
Max.
Similar Messages
-
Why do we use include in sap script text element
Hi SDNers,
Why do we use include statement or what does that stands for in an text element of a sap script.
Details with examples and explanation please
Thanks & Regards,
Ranjith NHi Ranjith,
Please go through this.
&VBDPL-ARKTX&
/: INCLUDE &VBDPL-TDNAME& OBJECT VBBP ID 0001
If your include contains
= arflebarflegloop
and vbdpl-arktx contains 'myarticletext'.
Then the output document will contain a line:
myarticletext arflebarflegloop
If the include contains
arfelbarflegloop
then the output document will contain the lines:
myarticletext
arflebarflegloop
(Subject to whatever the prevailing paragraph format is - * means use current format).
Think about what would happen if instead of having an include, you hardcoded the text of the include in your sapscript.
I found this at http://www.sapfans.com/sapfans/forum/devel/messages/31158.html
Regards,
Sharat. -
HTML Button use an image instead of Text
I have an HTML button in its own region called A_BUTTON, its current Button display attributes are
sytle: HTML Button
Attributes: name="A" class="where_clause_button"
what it does is i use a dynamic action based off the where_clause_button jquery selector and use javascript to update a hidden field. I would now like to use the Oracle Logo for example as the image of the button instead of using a text label for it. I tried adding to the Attributes src="http://www.oracleimg.com/admin/images/ocom/hp/oralogo_small.gif". When i run it the button still works the same as before but without the image and retains its Text Label, in this case its A.
the html it generates is for the button during runtime is:
<input type="button" src="http://www.oracleimg.com/admin/images/ocom/hp/oralogo_small.gif" class="where_clause_button" name="A" onclick="apex.submit('');" id="A_BUTTON" value="A">
How do i retain the functionality of this button but make it an image button?
Edited by: Brobot on Feb 9, 2011 5:22 PM<li>Use a template based button and customize the template with the image.
<li>Add appropriate JS code to the URL section(prefixing with "javascript:" ) and optionally add a some ID attribute for easy JS access. -
What is the use of text elements in scripts
pls tell me what is text element?can we use this in any window or only in main window ?
pls explain briefly with some coading .and onbe more question what is the lement that is used in our abap editor<b><a href="http://help.sap.com/saphelp_47x200/helpdata/EN/images/locate.gif">Text Elements of a Form</a></b>
SAPscript calls the individual text components of a form text elements. To achieve good structuring and readability, you assign a fixed name to each text element in the form. The print program then uses these names to access the elements. This name applies also for translated versions of a text element, while the contents of the text elements depend on the language.
Text elements are related to a window, that is, a print program can call for each window only those text elements that exist in this window. They are used in main and other windows.
The variables used within '&...&' are replaced by the system at output time
/E <element name>
UL &fieldnam& text text
Named element are written when driver program use
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'BOOKING'
TYPE = 'BODY'
WINDOW = 'MAIN'
Unnamed element are written once in MAIN windows, and each time in other windos.
Regards -
Using an image as label in Spry Accordion Menu
I was wondering if it was possible to use an image instead of
text in the spry accordion menu. I have replaced the text that is
there with a roll-over image link however I'm unable to label it
since it uses the text as the label and therefore can't set the
default panel I want opened. Is there a way to do this? Thanks for
your help.Stefaan Lesage wrote:
Is this possible with Pages 09 ? And can I achieve this ?
Is it possible to look at the Help or at the Pages User Guide
In the English one, page 17, we may read:
• Some graphics, such as watermarks or logos, appear on pages. These objects are called master objects. If you cannot select an object in a template, it’s probably a master object. To learn more, see “Using Master Objects (Repeated Background Images)” on page 60.
You can drag or place objects on a page, including imported graphics, movies, and sound, or objects that you create within Pages, including text boxes, charts, tables, and shapes.
You can also insert pages that have been preformatted for the template you’re using. Click Pages or Sections in the toolbar and choose a template page. The new page is added immediately after the page where you placed the insertion point.
Yvan KOENIG (from FRANCE vendredi 27 février 2009 23:01:32) -
Maintaining Text Elements in Original vs. Logon Language
For report RFIDPL06, we are adding a new text element. The button "Maintain in Original Language" was clicked and the new text element was added to language "DE".
Our question: How do we switch to "Maintain in Logon Language" so that we can add the new text element in language "EN"?
The RFIDPL06 original language is "DE".
Any help appreciated.
We are using SE38 to maintain the text elements. The new text element is in English so we do not need a translation. We need to be able to maintain the text element in English. The logon language is English but the text elements are in German.
How do we switch to maintain the text elements in English?
Edited by: Doris Howard on Jan 5, 2009 5:16 PMDoris Howard wrote:
> For report RFIDPL06, we are adding a new text element.
1. How you are adding a new text element to a standard report. after getting access key?
If you want to maintain translaction for text element in EN then you need to use transaction code SE63.
a® -
Call text element and command in smart forms
Hi, I have create a smart form that have one text element and one command. The command is for do a page break.
I have seen that you can call the smart form from a program doing:
1.-'SSF_FUNCTION_MODULE_NAME'
2.-call function fm_name
That is not ok for me because I want to call to the smart forms manually as befores it done with sap-script, open form, write , close form...
What function Have I to use to call to the text element?
What function Have I to use to call to the command?
Someone have and example calling a smart form from an abap.
Thanks in advance.
MANUELHi Vinod, I do not understand very good that you propose.
I explain more details of I have to do:
I have a abap program that read and write some data, I want to pass every line of the report to smart form, and in some lines comes a break page that I have to force also in the smart form, the idea
LOOP AT ITAB.
IF ITAB-LINE EQ '<BREAK>'.
BREAK PAGE IN SMART FORM
ELSE.
PASS ITAB-LINE TO SMART FORM
ENDIF.
ENDLOOP.
In order to do that I have created in the smart forms one text element X_LINE that represents every line and a command NEWPAGE that force page break.
Is possible to do that I want by the way that you propose?
Thanks in advance.
MANUEL -
Use of text elements in wirte_form function module.
Hi guru's,
Could any one tell me what is the use of text elements in write_form functional module SAP SCRIPTS. As per my knowledge text elements are used for multi language purpose is there any other advantage other than that.
Thanks in advance.
Vardhan.Hello.
A text element is a block in script that can be written several times in your document. You can put fixed texts, variables, include texts, images, etc etc
When you see WRITE_FORM, element 'X', you know that everything that is inside element /E X of your script is writen. It's very usefful to organize your script, and it eases to construct a very complex script.
It's also usefull to translations in SE63.
Best regards.
Valter Oliveira.
Edited by: Valter Oliveira on May 27, 2008 10:05 AM -
Need info about text elements used in Smartform / Sapscript
Hi experts
I am working on Smartform / Sapscript i am facing the problem mentioned below
I want the info regarding all the text elements used in Form / Script
Can u please suggest me the name of table
I have already used STXH table but it is not giving me the all text elements
I mean i want that if i enter some formane ...i should get all the text elment contained in it
Plz help me
ThanksHi Gaurav,
Try out the fn module "READ_TEXT".
Hope it helps you.
Regards,
CS.
Note: Reward points if helpful. -
Can anybody tell me how many text elements are there in sap scripts?
hi all,
can anybody tell me how many text elements are there in sap scripts?Hi,
Do you mean that you want to know how many Text-elements are there in a specific Script or you want to know how many max Text-Elements a script can have?
I believe there is no limit on this......
To know all the Text Elements in a Script......goto SE71....press F4 Help on Script Name....Choose Last option for Custom developed Scripts.....and you can open the complete Script details & Code in a Line Editor...After that you can serach/look for the text elements -
Use of text element in function module
hi friends what is the use of text element i.e list headings, selection texts,text symbols in a function module. where a can see these things after giving some text into it and activated.
kumar.hi
<b>Text Symbols</b>
A text symbol is a named data object that is generated when you start the program from the texts in the text pool of the ABAP program. It always has the data type c. Its field length is that of the text in the text pool.
Text symbols, along with the program title, list headings, and selection texts, belong to the text elements of a program. Text elements allow you to create language-independent programs. Any text that the program sends to the screen can be stored as a text element in a text pool. Different text pools can be created for different languages. When a text element is changed or translated, there is no need to change the actual program code. Text elements in an ABAP program are stored in the ABAP Editor (see Text Element Maintenance).
In the text pool, each text symbol is identified by a three-character ID. Text symbols have a content, an occupied length, and a maximum length.
Examples for text symbols in an ABAP program:
ID
Contents
Occupied length
Maximum length
010
Text symbol 010
15
132
030
Text symbol 030
15
100
AAA
Text symbol AAA
15
15
In the program, you can address text symbols using the following form:
text-###
This data object contains the text of the text symbol with ID ### in the logon language of the user. Its field length is the same as the maximum length of the text symbol. Unfilled characters are filled up with spaces. You can address text symbols anywhere in a program where it is also possible to address a variable.
If there is no text symbol ### in the text pool for the logon language, the name text-### addresses the predefined data object space instead.
You can also address text symbols as follows:
... 'textliteral'(###) ...
If the text symbol ### exists in the text pool for the logon language, this is the same as using text-###. Otherwise, the literal 'textliteral' is used as the contents of the text symbol. This is only possible at positions in the program where a variable can occur. You can create a text symbol for any text literal by double-clicking the literal in the ABAP Editor and replacing the literal with the text symbol.
You should use text symbols in your program whenever they need to be language-specific - for example, in a WRITEstatement.
If you program a list whose layout depends on field lengths, you should be careful, since the field length of text symbols will be different in different languages. You should therefore set the maximum field length of the field symbol so that there is enough space to translate it into other languages. For example, the English word 'program' has seven letters, but its equivalent German translation 'Programm' has eight.
The following example shows the use of text symbols in WRITE statements.
SET BLANK LINES ON.
WRITE: text-010,
/ text-aaa,
/ text-020,
/ 'Default Text 030'(030),
/ 'Default Text 040'(040).
If the text symbols of the above screen shots are linked to this program, the output looks as follows:
Text symbols 020 and 040 have no text symbols. For text symbol 020, the system displays a space. This is only displayed in this case because the blank line suppression has been turned off (see Creating Blank Lines).
regards
ravish
<b>plz reward if helpful</b> -
Image in a post element text : urgent
hello.
I am simulating a lov popup field (display description, return key..) because I am building the popup page manually...
All works fine, I have a text field witch receive the key and display a description, I am concatening an image (in the post text element), when I click on this image My lov popup is openeing...
My problem is : the image witch is right to the text field must be stuck to this text field ( I have a space between them),
Any idea please ?lila,
We can look at your application on htmldb.oracle.com where you reproduce this problem. Just post the app ID and we'll take a look.
Scott -
Using text elements in so10 standard texts
How to use text elements in so10 standard texts.
HI,
In DDIC we have two structures :
1. THEAD - Text Header
2. TLINE - Text Lines
SO10 is the tcode..for standard text...
We have a FM to read the text ... read_text...
and save_text is for create text..
this text is are used in SAP scripts...
the standard text is identified by three parameters :
1. Text Name
2. Text ID ( ST for standard text )
3. Language
hope helpfull
Raghunath.S -
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(); -
Displaying image, stored in KM, using HTMLB image UI Element...
Hello all,
I want to display the images in HTMLB UI Element which are stored under KM folder.
Image element requires src field to be filled with URL. So do I need to provide the full path to images including server's host name and port (e.g. http://<server>:<port>/irj/servlet/../KMDocs/..)? or is there any work around for this.....
Thanks in advance.
Amol.Hi Amol,
Yes there is.
Actually two ways:
1. Use request.getServletRequest.getServerName() and request.getServletRequest.getServerPort()
2. Use the url from "/irj" and forth (then the server and port of the opening window will be used).
Hope that helps,
Yoav.
Maybe you are looking for
-
Exchange 2013 SP1 Installation Errors I Cannot Resolve
Good Afternoon All - Note: I updated this post an hour after posting. Still no solution, but please see updated info at end of this post) I'm trying to introduce Exchange into an existing, small environment. The server I'm trying to install it ont
-
How to put html file into a canevas?
How to put html file into a canevas?
-
Add-ins that are being set to Inactive
This pertains to Outlook 2013 in this particular case, but may apply to other 2013 products. It's not just one add-in, but we have seen a few add-ins that go from a happy, Active add-in to a sad, unused Inactive add-in. If I have a user who's add-in
-
Hi, I'm currently in the planning stages of an application that will use swing, be deployed on a Websphere Application Express V5 server, and access a postgresql database. The application will need to display/add/modify data as well as do complex cal
-
Modelling Time Dimension with Fact Table containing Start Date and End Date
Hi Gurus, I have a time dimension with Year till Date. I have a fact table which consists of Start Date, End Date, Person ID, Department ID. How do i design Time dimension with fact table the below scenario In the dashboard i have start Month and End