English

How to count page number of report in ABAP/4

In the first session we can define TOP-OF-PAGE event as normally and we will insert the special wording replace the page count.

In the second session we will place this code at the last of program. This session will replace back the no. of last page to special wording that you define in the first session. 

*** Note: If the special wording is not in the first line of report, you can change the sentence ’READ LINE 1 OF PAGE SY-INDEX.’ to ’READ LINE X OF PAGE SY-INDEX.’ by X is the no. of line that you want to modify.

How to get windows filename in ABAP/4

Method 1

CALL FUNCTION ’KD_GET_FILENAME_ON_F4’
EXPORTING
MASK = ’,*.txt,*.*’
STATIC = ’X’
CHANGING
FILE_NAME = LV_FILE.

Method 2 


CALL FUNCTION ’F4_FILENAME’
EXPORTING
         program_name = syst-cprog
         dynpro_number = syst-dynnr
         field_name  

Optical Mouse Cam

e1Wow! What’s a funny thing? Do you ever think how a optical mouse works? Yes! You can turn your mouse into some kind of scanner or camera because it must have a optical sensor (mostly CCD).

People get bored sometimes, and when I get bored I sometimes open up stuff to find out what makes it tick. One time, I did this with an old optical mouse. Well, a mouse only has 2 chips inside: the optical sensor and a chip for the usb/ps2-interfacing. I looked up the datasheet of the optical sensor (which is an ADNS2610) and it told me the sensor has a tiny 18x18 CCD, which can be read out using the serial port (the one which normally interfaces to the PS2/USB-chip).
Optical Mouse cam

Event of Report in ABAP/4

In ABAP/4, the event immidiately begins when the program is running. In general, these events is normally used in the report:

  • INITIALIZATION
    This is the first event when the report generated. We can modify default value of selection screen.
  • AT SELECTION-SCREEN
    If we want to verify input data before executing program, we will use this event. This event is triggered when user press Enter.
  • START-OF-SELECTION
    This event is activated at the main process when the program is executed.
  • END-OF-SELECTION
    This event is activated follow on START-OF-SELECTION event.

JAN. 6 7:01 P.M. ET Google Inc. is upping the ante in the online video gold rush, allowing content owners to set their own prices in a bid to create a more flexible alternative to Apple Computer Inc.'s pioneering iTunes store.

Google's video expansion, announced Friday at the Consumer Electronics Show, already has lined up commitments to sell thousands of downloads, including recent television broadcasts of popular CBS shows and professional basketball games, as well as vintage episodes from series that went off the air decades ago.

"It's the biggest marketplace of content that was previously offline and is now brought online," said Jennifer Feikin, director of Google Video.

Double Revenue from AdSense

Take a look! It would be better if you just blend AdSense color, size, and placement into your content.

Now, how easy would it be to raise that 1% to 2%? That’s not a very big jump by any means. Quite likely, you could jump to 2% or even 3% by doing nothing more than tweaking your AdSense colors, ad size and/or placement. Little tweaks. Tiny tweaks. Nothing major at all.
The Secret to Becoming a Professional Blogger in Half the Time: Blog Tips at ProBlogger