Posts

Showing posts from September, 2016

Quotes For The Soul!

"Whatever is silenced will clamor to be heard, though silently." - Margaret Atwood, The Handmaid's Tale "Life is a game, boy. Life is a game that one plays according to the rules." - J.D. Salinger, The Catcher In The Rye "The creatures outside looked from pig to man, and from man to pig, and from pig to man again; buy already it was impossible to say which was which." - George Orwell, Animal Farm "Words can be like X-rays if you use them properly - they'll go through anything. You read and you're pierced." - Aldous Huxley, Brave New World "The thing is - fear can't hurt you any more than a dream." - William Golding, Lord of The Flies "People can tell you to keep you mouth shut, but that doesn't stop you from having your own opinion." - Anne Frank, The Diary of A Young Girl "Sometimes the dream that come true are the dreams you never even knew you had." - Alice Sebold, The Lovely Bones "The wo

Word of the day: Hadoop Cluster!

Embed from Getty Images Hadoop cluster   A Hadoop cluster is a special type of computational cluster designed specifically for storing and analyzing huge amounts of unstructured data in a distributed computing environment. Such clusters run Hadoop's open source distributed processing software on low-cost commodity computers. Typically one machine in the cluster is designated as the NameNode and another machine the as JobTracker; these are the masters. The rest of the machines in the cluster act as both DataNode and TaskTracker; these are the slaves. Hadoop clusters are often referred to as "shared nothing" systems because the only thing that is shared between nodes is the network that connects them. Hadoop clusters are known for boosting the speed of data analysis applications. They also are highly scalable: If a cluster's processing power is overwhelmed by growing volumes of data, additi

US DoD awarded Cessna Aircraft Co. to provide two(2) Cessna 208B Grand Caravan EX with ISR for the Philippine gov't

Image
AC 208B (ISTAR) Combat Caravan of Lebanon Airforce US DOD will provide two(2) Cessna 208B Grand Caravan EX aircraft for ISR( Intelligence, Surveillance and Reconnaissance ) Program. With the current Pres. Duterte strong rant and bad mouthing against US, hoping this project will still pushes through despite our alliance with the US gov't is in peril. This project will truly help our gov't in counterrorism, insurgency and also in maritime domain awareness and it is expected to be completed by Sept. 30, 2017. Cessna Aircraft Co., Wichita, Kansas, has been awarded a $23,998,813 firm-fixed-price contract for the Building Partnership Capacity C-208B Intelligence, Surveillance and Reconnaissance  Program. Contractor will provide six Cessna 208B Grand Caravan EX aircraft, three spare Pratt & Whitney PT6A-140 engines, and aircraft spares and ground handling equipment to the U.S. Africa Command and Pacific Command areas of responsibility in support of counterterr

DND vows to purchase more M113A2 APC mounted with 25mm M242 Bushmaster Machine Gun System

Image
M113A2 with 25mm RCWS from Elbit Systems. Photo by Tom Antonov CAPAS, Tarlac, Sept.21 ( PIA ) -- Defense Secretary Delfin Lorenzana vowed Tuesday to support the acquisition of more upgraded armored tanks for the Philippine Army. After the close inspection of the M113A2 Armored Personnel Carrier (APC), Lorenzana emphasized that he will concentrate on the allotment of additional budget for the purchase of more APCs. “We will get more of these [armored vehicles]. Hopefully, we can allocate funds from the government,” he stressed. Lorenzana noted that they can save bullets because of the concentrated shots of APCs. Aside from this, he intends to bring President Rodrigo Duterte to personally scrutinize the upgraded armored vehicles. “I’m sure he [President Duterte] will be delighted to see these [APCs],” Lorenzana added. Currently, there are four upgraded armored tanks in the Mechanized Infantry Division that will eventually be assigned in Sulu.  CLJD/TJBM PIA-3 CLJD/TJ

