How to read each and every word from a string.
Hi all,
I have a string which is having many label numbers. if the string is lv_str, its value is like, 11111111111111##22222222222222##3333333333333.
I need to move the values alone into internal table. each value should be updated as a single row into one internal table. How to read each and every word of the string and move to an internal table.
the internal table should be like this.
11111111111111
22222222222222
3333333333333
Can any one give me a suggestion in this regard.
POINTS PROMISED.
Regards,
Buvana
Hi,
If you know the format and length of the data
Use split at '#' so that you will get the individual values.
Thean append it to internal table.
Reward iof helpful.
Similar Messages
-
How to read particular number or word from lengthy serial data
Serially getting lengthy data...how to get particular number or word from Tht
Omi_30 wrote:
I am getting continusly 3 measured voltages,currentso,powers over serial..those values over serial are separated by spaces
Are the numbers in ASCII? Use the Spreadsheet String to Array function. Wire in a space constant to the delimiter and a 1D array of doubles to the array type. You can then use Index Array to get the value you want.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
How can I DISABLE the pop up 'Would you like to copy it to Library', preventing this message from bothering for each and every book, again and again , time after time? (Windows 7 64bit US).
I guess this may be a feature request. Adobe may think this is a good message for every new eBook.
I sure would like to decide about that myself.
Thanks in advance if this will be changed.singmk wrote:
Decided to setup the mail for exchange on my N8 so I could see my work emails. Worked like a charm but after a couple of hours decided I didn't like being that contactable so deleted the mailbox.
Now to the problem, during setup I was forced to enable the phone lock and had to pick a 7 digit alphanumeric code. Fair enough I thought and went ahead. When I removed the mailbox however the lock remained in place with the default auto time of 30 minutes. When I checked in Phone management there is no option to disable this lock so I thought I could at least change the default time to something bigger but when you try, it remains at 30 mins. You also can't disable the auto time as it pops up an error message saying can't unlock phone.
Does anyone know if I'm missing something obvious here or is this something which can't be disabled once it's switched on? I've done a soft reset back to factory settings with no luck and the only other thing I can think of is re installing the firmware which seems a bit extreme.
Would like to hope there is some way to have control over this. Can someone help?
Which firmware your N8 having now? You can check firmware by choosing Call, then type *#0000#.
My N8 works fine on security setting and able to define Phone auto lock period, by choosing Menu>Settings>Phone>Phone management>Security settings>Phone and SIM card>Phone auto lock period>User defined>Lock after(minutes)
You will prompt to enter Lock code each time u define auto lock priod or enable/disable auto lock.
Hope this can help you.
If you find this post helpful, please show your appreciation by clicking the Kudos star at the left. If it provides you the solution, please click on the GREEN Accept as Solution button at below -
Many people have posted frantic questions about problems downgrading from FF4 to FF3.6, because of incompatabilities with their Addons. I use a LOT of addons. I don't want to check each and every one of them manually for compatability. (And then repeat that in a few weeks, to see what's changed....) And I don't want to try upgrading to FF4 on spec, and then discover I need to downgrade because one or more of the addons I rely on doesn't work.
How can I check the addon compatabilities WITHOUT actually upgrading?You can try the Is It Compatible? add-on which adds compatibility information to the add-ons manager - https://addons.mozilla.org/en-US/firefox/addon/is-it-compatible/
-
How to open and read pdf and micrsoft word (.doc) files or documents
My problem is how to use my BB 9800 software version 6.0.0.546 to read/view pdf files and microsoft office documents. I have also bought documents to go from online and have installed it on my phone, but whenever i try to open it I receive a message that it is incompactible. Any help will be greatly appreciated.
Hi, Sammy.
Why not install a 3rd party PDF reader and Word Doc reader to help open and read pdf and micrsoft word (.doc) files or documents? You can google it and select one whose way of processing is simple and fast to help you with the related converting work. It will be better if it is totally manual and can be customized by users according to our own favors. Remember to check its free trial package first if possible. I hope you success. Good luck.
Best regards,
Arron -
I have my mail set to retrieve data manually. When I retrieve mail, I get a popup box for each and every e-mail message asking if I want to view or cancel and must either view or cancel each one before I can use other apps on the ipad. How can I turn these popups off?
Try reset iPad (not Restore)
Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
Note: Data will not be affected. -
How do I find out the exact path of each and every file that LabVIEW finds and loads into memory for a given top level vi? There is probably a trivial, easy way to get this info, but I have not yet found it! Thanks..
Or if you want to grab all the paths programatically, try the attached VI.
Open the top level that you want all the paths from and close all others, then open the
attached and run it. It will return an array of all the VIs that the VI
in question uses, including vi.lib VIs. You can filter these as well if
you like.
Ed
Message Edited by Ed Dickens on 08-01-2005 07:01 PM
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Attachments:
Get all paths.vi 29 KB -
How to get LASTDAY for each and every month between given dates..
Hi Friend,
I have a doubt,How to get LASTDAY for each and every month between given dates..
for ex:
My Input will be look like this
from date = 12-01-2011
To date = 14-04-2011
And i need an output like
31-01-2011
28-02-2011
31-03-2011
is there any way to achieve through sql query in oracle
Advance thanks for all helping friendsHere's a 8i solution :
select add_months(
trunc(
to_date('12-01-2011','DD-MM-YYYY')
,'MM'
, rownum ) - 1 as results
from all_objects
where rownum <= ( months_between( trunc(to_date('14-04-2011','DD-MM-YYYY'), 'MM'),
trunc(to_date('12-01-2011','DD-MM-YYYY'), 'MM') ) );
The above two query is worked in oracle 11GActually the first query I posted is not correct.
It should work better with
months_between(
trunc(to_date(:dt_end,'DD-MM-YYYY'),'MM'),
trunc(to_date(:dt_start,'DD-MM-YYYY'),'MM')
)Edited by: odie_63 on 12 janv. 2011 13:53
Edited by: odie_63 on 12 janv. 2011 14:11 -
How do I copy and paste text from a converted Word document?
I just converted a pdf file into word. I want to copy and paste the informatiuon into another document. How do I do that?
Hi Sara. Tanks for responding. If I cannot figure this out (I was up
until 2am last night), I want to cancel my subscription.
Here are two files you can check on/help me with. When I try again, it
comes up 'an error has occurred when trying to access the service.'
Please advise.
Pat Tomassi
In a message dated 11/1/2014 12:55:23 A.M. Eastern Daylight Time,
[email protected] writes:
How do I copy and paste text from a converted Word document?
created by Sara.Forsberg (https://forums.adobe.com/people/Sara.Forsberg)
in Adobe Acrobat.com Services - View the full discussion
(https://forums.adobe.com/message/6888908#6888908) -
How do I cut and paste text from a Word doc to my yahoo email?
I am suddenly unable to cut and paste from a Word document into the body of my yahoo email. I never had this problem before, but recently trying to paste my resume into the site 4entertainmentjobs.com, I ran into trouble. I followed your instructions and found my profile folder, but there was no user.js file in there. I created one in text edit and replaced mozilla.org with 4entertainmentjobs.com, but it still didn't work. Today I tried to go back and put Mozilla back in, but I still cannot get it to work. Then I downloaded your add-on "allow clipboard". That did not work either.
Hi Sara. Tanks for responding. If I cannot figure this out (I was up
until 2am last night), I want to cancel my subscription.
Here are two files you can check on/help me with. When I try again, it
comes up 'an error has occurred when trying to access the service.'
Please advise.
Pat Tomassi
In a message dated 11/1/2014 12:55:23 A.M. Eastern Daylight Time,
[email protected] writes:
How do I copy and paste text from a converted Word document?
created by Sara.Forsberg (https://forums.adobe.com/people/Sara.Forsberg)
in Adobe Acrobat.com Services - View the full discussion
(https://forums.adobe.com/message/6888908#6888908) -
How can I set up a preferred printer so I don't have to pick the printer each and every time I print something out? At the moment, even immediately after printing one thing, it prompts me to pick a printer, which is very time consuming.
Compass Health Systems wrote:
How can I set up a preferred printer so I don't have to pick the printer each and every time I print something out? At the moment, even immediately after printing one thing, it prompts me to pick a printer, which is very time consuming.
No, there is not setting for a default printer.The system scans for available airprint printers each time you print. -
I have Windows XP-Pro SP3, the latest upgrades of Three media players, iTunes being the default player. I keep getting duplicates in playlists, libraries etc., of the same version of song. Everytime i make a change or renew my media to device or SYNC it wants to add duplicates to the computer disk, lists etc. Can you filter out same copies without having to edit each and every song, which in my case is quite large. For instance if you want to convert all mpeg, or mp4-a files to AAC you will end up with duplicates of each file type. Or you sync to an ipod, the library adds to itself---- including copies of songs already in it, if in a different file version.
Your refer to:
" if you want to convert all mpeg, or mp4-a files to AAC "
This will always duplicate files within iTunes. I need to ask why you're doing this conversion - all formats are compatible with iTunes, and conversion between mp3 and AAC will always involve some loss of quality. -
How do I set up my Mac mini to read iTunes and iPhoto files from my new Mac mini server?
Want my old Mac mini to read iPhoto and iTunes files from my new Mac mini server. Old Mac has no more room to store files. How do I do this?
Hello,
Have you tried enabling iTunes Sharing & iPhoto Sharing on the Server?
Or maybe...
http://support.apple.com/kb/ht1449
http://www.apple.com/itunes/inside-itunes/2011/02/how-to-move-your-itunes-librar y-to-another-hard-drive.html
http://support.apple.com/kb/PH2506
http://support.apple.com/kb/ht1229 -
How to save X and Y vaue from a Waveform Chart
Hello Everyone!
I'm implementing an adquisition systems that send data to a waveform Chart through VISA. All run properly, but I would like to save the data adquired to an excel file. I saw examples to how to save it, but only save the Y value.
I would like getting the X and Y values in 2 columns different in the excel file.
¿Is it possible?
¿Can someone tell me how I can do it?
Thanks for your feedbacks!
Solved!
Go to Solution.I meant uploading the actual VI, not a picture of it. You need to fix your code.
You should not be initializing the serial port in each iteration of the loop. Initialize outside, read in the loop, and close when the loop is done.
Why do you have 2 VISA resource controls? Are you talking to 2 different devices?
The event structure serves no purpose in your code. If you are trying to enable/disable the file writing, use a case structure that's controlled by a simple front panel switch.
You should "remember" the path that the Write to Spreadsheet File uses. Otherwise you will be asked for the filename each and every time you try to save. You can do this using a simple Feedback Node:
Since you are reading the value periodically, just use one of the Get Date/Time functions. You can use the Get Date/Time String to get a formatted string. Then you can format your value as a string, and build your array using those 2 values. Or, you can use the Get Date/Time in Seconds to get a numerical value. Be aware that LabVIEW's starting time is 12:00 a.m., Friday, January 1, 1904, Universal Time [01-01-1904 00:00:00], which is different from Excel.
Attachments:
Example_VI_BD.png 1 KB -
This is regarding printing vertical lines for each and every field
Hi to all.....
1....Hi
here is a requirement
i want to print vertical lines and horizontal lines for each and every field in the output of a report.Here i want to see the output just like table i.e i want to draw line after each field.
suppose if the output list contains just 10 records, then the vertical line must end for 10 records.how to draw vertical lines for this requirement.
thanks and regards,
k.swaminathHi
In report you can use
sy-uline for horizontal line
sy-vline for vertical lines.
Check this sample report
DATA: BEGIN OF USR_TABL OCCURS 0.
INCLUDE STRUCTURE UINFO.
DATA: END OF USR_TABL.
DATA: L_LENGTH TYPE I,
T_ABAPLIST LIKE ABAPLIST OCCURS 0 WITH HEADER LINE, BEGIN OF T_USER OCCURS 0, COUNTER TYPE I, SELECTION TYPE C, MANDT LIKE SY-MANDT, BNAME LIKE SY-UNAME, NAME_FIRST LIKE V_ADRP_CP-NAME_FIRST, NAME_LAST LIKE V_ADRP_CP-NAME_LAST, DEPARTMENT LIKE V_ADRP_CP-DEPARTMENT, TEL_NUMBER LIKE V_ADRP_CP-TEL_NUMBER, END OF T_USER, L_CLIENT LIKE SY-MANDT, L_USERID LIKE UINFO-BNAME, L_OPCODE TYPE X, L_FUNCT_CODE(1) TYPE C, L_TEST(200) TYPE C.
L_OPCODE = 2.
CALL ThUsrInfo ID OPCODE FIELD L_OPCODE
ID TAB FIELD USR_TABL-*SYS*.
CLEAR T_USER. REFRESH T_USER.
LOOP AT USR_TABL.
T_USER-MANDT = USR_TABL-MANDT. T_USER-BNAME = USR_TABL-BNAME. APPEND T_USER.
ENDLOOP.
SORT T_USER.
DELETE ADJACENT DUPLICATES FROM T_USER.
LOOP AT T_USER.
T_USER-COUNTER = SY-TABIX. SELECT V~NAME_FIRST V~NAME_LAST V~DEPARTMENT V~TEL_NUMBER INTO (T_USER-NAME_FIRST, T_USER-NAME_LAST, T_USER-DEPARTMENT, T_USER-TEL_NUMBER) FROM USR21 AS U JOIN V_ADRP_CP AS V ON U~PERSNUMBER = V~PERSNUMBER AND U~ADDRNUMBER = V~ADDRNUMBER WHERE U~BNAME = T_USER-BNAME. ENDSELECT. MODIFY T_USER.
ENDLOOP.
SORT T_USER BY NAME_LAST NAME_FIRST.
PERFORM DISPLAY_LIST.
TOP-OF-PAGE.
PERFORM DISPLAY_MENU.
* End of top-of-page
TOP-OF-PAGE DURING LINE-SELECTION.
PERFORM DISPLAY_MENU.
* End of top-of-page during line-selection
AT LINE-SELECTION.
IF SY-CUROW = 2. IF SY-CUCOL < 19. T_USER-SELECTION = X. MODIFY T_USER TRANSPORTING SELECTION WHERE SELECTION = . PERFORM DISPLAY_LIST. ELSEIF SY-CUCOL < 36. CLEAR T_USER-SELECTION. MODIFY T_USER TRANSPORTING SELECTION WHERE SELECTION = X. PERFORM DISPLAY_LIST. ELSEIF SY-CUCOL < 50. PERFORM TRANSFER_SELECTION. PERFORM POPUP_MSG. ELSEIF SY-CUCOL < 67. PERFORM TRANSFER_SELECTION. SORT T_USER BY NAME_LAST. PERFORM DISPLAY_LIST. ELSEIF SY-CUCOL < 81. PERFORM TRANSFER_SELECTION. SORT T_USER BY NAME_FIRST. PERFORM DISPLAY_LIST. ELSEIF SY-CUCOL < 93. PERFORM TRANSFER_SELECTION. SORT T_USER BY MANDT. PERFORM DISPLAY_LIST. ENDIF. ENDIF.
* End of line-selection
*& Form DISPLAY_LIST
FORM DISPLAY_LIST.
SY-LSIND = 0.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
LOOP AT T_USER.
WRITE: / SY-VLINE, T_USER-SELECTION AS CHECKBOX, SY-VLINE, T_USER-MANDT, SY-VLINE, T_USER-BNAME, SY-VLINE, T_USER-NAME_FIRST(15), SY-VLINE, T_USER-NAME_LAST(15), SY-VLINE, T_USER-DEPARTMENT, SY-VLINE, T_USER-TEL_NUMBER(20), SY-VLINE. HIDE: T_USER-COUNTER, T_USER-SELECTION.
ENDLOOP.
FORMAT COLOR OFF.
WRITE: /(108) SY-ULINE.
ENDFORM. DISPLAY_LIST
*& Form DISPLAY_MENU
FORM DISPLAY_MENU.
FORMAT COLOR COL_HEADING HOTSPOT. WRITE: (91) SY-ULINE, / SY-VLINE NO-GAP, (4) ICON_SELECT_ALL NO-GAP, Select All, SY-VLINE NO-GAP, (4) ICON_DESELECT_ALL NO-GAP, Deselect All, SY-VLINE NO-GAP, (4) ICON_SHORT_MESSAGE NO-GAP, Send Popup, SY-VLINE NO-GAP, (4) ICON_SORT_UP NO-GAP, Last Name NO-GAP, SY-VLINE NO-GAP, (4) ICON_SORT_UP NO-GAP, First Name NO-GAP, SY-VLINE NO-GAP, (4) ICON_SORT_UP NO-GAP, Client NO-GAP, SY-VLINE, /(91) SY-ULINE, /(108) SY-ULINE. FORMAT HOTSPOT OFF. WRITE: / SY-VLINE, , SY-VLINE, Cli, SY-VLINE, User , SY-VLINE, First Name , SY-VLINE, Last Name , SY-VLINE, Department , SY-VLINE, Telephone , SY-VLINE, /(108) SY-ULINE. FORMAT COLOR OFF.
ENDFORM. DISPLAY_MENU
*& Form TRANSFER_SELECTION
FORM TRANSFER_SELECTION.
DO. READ LINE SY-INDEX FIELD VALUE T_USER-SELECTION. IF SY-SUBRC <> 0. EXIT. ENDIF. MODIFY T_USER TRANSPORTING SELECTION WHERE COUNTER = T_USER-COUNTER. ENDDO. CLEAR T_USER.
ENDFORM. TRANSFER_SELECTION
*& Form POPUP_MSG
FORM POPUP_MSG.
DATA: L_MSG LIKE SM04DIC-POPUPMSG VALUE Experimental Message, L_LEN TYPE I, L_RET TYPE C. LOOP AT T_USER WHERE SELECTION = X. PERFORM GET_MESSAGE CHANGING L_MSG L_RET. EXIT. ENDLOOP. IF L_RET = A. User cancelled the message EXIT. ENDIF.
* Get the message text
L_LEN = STRLEN. LOOP AT T_USER WHERE SELECTION = X. CALL FUNCTION TH_POPUP EXPORTING CLIENT = T_USER-MANDT USER = T_USER-BNAME MESSAGE = L_MSG MESSAGE_LEN = L_LENGTH
* CUT_BLANKS =
EXCEPTIONS USER_NOT_FOUND = 1 OTHERS = 2. IF SY-SUBRC <> 0. WRITE: User , T_USER-BNAME, not found.. ENDIF. ENDLOOP. IF SY-SUBRC <> 0.
* Big error! No user has been selected.
MESSAGE ID AT TYPE E NUMBER 315 WITH No user selected!. EXIT. ENDIF.
ENDFORM. POPUP_MSG
*& Form GET_MESSAGE
FORM GET_MESSAGE CHANGING P_L_MSG LIKE SM04DIC-POPUPMSG
P_RETURNCODE TYPE C.
DATA: BEGIN OF FIELDS OCCURS 1. INCLUDE STRUCTURE SVAL.
DATA: END OF FIELDS, RETURNCODE TYPE C.
FIELDS-TABNAME = SM04DIC.
FIELDS-FIELDNAME = POPUPMSG.
FIELDS-FIELDTEXT = Message :. CONCATENATE Msg from SY-UNAME . INTO FIELDS-VALUE SEPARATED BY . APPEND FIELDS.
CALL FUNCTION POPUP_GET_VALUES
EXPORTING POPUP_TITLE = Supply the popup message
IMPORTING RETURNCODE = P_RETURNCODE
TABLES FIELDS = FIELDS.
IF P_RETURNCODE = A.
EXIT.
ELSE.
READ TABLE FIELDS INDEX 1.
P_L_MSG = FIELDS-VALUE.
ENDIF.
ENDFORM. GET_MESSAGE
*End of Program
Regards
Pavan
Maybe you are looking for
-
Compaq laptop with Windows 7 installed. My desktop PC uses Windows Vista SP2. I have the IMDB search engine add-on installed on my desktop, and it works perfectly. When I attempt to install the add-on to my laptop, I get an error stating that "this a
-
Both my iPhone and my iMac are top-of-the-line, less than three months old, and are running the latest, most updated system software. However, since upgrading to these glistening, state-of-the-art devices, I have been unable to consistently produce a
-
Dear All, In a sales return scenario i am using inspection type 05,at the time of PGR system is inspection lot with mvt. type 655,my query is i want to get sales order no & delivery no so that i can create notification on the basis of that.I have sav
-
Error in accessing database homepage for oracle10g in fedora 13
hii there, i have installed oracle10g in fedora 13. and i got problem in accessing database home page and also sqlplus.follwing message i got... Unable to connect Firefox can't establish a connection to the server at 127.0.0.1:8080. * The site could
-
I need one minute in order to open pages, including the other two applications , keynote and numbers, when internet connection is off, 1 second when is on. What's wrong? await yr help on this matter. Many tks in advance. Alberto