How to modify the text property of a textobject when it contains a formula.
I have a textobject with a text property of
"Accounting Period to {@periodend}"
When I try and modify it though it changes {@periodend} to literal text and it doesn't get evaluated.
I'd like to modify the textobject without losing the formula.
Thanks in advance,
J
Sorry about that. I'm using
VB.Net 2008 (for prototype, translating to C# for production) 9.0.30729.4462 QFE.
CR2008 12.3.1.684
CrystalDecisions.CrystalReports.Engine 12.0.2000.0
CrystalDecisions.CrystalReports.Design 12.0.2000.0
CrystalDecisions.Shared 12.0.2000.0
I'm thinking that a clue might reside in the RAS but my version iof CrystalDecisions.ReportAppServer.ReportDefModel is 12.0.1100.0
J
Similar Messages
-
How to get the 'text' property value of a button in coding?
Hi Experts,
I'm using 10 buttons all are having common action('click'). when i click a button the 'text' value of the button should pass to a function.So the action is same but the passed value will be the 'text' value of the corresponding button. I don't know how to get the 'text' property of a button in coding. Kindly help me to solve this problem.
Thanks and Regards
BasheerHi,
My event is like this.
public void onActionclick(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
String s = ? ; // should get the 'text' property of clicked button
fillInput(s); // function to be called
The called function is,
public void fillInput( java.lang.String id )
String str=wdContext.currentContextElement().getNum();
str = str + id;
wdContext.currentContextElement().setNum(str);
How can i get the 'text' property value of the corresponding button. Click action should be common to all buttons.
Thanks and Regards,
Basheer -
How can Modify the Text of a MessageArea in a Application WD ABAP Standard?
Dear Experts.
How can Modify the Text of a MessageArea in a Application WD ABAP Standard?
I found the following link in the helpsap, but in this moment I don't know How found this text? and Modify this text with a new text.
http://help.sap.com/saphelp_nw70/helpdata/en/3a/f6ba42a950da11e10000000a155106/frameset.htm
The text of a MessageArea are in a table of configuration or can do the system for get this text and show in the application in the portal? How can get this and modify by a new text.
Please help me with a suggestions.
Thanks
Regards
Carmen G.Dear Kranthi..
The datas of the Application is the following:
General Information About the Application and Component
Application: FITE_REQUEST
Web Dynpro Component: FITV_FPM
Window Information: FPM_WINDOW
View Information: Layout_view
Information on Field
Field ID: HELPTEXT
Type of UI Element : Explanation
Attributes of UI Element
TEXT_DOCUMENT_NAME: FITE_FPM_REQUEST_GENERAL_DA
I dont found this method L_MESSAGE_MANAGER->REPORT_T100_MESSAGE.
Please can give more suggestions for found the method
Thanks in advance
Regards
Carmen G. -
How to set the 'text' property of a 'Header' region dynamically?
Hi,
I have a requirement to display the 'text' property of a 'Header' region, based on a query.
So I need to set the text property programatically in CO.
Can I use setText("..") by getting the handler to the 'Header' region?
If so, How to get the handler for the 'Header' region?
Message was edited by:
user594528How to get the handler for the 'Header' region to call the setText()?
OAHeaderBean Header1 = (OAHeaderBean)...........................
Header1.setText("...."); -
How to modify the text in java3d??
I want to modify the text in java3d.What should I do ??
first , I add the text to the java3d;
then , I pick it by using behaior;
third, I setString("My dog") to change text!!
but there have some capability error!
how can I do that??
thanks in advance!!Hi,
I've a similar problem - I'm using Text2D to create labels for a node-link graph. I've set all the capabilities, etc., and am finally able to change the labels using setString in Text2D. With one slight problem - now I'm getting an error:
java.lang.IllegalArgumentException: Texture:illegal image size
at javax.media.j3d.TextureRetained.checkImageSize(TextureRetained.java:389)
at javax.media.j3d.TextureRetained.setImage(TextureRetained.java:423)
at javax.media.j3d.Texture.setImage(Texture.java:869)
at com.sun.j3d.utils.geometry.Text2D.setString(Text2D.java:118)
at Label3D.setLabelText(Label3D.java:59)The only time I don't get the error is when I change the label from component ID to (which is a string containing an integer, e.g., 1234) to start/stop stage (which is another string containing an integer, e.g., 04, 11). If I attempt to change from component name (a string containing a string, e.g., "mesoderm"), say, to component ID, I get the error. So it's not about the length of the string, since component name is invariably longer than the ID, and the ID could be longer than the start/stop stage.
oh, this is the code I have for the capabilities bit - no more complaints there
private void setCapabilities()
text.setCapability(text.ALLOW_APPEARANCE_READ);
text.setCapability(text.ALLOW_APPEARANCE_WRITE);
Appearance appearance = text.getAppearance();
appearance.setCapability(appearance.ALLOW_TEXTURE_READ);
appearance.setCapability(appearance.ALLOW_TEXTURE_WRITE);
Texture texture = appearance.getTexture();
texture.setCapability(texture.ALLOW_IMAGE_READ);
texture.setCapability(texture.ALLOW_IMAGE_WRITE);
}Any ideas, anyone?
aba. -
How to Modify the Header/Footer that's created when printing to PDF?
Hi all,
How do I modify the header/footer that is added when I use the Adobe PDF printer in another application, like MS Word? Currently it adds the entire path of the file as the header, which is really annoying.
I'm not talking about the Header/Footer command in Acrobat's "Document" menu. In fact, that command doesn't even recognise the header that's generated by the Adobe PDF printer.
I'm using Acrobat Pro 8.1.3, btw.
Thanks :)Generally you should set the whole look of the page in your application and then print to the Adobe PDF printer as you have been doing. If you are using a browser, there are header and footer commands for the printer that are typically set by the browser - those can be modified there. The PDF should look just like the preview in the application, that is the point of a PDF.
-
How to modify the text in login page?
In login page , there are some lines text:
This network is to be used only for legitimate business purposes. If you are not authorized to have access, do not enter this network. By entering the network, you agree to maintain its confidentiality and not to disclose or misuse the information contained in the network and you further agree to our monitoring of your use of this network.
How to modify or delete these words ?
ThanksThis text is not a translation managed in the DB. you can modify the aspx page, directly. web\webcommon\login.aspx
-
How to Modify The Text That Appear in Context Help?
Hello,
I searched, but could not find any result.
Actually I am using a code from "Find Example" of Labview. I have modified it for my application and hence, I must modify the context help (as some of its dicription is not true anymore). Would anybody able to suggest me how to do it?
Thanks,
DushyantRight click on the VIs Icon and select VI Properties. In the Category drop down ring select documentation. Edit the text. The text in VI description is what will be displayed in LabVIEWs context help.
Chad -
How can i modify the text created by create_text FM
Hi Gurus,
How can i change a long text created using create_text FM?
I couldn find any FM to modify the text!
Thanks.Hello Umit,
Sorry...I mislead you. the function to edit the content of a long text is SAVE_TEXT and not RENAME_TEXT.
In SAVE_TEXT FM, fill this information.
In HEADER parameter, enter your TDOBJECT, TDNAME, TDID, TDSPRAS and TDTITLE information.
In SAVEMODE_DIRECT parameter put an X value
In LINES table, put your new content.
Execute it.
Confirm it after, using READ_TEXT function.
Regards,
Bruno -
How to clear the text in the Text Editor
Hi all,
I created a Text editor and also i am having language field in the screen.
whenever i change the language auomatically the text has to change when the text exists for that
language.
this is working fine, but when the Text exist , the text editor should be blank.
But it is carrying the Previous editor text itself into it .
How to clear the text in the Editor.
Regards,
MadhaviHello Madhavi
The simple report ZUS_SDN_TEXTEDIT_CONTROL shows how to switch the texteditor contents when changing the language.
*& Report ZUS_SDN_TEXTEDIT_CONTROL
*& Thread: how to clear the text in the Text Editor
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1145272"></a>
*& By default the itab GT_OUTTAB contains texts in DE and EN.
*& To switch the language directly enter into the command window:
*& LANGU=DE, LANGU=EN or LANGU=FR
REPORT zus_sdn_textedit_control.
TYPE-POOLS: abap.
TYPES: ty_t_text TYPE TABLE OF as4text
WITH DEFAULT KEY.
TYPES: BEGIN OF ty_s_outtab.
TYPES: language TYPE spras.
TYPES: text TYPE ty_t_text.
TYPES: END OF ty_s_outtab.
TYPES: ty_t_outtab TYPE STANDARD TABLE OF ty_s_outtab
WITH DEFAULT KEY.
DATA: gt_outtab TYPE ty_t_outtab,
gs_outtab TYPE ty_s_outtab.
DATA: gd_language TYPE spras.
DATA: go_docking TYPE REF TO cl_gui_docking_container,
go_textedit TYPE REF TO cl_gui_textedit.
DATA: gd_okcode TYPE ui_func,
gd_repid TYPE syst-repid.
START-OF-SELECTION.
PERFORM fill_texts.
gd_language = syst-langu.
PERFORM init_controls.
* Link the docking container to the target dynpro
gd_repid = syst-repid.
CALL METHOD go_docking->link
EXPORTING
repid = gd_repid
dynnr = '0100'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc NE 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM set_text_editor.
* NOTE: dynpro does not contain any elements
" ok-code => GD_OKCODE
CALL SCREEN '0100'.
* Flow logic of dynpro (does not contain any dynpro elements):
*PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
*PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
END-OF-SELECTION.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'. " contains push button "DETAIL"
* SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
TRANSLATE gd_okcode TO UPPER CASE.
CASE gd_okcode.
WHEN 'BACK' OR
'EXIT' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
WHEN 'LANGU=DE' OR
'LANGU=EN' OR
'LANGU=FR'.
PERFORM get_text_editor.
SPLIT gd_okcode AT '=' INTO gd_okcode gd_language.
PERFORM set_text_editor.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form FILL_TEXTS
* text
* --> p1 text
* <-- p2 text
FORM fill_texts .
* define local data
DATA: ld_string TYPE string.
gs_outtab-language = 'EN'. REFRESH: gs_outtab-text.
ld_string = 'Good morning'.
APPEND ld_string TO gs_outtab-text.
APPEND gs_outtab TO gt_outtab.
gs_outtab-language = 'DE'. REFRESH: gs_outtab-text.
ld_string = 'Guten Morgen'.
APPEND ld_string TO gs_outtab-text.
APPEND gs_outtab TO gt_outtab.
gs_outtab-language = 'FR'. REFRESH: gs_outtab-text.
ld_string = space.
APPEND ld_string TO gs_outtab-text.
APPEND gs_outtab TO gt_outtab.
ENDFORM. " FILL_TEXTS
*& Form INIT_CONTROLS
* text
* --> p1 text
* <-- p2 text
FORM init_controls .
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
* repid =
* dynnr =
* side = dock_at_left
* extension = 50
* style =
* lifetime = lifetime_default
* caption =
* metric = 0
ratio = 90
* no_autodef_progid_dynnr =
* name =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT go_textedit
EXPORTING
* max_number_chars =
* style = 0
* wordwrap_mode = wordwrap_at_windowborder
* wordwrap_position = -1
* wordwrap_to_linebreak_mode = false
* filedrop_mode = dropfile_event_off
parent = go_docking
* lifetime =
* name =
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
gui_type_not_supported = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " INIT_CONTROLS
*& Form SET_TEXT_EDITOR
* text
* --> p1 text
* <-- p2 text
FORM set_text_editor .
BREAK-POINT.
CLEAR: gs_outtab.
READ TABLE gt_outtab INTO gs_outtab
WITH KEY language = gd_language.
CALL METHOD go_textedit->set_text_as_stream
EXPORTING
text = gs_outtab-text
EXCEPTIONS
error_dp = 1
error_dp_create = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " SET_TEXT_EDITOR
*& Form GET_TEXT_EDITOR
* text
* --> p1 text
* <-- p2 text
FORM get_text_editor .
CLEAR: gs_outtab.
CALL METHOD go_textedit->get_text_as_stream
EXPORTING
only_when_modified = cl_gui_textedit=>true
IMPORTING
text = gs_outtab-text
* is_modified =
EXCEPTIONS
error_dp = 1
error_cntl_call_method = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
MODIFY gt_outtab FROM gs_outtab
TRANSPORTING text
WHERE ( language = gd_language ).
ENDFORM. " GET_TEXT_EDITOR
Regards
Uwe -
How to wrap the text in column headers?
Hi Friends,
Can anyone please suggest how to wrap the text in column headers of a Java WebDynpro table?
I believe that caption is the only UI element that a column header can have and it does not allow wrapping of the text.
My original requirement is as follows,
In a table I need to dynamically set the width of the columns according to the width configured by the user in some other view. All the columns of the table are dynamically rendered.
Now what happens is when the user sets the width of the column to a rather low value, say 15 pixels, then the column is displayed like
Supplier Catalog Name
Sheila
Catalog
Name
Dropdown
As you can see it looks rather odd.
Supplier Catalog Name is the header of the column and I use IWDCaption for header.
Sheila Catalog Name Dropdown is the value of a particular row at the specified column. I am using a TextView as the TableCellEditor.
I think what is happening here is that the framework wraps the text in the TextView according to the width specified (15px) and then the column width is extended because it can not accommodate the text (Supplier Catalog Name ) of the column header.
We are using SAP NetWeaver Development Studio 7.0.12 as the IDE.
I searched some forums and many people have suggested using scrollable columns but I don't understand how it will help in wrapping the text in a column header.
Any help would be of great advantage.
Thanks
AmitHi Deepti,
Thanks a lot for the answer but the option that you have specified does not wrap the text. Instead it truncates the text being displayed and only the substring of the text which could be displayed in the given pixels is displayed.
I need to show the whole text wrapped (Meaning if the width of the column is not sufficient then the text goes into the next line).
Ayyapparaj,
Thanks to you too for an helpful answer. It seems that the Netweaver has finally come up with a way to wrap the text in the column headers but as Manoj pointed out, I do not see the property headerTextWrapping for a table column, Can you please specify which version of netweaver supports it?
We are using SAP NetWeaver Development Studio 7.0.12 as the IDE.
Thanks
Amit Kapoor -
How to encrypt the text in password field in Oracle Forms version 6i
Need help!
How to encrypt the text in password field in Oracle Forms version 6i?
one way is to change the settings in the property palette. Can somebody provide me some script to be run while the form is running which will enable the password to be encrypted?
Thanks!Hello,
Do you mean "hidden" (replaced with stars) or encrypted (that needs to be decrypted ?
Francois -
How to modify the field lengh of file upload
Hi All,
I am facing a problem with u201Cuploadu201D filed length in BSP application.
When we upload the file in BSP page, the path displayed should be the full path (i.e. from where the file is being upload the file)
Now this field is appearing 20 char length
Now I want to increase the length of the upload field (Input field) to be 100 char so that the path is visible.
In the current application the file upload is being done through a structure (attributes)
In this structure the fields are like this
PAGE_NAME
ID
FOR
TAGS
ROW_INDEX
COLUMN_INDEX
OTR_NAME
REQUIRED_NAME
MAXLENGTH
SIZE
TABLE_NAME
ON_SELECT
VALUE
DISABLED
ONCLICK
TEXT
TYPE
Using this method:
CALL METHOD cl_htmlb_fileupload=>factory
EXPORTING
Id = ls_form_save-id
RECEIVING
Element = lv_fileup.
bee_table->add ( level = 2 element = lv_fileup ).
This cl_htmlb_fileupload is named as class interface.
Which has the CLG_HTMLB_FILEUPLOAD (it is a class) it is defined in attributes.
In this class it has the attribute u201CSIZEu201D by default string 20.
Now I need to change this attribute length from 20 to 100
For this I copied the standard class CL_HTMLB_FILEUPLOAD into ZCL_HTMLB_FILEUPLOAD.
This ZCL_HTMLB_FILEUPLOAD contains all attributes of the standard class CL_HTMLB_FILEUPLOAD
Including the one class (CLG_HTMLB_FILEUPLOAD), this is defined as an attribute (ABOVE MENTIONED?)
This class is appearing in non editable mode, so I have copied this class into zclass (ZCLG_HTMLB_FILEUPLOAD).but still I am not able to edit the attribute called u201Csizeu201D
And also I am not bale to add the zclass in place of the ZCLG_HTMLB_FILEUPLOAD
Kindly tell me how to modify the length of the field u201Csize u201Cand also how to add the zclass in the attributes of one class (syntax)
Thanks in advance
Rambabu.AHi,
Class CLG_HTMLB_FILEUPLOAD is a class automatically generated when a BSP Element is created. You should not change/create such a class, unless by creating your own BSP Element.
As per your requirement, you can use the SIZE parameter of method factory:
ls_form_save-size = '100'.
CALL METHOD cl_htmlb_fileupload=>factory
EXPORTING
Id = ls_form_save-id
Size = ls_form_save-size
RECEIVING
Element = lv_fileup.
Regards,
Tanguy -
How to change the text of a RadioButton in JDeveloper 11.1.2.0.0
How to change the text of a RadioButton in JDeveloper 11.1.2.0.0
Select the radio button, open the property inspector (ctrl+shift+i) select the 'Visual' tab and search for the 'Text' property. There you can change the text.
Timo -
In List, How to modify the Link in Quick Edit Mode?
In List, How to modify the Edit in Quic Mode Link? Instead of opening Quick view mode, to open in InfoPath customized form?
Hi Eugene,
According to your description, my understanding is that you want to midify the link of "Edit" and set it linking to a InfoPath Form which can bulk edit your List.
You can use the code above to modify the Edit's hyperlink and set it linking to your InfoPath form.
<script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#idHomePageNewItem").next("a").attr("href","the URL of your InfoPath form");
$("#idHomePageNewItem").next("a").removeAttr("onclick");
</script>
For more information about bulk updating a SharePoint list using InfoPath form, you can have a look at the blog:
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/c05983fc-d992-49ff-8d18-fa8f70777d66/using-infopath-2010-to-bulk-update-a-sharepoint-list?forum=sharepointcustomizationprevious
http://infopath.wordpress.com/2013/09/23/infopath-repeating-table-add-edit-delete-sharepoint-list-items-bulk/
http://sharepointknowledgebase.blogspot.com/2011/10/updating-sharepoint-list-by-using.html#.VGFsKHkcSM8
If any misunstanding, please feel free reminding me and provide more detail for your issue.
Best Regards,
Eric
Eric Tao
TechNet Community Support
Maybe you are looking for
-
I have downloaded Viber to my iphone 4S, it was previously working, but as of today it has continually asked for an internet connection when i try to make a call or send a message. It displays this message while connected to the internet at my hom
-
Transferring docs from DELL to Macbook pro, some files got corrupted or won't open.
I got my mcbpro with os lion and i transferred all of my documents from my DELL laptop on an external harddrive, however i can open some jpgs and word docs and others won't open giving: Item "NAME.JPG" is used by Mac OS X and can't be opened. Also, o
-
Hi, I would like to know which one will perform better in a given scenario .We have a application with high volume like 250 tps .We are capturing some audit information and would like to write to database , But as we are dealing with large volumes ,
-
How are updates delivered in Creative Cloud?
I have a colleague who's cc software updates automatically. He has an option in the application manager to do so. My application manager does not?
-
Unable to view properties of User Informaton List in SharePoint designer
Hi I am not able t view the user information list properties in SharePoint designer. I am able to view the catalogs folder and when I right click the user list to view the properties, I am getting the SharePoint Designer cannot display the item. Can