SAP ABAP Listbox error in VRM_SET_VALUES

Image
Problems: The selected item in Listbox were automatically added on the Listbox whenever you re-execute the program. See image below. You know you code it correctly and still wondering how it acted differently? The problem is in the key field. It should be in CAPITAL LETTERS. Then, how about the blank entry in Listbox? Just add OBLIGATORY on the parameter statements. Happy Abaping!

BAdI for Interest Rate Calculation in Treasury Management

Image
SAP Treasury Management How to change the Interest Rate in Tx FINT ? To achieved this we need to implement  BAdI ZFI_INT_CUS01 using the method Int_Change_Items. Let's say the requirement specified to change the Interest Rates based on the document type. If BLART equal to 'MD', interest rate would be '10'. If it's 'DA', interest rate would be '6'. We will be dealing with the following transaction, implementation and interface. 1) SE19 - BAdI 2) FI_INT_CUS01 - Definition 3) Method - IF_EX_FI_INT_CUS01~INT_CHANGE_ITEMS 4) Interface - INT_CHANGE_ITEMS Here is the code snippet to change the interest rate. */------------------------------------------------------------------------ method IF_EX_FI_INT_CUS01~INT_CHANGE_ITEMS . */------------------------------------------------------------------------ *break-point. Data: wa_Items Type intit_extf. Loop at ct_items into wa_Items.      if wa_Items-blart eq 'MD'.         wa_I

SAP ABAP: Smartforms/SAPscript formatting

Image
SAP Smartforms/SAPscript Smartforms Formatting Following are the few useful formatting options: Offset: N left-most characters of the symbol value will not be displayed. If symbol has the value 123456789, the following will be displayed: &symbol& -> 123456789 &symbol+3& -> 456789 &symbol+7& -> 89 &symbol+12& -> &symbol+0& -> 123456789   Output Length To define how many character positions should be copied from the value. If symbol has the value 123456789. &symbol(3)& -> 123 &symbol(7)& -> 1234567  The SYST-UNAME field contains the logon name of a user called Einstein. The Dictionary entry for this field contains an output length of 12. &SYST-UNAME&… -> Einstein… &SYST-UNAME(9)&… -> Einstein … &SYST-UNAME(*)&… -> Einstein … Omitting the Leading Sign The S option can be used to ensure that the value is formatted without the sign. The ITCDP-TDULPOS

Champions League: Ronaldo's Real Madrid will face Sporting CP!

Embed from Getty Images As the Champions League kick-off yesterday with a blasting win from Barcelona, now, it's our Real Madrid boys time to show their wares as they gun for "Duodécima".  Ronaldo's Real Madrid will face his boyhood team Sporting CP. This could be an exciting game for all those Madridistas. Hoping our scoring machine and rest of the guys will hit the back of the net. REAL MADRID SQUAD: Goalkeepers:  Casilla, Yáñez and Craninx. Defenders:  Carvajal, Pepe, Ramos, Varane, Marcelo and Danilo. Midfielders:  Kroos, James, Casemiro, Kovacic and Modric. Forwards:  Cristiano Ronaldo, Benzema, Bale, Lucas Vázquez and Morata. Vamos Real Madrid!!!

SAP ABAP: How to deactivate number range buffering in Payment Orders?

Image
A client ask why there's a gap in Payment Orders numbering and want to have no gaps. Solution:  The number range buffering was activated for Payment Orders object. We need to deactivate the number range buffering using the Tx SNRO. Step 1. Execute Tx SNRO. Step 2. On the object field, enter FI_PYORD and click the Change button.   Step 3. It will display the No. Range Object and shows the numbers in buffer. Step 4. Click on Edit menu -> Set-up buffering -> No buffering. Step 5. Click Save button. Caution: When you deactivate buffering, it will warn you the disadvantage effect on the performance. Good luck! Happy Abaping. Mabuhay, Philippines!

