Need help: GUI_DOWNLOAD and tab-separated in between fields.
hello everyone,
this is the layout of the interface that i created:
sy-title
total records processed: XX
total records failed: XX
summary of the error
pernr<tab>name<tab>error message<tab>otherfieldshere
i wanted the error log to be saved locally thus, i have to use GUI_DOWNLOAD.
ok, here's the current parameters i supplied with my gui_download:
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = v_file_string
filetype = 'ASC'
write_field_separator = 'X'
TABLES
data_tab = i_error_log
(exceptions not displayed)
the problem that i have is that, there is a difference between the error logs displayed after the execution and the error logs saved in my local directory.
i did find a way to resolve this BUT, i still need to refine it. also, the spaces between the fields seems not tab delimited, but separated by space.
to explain further here's the current error log that i have downloaded:
10000001<tab>10/23/2006<tab>01<tab>P<tab>11<tab>01
the header:
sy-title
total records processed: XX
total records failed: XX
summary of the error
is not included in the downloaded errorlog file.
i added some modification of my report to include it because, i want to to look exactly the same as of the errorlog generated/displyed after the execution.
the result looks as it is what i've expected BUT,
when i checked the spaces in between fields...
it is all separated by spaces... not tab.
here is the actual error log that i have obtained:
sy-title
total records processed: XX
total records failed: XX
summary of the error
pernr<space><space><space>name<space><space><space><space><space><space>error message<space><space>otherfieldshere
What i wanted to resolve is that, i want the error log to be tab delimited and not separated by space.
is this possible? if it is, any suggestion will truly be appreciated.
Hi,
Please check your flat file i think it they have used the Three spaces instead of using a SINGLE TAB. between the fields.
Thanks & Regards,
Chandralekha.
Similar Messages
-
Need help in creating tabbed webpart in sharepoint and no of tabs in webpart should be dynamic.
under each tab i should be able to add multiple webparts(each tab will have webpart zone)
programatically i need to generate tabs and insert webpart zones under each tab.
Let me know how can i achieve this.
i followed below article.
http://msdn.microsoft.com/en-us/library/jj573263%28v=office.14%29.aspx
but in this article the tabs and webparts are static and we need to close each webpart .
Kindly let me know the approach.thanks in advancethe Easy Tabs could be useful for your requirement
http://usermanagedsolutions.com/SharePoint-User-Toolkit/Pages/Easy-Tabs-v5.aspx
/blog
twttr @esjord -
I need help deleting and adding text
i need help deleting and adding text, can soneone help
Adobe Photoshop Elements 10You should delete your phone number from the topic line.
Spambots search these forums for contact info.
You don't want to get even more telemarketing/scam calls than you probably already get.
It seems like the "Do Not Call" lists are ignored these days.
Message was edited by: Bo LeBeau Looks like someone already took care of this. -
I need help scrolling and highlighting for a vast amount of pics that I'm trying to transfer. I have a macbook pro osx 10.5.8
I need help scrolling and highlighting for a vast amount of pics that I'm trying to transfer. I have a macbook pro osx 10.5.8
-
Need Help Understanding How To Use iMessage Between Two iPhones
I have an iPhone 4 and my wife an iPhone 3GS. We both have iOS 5, but I have discovered something about iMessage I need to make sure I understand correctly. As I understand it iMessage can send text even if our voice carrier service is unavailable. I tend to loose signal inside the building I work in. I usually can get texts in and out, but sometimes not. But in testing the two phones sending iMessages, I've noticed is that if I have one of the phones with iMessage turned on and the other with iMessage turned off, the two phones will not be able to exchange text. Is that how it's supposed to work? Even though one of these phones can receive an iMessage doesn't mean the other one send one back. Can't the system detect when one phone is connected and another one not, and the one that is not gets sent SMS messages instead? I don't want to try to send my wife an iMessage because I can't get a voice signal in my building, but her have iMessages turned off and not able to get any messages from me, iMessage or SMS. I guess I need help better understanding how this actually works between the two phones so I can always get texts back and forth between my wife and I. My other misgiving is that this iMessage thing consumes my data limit. My wife gets unlimited because she had her phone before the limits were imposed, but I got on board after, so I am hesitant to use iMessage all the time because of it. I have no intention to send picture mail through iMessage, but the thing is if I wanted to switch to SMS to send picture mail to save data, but my wife's phone is set to iMessage, she won't get it. If this is how this thing is supposed to work, I'm not really impressed. Some insight would be appreciated
I think you are making this way too complicated. Why are you turning iMessage off? If you are at your office connect to the WiFi there and send your wife messages that way (unless your office is blocking the port iMessage uses). When possible the two phones will use iMessage but will revert to SMS is iMessage is not available if that option is set that way.
I would not worry about using up your data plan if you have the 2GB, text iMessages are going to be very small and MMS (picture) ones are not very large either. Unless you are sending hundreds of picture iMessages a day you will have a hard time using up your data.
If you are near an Apple Store you should explore signing up for an intro iPhone course and have them run through iMessage options. -
I need help, motherboard and RAM
Tomorrow morning I have to buy all the parts, and only left me two.
My options were: Deluxe Asus P9X79-WS, Asus X79 Rampage or ASRock Fatal1ty Champion,Gigabyte Ga-X79s- UP5
Any other options?
Hare 3930k OC without touching the voltage.
In thinking about the G.Skil RAM but it is 1.6 v ...
Please i need help.
My system:
Gigabyte GeForce GTX 670 OC 2GB GDDR5 http://www.pccomponentes.com/gigabyt...2gb_gddr5.html
Intel I7-3930K http://www.pccomponentes.com/intel_c...cket_2011.html
Corsair HX650 650W 80 Plus Gold http://www.pccomponentes.com/corsair...plus_gold.html
Noctua NH-D14 http://www.amazon.es/gp/product/B002...A1AT7YVPFBWXBL
Corsair 500R Carbide Series Blanca http://www.pccomponentes.com/corsair...es_blanca.html
Samsung 840 Pro SSD Series 256GB SATA3 Basic Kit http://www.pccomponentes.com/samsung...basic_kit.html
2x Seagate Barracuda 7200.14 1TB SATA3 http://www.pccomponentes.com/seagate...1tb_sata3.html
ThanksYou might go to the CS5 Benchmark http://ppbm5.com/ and see if there is a motherboard sort... I think ASUS is used more than either of the other two brands you mention
A note from Harm about ram http://forums.adobe.com/thread/1089842 -
I have an ipod touch 4th gen and when I plug it into my computer it shows up but it wont on iTunes and I was trying to put more music on it today and it wasn't showing up can u help please and thank you.
Hey Babetta94,
Thanks for using Apple Support Communities.
After reviewing your post, the iPod is not recognized in iTunes. A frustrating situation to be sure. You haven't mentioned what OS the computer you are using uses. You can choose what article to use either OS X or Windows from this quoted section.
iPod not appearing in iTunes
http://support.apple.com/kb/TS3716
If you have an iPod touch:
For Windows: See iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
For Mac OS X: See iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X
Have a nice day,
Mario -
Need Help on How to Convert a Number Field to an Hour/Minute
Post Author: syracuse2
CA Forum: Crystal Reports
I have a field that shows a duration, i.e. 125. I would like to convert the number of 125 to 2hr and 5 min. Any suggestions on how to do this?Post Author: GraemeG
CA Forum: Crystal Reports
Create a formula and paste the following into it (sorry I use Basic Syntax):
'Ive laboured a point here a bit so you can get an idea of what you can do.
'Heres 3 variables - one with your duration and two others for hours and minutesshared xDuration as numbershared xHours as numbershared xMins as number
'Put some data into the duration and calculate the hours and minutesxDuration = 125xHours = truncate(xDuration/60)xMins = remainder(xDuration,60)
'You can then use the variables to get a string with unformatted hours and mins'formula = xHours + "hours " + xMins + "Mins"
'or you format the hours and minutes nicely'formula = CStr(xHours,0) + "hours " + CStr(xMins,0) + "Mins"
'or you can make it all into one formula without the need for xHours and xMins variablesformula = CStr((truncate(xDuration/60)),0) + "hours " + CStr(remainder(xDuration,60),0) + "Mins" -
I need help, CFquery and SQL NOT BETWEEN
OK I am building a hotel booking system as a college project and I'm having trouble with finding rooms that are available. Now I have got this working, to an extent, So to give you the bigger picture al try and lay this out the best I can so you can understand.
This is my database structure:
Bookings Table
Rooms Table
Customers Table
BookingID
BookingDateIN
BookingDateOUT
RoomID
CustomerID
RoomID
RoomType
RoomNumber
RoomPrice
Room Description
CustomerID
FullName
AddressLine1
AddressLine2
PostalCode
CarReg
OK, now you can see how this is going to work with the Bookings Tables RoomID and CustomerID matching the others to make a relationship, simple databasing.
Now I have a page that lets you select a date and then select how many days the customer wants to stay for. So the selected date will be put towards the BookingDateIN field and the calculated date will be put towards the BookingDateOUT in a NOT BETWEEN SQL statement.
I have got this to work with some test data, how ever when I select a date range that is below the 5th day in any month it shows the rooms are booked and not available even though the test data does not contain any days below the 5th.
This is my test data in the Bookings Table:
BookingID
BookingDateIN
BookingDateOUT
CustomerID
RoomID
1
20/05/2010
23/05/2010
2
2
2
26/05/2010
28/05/2010
1
5
And here is my code for the bookings page:
<cfset CurrentPage=GetFileFromPath(GetBaseTemplatePath())>
<cfif isDefined("FORM.SearchRooms")>
<!-- adds the number of days to the selected date -->
<cfset #CalDate# = #DateFormat( DateAdd( 'd', #FORM.SelDays#, #FORM.SelDate# ), 'dd/mm/yyyy' )#>
<!-- Queries the Bookings table with a crazy NOT BETWEEN SQL Statement -->
<cfquery name="Check_Rooms_RS" datasource="HotelBookingSystem" username="HBSuser" password="HBSpass">
SELECT *
FROM Bookings
WHERE BookingDateIN AND
BookingDateOUT NOT BETWEEN
<cfqueryparam value="#FORM.SelDate#" cfsqltype="cf_sql_timestamp">
AND
<cfqueryparam value="#CalDate#" cfsqltype="cf_sql_timestamp">
</cfquery>
<!-- Now this is my beginner CFQuery'n lol it queries the Rooms table with the values output from the bookings query and loops, then I put a 0 at the end to have the correct SQL statement lol I'm trying -->
<cfquery name="Rooms_RS" datasource="HotelBookingSystem" username="HBSuser" password="HBSpass">
SELECT *
FROM Rooms
WHERE RoomID = <cfloop query="Check_Rooms_RS">#RoomID# OR </cfloop>0
</cfquery>
</cfif>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hotel Booking System - User Manager</title>
<link rel="stylesheet" type="text/css" href="../style.css"/>
</head>
<body>
<div class="container">
<div class="booking_choose_date">
<cfparam name="PreSelDate" default="#LSDateFormat(Now(), 'dd/mm/yyyy')#">
<cfif isDefined("FORM.SearchRooms")>
<cfset #PreSelDate# = #FORM.SelDate#>
</cfif>
<cfform name="form1" width="375" height="350" action="#currentpage#">
<!-- Date Picker -->
<cfinput type="DateField" name="SelDate" label="Block out starts" width="100" value="#PreSelDate#" mask="DD/MM/YYYY">
<!-- Day Picker -->
<cfselect size="1" name="SelDays" required="Yes" message="Select days staying">
<option value="1" selected>1 Day</option>
<option value="2">2 Days</option>
<option value="3">3 Days</option>
<option value="4">4 Days</option>
<option value="5">5 Days</option>
<option value="6">6 Days</option>
<option value="7">7 Days</option>
</cfselect>
<cfinput type="Submit" name="SearchRooms" value="Check" width="100">
</cfform>
</div>
<cfif isDefined("FORM.SearchRooms")>
<div class="search_results">
<!-- Outputs the Bookings table RoomID values -->
<cfoutput query="Check_Rooms_RS">
#Check_Rooms_RS.RoomID#
</cfoutput>
<!-- Outputs the Rooms table RoomID values -->
<cfoutput query="Rooms_RS">
#Rooms_RS.RoomType#
</cfoutput>
</div>
</cfif>
</div>
</body>
</html>
Little help with this would be amazing !!I only skimmed this thread. But even ignoring the myriad of date issues, the queries have a serious "logic" problem. If you think about it, does searching for rooms that are not reserved in a table that only contains reserved rooms really make sense? Say you have twenty (20) rooms. If only two (2) of them are reserved (ie in the Bookings table), how is that first query supposed to account for the other eighteen (18)?
It would make more sense to search the Bookings table for rooms that are reserved. Then query your Rooms table for rooms not in that list (ie available). Granted that is not a very efficient method for a real application. But should work for your purposes.
This is my test data in the Bookings Table:
Are you storing the booking dates as strings? Dates should be stored in a date/time column. Storing them as strings creates all kinds of problems. Not to mention it makes it more difficult to use your database's date functions. -
I need help to take decision to choose between iMac Late 13 and Mac Mini Late 12
Hey guys,
I have currently got iMac 27 3.2 GHz mid 2010 and since I am a photographer it unfortunately dosn't meet my requirments at all! It has recently become too slow and that is why I have taken my decision to purchase a new desktop to improve!
I was intensely awaiting new Mac Mini Late 2013 at Apple 22 Oct event yet no new Mac Mini came up for upcoming year! Now I am very skeptical to choose between to options; iMac Late 2013 and Mac Mini Late 2012! Since having high performance is really essential for me, I am going to tune up my device with 2 Samsung 840 PRO SSD and 16GB RAM to take advantage of the best possible performance.
Since I can easily utilise my iMac 2010 27" as display for Mac Mini, please instruct me which on I should buy or I have to be more patient for next Mac Mini!
Thanks in advance!I am not sure how you are planning to "easily utilise my iMac 2010 27" as display for Mac Mini" I am concerned that might not work out nearly as well as you might think. I have seen that attempted by others and the results were pretty clunky and could easily wipe out any anticipated speed gains. Be sure and talk to someone who uses an iMac as a display for another computer before you spend any money.
That said, if I were in your shoes I would either go with a current top end iMac or a maxed out, top end Mac mini and a 27" Thunderbolt monitor. You will end up spending about the same either way. You can save a few hundred dollars buying factory refurbished machines from the online Apple Store or Smalldog.com but you take your choice of what is available and don't expect it to be there tomorrow. -
Need help linking spry tabbed panel from external page
Could use some help. I need to link to a specific spry tabbed panel on page "A" from a link on page "B" I have tried several "solutions" on the web and had no luck. When I add the code needed at the bottom of the code where you initiate the instance, it stacks the content of ALL panels in the first panel, and renders the tabs inoperable. This is a key feature I need in a new site being developed.
I need to link to a specific spry tabbed panel on page "A" from a link on page "B" I have tried several "solutions" on the web and had no luck.
Have you tried http://foundationphp.com/tutorials/spry_url_utils.php ?
When I add the code needed at the bottom of the code where you initiate the instance, it stacks the content of ALL panels in the first panel, and renders the tabs inoperable.
Depending on what the code looks like, it can do all sorts of things.
Please be reminded that the best way for us to help you is by you supplying a link to your site with a one sentence description of the problem.
Gramps -
Need help calling and looping custom classes
Hi, I am writing a code with custom classes in it and another program that calls upon all of the classes in the first program. I can get the second one (L6) to call upon and execute all of the classes of the first (Foreign). However, I need the second one to loop until quit is selected from the menu on Foreign and I can't seem to figure out how to do it. Here are the codes:
L6:
public class lab6
public static void main(String[] args)
Foreign camount = new Foreign();
camount = new Foreign();
camount.get();
camount.print();
camount.intake();
camount.convert();
camount.vertprint();
System.out.println(camount);
Foreign:
import java.util.Scanner;
public class Foreign
private String country;
private int choice;
private float dollars;
private float conversionValue;
private float conversionAmount;
public Foreign()
country = "null";
choice = 0;
dollars = 0;
conversionValue = 0;
conversionAmount = 0;
public void get()
Scanner Keyboard = new Scanner(System.in);
System.out.println("Foreign Exchange\n\n");
System.out.println("1 = U.S. to Canada");
System.out.println("2 = U.S. to Mexico");
System.out.println("3 = U.S. to Japan");
System.out.println("4 = U.S. to Euro");
System.out.println("0 = Quit");
System.out.print("\nEnter your choice: ");
choice = Keyboard.nextInt();
public void print()
System.out.print("\nYou chose " + choice);
public void intake()
Scanner Keyboard = new Scanner(System.in);
if (choice >= 1 && choice <= 4)
switch (choice)
case 1: System.out.println("\nU.S. to Canada");
conversionValue = 1.1225f;
country = ("Canadian Dollars");
break;
case 2: System.out.println("\nU.S. to Mexico");
conversionValue = 10.9685f;
country = ("Mexican Pesos");
break;
case 3: System.out.println("\nU.S. to Japan");
conversionValue = 118.47f;
country = ("Japanese Yen");
break;
case 4: System.out.println("\nU.S. to Euro");
conversionValue = 0.736377f;
country = ("European Union Euros");
break;
System.out.print("\nEnter U.S. dollar amount: ");
dollars = Keyboard.nextFloat();
public void convert()
conversionAmount = conversionValue * dollars;
public void vertprint()
System.out.println("\nCountry = " + country);
System.out.println("Rate = " + conversionValue);
System.out.println("Dollars = " + dollars);
System.out.println("Value = " + conversionAmount);
public String toString()
String line;
line = "\n" + country + " " + conversionValue + " " + dollars + " " + conversionAmount;
return line;
I appreciate any help anyone can give me. This is driving me crazy. Thanks.1. first you need to write method to get choice value from Foreign class.
simply add this method.
public class Foreign {
// ... Add this
public int getChoice() {
return choice;
}2. Then in your main, you can obtain with previos method.
public static void main(String[] args) {
Foreign camount = new Foreign();
// remove this. you alredy create an instance in last statement.
//camount = new Foreign();
int choice = 0;
do {
camount.get();
choice = camount.getChoice();
// your process...
} while (choice != 0);
} -
Trying to inistall itunes keep getting error code 2330 need help unistalling and reinstalling
Im trying to install itunes but keep getting an error message. (The installer has encountered an unexpected error installing this package, this may indicate a problem with this package. Error code 2330
I need some resolution please assist. I did call microsft but they want to charge just to get help. I need assistance please.
Thank youAlthough it's a better bet with a 2330 than a 2349, I'd try running a disk check (chkdsk) over your C drive.
XP instructions in the following document: How to perform disk error checking in Windows XP
Vista instructions in the following document: Check your hard disk for errors
Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards? -
Total newbie needs help installing and setting up Solaris 10 as a server
i'm attempting to set up one computer to act as a file and print server on my home network, so that i can store all of my music and video files on it instead and print to my parallel-only laser printer. 80% of the time i'm using my laptop, so i need the mass storage and printer to be handled by another device - the server!
i'm not sure if i'm even installing Solaris 10 correctly. how should it be installed to then act as a server? my two (incredibly long, like 3+ hours each) install attempts so far have resulted in an OS that looks like a nice fancy GUI-laden desktop which doesn't appear to show me my 750G SATA storage drive (the OS is on a 40G IDE drive).
in the end, i'd like to have the system working so that my only interaction with it is the power button - press it once to power it on and it'll boot up and long in automagically and make itself seen over the network (with printer and files stored on drives accessible to my laptop or any other PC that's on the same network), and then press the power button again to shut down the entire system gracefully (so far, when i press the power button, it's a quick kill like pulling the power cord - i'm pretty sure that's a bad way of having the system shut down, so how do i change it?)
i'm really hoping to use Solaris due to the promising ZFS scheme. my only exposure so far to unix / linux has been with ubuntu, which i usually like but sometimes loathe (primarily file permissions and network manager).Let's try step by step rather than asking for setting up a server as a while and I'll try to help you as much as I can.
For setting up a printer, it's not that easy or quick setting up a printer on Solaris, I mean it's not like plug-n-play. Tell us about your printer and how it's connected to your system (usb, ethernet, parallel, serial).
As for shutting down the system, it's recommended to use the shutdown commnad like this:
# shutdown -y -i0 -g0
--gibb -
Beginning Programmer needs help - JSP and databases?
1. I have never used JSP before, but have been given an assignment to create a webpage to query a database. The database is in Access. Does anyone have a snipet of code in JSP that will query an MS Access database. Is there a function that I can use and pass it an SQL (select statement) and have it return a list of results.
-OR-
If there is a way for JSP to transform the MS Access database into a text file that would be good also.
2. Has anyone created a search functionaly using JSP (or know of a tool) that can search documents, PDF files, HTML files, etc.
Thank you for any help!hi , there is no big deal in JSPs, Servlets, EJBs e.t.c its olnly a matter of committing time and getting urself familar and in areas where you have problems this forum is a nice place for you to share all what u have.
to start with i will give you some sites where you can start learning jsps, servlets, ejbs and the rest.
1) http://java.sun.com/j2ee -> look for JSPs , Servlets, EJB, JavaBeans e.t.c
2) http://www.jspinsider.com
3) http://www.coreservlets.com
4) http://www.jakarta.apache.com (download tomcat for your container)
for databases u can use this code snippet but u will have to read more about databases to be able to chagne some things in this snipper such as your database username, password , url and the rest.
<%@page import="java.sql.*" %>
try
Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection ("jdbc:odbc:test_dsn", "sa", "");
Statement stat = con.createStatement ();
ResultSet res = stat.executeQuery("select * from authors");
while (res.next())
//process the results of this query
catch (Exception e)
//process this also
%>
You will need to become farmilar with the java programming language and also database conventions so you have a proper understanding.
study those db codes and modify to suit your needs.
buzz on me in case you are stuck.
Regards
Maybe you are looking for
-
Urxvt vs gnome-terminal font style difference
Hi All, I`m using ubuntu mono font with cleartype patches for my terminal. On gnome-terminal the fonts look good but on rxvt-unicode they look different (more sharp, thin and wide). How do I make the fonts look good in urxvt just like gnome-terminal
-
Lightroom 3.2 hangs on open
Trying Lightroom 3.2 but it will not open. Immediate "Adobe Photoshop Lightroom 64-bit has stopped working" and goes no further. It will open virtualized and in sandbox ... whatever those are .... but while virtualized or in sandbox the files will
-
Modelling databases in Oracle Designer environment
Today I had laboratory's which subject was: "Modelling data and designing databases scheme in Oracle Designer environment" and I have to make a report for tommorow. I can't find some answers for questions which our Professor told us to include in the
-
How do I switch to right to left writing direction?
In pages there is an option in the text layout section, however I cannot find it in keynote.
-
Enqueue/Dequeue is repeating the last queued element
Hello I am trying to aquire data from a camera at 256fps in one for loop, enqueueing the data after each frame is acquired. A seperate while loop is supposed to dequeue each image and stream it to a binary file, acheiving the maximum imaging speed po