How to find out first words in a sting
Hi All,
I have a requirement to find out first two words in a string by using SQL.
Your help will be more appreciated.
Thank you,
Thanks for pointing it out, sy...
user536769:
depending on the range of characters that can be present in a word in your system, the RE can be made more exhaustive:
test@ORA10G>
test@ORA10G> @ver1
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
test@ORA10G>
test@ORA10G> with t as (
2 select 'a man, a plan, a canal - Panama' as x from dual union all
3 select 'the quick brown fox' from dual union all
4 select 'Cast Away' from dual union all
5 select 'Help! (1965) - The Beatles' from dual union all
6 select 'R2-D2, Anakin Skywalker/Darth Vader, Obi-Wan Kenobi, C-3PO' from dual union all
7 select 'first second third' from dual union all
8 select '"The'||chr(9)||'Bet"'||chr(9)||'by Anton Chekhov' from dual union all
9 select 'abracadabra' from dual
10 )
11 select
12 x as string,
13 regexp_replace(x, '([a-zA-Z"0-9!)(._,-]+)\s+([a-zA-Z"0-9!)(._,-]+).*$','\1 \2') as first_two
14 from t;
STRING FIRST_TWO
a man, a plan, a canal - Panama a man,
the quick brown fox the quick
Cast Away Cast Away
Help! (1965) - The Beatles Help! (1965)
R2-D2, Anakin Skywalker/Darth Vader, Obi-Wan Kenobi, C-3PO R2-D2, Anakin
first second third first second
"The Bet" by Anton Chekhov "The Bet"
abracadabra abracadabra
8 rows selected.
test@ORA10G>
test@ORA10G>
test@ORA10G>cheers,
pratz
Similar Messages
-
How to find out what word doesn't start with a "#"?
Hi,
I need to find out the position in the text for the first word that doesn't contain a leading hashtag (#) - starting from the end of the text.
This is a demo text:
var demoText:String = "hello world #dontremoveme here #1remove #2removeme #3removeüäüö
The position would be after the word here.
How do do that?For quick and simple code, you can use String methods to get the character index of the "#". Below is an example that gets the index of the space character that is directly in front of the second "#". This code example assumes you are wanting to create a new String that has everything up to the second "#" character.
var demoText:String = "hello world #dontremoveme here #1remove #2removeme #3remove";
var index1:int = demoText.indexOf("#");// find first instance of "#" in the String
var index2:int = demoText.indexOf("#", index1 + 1) - 1;// find the index of the space character right before the second instance of "#"
var newText:String = demoText.substring(0, index2);// newText = "hello world #dontremoveme here"
To explain line 3, you are searching for the index of the "#" character starting the search from the index of the first "#" + 1. The "+ 1" is to have the search start after the first "#" character. If you don't have that, you would keep finding the same index value as "index1". The "- 1" at the end is to decrease the index2 value so it will give you index of the space character directly in front of the "#". Line 4 creates a new String starting from the beginning of the original String up to, but not including, the space character in front of the second "#".
If you needed something more complicated than just removing everything after "here" then I would need a different example.
Edit: Here is a link to the AS3 API for the String class. String - Adobe ActionScript® 3 (AS3 ) API Reference -
How to find a specific word in sentence in each line?
How to find a specific word in sentence in each line and output will show start from the beginning from specific word plus with small description from each sentence?
For example: I need to find a "+Wednesday+" and "+Thursday+" word in each sentence by line by line from "myfile.txt".
Go ballet class next Wednesday.
On the Wednesday is going to swim class.
We have a meeting on Thursday at Panda's.
Then it will show the output:
Wednesday : ballet class
Wednesday : swim class
Thursday: meeting at Panda's
I am going to figure out in Java console to read from a file for specific word from each line and how to make it output in correct way. I know already to make input/file codes.I got it and understand much better. Thank you very much. There is a problem with it because I knew how to make
a specific word in sentence but how I should make Output for specific word and some words from sentence.
For example:
Input:
+"On Thursday go to ballet class"+
+"Swim class on Friday one time a month at 2 p.m."+
I used the codes for that:
class FindSchedule{
String firstline = "On Thursday go to ballet class ";
String secondline = "Swim class on Friday one time a month ";
FindSchedule(){
System.out.println(firstline + findTheIndex("Thursday", firstline));
System.out.println(secondline + findTheIndex("Friday", secondline));
public int findTheIndex(String word, String sentence){
int index;
index = sentence.indexOf(word);
return index;
public static void main (String[] args){
new FindSchedule();
}The output will be:
Thursday: ballet class
Friday: 14:00 swim class one time a week
Notice that time is changing in output complete different from input.
I need to find out how to extract some words from each sentence for output. Do you know how to do it? -
How to find out the user-exits?
hi.
how to find out the user-exits?
regards
eswar.Hi,
*& Report ZEXITFINDER
*report zexitfinder.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
tables : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
*& Selection Screen Parameters
selection-screen begin of block a01 with frame title text-001.
selection-screen skip.
parameters : p_tcode like tstc-tcode obligatory.
selection-screen skip.
selection-screen end of block a01.
*& Start of main program
start-of-selection.
Validate Transaction Code
select single * from tstc
where tcode eq p_tcode.
Find Repository Objects for transaction code
if sy-subrc eq 0.
select single * from tadir
where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir
where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir
where pname = tstc-pgmna.
select single * from enlfdir
where funcname = tfdir-funcname.
select single * from tadir
where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name = enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
Find SAP Modifactions
select * from tadir
into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct
where sprsl eq sy-langu
and tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
Take the user to SMOD for the Exit that was selected.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
Regards -
How to find out whether a particular changed by some user
Hi gurus,
I am just trying to figure it out how to find out whether a particular user has changed a particular table or not. In other words table changes history. If any of you know about it please let me know.
Thankyou
JasonJason,
Ajay mentioned changes to Table not for Data. If you are looking for Changes to Table Data... you need to check System Log SM21. check for that perticular period.
Nagesh Ganisetti.
Assign points if it helps. -
How to find out user exits of t-code va03
hi all
how to find out user exits of any t-code .
regards
deepakHi Deepak,
<b>Try this code.</b>
*& Report Z_USEREXIT *
REPORT Z_USEREXIT
NO STANDARD PAGE HEADING.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
<b>plz reward points if helpful or if it solves ur query.</b>
Thanks
Chinmay -
How to find out the SET PARAMETER ID for FB02 transaction
hi masters,
i m working on a alv report and in that i have to make a BELNR field as a interactive field. i m using the 'user command' for this.
FORM user_command USING ucomm TYPE sy-ucomm
selfield TYPE slis_selfield.
IF selfield-value IS NOT INITIAL.
CASE selfield-fieldname.
WHEN 'BELNR'.
SET PARAMETER ID 'FBAS' FIELD selfield-value.
CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
WHEN OTHERS.
MESSAGE text-000 TYPE 'W'.
ENDCASE.
ENDIF.
ENDFORM. "user_command
i used this code using this. using this code my program goes to FB03 tc but it don't shows the data of BELNR what i was clicked. it always shows first BELNR no. in the table. plz anyone help me for this..
the SET PARAMETER ID 'FBAS' i m using is right? if not plz suggest me how to find out correct one?Hi Vicky,
To know the Parameter Id of any field in a transaction ,
you just press F1 onthe particular field then in technical settings under Field data
you can see the PARMATER ID.
So if you check like this you can see 'BLN' as parameter id for Document number in FB03
transaction
Regards,
Manoj Kumar P -
How to find out if two JComponents overlap?
I wanted to create very simple game, another version of arcanoid (or krakout) where player tries to hit bouncing ball with paddle so the ball will break the wall made of small bricks. so far came up with an idea that paddle will be JComponent controlled by mouse, ball will be also JComponent controlled by mouse and after a while got it ready and coded. before i'll go to bricks (which i'm also planning to do as JComponents :) i wanted to know
- how to find out when the paddle and the bouncing ball hit each other and if theres any method that returns boolean (or sth..) when any part of those components overlap so i can change the direction of the ball and take particular bricks off the screen (or will have to do it manually somehow..)?
- also wanted to know if my thinking is correct and douing it with separate classes, having the ball as a thread (changing its .location(..) on the way to move the ball) ,and controlling paddle (another class) just by MouseMotionListener is correct way to do it or there is some other standard aproach to that kind of a program
- how to control if mouse is leaving particular JPanel so i can have user stopped before and keep him inside of that Jpanel, unless he will press particular button or do something
thanks in advance for any help and sorry for probably quite confuzing explanationWell, yes, because this solution uses the bounds of the JComponent. If you want more complicated shapes, you could define a polygon for instance (java.awt.Polygon) and use it's intersects method, but then the other shape would still need to be a rectangle.
Other options include GeneralPath class and Area class, this would not limit you to rectangles. With the first class you can also draw arbitrary shapes. With the second you can do intersections, unions etc.
Have a look at http://java.sun.com/docs/books/tutorial/2d/TOC.html#display (Java2d )
Mind you, this is more complicated!
Rene' -
How to find out the table name
hi,
how to find out the table name in which the data from a particular structure in a particular screen is saved,
please tell me the procedure to find out the table name for saving the structure data that is inputted at runtime.
Thanks,
chinnuHi Chinnu,
Below are the tables that are referred to find out the table names
DD02L Table contains the SAP Tables.
DD02T Table contains the SAP Table Texts.
DD01L Table contains the Domains
DD01T Table contains the Domain Texts.
DD03L Table contains the Table Fields.
DD03T Table contains the Table Field Texts. (Language Dependent)
DD04L Table contains the Data Elements.
DD04T Table contains the Data Element Texts.
DD05s Table contains the Foreign Key Fields
last words with L and T only. L->Database Fetch T-> Text
And the procedure to retrive the table name is as follows
1. Go to se11
2. Enter table name DD03T and execute
3. In the next screen you can find Tables, fields, test etc. there you can enter the field name in the fields
and execute.
4. you can get all tables which contains the field.
I hope this will solve your problem
Regards,
Chandru -
Get "404 Not Found" after deployment. How to find out correct URL?
To the experienced:
In preparing to deploy my application, I am using JDeveloper 10.1.3.4 to deploy the application to the standalone oc4j server that is included in JDeveloper. After the deployment, I get the "404 Not Found" error when trying to invoke the application in a browser. The deployment looks OK, becasue the log window in JDeveloper showed no error when running deployment from inside JDeveloper. Therefore I guess the question is how to find out the correct URL to invoke the application. The steps I took in doing the deployment are as follows.
I first installed the standalone oc4j by running the <jdev_home>\jdev\bin\start_oc4j .bat file. The installation is OK because I deployed the SRTutorial applcation and invoked it in a browser successfully.
The WAR file was created by right-clicking the ViewController project and select to create a WAR file. To the application's Context Root its own name, I typed "ZB" in the box for the context root.
Then in ViewController -> Resources, right_click the deployment file (ZBOV.deploy) and chose "Deploy to" the local_standalone_oc4j. The messages in JDeveloper's log window for the deployment are all clean without errors.
I then used this url to invoke the deployed application in a browser:
http://localhost:8888/ZB/faces/staff/login.jspx
But I got an "404 Not Found" error. Right away I tried invoking the SRTutorial application, and it runs fine.
login.jspx is one of the pages for the appllication. In the application navigator, it is located with other files in the ViewController/Web Content/staff folder, therefore I used /staff/login.jspx after ZB/faces.
What could be wrong? If the deployment is actually successful, how to find out the correct url to invoke the application?
Many thanks for your help!
NewmanHi, Arun,
Thank you for the suggestion. I tried it but got the same error.
I tried it by first undeploying the application using the enterprise manager page (which is also part of the oc4j included in JDeveloper). I select the application and clicked the undeploy link, confirmed that I wanted to remove it. And it was removed.
Then in JDeveloper, I right-clicked the ViewController, and in the properties of the probject selected "J2EE Application" and then selected "Use Custom Settings", then in the "J2EE Web Context Root" box I entered "ZB". Created the deployment profile again, overwriting the existing one, and then right-clicked the ZB.deploy node to deploy to the standalone oc4j on the localhost. And I used the url:
http://localhost:8888/ZB/faces/staff/login.jspx
And I got the same "404 Not Found" error.
There was no error at the time of deployment using the ZB.deploy profile. On the enterprise manager page, the path of the deployed application is given as /C:/jdev10134/j2ee/home/applications/ZB.ear, and the folder of the deployed application is there. Question is: if the deployment is actually OK, can the correct URL be found in some file somewhere in the folder?
All ideas and suggestions are very much appreciated!
Newman -
How to find out the locale setting in a browser?
In my Java web project, the multi-lingual issue on the JSP pages is handled by JSTL. It works fine so far for any input messages. However, some messages come from the container. It is needed to find out the browser's country and language settings inside of the container. My question is how to find out the settings?
Thanks in advance.
v.Hi, this I found on James' website--see http://www.rf.net/~james/perli18n.html#Q28
Q28. Can web servers automatically detect the language of the browser and display the correct localized page?
A28. Yes. HTTP/1.1 defines the details of how content negotiation works, including language content.
WWW browsers send an Accept-Language request header specifying which languages are preferred for responses. This technique works fairly well, although some versions of Netscape Navigator send an improperly formatted request parameter. Also, switching language preferences in either Navigator or IE 4 doesn't always "take" without first deleting a language hint.
Few sites do content-negotiation on language, and interestingly enough I do not know of any major portals doing this. One site that does is Sun's documentation library at SunDocs. Debian.org does a very nice job of using Apache content negotiation wih languages and also has some nice help info too on Setting the Default Language.
Apache's Content Negotiation features will select the right page to return, whether HTML or image file. Annoyingly, the match logic is very literal, so a browser request for en-us will not match a server entry of en except as a last resort. Any other exact match will win over en, even if en-us was first preference.
There are 2 ways of doing content negotiation with Apache: type or variant maps and multiviews.
Variant Maps
In httpd.conf, disable Options Multiviews if configured and add
AddType type-var var
DirectoryIndex index.var
Then create an index.var file like this:
URI: start; vary="type,language"
URI: index.html.en
Content-type: text/html
Content-language: en-GB
URI: index.html.en
Content-type: text/html
Content-language: en-US
URI: index.html.en
Content-type: text/html
Content-language: en
URI: index.html.fr
Content-type: text/html
Content-language: fr-CA
URI: index.html.fr
Content-type: text/html
Content-language: fr
URI: index.html.es
Content-type: text/html
Content-language: es
Multiviews
The multiviews technique works like this. This does add extra server load, as each content directory must be scanned for the variant document names.
index.html is localized into variant documents such as:
index.html.en (or index.en.html)
index.html.fr
index.html.es
index.html (or index.html.html as a reader has recommended) symlinked to one of the above as the last resort.
Here's an example of http.conf directives for this:
# in httpd.conf
AddLanguage en .en
AddLanguage fr .fr
AddLanguage es .es
# LanguagePriority allows you to give precedence to some languages
# in case of a tie during content negotiation.
# Just list the languages in decreasing order of preference.
LanguagePriority en es fr de pt
Options Multiviews
# end of httpd.conf fragment
Starting in Apache 1.2, you may also create documents with multiple language extensions.
O'Reilly's Apache - The Definitive Guide, Chapter 6
ApacheWeek article on Language Negotiation
Another ApacheWeek article on Language Negotiation -
How to find out the Target Component name and Target view name
Hi All Expert,
I want to know ,how to find out the target component and target view in WEB UI,when i click on a field which shows as a hyper link in WEB UI .At GUI level ,i know the how it will work.Any way to find out the component name and view name which is show the details of that field at GUI level .IF you go to transaction CRMD_ORDER then open the service contract id .then goto the item level value .there is 1 service data tab is available at item level.there is two button is available.first one is available time and second one is response time .if i click on any button then one popup is open which is shows the details of that button.I dont know how to find out the component name and view name from GUI level.
Thanks in Advance....
Vishwas SahuHi Vishwa,
The control would be something like this for navigation in Get_p_xxx method u mention as link and u mention a event name which gets triggered on the click of this hyperlink. So your GET_P_XXX method would have the following code:
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
rv_value = 'EXAMPLE'.
Now you have to create a method as EH_ONEXAMPLE at your IMPL class and within which you would give an outbound plug method. Within the outbound plug the target data would be filled in the collection and window outbound plug would be triggered.
This is a huge topic and i have just mentioned you basic things.
Regards,
Bharathy. -
How to find out the "manufacture date"?
Hello!
Can you tell me how to find out the manufacture date of my Satellite A110-334 with the serial "SY6224123K"?
I need this information for my insurance!
I found only this link for HDD`s: http://www.storage.toshiba.eu/index_manual.php?pid=220&sid=536&la=en
But there is no "S" on the first digit!??
So it is maybe "Y6" which can be November 2006! Is this right?
Thank you!
===========
This is the information on the link above:
How to encode a Toshiba Hard Disk Drive Serial Number?
The Toshiba serial number (S/N) includes details of the date of manufacture. The first digit of the serial number indicates the Month of manufacture and the 2nd digit indicates the Year.
Example:
M Y x x x x x x x
M = Month
Y = Year
The month digit goes from 1, for January, through to 9, for September, and then X, Y and Z, for October, November and December.
Examples:
2 8 1 7 0 0 0 1 A
2 = February
8 = 1998
3 0 5 4 4 3 0 6 T
3 = March
0 = 2000
X 9 D 7 8 3 3 1 T
X = October
9 = 1999
The remaining digits contain information about factory and production line, and some digits are reserved for a continuously running serial number.Hello
Try with http://gedb.toshiba.com/
Let me know if you find info you need. -
How to find out the textframe contains "stroke color" (or) "fillcolor"?
How to find out the textframe contains "stroke color" (or) "fillcolor" via javascript. Kindly advise me with sample.
I know, this post is quite a while ago, but: This simply does not work for me. Neither for simple PathItems, nor for the characters of a TextFrame.
Working on: Illustrator CS5.5, Mac OS, Javascript
Simple example:
var numSelectedObjects = app.activeDocument.selection.length;
// If any objects selected: Get fill and stroke color of the first one
if(numSelectedObjects > 0){
alert("Fill Color: " + app.activeDocument.selection[0].fillColor + " / Stroke Color: " + app.activeDocument.selection[0].fillColor);
This returns always CMYKColor, RGBColor or GrayColor, even if there is no Color assigned to the objects stroke or fill!!
For PathItems there is the attribute ".filled" or ".stroked", which returns "true" or "false" and is reliable.
if(app.activeDocument.selection[i].filled){ // works fine with PathItems!
Is there anything similar for Characters? I tried this one, but it does not work (because I think it does not exist):
if(app.activeDocument.selection[i].textRange.filled){ // does not work!
I just need to find out, if the characters in a textfield have got a fill or stroke color. Reliable.
It would be very nice to get help from anybody!
Thanks a lot in advance! -
How to find out the idoc type required for our requirement
Hi,
How to find out the list of available idoc type in SAP. It will be good if i get to know the table name where all the idoc type definitions are gets stored.
Say i have some requirement and for that requirement how i can find the proper idoc type to be used. (assume functional consultant is not providing that information)
Points will be given for the useful answers
Thanks,
PrasannaHi prasanna,
we can get SAP idoc types in tcode we31.For every requirment there will be different message type.
For example we want idoc type for account invoice receipt.
First find out message type for that purpose which can be found in we81-ACC_INVOICE_RECEIPT.
Get this message type and search in we82 where we can find message type and idoc type linkage.
try this way.
Reward if it is usful.
Thanks,
Srikanth.A
Maybe you are looking for
-
After the latest update to iOS 7, the iTunes app forces closed. Any ideas or solutions?
-
WGM error while trying to connect to Active Directory
Hello I'm trying to insert AD groups into OD groups so I can create automounts to a users specific network folder. When attempting to connect to AD from within WGM I get an unexpected error. It states: Error of Type eDSOpenNodeFailed (-14002) on line
-
Change GL account in OBYC for transaction keys GBB and BSV
Dear Logistics Colleagues I would like to have your opinion on the following topic: I have an request to change an GL account in account determination (OBYC) for transactions: - GBB > Offsetting entry for inventory posting -BSV > Change in stock acco
-
Error during configuration of Sender Mail Adapter
Hellow All, I was trying to configure Sender Mail Adapter and I am getting this error. <b>error occured: exception caught during processing mail message; java.io.IOException: unexpected greeting response; read 220 mailrelay2.lntinfotech.com ESMTP Ser
-
Video Playback in synchroniz​ation to data display
I've read a bunch of topics about recording live video, but my question has to do with playback synchronized to a data display. I've got a simple black and white camera (RS170) already. I'm going to get some sort of capture board. I want to record