Behold! Janelle Frayna, Philippines’ 1st female chess grandmaster.

Another triumphant day for the Philippines in the field of sports. For the first time in history, a female chess grandmaster in the name of  Janelle Frayna! MANILA –Janelle Frayna became the Philippines’ first female chess grandmaster after achieving her third and final norm during Round 9 of the World Chess Olympiad in Baku, Azerbaijan on Sunday night. The 20-year-old distaff woodpusher drew with Mongolian foe Davaademberel Nomin-Erdene after 33 moves using the French Winawer Defense Poisoned Pawn Variation, giving her six points after nine matches, which was enough to hand her the norm. Nomin-Erdene, already a women’s GM, entered the tournament with a 2422 ELO rating, virtually making her a men’s IM. Apart from Nomin-Erdene, Frayna took on three other opponents with very high ELO ratings–even making the cut for the men’s GM–while also battling two WIM’s. After nine rounds, Frayna amassed six points on four wins and four draws, which was enough to give her t

Humanity still exist!

A very heartwarming incidents happen in the air. An unknown stranger offer to cuddle a crying baby as the pregnant mum slept during it's flight from Minneapolis to Atlanta. The picture shows the man walking down the aisle with the baby resting on his shoulder after he offered to help the lady who was pregnant and alone on the Atlanta-bound flight. Sharing the kind act on Facebook, GAFollowers wrote: "On a flight back to Georgia, this man, who was a stranger to this woman, offered to help her because she was pregnant and alone on the flight and her son was upset and fussy. Roshina Jowaheer. (2016, September 12). Passenger soothes fellow flyer's crying baby, photo goes viral. Retrieved from http://www.msn.com/en-ph/news/offbeat/passenger-soothes-fellow-flyers-crying-baby-photo-goes-viral/ar-AAiKKMc#image=1 The photo goes viral on all social media platforms. Reliving the act of kindness that somewhat seemss almost been forgotten by our younger generation. Yet, se

So what do you really want in life, Hunting Pokemon or hunting skills?

Image
With the advent of video games, MMORG(Massively Multiplayer Online Role-playing Games) and now AR( Augmented Reality ) for which Pokémon Go has raise the bar as far as video gaming is concerned. Adults and children were extremely devoting their time to learn new skills and to be the best on every games they want. Sounds so great but then, what about the skills they needed to learn to help them as they struggle in this circle of life? Not unless if you want to have a career path in playing games for the sake of money, just like those DOTA players gunning to win the prestigious prize the highest ever in computer games. "Dota 2 breaks its own record for biggest prize pool in e-sports" . Or maybe follow this guy who quits his job to play Pokemon GO full time ? But then, what if you want to learn skills in Information Technology aside from the one you've learned in schools? Sometimes you need to splash a certain amount of money just to have those basic skills or to be

The Future is really here, Google Deepmind!

Humans are evolving and so are the technology. Google has announced another breakthrough in Artificial Intelligence through its DeepMind , which was acquired in 2014 from DeepMind Technologies Limited, a British Artificial Intelligence company. Google buys UK artificial intelligence startup Deepmind for £400m "Google has announced WaveNet, a speech synthesis program that uses AI and deep learning techniques to generate speech samples better than current technologies. By analyzing samples 16,000 a second, it can generate human-like speech and even its own music compositions." Jelor Gallego. (2016, September 9). Futurism. Retrieved from http://futurism.com/at-last-googles-deepmind-ai-can-make-machines-sound-like-humans/ So, What is DeepMind? According to their website , “the best techniques from machine learning and systems neuroscience to build powerful general-purpose learning algorithms.”  More about DeepMind Technologies... Google DeepMind What Is DeepM

SAP ABAP: Capturing CHECK BOX event in FM REUSE_ALV_GRID_DISPLAY / Cell Editing

