Sunday, December 19, 2010
Thursday, October 28, 2010
Wednesday, October 27, 2010
So without further ado, here is video 1 from enterprise geeks...
I know that many of us can thank Thomas and the rest of the ABAP freakshow team for their willingness to share all that knowledge with the rest of us, I know I have learned a great deal from these video's and have added to my programming abilities oo coding that I learned from the last group of video's that I had previously blogged with links to the aap frakshow. I see that they have recently posted a blog listing several links to more video series on several topics. you can find that post by following this link...
May we alway strive to continue learning for as technology evolves, we will miss it if we don't strive to keep up with it and we will become as irrelevant as our ancient coding practices.Remember good enough is never good enough.
Monday, September 27, 2010
From the internet…
More on Onions.
Sound a bit far-fetched? It's actually not such a bad idea healthwise. Onions are highly recommended for people trying to prevent cardiovascular disease, cancer and infections. Like most vegetables, sweet, yellow onions are fat- and cholesterol-free, and contain very little sodium.
The 4,000-Year-Old Healer
The Modern Day Preventative
Sweet onions are a member of the 500-plus allium family. While garlic, another allium, has been highly touted as a cancer preventative, most people consume far greater quantities of onions. As Americans search for low-fat, low-salt, but tasty meals, they're eating more onions - almost 18 pounds per person, which is 50% more than a decade ago.
Therefore, there is greater hope that the onion will be a key in producing long-term health benefits. In addition to tasting great, onions contain 25 active compounds that appear to inhibit the growth of cancerous cells, help combat heart disease, inhibit strokes, lower blood pressure and cholesterol, and stimulate the immune system. Alliums are also antibacterial and antifungal, so they can help ward off colds and relieve stomach upset and other gastrointestinal disorders.
What Makes Them So Good for You?
Of all the healthy benefits of onions, two elements stand out: sulfur (a compound) and quercetin (a flavonoid). They each have been shown to help neutralize the free radicals in the body, and protect the membranes of the body's cells from damage. Quercetin, an antioxidant, is also found in red wine and tea, but in much lower quantities. Interestingly, white onions contain very little quercetin, so it's better to stick with the yellow and red varieties. Most health professionals recommend eating raw onions for maximum benefit, but cooking makes them more versatile and doesn't significantly reduce their potency. In fact, unlike sulfur compounds, quercetin can withstand the heat of cooking. One researcher, Dr. Leonard Pike, director of the Vegetable Improvement Center at Texas A&M University, is working on producing onions with even higher levels of quercetin.
Onions And Your Heart
As with garlic, onions help prevent thrombosis and reduce hypertension, according to the American H eart Association. The juice of one yellow or white onion a day can raise HDL cholesterol (the good stuff) by 30% over time, according to Dr. Victor Gurewich, director of the Tufts University Vascular Laboratory at St. Elizabeth's Hospital in Boston. Red onions don't provide the same effect.
Sweet Onions - The Tasty Way to Better Health
What tastier way to eat healthier than with sweet onions. Because they are milder and easier to digest, you can consume "sweets" in abundance, thus obtaining all the many health benefits that these delicious alliums offer. Best of all, you won't shed any tears in the process.
Serving Size: 1 medium onion (148g)
Amount Per Serving:
% of Daily Value
Onions are Beneficial for Your Health
Onions are beneficial to health
What would life be like without onions? The onion has been used as an ingredient in various dishes for thousands of years by many cultures around the world. World onion production is steadily increasing so that onion is now the second most important horticultural crop after tomatoes.
There are many different varieties of onion, red, yellow, white, and green, each with their own unique flavor, from very strong to mildly sweet. Onions can be eaten raw, cooked, fried, dried or roasted. They are commonly used to flavor dips, salads, soups, spreads, stir-fry and other dishes.
Onions (Allium cepa) belong to the lily family, the same family as garlic, leeks, chives, scallions and shallots.There are over 600 species of Allium, distributed all over Europe, North America, Northern Africa and Asia. The plants can be used as ornamentals, vegetables, spices, or as medicine. There are over 120 different documented uses of the Alliums.
Onion and other Allium vegetables are characterized by their rich content of thiosulfinates, sulfides, sulfoxides, and other odoriferous sulfur compounds. The cysteine sulfoxides are primarily responsible for the onion flavor and produce the eye-irritating compounds that induce lacrimation. The thiosulfinates exhibit antimicrobial properties. Onion is effective against many bacteria including Bacillus subtilis, Salmonella, and E. coli. Onion is not as potent as garlic since the sulfur compounds in onion are only about one-quarter the level found in garlic.
The Value of Onions
Onions have a variety of medicinal effects. Early American settlers used wild onions to treat colds, coughs, and asthma, and to repel insects. In Chinese medicine, onions have been used to treat angina, coughs, bacterial infections, and breathing problems.
The World Health Organization (WHO) supports the use of onions for the treatment of poor appetite and to prevent atherosclerosis. In addition, onion extracts are recognized by WHO for providing relief in the treatment of coughs and colds, asthma and bronchitis. Onions are known to decrease bronchial spasms. An onion extract was found to decrease allergy-induced bronchial constriction in asthma patients.
Onions are a very rich source of fructo-oligosaccharides. These oligomers stimulate the growth of healthy bifidobacteria and suppress the growth of potentially harmful bacteria in the colon. In addition, they can reduce the risk of tumors developing in the colon.
Onions contain a number of sulfides similar to those found in garlic which may lower blood lipids and blood pressure. In India, communities that never consumed onions or garlic had blood cholesterol and triglyceride levels substantially higher, and blood clotting times shorter, than the communities that ate liberal amounts of garlic and onions. Onions are a rich source of flavonoids, substances known to provide protection against cardiovascular disease. Onions are also natural anticlotting agents since they possess substances with fibrinolytic activity and can suppress platelet-clumping. The anticlotting effect of onions closely correlates with their sulfur content.
Onion extracts, rich in a variety of sulfides, provide some protection against tumor growth. In central Georgia where Vidalia onions are grown, mortality rates from stomach cancer are about one-half the average level for the United States. Studies in Greece have shown a high consumption of onions, garlic and other allium herbs to be protective against stomach cancer.
Chinese with the highest intake of onions, garlic, and other Allium vegetables have a risk of stomach cancer 40 percent less than those with the lowest intake. Elderly Dutch men and women with the highest onion consumption (at least one-half onion/day) had one-half the level of stomach cancer compared with those consuming no onions at all.
Western Yellow, New York Bold, and Northern Red onions have the richest concentration of flavonoids and phenolics, providing them with the greatest antioxidant and anti-proliferative activity of 10 onions tested. The mild-tasting Western White and Vidalia onions had the lowest antioxidant content and lowest anti-proliferative activity. The consumer trend to increasingly purchase the less pungent, milder onion varieties may not be the best, since the onions with a stronger flavor and higher astringency appear to have superior health-promoting properties.
Use and Safety
Onions have a universal appeal. They are safely consumed by most people. However, consuming large quantities of onions can lead to stomach distress and gastrointestinal irritation that may result in nausea and diarrhea. There are no known interactions with drugs except that they can potentiate the action of anticoagulants.
Onions, and other Allium species, are highly valued herbs possessing culinary and medicinal value. Some of their beneficial properties are seen after long-term usage. Onion may be a useful herb for the prevention of cardiovascular disease, especially since they diminish the risk of blood clots. Onion also protects against stomach and other cancers, as well as protecting against certain infections. Onion can improve lung function, especially in asthmatics. The more pungent varieties of onion appear to possess the greatest concentration of health-promoting phytochemicals.
Tuesday, September 21, 2010
Many times, in many ways I feel like this. It is important to remember though that Love conquers all, God is Love, and God loves me, and He also loves you. The best way to over come a love deficit though is by loving someone else. I am so blessed to have good friends who not only love me but I can be privileged to love back.
Thursday, September 16, 2010
Monday, September 13, 2010
Just because something works doesn’t mean that there is not a better way or a more efficient way to do it.
In the depression era if a bank wanted to count pennys, you would sit at a table and dump the pennys out and count them by hand. You would roll them up in a special sleeve and have .50 if you counted them right. You may have .49, you may have .51.
Of course today if you went to a bank and you saw a bunch of people sitting around tables manually sorting coins and putting them into sleeves, you would probably think of banking elsewhere.
Don’t discount a process because it is new, and don’t hang onto a process just because “we have always done it that way”. Just because it has always been done that way doesn’t mean that it is the right way, it is just the only way you know how to do it. There may be more efficient ways to do something or even better ways to do it that are more cost effective, more accurate, and overall better for your business.
I step off the soup box now.
Saturday, September 11, 2010
Thursday, September 2, 2010
Tuesday, August 10, 2010
Thursday, July 22, 2010
Sunday, July 18, 2010
Friday, July 16, 2010
Here are a couple of links for my ABAP friends from the latest edition of the Developers newsletter. There now is an iphone app that does an sap netweaver quiz that seems to be pretty cool. Put together by a developer that was learning objective-c on the side. I was happy to see that working in abap and objective-c has it similarities so as soon as I can get my Mac upgraded so that I can put snow leopard on it, I will also be trying my hand at learning objective-c and developing app for the ipad to go with the SAP interface that already exists for the ipad.
My dream is to be able to develop useful apps for the IPAD that sap developers could find useful. Time will tell as upgrading a Mac is almost as expensive as buying a new one.
Monday, July 12, 2010
I have been reading blogs recently on how SAP does work on Mac os x, but that developers would lose some functionality like the screen painter. Personally speaking, I don’t see a whole lot of difference between the sap screen painter and visual basics screen painter. If that is indeed the correlation, that the sap screen painter uses visual basic functionality to perform its thing, then I would then conclude that the screen painter can be modified to work using a mac friendly version of visual basic called Real basic. From what I have been reading, Real basic is almost exactly like visual basic with some minor coding styles that would have to be addressed to get it to work, but for most top dog programmers at sap who have been translating their stuff into different program languages for years, should find the differences to be just in keywords.
The main reason that it would be great to get the sap gui to work natively on mac is because of the new IPAD. The new IPAD is going to be as big as the iphone and may eventually replace the iphone in a later version as you can Bluetooth into it and use a VOIP like skype to make your phone calls on it through the no contract service provided by AT&T. So to have apps developed that would link your IPAD to your companies MAC server would be cool at the least but also be a boost to productivity out in the field. The IPAD can link to your MAC also so if you have a presentation program like Renewed visions pro-presenter, you can present your presentations to clients and potential clients in a level of professionalism that Microsoft can only dream about. So let the fun begin.
Thursday, June 24, 2010
Had a bit of a poser with a report that was taking 9.43 minutes to run. The problem was at the LIPS and LIKP table join. The only search criteria available was the EBELN and EBELP fields from the EKKO / EKPO table. What was needed was to get the value of VBELN using VGBEL in LIPS so a link to LIKP could be established and a couple of fields could be retrieved from LIKP that way for the report based on an entire ITAB full of EBELN entries gathered from the PO tables. The secondary index of VGBEL is not active for the LIPS table so the SQL optimisers were ineffective. Tried many ways to get the efficiency up on the report but with over a million records to search though there was just no easy way for the program to get the information needed using this configuration.
There is good news though. There is a table that holds the delivery document numbers that are associated to the Purchase order documents numbers that is other than LIPS.
The EKES table hold the cross reference and is a table that has just Purchase Order related documents stored in it. So I joined the EKES table with my LIPS / LIKP join at LIPS-VBELN = EKES-VBELN and in the "for all entries in ITAB where" used Where EKES~EBELN = ITAB-EBELN. This linked my group of PO EBELN's to the VBELN numbers supplying the link I needed to join the LIPS and LIKP tables using their primary keys. The run time of the report is now .45 minutes.
Here is a runtime charting of the two versions of the program as it ran in the ECD test environment: Figure 1 show with just LIPS / LIKP joined using VGBEL as the search and Figure 2 shows the runtime after adding in the EKES table as the cross reference.
Sunday, May 30, 2010
Sunday, May 23, 2010
Tuesday, May 18, 2010
Thursday, May 13, 2010
Friday, May 7, 2010
Friday, April 30, 2010
I heard this song on the radio.
You can watch the music video here:
The song is about the things that have been left unsaid and how we wish after the fact that we would have told those we love how much we love them while they were still here to tell.
Tuesday, April 27, 2010
To start, now that I am getting the correlation between ABAP and COBOL it is now time to increase value by learning JAVA.
In doing some research, I believe I will start here:
It looks like a good place to start.
Nice thing about learning JAVA, is that it works even outside of SAP.
In this economy, its best to learn as much as you can while you can.
I have been reading up in the ABAPDOCU in SAP that there is a class available to use in ABAP that will simulate a JAVA Script engine.
The class is CL_JAVA_SCRIPT.
According to the documentation there are 4 things you need to do to get the JAVA Script engine to function in the ABAP environment.
The following in exerpted from the ABAPDOCU:
Methods 2 to 4 are combined in the method EVALUATE.
I just used their class to write a hello world in JAVA SCRIPT also taken from their docu section…
DATA: js_processor TYPE REF TO cl_java_script,
return_value TYPE string.
js_processor = cl_java_script=>create( ).
js_processor->compile( script_name = 'SCR.JS'
script = 'var Field = "Hello World!";' ).
js_processor->execute( script_name = 'SCR.JS' ).
js_processor->evaluate( java_script = 'Field;' ).
So I guess my question is, If we have to have the PI environment to run certain programs because they require JAVA Script to run, WHY not convert them to use the JAVA_SCRIPT class?
Monday, April 26, 2010
Monday, April 19, 2010
Wednesday, April 14, 2010
Thought this would be cool to share with my ABAPer friends:
When writing a report that you know is going to take a long time to run, and it is an interactive report, use the status bar function to help your user see how far into the processing the report is, and give them a little bit of an idea how long it may be before it is finished and it displays. Start at the start of selection and use the status function module…
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
percentage = 05
text = 'starting load 5%'.
“SAPGUI_PROGRESS_INDICATOR” is a SAP function module for doing just that. I started my program out with one just inside the start of selection. This didn’t seem to do much because it skips past the start of selection and into the form routines rather quickly. I put another one after the sequel statement loading the bulk of the data into the internal tables.
IF NOT sy-subrc IS INITIAL.
ps_flag = 'N'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
percentage = 10
text = '...Main table loaded 10% done'.
The percentage export tells the function module how much in percentage to shade the clock that is on the status bar.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
percentage = 20
text = '...Processing data. 20% '.
In the form routines that take a while to run put another one to help keep track of the progress.
When you are about to list the report put your final one in with 100% loaded and a message telling your user that their report is coming.
IF ws_flag = 'Y' AND NOT gt_dump IS INITIAL.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
percentage = 100
text = '.....Here comes your report. 100% '.
CALL SCREEN 50.
MESSAGE i208(00) WITH 'No information returned.'(001).