How to get the real texts according to Standard Text Key maintained in CA10
Hi ;
I have a requirement to fetch the standard text based on the standard text key which is maintained by CA10.
is there any direct way to get those texts without giving 'TEXT NAME', 'TEXT ID' and 'TEXT OBJECT' but just by the standard key?
Thanks in advance.
Regards.
Vindy
Hi Varma,
Even if you want to personalise the Text also you can do without checking the DICTREF checkbox. Dirctly you can give the text in the Text elements by using the Menu GOTO -> Text Elemetns -> Selection Texts.
Regards
Thiru
Similar Messages
-
How to get the short text in tcode "msc3n" -- Basic data 2 -- short text.
I have to display the short text in my report output.
How to get the short text in tcode "msc3n" ( msc3n --> Basic data 2 --> short text.)?
Is there any function module availble to get this short text or is this stored in any data base table ?
Please help me. Your help will be highly appreaciated.
THANKS.Hi,
Use FM 'READ_TEXT' to get this values.
Say for exampele my material is 1900001 and batch is 0000000517.
Then my parameters to the FM will be as follows:-
Text Name 000000000001900001 0000000517
Language EN
Text ID VERM
Text Object CHARGE
This information you can get as follows.
Open the short text window in the text editor.
Here you can enter the long text.
In the editor Go to Header and you will find the details.
Please note that the text name will comprise of
Material
Batch
Plant
Stor. Location
if all the details are given.
I hope this helps you.
Regards,
Ankur Parab -
How to get the bold texts in JTextPane?
How to get the bold texts in JTextPane?
I believe you need to look at the Elements of the Document. Use the Document.getDefaultRootElement() method to get the first root Element. From there you can iterate through all the Elements. You should then be able to check the attributes of the element to see if it contains the Bold attribute using something like:
AttributeSet attributes = element.getAttributes();
if ( attributes.containsAttribute(StyleConstants.Bold, Boolean.TRUE)
// do processing here -
HT201210 I had the ios 7 beta and now I cant figure out how to get the real update
I have the IOS 7 beta currently on my phone however now I can't figure out how to get the real update
Be sure to log into developer.apple.com using your developer ID. there should be support on these issues.
-
How to get the real reason of bdb's err?
The application used some bdb's c-funcs, and get a err-log like below:
PANIC: fatal region error detected; run recovery
txn_checkpoint: log failed at LSN [1 6638626] DB_RUNRECOVERY: Fatal error, run database recovery
How to get the real reason of the err?
I tried to using db_printlog. But it print all the info of the log file. Another question is:
How to get the info of exact place?The question is still there. Could someone help me?
-
How to get the page number according to MarkerID?
I want to get the page number according to the marker element in fdk. I can get the marktext and markid,How to get the page number according to MarkerID in fdk?
zhaopeng,
You need to first get the ID of the paragraph containing the marker (with FP_TextLoc), then get the top-level frame containing the FO_Pgf object (FP_InTextFrame), then get the page containing the FO_TextFrame object (FP_PageFramePage). Here is a function that you can send various objects to in order to get the page ID, including paragraphs (this courtesy of Rick Quatro, originally posted to the Yahoo Framedev list):
F_ObjHandleT GetPage(F_ObjHandleT oDoc, F_ObjHandleT oObj)
F_ObjHandleT oFrame = 0;
IntT iObjType;
F_ObjHandleT oRow, oCell;
while(oObj)
oFrame = oObj;
iObjType = F_ApiGetObjectType(oDoc, oObj);
switch(iObjType)
case FO_SubCol:
oObj = F_ApiGetId(oDoc, oObj, FP_ParentTextFrame);
break;
case FO_Tbl:
oRow = F_ApiGetId(oDoc, oObj, FP_FirstRowInTbl);
oCell = F_ApiGetId(oDoc, oRow, FP_FirstCellInRow);
oObj = oCell;
break;
case FO_Row:
oCell = F_ApiGetId(oDoc, oObj, FP_FirstCellInRow);
oObj = oCell;
break;
case FO_Cell:
case FO_Pgf:
case FO_AFrame:
oObj = F_ApiGetId(oDoc, oObj, FP_InTextFrame);
break;
case FO_TextLine:
case FO_TextFrame:
case FO_UnanchoredFrame:
case FO_Arc:
case FO_Ellipse:
case FO_Group:
case FO_Inset:
case FO_Line:
case FO_Math:
case FO_Polygon:
case FO_Polyline:
case FO_Rectangle:
case FO_RoundRect:
oObj = F_ApiGetId(oDoc, oObj, FP_FrameParent);
break;
//endless loop prevention, stops the process when the top-level frame is reached
default:
oObj = 0;
break;
//if we found the top-level frame, return its page ID, otherwise null
if(oFrame)
return (F_ApiGetId(oDoc, oFrame, FP_PageFramePage));
else return(0);
...so, you would do something like this if you have the marker ID:
F_TextLocT textLoc;
F_ObjHandleT pageId;
textLoc = F_ApiGetId(docId, markerId, FP_TextLoc);
pageId = GetPage(docId, pageId.objId);
Note: I'm not sure how this handles the case where a paragraph extends across two pages and the marker is located on the second page. My thought is that it might erroneously return the page where the paragraph begins. I don't know how to handle that.
Russ -
How to get the Arabic text to speech on N8 ?
How to get the Arabic text to speech on N8 ?
Unfortunately it is not currently an available option:http://www.nokia.com/global/support/text-to-speech-s60-32-downloads/
Happy to have helped forum with a Support Ratio = 42.5 -
How to get the real name of a user from WFSYST-AGENT
Hi,
I am retrieving the WFSYST-AGENT value (which correspond to the US<user_id> of the agent responsible of a task) in a container variable in my workflow.
I would like to get the real name of the user represented by WFSYST-AGENT. How should I do that ?
Thanks in advance for your help.
ThibaultHi,
Take the user name and write a select for database table USER_ADDR fetching fields NAME_FIRST and NAME_LAST by passing BNAME = username.
Regards,
Jayesh -
How to get the real path of the xml file
I have a java application
following is the package structure
com>>gts>>xml
having file---------> MyXML.xml
com>>gts>>java
having java program to read the file
Problem is if I use File file = new File("..\\xml\\MyXML.xml");
java.io.FileNotFoundException: E:\LEARNING_WORK_SPACE\JavaXml\..\xml\MyXml.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
How do I get the real path of the xml file.
Edited by: shashiwagh on Jan 29, 2010 11:46 AMHi,
if your XML file is inside a package you can easily get it from the classloader.
Note that your application maybe packaged inside a jar so it is not safe to use java.io.File for this purpose.
You have an xml file in :
com/gts/xml/MyXML.xml
in a class of the same module (that will packaged in the same jar) for example com.gts.java.XmlLoader :
// To get the stream :
InputStream is = this.getClass().getResourceAsStream("/com/gts/xml/MyXML.xml");
// Or the URL :
URL xml = this.getClass().getResource("/com/gts/xml/MyXML.xml");Hope it helps. -
How to get the Underlined text in JTextPane
I have a JtextPane with text say "i _like java_ it is a _good language_".
in the above text i have made "like java" and "good language" underlined. And i have added a mouse listener to this JTextpane. the whole idea is to create a hyperlink so that when the user clicks anywhere on "like java" then i want to get the complete text("like java") where i clicked and using this text i want to do some operation. How can i get the underlined text?
thanks.it was the same i question what i had posted. i didn't get reply there so i posted the same question in a new topic.
-
How to get the highlighted text range through Framemaker's API calls?
Hi all,
I'm new to the Framemaker API (7.x) and developing a plugin for Framemaker 7.x. I wanted to get the highlighted objects from the active mif document. Tried this code:
F_TextRangeT tr;
/* Get the current text selection. */
tr = F_ApiGetTextRange(FV_SessionId, docId, FP_TextSelection);
Here is how I tested it:
1. some text in the mif doc was highlighted.
2. I clicked the menu item "my_plugin", a framemaker dialog popped up, some test configuration was sent through the dialog.
3. The test configuration was read by my program correctly.
However, the debugger showed that the tr is null! When I changed the first step of the test into:
1. placed the mouse cursor at somewhere in the mif doc.
The plugin worked somehow, the line where the mouse cursor was placed got selected, although I did not highlight anything.
My question is: how to get a highlighted range though the Framemaker API call? I've been flipping through the FDK 7.0 Programmer's Reference but haven't found a solution yet. Any hint will be highly appreciated.
Best Regards,
Ellen N. ZhaoHere is some information from the FDK Programmer's guide page 115:
IMPORTANT: A valid text range can span multiple paragraphs, subcolumns, or text frames.
It cant span multiple flows, footnotes, table cells, or text lines.
It is possible for a document to have no text selection or insertion point at all. This can occur in
the following circumstances:
● One or more graphic objects in the document are selected
● One or more entire table cells in the document are selected
● There is no selection of any type in the document
So, I did select one or more entire table cells in the document in my first test. It's logical that the result was not like expected.
But selecting one or more entire table cells is a crucial requirement for my plugin, is there anyway to get things straight?
Simply put, I want to enable users to select one or more table cells in the document, and I want to get the object handles of the first cell and the last cell through Framemaker API calls. How?
Many thanks in advance!
Best Regards,
Ellen N. Zhao -
How to get the Sales Text?
Hi,
I need a Function which will help me to read the Sales Text found in the MM03. I am using the following function but it seems I am not getting the NAME right. In the table STXL when I checked the NAME contains the MATERIAL(X7000114BLCK), SALES Org(1000) and Distribution Channel(20) like this "X7000114BLCK 100020". How could I make up this? or is there another easy Function where I could give the Sales Order No, Material or Line Item to get the Sales Text which comes in MM03.
The Funtion that I used;
call function 'READ_TEXT_INLINE'
exporting
id = '0001'
inline_count = 1
language = 'E'
NAME = PO_OBJ
object = 'MVKE'
tables
inlines = inlines
lines = lines
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
others = 7.
Thanks,
KishanHi Hymavathi,
I did like this;
DATA v_tmp(18) TYPE c.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = wa_sales-matnr
IMPORTING
output = v_tmp.
CONCATENATE v_tmp 'XXX' INTO PO_OBJ.
The answer that I get is this - "X7000114BLCKXXX" the spaces beteeen the MATNR and XXX is not there. How could I get this?
Thanks,
Kishan -
How to get the real name of a sender ?
When I receive a message under JavaMail, I want to get the real name of the sender but when I do a getFrom() I received a string like :
=?iso-8859-1?q?Julien=20Dupont?= <[email protected]>
But I only want the real name...
How can I do to recover only "Julien Dupont" ?
Thanks
Jujavax.mail.Address[] addrs= m.getFrom();
Address a = addrs[0];
if (a instanceof InternetAddress &&
((pers = ((InternetAddress)a).getPersonal()) != null)) {
String addr = ((InternetAddress)a).getPersonal();
} else
addr = a.toString();
this 'getPersonal()' is the thing you need. -
How to get the real client ip by the request header like asp/php,etc?
I want to get the real client ip by request.getHeader("HTTP_X_FORWARDED_FOR"), who use the proxy server to access my site, the way asp/php using, however, I got nothing. Does jsp support the similar header from request, if yes, how to do?
thanks for your tips.
frederickI want to get the real client ip by request.getHeader("HTTP_X_FORWARDED_FOR"), who use the proxy server to access my site, the way asp/php using, however, I got nothing. Does jsp support the similar header from request, if yes, how to do?
thanks for your tips.
frederick -
How to get the real longtitude latitude of a pixel from Mapviewer'spicture
I have application that will show a map returnning from MapViewer, and in my request I have :
1. MapSize:
2. MapHeight:
3. MapWidth:
4. CenterX:
5. CenterY:
when user click on the picture I receive X, Y in coordinate of PictureBox so How to change them to the real longtitue, langtitude.Example: I have
MapSize=8
width=500
Height=500
Center X= -122.433 (longtitude)
Center Y= 37.7878 (latitude)
When I send a request I will receive a map reprented in my monitor with 500*500 pixel?
I click on a pixel in that picture and i get the X=350, Y=340 (compare with TopLeft pixel of map is (0,0)).
So how can i get the real longtitude, latitude of that pixel.
In document i see 1 inche =72dpi --> so a real height of my map = 500/72=6.94 Inches
And the problem is how i caculate the map scale.
Maybe you are looking for
-
someone tell me how to fix it
-
How can I reduce the selection for the characteristics value in a BW query
Good morning, I need to find out how I can reduce the selection for the characteristics values in a BW query. In a BW query I have a characteristic "Due month". The characteristic values shown in the query are from 01.2001->03.2007. I would like to r
-
i already reserved app name as Ma_Test. But only one error showing "This package is using an app name that hasn't been reserved for this app: "Matest". how to solve?
-
Diablo II can't open b/c PowerPC applications are no longer supported.
Downloaded OSLion and now Diablo II can't open b/c PowerPC applications are no longer supported.
-
Can access site via phone hotspot but not via jetpack
Trying to access magentocommerce.com - can access the site when using laptop connected to phone mobile hotspot. However, when I try to access the site with the laptop connected via the jetpack, the site won't load. Been trying to get this resolved t