Line by line checking
Hi,
my program is running perfectly but it is giving just one digit different than the output which iam expecting .
i want to trace the program line by line , is their any command to trace a program like in " C".
Sure. The sdk comes with a command line debugger, jdb. Most IDEs (such a Eclipse, etc.) also provide debugger support, with the IDE as the user interface. JSwat is a stand alone graphical debugger.
Most debuggers have a learning curve associated, but are well worth the effort for serious debugging.
� {�
Similar Messages
-
Receipt Matching with Invoice (AP) - Line to be Checked by Default
Hi,
As per finance requirement, they need line to be checked by default in Match Receipt Window. Is there any option available?
I did personalization for selecting check box value to 'Y' and it is working. But that time it is not taking Qty Invoiced and Match Amount if I use personalization (I need to disable check and enable again to get value). Is there any standard option available? if not, how to fulfill this requirement?
Navigation:
AP Administrator > Invoice > Entry > Invoices
Create Invoice and Save
Click on Matching
Matching Type > Item
Search with PO number or Receipt Number > Find
Thanks,
NavabHi,
As per finance requirement, they need line to be checked by default in Match Receipt Window. Is there any option available?
I did personalization for selecting check box value to 'Y' and it is working. But that time it is not taking Qty Invoiced and Match Amount if I use personalization (I need to disable check and enable again to get value). Is there any standard option available? if not, how to fulfill this requirement?
Navigation:
AP Administrator > Invoice > Entry > Invoices
Create Invoice and Save
Click on Matching
Matching Type > Item
Search with PO number or Receipt Number > Find
Thanks,
Navab -
Problem in Commitment line items & Budget check
Hi Experts,
I am facing a problem in my system for Commitment line items & budget check.
I followed the below steps:
1. Created Project & structured the same.
2. Allocated the Budjet for WBS Elements.
3. Released the project.
4. The PRs are created for material and external services.
5. When I check in the report S_ALR_87013558 the commitments are not showing in the report.
6. After I performed the PO & GR (the PO value is more than the budget), still it is not producing any error message.
7. I have even consumed the material, for which the cost is more than the budget, still there is no error message from the system.
8 . I tried to perform transfer posting of the material from other plant or initial posting of the goods using 561 Q, at that time the system is producing the error message.
9. When I check the above report after GR & GI the actual line items are showing.
The problem is that why system is not creating the commitment line items.
In customization I have maintained as below:
1. Budget profile
2. Assigned the Budget profile to Project profile.
3. Maintained the tolerance limits for the controlling area and budget profile combination.
4. I have created the B/S G/L accounts as cost elements with category 90 (statistical).
5. AVAC for the WBS elements is active for the WBS elements
My doubt is:
Why system is not writing commitment line items?
Even after writing the Actual line items why the error message is not produced?
I am understanding that since the GR from PO is being done, probably this GR is not producing the error message as it is linked with the PO commitment. But at the time of GI the error message should be produced.
Can any one help me for solving this issue?
I tried searching the forum before posing, but couldnot get a relevant one.
Regards,
PraveenDear Nitin,
Yes I have checked it and the commitment management is active.
I also checked the table RPSCO table as well, there is no entried with the value key 21 or 22, the entires are available with 41 only for my project.
Also, I was maitaining the WBS element in a maintenance order. When I am trying to enter the materials in componenet tab, if the value is exceeding the budget value it is producing the error message.
Praveen -
Checking output of script line by line at runtime
hi,
I am new in solaris scripting. I want to ask that is there any way to check the output of the solaris bash script line by line during runtime of script execuation.
I actually want to check the values during script execuation at runtime.
Thanks(k)sh -x <scriptname> will show you line by line output.
-
Role of schedule line in Availability check
hi,
How does schedule line play a role in Availability check? ,please explain.
RegardsHi
SEARCH THE FORUM
Any way Schedule line Help to Check whether the quantity is available in that particular Requested DELIVERY DATE & QUANTITY.
thanks
Ashok -
Line Segment Intersection Checker
Hello all,
I am attempting to design a program that will take a set of n line segments and check which pairs of lines intersect. The lines are finite line segments, and they each have two end-points. I am supposed to be able to store a good amount of "Line Segments" into a data structure (Array, LinkedList, BinarySearchTree), etc. I am then supposed to be able to test each line segment against all of the other line segments that are read in in a text file in the format L1: (x,y),(x,y)
I figured out how to test whether or not two finite line segments intersect, that is not the problem. What I am concerned with is the method(s) I can use to read in all of the line segments and then output the intersecting pairs of line segments in the form (L1,L2) means Line segment 1 and Line segment 2 intersect.
I was thinking that reading the text file, I could just create an array with n slots that holds Line Segment objects (assuming I have created a Point class for keeping track of end-points), start with the first line segment in the array, and use the points from the first line segment's endpoints to all of the other line segment's endpoints in the array and check to see if they do intersect. Has anybody ever had to do something like this, and if so, what approach did you take to complete?
Thanks in advance.Donojuana wrote:
... What I am concerned with is the method(s) I can use to read in all of the line segments and then output the intersecting pairs of line segments in the form (L1,L2) means Line segment 1 and Line segment 2 intersect.
I was thinking that reading the text file, I could just create an array with n slots that holds Line Segment objects (assuming I have created a Point class for keeping track of end-points), start with the first line segment in the array, and use the points from the first line segment's endpoints to all of the other line segment's endpoints in the array and check to see if they do intersect.
...That sounds like a good plan. -
My firefox has decided to load in a line by line format, why?
My broser started loading in a line by line formay. I need to know what to do about this. This happens on most websites, but not all. Will not allow me on to the facebook site. sample below.
Access Email using the XFINITY Mobile app »
Xfinity
Home
TVNew
Connect
Help
Account
Security
Shop
Register
Sign In
Profile Set-up
Progress: 100%
View More Options
Hi chvbob
Sign Out
Welcome
Complete the XFINITY set up process so you can browse, watch and record your TV shows & movies anytime, anywhere.
Set Up Xfinity
Welcome
Just 0 more steps and you're done:
You're Done!
Complete Set-up
View Profile
Thank You
Coming back to complete the set-up is simple. Just click on the arrow to the right of the progress bar to see where you left off, then finish your set-up tasks.
Comcast.net
Search:
enhanced by Google
Today's Highlights
October 06, 2011
10 Unsolved Mysteries of Amanda Knox Case
10 Unsolved Mysteries of Amanda Knox Case
Amanda Knox is freed and back in the U.S., but questions about the Italian murder case remain.
Judge: 'This Case Will Never Be Solved'
Knox's Tearful Arrival Back in United States
Family, Friends Celebrate Knox's Return to U.S.
Woman on Knox's Flight Home Speaks Out
Reactions to the Amanda Knox Verdict
New End-of-the-World Prediction
New End-of-the-World Prediction
The world didn't end last May, but that doesn't mean we're out of the woods just yet...
Harold Camping Thinks the World Will End Soon
Evangeline Lilly Is Sick of Talking About 'Lost'
Watch the Full Episode of 'Jimmy Kimmel Live'
Full Episodes of 'Jimmy Kimmel Live'
Find TV Listings for Your Area
Real Estate: What Will $200K Buy?
Real Estate: What Will $200K Buy?
Will you get a luxury 4-bedroom home or a cramped studio? See what your dollar's worth in these cities:
Chicago
Houston
Denver
What Does $200K Buy in Other Cities?
10 Tips to Get the Best Mortgage
6 Must-Do's Before You Buy
Listing Red Flags
Should You Clean the Foreclosure Next Door?
Jobs Remembered as 'Visionary'
Apple founder Steve Jobs lost his long battle with pancreatic cancer yesterday. He was 56.
Tributes Pour In from Across the Globe
Video
Apple Fans Mourn Jobs
Jobs' Life in Pictures
Jobs Told Us What We Needed Before We Knew
Digital Titans, Gadget Junkies Mourn Steve Jobs
Evolution of Apple
Little-Known Steve Jobs Facts
Watch the Greatest TV Moments
TV Guide counts down the top 100 memorable moments in television history.
View '100 Great TV Moments' Online for Free
Watch More of '100 Great TV Moments' Online
Watch 'Fat Albert and the Cosby Kids' Online
Watch 'Hill Street Blues' Online
Watch Thousands of TV Shows for Free
5 Lightning-Fast Porsches
Do you have a need for speed? Buckle up and check out the fastest Porsches permitted to cruise the streets.
Fastest Street-Legal Porsches
5 Super Cars That Shatter 200 MPH
Beautiful Exotic Cars
Famous TV Cars
5 Cars That Stand Out from the Crowd
Most Stolen Cars
Future Collectible Cars
Ways to Save on Groceries
In just one year, the cost of groceries has increased by 4.2 percent. Learn how to stop your grocery bills from growing.
5 Tips to Fight Rising Prices
Secrets of Supermarket Prices
Make Your Groceries Last Longer
Clean Up the Cost of Laundry
The Best Savings Accounts
Did They Go Under the Knife?
From Steve Martin to Simon Cowell, these leading men are rumored to have had lifts, Botox and other procedures.
Did They or Didn't They?
Celebrity Surgery: Before & After
Stars Who Insured Their Body Parts
Watch Full Episodes of 'Nip/Tuck'
Super-Skinny Celebrities
Slow PC? Speed It Up
Improve your computer's speed and performance with a PC tune-up. This special offer is available exclusively to XFINITY customers.
Learn More
Tune Up Your PC's Speed and Performance
Keep Your Computer Safe and Secure
Get a Free Month of XFINITY Signature Support
Mexico Vacation Sale
Check out spectacular specials on flights and all-inclusive hotel stays across Mexico. Two great deals, one unforgettable vacation.
Flights $119+
All-Inclusive Hotels $69+
Disney Resort Vacations: 3 Nights with Air $480+
Jamaica from $469
Hawaii from $589
Tour the UK: 6 Nights, 3 Countries with Air $910+
Flight Deals: Atlanta $59+
San Diego $119+
Highest-Earning Women in Hollywood
Forbes has released its annual list of the best-paid women in entertainment. Did Oprah Winfrey retain her crown?
Find Out Now
Lady Gaga Wears False Teeth
Richest Star Moms
Most Powerful Celebrities
Watch Oprah Winfrey Network Clips & Episodes
Best-Paid Actresses
Wealthiest Stars Under 30
Get Paid to Eat Out
A new website offers 'insider pricing' of 30% off your bill when you use it to make a reservation.
How Does It Work?
Food News, Cooking Shows, More
America's Best Chain Restaurants
Guide to Restaurant Tipping
12 Dinner Date Deal Breakers
Amanda Knox
'Jimmy Kimmel'
$200K Homes
Steve Jobs
TV Moments
Fastest Porsches
Grocery Savings
Celeb Surgery
Tech Help
Mexico Sale
Richest Women
Get Paid to Eat
Amanda Knox
Previous
1 - 1.0336417157275022 of 12
Next PLAYPAUSE
Top Videos
Finance News
Previous
1 - 1.0336417157275022 of 16
Next
Previous
Loading...
'DWTS' Star's Revealing Pics'DWTS' Star's Revealing Pics
'Bachelor' Beauty's New Man'Bachelor' Beauty's New Man
Depp's Comment Sparks OutrageDepp's Comment Sparks Outrage
Camille Grammer Rocks BikiniCamille Grammer Rocks Bikini
'DWTS' Star's Revealing Pics'DWTS' Star's Revealing Pics
Next
Watch XFINITY TV Online
History Hits
Classic Comedy
Fox Toons
Reality Rewind
'Pawn Stars'You are addressing an audience that is not affiliated with Apple. We can't help you.
-
Reading a dataset line by line
I have a datset with header items and the remaining line items . I have managed to read the header in a structure with a single READ DATASET.... phrase . For the first line item i have again written the READ DATASET statement and managed to get the contents in an internal table of a different structure. How can i get the remaing line items of similar structure in an internal table using a loop???
You read the dataset by doing a DO loop, the system will know to read each line by line, when the READ fails, that means there is no more lines to read and the EXIT statement will make the program come out of the loop.
Do.
read dataset ds into xstr.
if sy-subrc <> 0.
exit.
endif.
* Here check which kind of line you have just read
* whether it is a header, or line item and append
* to the correct internal table.
Enddo.
Regards,
Rich Heilman -
i am having line graph with 2 lines . lines are coming thicker by default i want to make one of the line in my graph thinner. how can i do that below is my graph xml
chart:
<Graph seriesEffect="SE_AUTO_GRADIENT" graphType="LINE_VERT_ABS" graphicAntialiasing="true">
<LegendArea visible="true" />
<Title text="Center Growth" visible="true" horizontalAlignment="CENTER">
<GraphFont bold="true" italic="false" underline="false" />
</Title>
<SeriesItems>
<Series id="0" color="#0000FF" />
<Series id="1" color="#FF0000" />
</SeriesItems>
<O1Title text="Weeks" visible="true" />
<Y1Title text="Attendances" visible="true" />
<LocalGridData colCount="{count(xdoxslt:group(.//G_2, 'FWN'))}" rowCount="2">
<RowLabels>
<Label>RSum V</Label>
<Label>RSum</Label>
</RowLabels>
<ColLabels>
<xsl:for-each-group select=".//G_2" group-by="FWN" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Label>
<xsl:value-of select="current-group()/FWN" />
</Label>
</xsl:for-each-group>
</ColLabels>
<DataValues>
<RowData>
<xsl:for-each-group select=".//G_2" group-by="FWN" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Cell>
<xsl:value-of select="sum(current-group()/RSUM2[.!=''])" />
</Cell>
</xsl:for-each-group>
</RowData>
<RowData>
<xsl:for-each-group select=".//G_2" group-by="FWN" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Cell>
<xsl:value-of select="sum(current-group()/RSUM1[.!=''])" />
</Cell>
</xsl:for-each-group>
</RowData>
</DataValues>
</LocalGridData>
</Graph>
please let me know i what is the code i need to add to make my line line thinner.
i checked line style but it didn't help..is it possible to control line width in line graph.i tried to look for the option to control the width of lines ,not able to find anything on this.
-
How to display values and new char line (blank line)
Hi,
In database, one field contains values followed by new character lines (blank lines) after blank lines there is no values. Finally, I would say the field contains values and blank lines. Every thing is fine in database.
In Crystal Reports the field is displaying only values. Need to display values and blank line.
User is asking after values new character lines (blank line) to be shown. They enter like that in an application. The user doubt is why report is not showing what they enter in the application.
In detail explanation, front end tool is ASP.NET and backend is SQL Server.
User enter some values in note field, after that they hit enter button in the same field, cursor will go next line...user may hit u2018enter buttonu2019 more than 5 times. So note field contain values and some blank lines which are created by after hitting enter button.
If user opens the application, they could see values plus blank lines in the note field.
They are fine with the application.
In Crystal Reports, the note field shows only values.
User is questioning that why we could not see in report we enter.
I checked in .Net application and SQL server database it is fine. It is displaying values and blank line.
Please help me out how to display values followed by blank lines in Crystal Reports - the way they enter in the application.
Thanks and Regards,
Manjunath N. JoginHi,
Sharonmat,
I tried as you suggested. It is still displaying only values.
I would like to explain again.
it is not exactly null values.
In .Net application it is called 'new char line'.
it shows those many lines look like null.
it is working fine in database.
Why it is not working in Crystal Reports? I am wondering...
Thanks for your suggestion.
Debi,
User may enter any number of blank lines or they may not enter blank lines.
That is the reason I can not always give more height or blank text object.
Thanks for your suggestion.
Please suggest me some more suggestions,
Thanks and Regards,
Manjunath N. Jogin -
Cffunction and how to ? can someone explain the code to me line by line
Hello i went to get this online and i want to test it.
the udf is supposed to
* CSVFormat accepts the name of an existing query and
converts it to csv format.
* Updated version of UDF orig. written by Simon Horwith
my question how to break it down.
can someone explain the code to me line by line
thankssilviasalsa wrote:
> thanks
>
> but line by line
>
> what is
> if(ArrayLen(Arguments) GTE 2) qualifier = Arguments[2];
> if(ArrayLen(Arguments) GTE 3 AND Len(Arguments[3]))
columns = Arguments[3];
> returnValue[1] = ListQualify(columns, qualifier);
> ArrayResize(returnValue, query.recordcount + 1);
> columns = ListToArray(columns);
> for(i = 1; i LTE query.recordcount; i = i + 1)
> {
> rowValue = ArrayNew(1);
> ArrayResize(rowValue, ArrayLen(columns));
> for(j = 1; j LTE ArrayLen(columns); j = j + 1)
> rowValue[j] = qualifier & query[columns[j]]
& qualifier;
> returnValue[i + 1] = ArrayToList(rowValue);
> }
> returnValue = ArrayToList(returnValue, Chr(13));
> return returnValue;
> }
>
> thanks
Apparently this UDF takes two optional parameters so that one
can define
(A) a text "qualifier" to use in the CSV file, this is
usually the
single quote|tick ['] mark - but sometimes one wants this to
be a
different character and (B) what columns to use in the
output in case
one does not want to use all the columns in the record set
in the
outputted CSV file.
The if statements are checking for these optional parameters
and if
found setting the values in them to internal variables.
These
variables are then used in the rest of the logic to create
the CSV output.
HTH
Ian -
I'm using the random access file method to read from a file, my question is if there is a way to jump from line to line through the file? Using the fin.read and fin.seek functions, is there I check to see if it has reached the end of the line?
If it makes a difference, the file has 50 characters on each line with 9 linesYou can use the method readLine() of the class RandomAccessFile. Otherwise, this could work for ASCII characters (but not for Unicode characters in general).
RandomAccessFile raf = new RandomAccessFile("Test.txt","r");
String separator = System.getProperty("line.separator");
String line=null; int n=0;
while((n=raf.read())!=-1){
if(n==(int)separator.charAt(0)) System.out.println();
System.out.print((char)n);
} -
hi,
I have a text file in application server which is formed line by line. Each line has variable length. How can i use the open dataset to put the data line by line to internal table??
Regards,
Kitopen dataset <dsname> for input in text mode encoding default.
do.
read dataset <dsname> into v_rec.
if sy-subrc = 0.
<ur code>
endif.
endo.
Here<b> text mode</b> reads the content line by line...
Also check the below link.
http://help.sap.com/saphelp_nw04/helpdata/en/79/c554a0b3dc11d5993800508b6b8b11/content.htm
Regards,
Maha -
How to read line by line in a file
i have a text file which contents is as below:
=======================
[ID1]
Name=Me
Age=22
username=admin
Password=password
[ID2]
Name=You
Age=23
username=admin
Password=password
========================
i need to read this file line by line to store them in Map which the key of Map is "ID". anybody knows how to read it line by line? pls?How about something like this: (not tested)
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
public final class ConfigReader {
// map< String, Map > of sections
private final Map _sectionMap = new HashMap();
* Create a new config reader using the given configuration file.
public ConfigReader( final String configFile ) throws IOException {
// current section and line
String section = null;
String readLine = "";
// read line by line
final BufferedReader bufferedReader = new BufferedReader( new InputStreamReader( new FileInputStream( configFile ) ) );
while ( ( readLine = bufferedReader.readLine() ) != null ) {
// check the line
if ( readLine.startsWith( "[" ) && readLine.endsWith( "]" ) ) {
// get the section name
section = readLine.substring( 1, readLine.length() - 2 );
} else if ( readLine.indexOf( "=" ) != -1 ) {
// get the id and value
final String id = readLine.substring( 0, readLine.indexOf( "=" ) );
final String value = readLine.substring( readLine.indexOf( "=" ) + 1 );
getSectionMap( section ).put( id, value );
* Get the section map for the given section name.
private Map getSectionMap( final String section ) {
// look for the map
Map sectionMap = ( Map ) _sectionMap.get( section );
if ( sectionMap == null ) {
sectionMap = new HashMap();
_sectionMap.put( section, sectionMap );
return sectionMap;
* Get the given property from the given section.
public final String getProperty( final String section, final String propertyName ) {
return ( String ) getSectionMap( section ).get( propertyName ); -
Reading a text file line by line and splitting each line into an array
I have a text file that I want to read in line by line and within each line, I want to do some processing. I have a file like the following:
apples||oranges||bananas||grapes
cars||trucks||planes||boats
And I want to end up with an array such that
First...
item(0) = apples
item(1) = oranges
item(2) = bananas
item(3) = grapes
Then move onto the next line with item getting cleared each time. Can anyone offer any ideas on how do to this? I am unclear on reading line by line and then also splitting into an array as I am new to this.
Thanks.For reading a text file in line by line, you want to use a FileReader (java.io.FileReader)
If you wrap it in a Buffered reader, you can call readLine() and get the file one line at a time.
File file = new File("C:\myFile.txt");
BufferedReader in = new BufferedReader(new FileReader(file));
String s = in.readLine();
while (s != null){
// string handling here
s = in.readLine();
}For the second part, you probably want to look at the method String.split() which should split your string up into an array for you. Check out the API for java.lang.String
Check out the
Maybe you are looking for
-
I got this iPod touch 2 generation and I want to upgrade it to a newer iPod. Just want to know how much would it be?
-
How to render multiple lines of text?
Hi, I have a string variable in a backing bean,which holds multiple lines of text with newline character as the seperator. I have to display it in my jspx page. Which component is suggestable? Thanks, Lokesh.
-
Material creation having 3 Dimesions in SAP
Dear All, My client has ECC 5.0 and has a small apparel business associated with his main stream business. Client wants to have a mateial skew with all dimensions of the product.. Product: Bags. They have different sizes, Colors and Schemes in each
-
Env-entry from web.xml not in generated plan.xml
Hello, Recently I migrated a JDeveloper 10.1.3.4 project to 11.1.1.3 and from there to 11.1.2.4. When I deploy this project to an 10.3.5. weblogic server then the 'env-entry' entires in the web.xml are not available on the application server. Even wh
-
The tabbs that i pinned as apps are not saved when i close firefox. When i open firefox again, they dont show up in the taskbar.