Image
Requirement: Show total number of rows selected as message whenever a user     click on a check box column in REUSE_ALV_GRID_DISPLAY. To accomplish this, we have to use EVENTS in REUSE_ALV_GRID_DISPLAY to capture changes made by the user. In data declaration: Data: gt_events  TYPE slis_t_event,         wa_events  TYPE slis_alv_event. */------------------------------------------------------------------------  FORM display_alv_report. */------------------------------------------------------------------------ gd_repid = sy-repid. Refresh: gt_events. wa_events-name = 'CALLER_EXIT'. wa_events-form = 'CALLER_EXIT'. APPEND wa_events TO gt_events. wa_events-name = 'DATA_CHANGED'. wa_events-form = 'DATA_CHANGED'. APPEND wa_events TO gt_events. CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'      EXPORTING           i_callback_program       = l_repid           I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'           I_CALLBACK_USER_CO

SAP ABAP How to create double rule line in Smartforms print output using table line?

Image
Working with SAP ABAP has been great and challenging. The euphoric feeling when the end user start using your program and they were awed by the output far beyond their imagination. But sometimes, all those great achievements just turn into dust when they want a simple request, from their point of view, just a very simple request, and yet you could not deliver it. Take for example the "Double Rule" in accounting reports, most specifically, the Financials Reports. FI Functional and end-user pushes that report should show the double rule line. In order to satisfy their needs, I just put '=' after printing the grand total. Though it's okey for them, but on my part I still feel uneasy for not able to deliver what they want. The very simple request were unattainable! After experimenting Smartforms, table lines and Smartstyle, Gotcha! I was able to find the solution or trick to able to show "double rule" in printing reports. Here is my simple solut

Samba File Sharing

When I first fired up my Samba File Sharing using Ubuntu Karmic Koala, I was so ecstatic that I could now say goodbye to our Novell Netware File Sharing. Kind of creppy at first, knowing this is Linux environment but everything worked smoothly. Very fast and efficient as what network users would always say. Indeed it was superb. And then came the viruses and worm starting to creep on Samba shared folders. Some infect and morphed dramatically in seconds that almost devour the Network resources. It totally drained me down and had to find some sort of magical powers that can resolved this. Good to know that the Power of Sharing has evolved and by a mere googling about Samba File Sharing, countless solutions popped up and I see the "tunnel of light". The Veto files was the answer. When I applied it into every Samba Shared folder config, I could feel the viruses keep on banging their heads into every Shared folders without success.  In Veto command, I put those

ABAP 2nd ALV Grid display nothing

Image
You want to display all the corresponding entries of that particular row by using Function 'REUSE_ALV_GRID_DISPLAY' but it display an empty ALV. Based on my experience, the main ALV had a custom layout being used. Workaround is, you just add the i_default with a value of space on its exporting parameter. Solution: Just add the i_default parameter with a space value. Call Function 'REUSE_ALV_GRID_DISPLAY'        Exporting                 i_default                = ' '   - add this parameter.     Mabuhay, Philippines!

SAP ABAP: Using BTE in FB02 or FB03 to reflect changes made on FI document to Custom table

Image
Requirements: Need to update custom table field when changes made on FI Document number. We can use the BTE(Business Transaction Events) to capture changes made on a particular FI Doc. Please follow these steps. 1) Execute Tx FIBF. Click on Menu-Evironment. 2). Select "Info system(P/S)".   3). On the Publish & Subscribe Interfaces, just press the execute button. 4). Upon executing, it will list all existing P&S BTE. From the list, we will going to use the 00001110 - CHANGE DOCUMENT. This BTE will be fired up once the SAVE button is clicked. Double click the CHANGE DOCUMENT. 5). On the Interface Detail, click on the Sample function module button. 6). It will proceed to Transaction Function Builder. 7). Copy the function module to custom function. 8). Select function group. 9). On the function module source code, we could see the interface IMPORTING and the TABLES. 10). See sample codes to update custom table sgtext. From the interfa