Tab dilimited
Hi,
I am working on an interface in 4.0b system. I want to create a tab dilimited file. Can any one tell me what should be the seperator in the concatenate statement.
In 4.0b system CONSTANTS: con_tab TYPE c VALUE cl_abap_char_utilities=>horizontal_tab.
this statement cant be used.
Thanks.
Irfan
Try thsi way
data : v_tab type x value '09'.
Concatenate the fields separated by V_TAB and then transfer the data to the application server.
a®
Similar Messages
-
Hi,
How can I conctaenate filelds into a new field dilimited by tab. When I am using ' ' (tab between colons) its taking it as space. I want it to take it as tab.
Thanks.Hi,
check class cl_gui_Char_utilities you have tab delimiter there...
DATA: lv_tab(1) TYPE c VALUE cl_abap_char_utilities=>horizontal_tab.
you can concatenate separated by lv_tab.
Regards,
Karol -
Importing a tab dilimited file into cells
How do yo import a tab-delimited file so that when it opens each separated tab is within its own cell in a table? I have .txt files.
Opening in Excel it recognized it as tab-delimited and offered steps to present the file in separated cells as desired.
In Numbers it just opens with all the tabs together in one cell (row separated).
Am I missing something here? This seems pretty basic.
Thx.Have you tried dragging the icon of the tab-delimited file onto the Numbers icon? If that comes up with all data in one cell per row, I'd say the file is not tab-delimited. It probably has spaces & you have to "clean up" the text in a word processor.
-
C++ tab delimited file to array
Converting a large tcl project into c++ and i am struggling with the simplest tasks. For example, i used to create array of data from my file using the following method.
.debug.t insert end "Reading Well Data\n" ; update
set fileId [open data/$welldat r]
set wcntr 0
set welllist ""
gets $fileId line
while {[gets $fileId line] >=0} {
scan $line "%s %s %f %f %f %f %f %f" wellid well xsurf ysurf xbh ybh elev td
incr wcntr
set wida($well) $wellid
set wella($well) $well
lappend welllist $well
set xsurfa($well) $xsurf
set ysurfa($well) $ysurf
set xbha($well) $xbh
set ybha($well) $ybh
set eleva($well) $elev
set tda($well) $td
close $fileId
Here is what i have so far in c++. Dont laugh i am using what is being taught at a community college class. Pretty basic stuff.
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
using namespace std;
int main()
//Initialize temp Variable to hold lines and entrys.
string fileLine = "";
string tempEntry = "";
//Initialize Arrays for wells.txt file
string wellName [] = {""};
long wellApi [] = {0}, tempAPI = 0;
double surfaceX [] = {0.0}, surfaceY [] = {0.0}, bottomX [] = {0.0}, bottomY [] = {0.0}, kellyBushing [] = {0.0}, totalDepth [] = {0.0} ;
//Create input file instance
ifstream inWells;
//open file
//File format is a tab dilimited file
//Well label, api, surface x coord, surface y coord, bottom x coord, bottom y coord, kelly bushing elevation, total depth of well
inWells.open("wells.txt");
//no else to check for failed open file.
if(inWells.is_open())
//intialize counter set to zero
int fieldCounter = 0;
//exits the loop when line is no longer good.
//loop starts
while (!inWells.eof())
//get the entire line and store it in a variable fileLine.
getline(inWells,tempEntry,'\t');
cout << fieldCounter << " " << tempEntry << endl;
fieldCounter ++;
//end if
system("pause");
right now i was just trying to print each of my parsed entry's. Then i was going to add the data to the array's but for some reason when i print the data i donot get a counter on the 1st entry of each line.
Example data
THOMPSN_J__TERRILL_ST_272-#1 42389100990001 1015951.28 583865.59 1015951.30 583865.60 2681.00 21368.00
PANTHER_EX_KIMBER_GAS_17-#1 42389303410000 962142.94 571723.08 962142.90 571723.10 2829.00 14640.00
INDREX_INC_CONOCO_STA_20-#1 42389312220000 961498.99 566401.78 961499.00 566401.80 2841.00 14386.00
NEWPORT_PE_ALAMO_GIN_14-#1 42389313420000 962094.09 575749.87 962094.10 575749.90 2814.00 15316.00
SHELL_WEST_HOEFS_52-2_23-#1 42389326050000 1008181.09 548865.88 1008181.10 548865.90 2802.00 10900.00
OXY_USA_WT_BUSH_13-25_253-#1 42389326170000 1003471.84 582962.26 1003471.80 582962.30 2708.00 12590.00
OXY_USA_WT_HENDRICK_S_254-#1 42389326180000 1004569.07 586773.12 1004569.10 586773.10 2701.00 12795.00
PRIMEXX_OP_PISTOLA_186-#1 42389326270000 986849.60 559777.62 986849.60 559777.60 2745.00 12600.00
PRIMEXX_OP_BELL_213_213-#1 42389326350000 992022.77 558517.55 992022.80 558517.60 2760.00 12674.00
PRIMEXX_OP_CAPPS_214__214-#1 42389326360000 990737.88 553380.84 990737.90 553380.80 2790.00 12084.00
OXY_USA_WT_POLO_GROUN_150-#1 42389326430000 983009.38 566162.59 983009.40 566162.60 2744.00 13500.00
OXY_USA_WT_EBBETS_14_149-#1 42389326560000 983502.05 568782.50 983502.10 568782.50 2727.00 12500.00On this or this or
other similar sites you can find helping hands for your project.
--pa -
i want a txt-file or tab dilimited file imported in ical.
I used to use iCalTextImport, but I get an error message on opening the program, saying something like 'an error has occurred - please check your settings! the eror was: can't make "5,11108644555E+5" into type real'.
does anyone know another way?
maybe into a format that ical understands?Have you tried to download icalTextimport again and use the new version?: http://homepage.mac.com/penicuik/FileSharing15.html
Also, have have you tried icalmaker - it does cost money but has many features: http://www.mmisoftware.co.uk/pages/icm.html
hope this helps -
Interpolat​ing large amounts of data
Does anyone have any recommendations regarding a method for interpolating large portions of data. From what I've seen through my testing, is that I'm able to sample a lot of points (incoming messages from a gps device). My problem is when I go to interpolate these sets of data.
I've tried capturing a (lat, long, timestamp), then interpolating both lat/long togetherand one at a time. I've also tried storing the readings to different .xls files, reading the data back into LabVIEW and then interpolating together, and separately. But niether of these methods have been able to avoid the lack of system resources issue, when the program has captured near 4000 signals.
I'm not sure where else to go from here.
All these methods have"systems_eng" <[email protected]> wrote in message news:[email protected]..
Does anyone have any recommendations regarding a method for interpolating large portions of data. From what I've seen through my testing, is that I'm able to sample a lot of points (incoming messages from a gps device). My problem is when I go to interpolate these sets of data.
I've tried capturing a (lat, long, timestamp), then interpolating both lat/long togetherand one at a time. I've also tried storing the readings to different .xls files, reading the data back into LabVIEW and then interpolating together, and separately. But niether of these methods have been able to avoid the lack of system resources issue, when the program has captured near 4000 signals.
I'm not sure where else to go from here.
All these methods have
4000 points is not that much. Interpolation (linear?) should take about 1 sec. max. What lack of system resources do you get? Working memory, memory leaks or proccesor load?
I'd be hard to recommend a solution without seeing some code.
If you'd be able to post 1 vi that has the input data as default values, and a working solution with leaks, we can help you much better. (In LabVIEW 7.1 for me, but someone will help you if you post in LV8, or 8.2)
Are you using real excel files, or are the .xls files tab dilimited asci files?
Regards,
Wiebe. -
Hi,
I am tring to upload , dilimited file into internal table using GUIUPLOAD function module. its not reading only first field only. Please help me out.
Thanks.
file has
name,value
GUI Function
call function 'GUI_UPLOAD'
exporting
filename = l_name
has_field_separator = ','
tables
data_tab = it_itab
exceptions
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
others = 17.Check this FM documentation:
FU GUI_UPLOAD HAS_FIELD_SEPARATOR
Short Text
Columns Separated by Tabs in Case of ASCII Upload
Description
Specifies if the fields in the file are separated by a tab. This is necessary if the structure passed contains several components. CR/LF occurs instead of a tab after the last field of a row.
Value range
'X': Fields are separated by tabs.
SPACE: Fields are not separated by tabs. In this case, the table must
contain either only one single column or all columns must be contained
in the file in their full length.
Default
SPACE
Function Module
GUI_UPLOAD
This is the rich's reply in one of the posts:
Here is an example program.
code
report zrich_0001.
types: begin of ttab,
rec(1000) type c,
end of ttab.
types: begin of tdat,
fld1(10) type c,
fld2(10) type c,
fld3(10) type c,
end of tdat.
data: itab type table of ttab with header line.
data: idat type table of tdat with header line.
data: file_str type string.
parameters: p_file type localfile.
at selection-screen on value-request for p_file.
call function 'KD_GET_FILENAME_ON_F4'
exporting
static = 'X'
changing
file_name = p_file.
start-of-selection.
file_str = p_file.
call function 'GUI_UPLOAD'
exporting
filename = file_str
tables
data_tab = itab
exceptions
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
others = 17.
loop at itab.
clear idat.
split itab-rec at ',' into idat-fld1
idat-fld2
idat-fld3.
append idat.
endloop.
loop at idat.
write:/ idat-fld1, idat-fld2, idat-fld3.
endloop.
[/code]
Regards,
Rich Heilman
Edited by: Aparna Shekhar on Jun 2, 2008 2:33 PM -
Image Processor Tab Missing in New Adobe Bridge CC 2014
In the new Bridge CC you used to have a TAB under tools called Photoshop which you could run the script Image Processor for easily processing jpegs. What has happened to this and is their maybe a new way of processing jpegs to lo-res that I dont know about from tiff or jpeg or does my bridge have a problem?
I have attached a image grab from my bridge that shows that the tab is not there. I know that you can access image processor directly from Photoshop, but they used to always be linked.No, it is still in Bridge CC.
Did you uninstall Photoshop CC after installing Photoshop CC 2014? If so, that may have removed some of the Bridge integration scripts by mistake. Re-installing Photoshop CC 2014 should replace the scripts.
and it should give the image processor tab back -
Hi,
What is the use of Logical Level under Content Tab in Logical Table Source?
Need more information, docs related to this
Thanks,
SatheeshHi
This logical level is useful for level bases metrics.It shows the levels in your hierarchy.We can give the level in this and in the report it shows the data for that level only.
See this lnk, http://gerardnico.com/wiki/dat/obiee/measure_level_based
Thanks
Don -
Images for tabs are not getting displayed in the page
Hi,
I have given images for tabs on a page. when iam applying images from the local disk, it is showing the images in edit mode. But when I view the page, it is not showing any images.
Where should i copy the images I use in my pages. I ahev copied all the images in the images directory of portal30 in server.
Please help.
MurthyHi,
Please check the httpd.conf file in your server for /images alias. The /images alias will point to a directory. Copy your
image files in that directory.
Thanks,
Sharmila -
How do I use Panorama / Tab Groups with the keyboard?
Yes I know that CTRL-SHIFT-E opens the panorama window, and then I can use the mouse to organize my tabs into groups.
But how do I do this with the keyboard?
I've [http://lifehacker.com/#!5719596/switch-between-tab-groups-in-firefox-with-a-keyboard-shortcut read] [http://ubuntuforums.org/showthread.php?t=1705714 that] Ctrl-`should move me through tab groups. That doesn't work for me on my Danish keyboard. (Where the ' and ` chars are weird. But is how they are on a valid standard Danish keyboard) I've tried changing the keyboard to USA and then moving through tab groups works fine.
In short: Pretend I don't have a mouse. How do I use Panorama / Tab Groups?Sorry. These are both known bugs:
[https://bugzilla.mozilla.org/show_bug.cgi?id=587010 Bug 587010] - Add keyboard UI for manipulated groups and tabs in Tab Candy
and
[https://bugzilla.mozilla.org/show_bug.cgi?id=626594 Bug 626594] - shortcut for switching tab groups is badly accessible on many non-US keyboard layouts -
i downloaded a couple text tones and since installing 8.1.1, they will not show up under the sounds tab. in fact, they do not show up in my recent purchases on itunes, but when i go to buy them again, it says that i have already bought this tone. I just want to use the tones i paid for as the tones on my phone. not asking much.... thanks for the help. i hope someone can help me get the tones working. thank you.
This was happening to me too but only for some of my songs. I have a mac so I dunno about PCs, but for most of my ringtones I had to create an ACC version in itunes to make them short enough then turn that into a m4r and those all worked fine. But if the song was already short enough and I didn't create an ACC version and just turned the original into a m4r, then it wouldn't appear in my itunes.
so if you're on a mac:
1. go to get info, options, pick when you want the song to start and end.
Has to be pretty short to work, 30 second or less is good
if it's already short enough that's fine
2. right click and click 'create ACC version'
a copy with the length you put in will appear, drag that into a folder or whatever and just type in m4r where m4a would be
still make an ACC version even if it's the right length
Hopefully this helps someone else. -
Jabber 9.2.6 - No Phone Tab
When clicking on the message icon in jabber we get an error message stating the user is not signed in, to resolve goto the phone accounts tab under the options window, we have no such tab showing, anyone help?
Neither CUCM nor CUC are SSO-integrated with Active Directory in the current shipping versions to say nothing of Jabber itself. All LDAP Auth in the server does is relay the user-provided credentials to the LDAP server for a go/no-go decision. The user/client is still responsible for providing them to whatever Cisco server it's trying to authenticate to. The XML Jaime mentions above instructs Jabber to copy/paste the credentials you entered when logging into Jabber itself into the PhoneService (i.e. CCMCIP) and Voicemail (a separate element).
Please remember to rate helpful responses and identify helpful or correct answers. -
When I log on to Mozilla, my homepage is Yahoo, but next to the yahoo tab on the left is a small tab with the paypal logo, will this harm anything, and can it be stopped?
You may have "pinned the tab". Right click on it and unpin the tab to make it go away.
-
When I login to a forum, it only holds true for the tab I currently have open
Until recently, if I logged into a forum, I could open pages within that forum in multiple tabs and still be logged in on every tab. Now I can't, a new tab requires me to login again. I have always used "always start firefox in private browsing mode" and have made no changes in the settings.
Your plugins list shows outdated plugin(s) with known security and stability risks.
*Java Plug-in 1.6.0_13 for Netscape Navigator (DLL Helper)
Update the [[Java]] plugin to the latest version.
*http://java.sun.com/javase/downloads/index.jsp#jdk (you need JRE)
Maybe you are looking for
-
How do I get my WEBCAM to work with YAHOO Messenger!!??
Someone please help. I have been trying for ages to get a webcam to work on Yahoo messenger but to no avail. I recently purchased a new webcam that stated it was usable with MAC OSX. Still Yahoo does not seem to give me any option to broadcast my web
-
Frustration with Pages to ePub page breaks
Hi. I am losing my mind and hoping someone can help... I am creating a non-traditional book (a catalog) in Pages, for use in both PDF and ePub formats (for iBooks on iPad). I CANNOT get the page breaks in Pages retained when exported to ePub and view
-
Why doesn't "Preview" open my .PDF files on my computer?
Hello Guys, My "Preview" program stopped opening .PDF files about a week ago. The program shows up in the dock, but it doesn't display the PDF. It displays JPEG's no problem, but for some reason it' doesnt open PDF fils.It is driving me crazy. I have
-
hello forums of linksys. i'm a noob at all of this, so please dont hate. I am using a wireless- g broadband router model WRT54G2. My ISP is Verizon. I dont have trouble at all playing live matches or chatting with my friends, all of that works great,
-
Itunes wont downloasd, itunes wont download
hi all, in the last week i have downloaded the latest update for itunes, since then when i click to open up itunes, my computer tells me that i have a registry file missing!!! i tried completely uninstalling itunes and all its component parts using r