*&---------------------------------------------------------------------**& Chapter 25: Working with temporary programs*&---------------------------------------------------------------------*REPORT CHAP2501.* Internal table for source code, field for name of temporary programDATA: SOURCE_TABLE(72) OCCURS 10 WITH HEADER LINE, PROGRAM_NAME LIKE SY-CPROG.* Building the source codeAPPEND 'report test.' TO SOURCE_TABLE.APPEND 'form display.' TO SOURCE_TABLE.APPEND 'write ''I am a temporary program''.' TO SOURCE_TABLE.APPEND 'endform.' TO SOURCE_TABLE.* Generating the temporary programGENERATE SUBROUTINE POOL SOURCE_TABLE NAME PROGRAM_NAME.* Calling a form externallyPERFORM DISPLAY IN PROGRAM (PROGRAM_NAME).
*&---------------------------------------------------------------------**& Chapter 25: Syntax errors in temporary programs*&---------------------------------------------------------------------*REPORT CHAP2502.* Variables for later useDATA: SOURCE_TABLE(72) OCCURS 10 WITH HEADER LINE, PROGRAM_NAME LIKE SY-CPROG, SYNTAX_CHECK_MESSAGE(128), LINE_NO TYPE I.* Building the source codeAPPEND 'report test.' TO SOURCE_TABLE.APPEND 'form display.' TO SOURCE_TABLE.APPEND 'write ''I am a temporary program''.' TO SOURCE_TABLE.APPEND 'endform' TO SOURCE_TABLE.* Generating the temporary program, checking syntax errorsGENERATE SUBROUTINE POOL SOURCE_TABLE NAME PROGRAM_NAME MESSAGE SYNTAX_CHECK_MESSAGE LINE LINE_NO.IF SY-SUBRC NE 0. WRITE: / 'Syntax error, message', SYNTAX_CHECK_MESSAGE, / 'in line', LINE_NO. EXIT.ENDIF.* Cal
*&---------------------------------------------------------------------**& Chapter 25: A real life example for using a temporary program*&---------------------------------------------------------------------*REPORT CHAP2503.* Variables for later usePARAMETERS TABNAME(10) DEFAULT 'CUSTOMERS'.DATA: SOURCE_TABLE(72) OCCURS 100 WITH HEADER LINE, PROGRAM_NAME LIKE SY-CPROG, SYNTAX_CHECK_MESSAGE(128), LINE_NO TYPE I.* Building the source codePERFORM BUILD_THE_SOURCE_CODE USING TABNAME.* Generating the temporary program, checking syntax errorsGENERATE SUBROUTINE POOL SOURCE_TABLE NAME PROGRAM_NAME MESSAGE SYNTAX_CHECK_MESSAGE LINE LINE_NO.IF SY-SUBRC NE 0. WRITE: / 'Syntax error, message', SYNTAX_CHECK_MESSAGE, / 'in line', LINE_NO. EXIT.ENDIF.* Calling a form externallyPERFORM DISPLAY_TABLE IN PROGRAM (PROGRAM_NAME).* Form to build the source code of the temporary programFORM BUILD_THE_S
*&---------------------------------------------------------------------**& Chapter 25: Generating a persistent program*&---------------------------------------------------------------------*REPORT CHAP2504.* Internal table for source code, field for name of temporary programDATA: SOURCE_TABLE(72) OCCURS 10 WITH HEADER LINE, PROGRAM_NAME LIKE SY-CPROG.* Building the source codeAPPEND 'report zgenprog.' TO SOURCE_TABLE.APPEND 'write ''I am a generated program''.' TO SOURCE_TABLE.* Insert the report, if necessaryREAD REPORT 'zgenprog' INTO SOURCE_TABLE.IF SY-SUBRC NE 0. APPEND 'report zgenprog.' TO SOURCE_TABLE. APPEND 'write ''Here is zgenprog''.' TO SOURCE_TABLE. INSERT REPORT 'zgenprog' FROM SOURCE_TABLE.ENDIF.* Execute the reportSUBMIT ZGENPROG AND RETURN.
*&---------------------------------------------------------------------**& Chapter 26: Transferring data to a file*&---------------------------------------------------------------------*REPORT CHAP2601.* Data declarations for later usePARAMETERS FILENAME(128) DEFAULT '/usr/tmp/testfile.dat' LOWER CASE.TABLES CUSTOMERS.DATA MSG_TEXT(50).* Get data for file transferDATA ALL_CUSTOMERS LIKE CUSTOMERS OCCURS 100 WITH HEADER LINE.SELECT * FROM CUSTOMERS INTO TABLE ALL_CUSTOMERS.SORT ALL_CUSTOMERS BY CITY.LOOP AT ALL_CUSTOMERS. WRITE: / ALL_CUSTOMERS-CITY, ALL_CUSTOMERS-NAME.ENDLOOP.* Opening the FileOPEN DATASET FILENAME FOR OUTPUT IN TEXT MODE MESSAGE MSG_TEXT.IF SY-SUBRC NE 0. WRITE: 'File cannot be opened. Reason:', MSG_TEXT. EXIT.ENDIF.* Transferring DataLOOP AT ALL_CUSTOMERS. TRANSFER ALL_CUSTOMERS-NAME TO FILENAME.ENDLOOP.* Closing the FileCLOSE DATASET FILENAME.
*&---------------------------------------------------------------------**& Chapter 26: Reading data from a file*&---------------------------------------------------------------------*REPORT CHAP2602.* Data declarations for later useTABLES CUSTOMERS.PARAMETERS FILENAME(128) DEFAULT '/usr/tmp/testfile.dat' LOWER CASE.DATA: MSG_TEXT(50), ALL_CUSTOMER_NAMES LIKE CUSTOMERS-NAME OCCURS 100 WITH HEADER LINE.* Opening the FileOPEN DATASET FILENAME FOR INPUT IN TEXT MODE MESSAGE MSG_TEXT.IF SY-SUBRC NE 0. WRITE: 'File cannot be opened. Reason:', MSG_TEXT. EXIT.ENDIF.* Reading DataDO. READ DATASET FILENAME INTO ALL_CUSTOMER_NAMES. IF SY-SUBRC NE 0. EXIT. ENDIF. APPEND ALL_CUSTOMER_NAMES.ENDDO.* Closing the fileCLOSE DATASET FILENAME.* Display the resultLOOP AT ALL_CUSTOMER_NAMES. WRITE / ALL_CUSTOMER_NAMES.ENDLOOP.
*&---------------------------------------------------------------------**& Chapter 26: Transferring data to a file (presentation server)*&---------------------------------------------------------------------*REPORT CHAP2603.* Data declarations for later usePARAMETERS FILENAME(128) DEFAULT 'c:\users\default\testfile.dat' LOWER CASE.TABLES CUSTOMERS.DATA ALL_CUSTOMERS LIKE CUSTOMERS OCCURS 100 WITH HEADER LINE.* Get data for file transferSELECT * FROM CUSTOMERS INTO TABLE ALL_CUSTOMERS.SORT ALL_CUSTOMERS BY CITY.LOOP AT ALL_CUSTOMERS. WRITE: / ALL_CUSTOMERS-CITY, ALL_CUSTOMERS-NAME.ENDLOOP.* Transferring DataCALL FUNCTION 'WS_DOWNLOAD' EXPORTING FILENAME = FILENAME TABLES DATA_TAB = ALL_CUSTOMERS EXCEPTIONS FILE_OPEN_ERROR = 1 OTHERS = 2.CASE SY-SUBRC. WHEN 1. WRITE 'Error when file opened'. EXIT. WHEN 2. WRITE 'Error during data transfer'.
*&---------------------------------------------------------------------**& Chapter 26: Reading data from a file (presentation server)*&---------------------------------------------------------------------*REPORT CHAP2604.* Data declarations for later usePARAMETERS FILENAME(128) DEFAULT 'c:\users\default\testfile.dat' LOWER CASE.TABLES CUSTOMERS.DATA ALL_CUSTOMERS LIKE CUSTOMERS OCCURS 100 WITH HEADER LINE.CALL FUNCTION 'WS_UPLOAD' EXPORTING FILENAME = FILENAME TABLES DATA_TAB = ALL_CUSTOMERS EXCEPTIONS FILE_OPEN_ERROR = 1 OTHERS = 2.CASE SY-SUBRC. WHEN 1. WRITE 'Error when file opened'. EXIT. WHEN 2. WRITE 'Error during data transfer'. EXIT.ENDCASE.* Display the resultLOOP AT ALL_CUSTOMERS. WRITE: / ALL_CUSTOMERS-NAME, ALL_CUSTOMERS-CITY.ENDLOOP.
*&---------------------------------------------------------------------**& Chapter 28: Sample program for OLE Automation*&---------------------------------------------------------------------*REPORT CHAP2801.* Including OLE typesINCLUDE OLE2INCL.* Tables and variables for later useTABLES: CUSTOMERS.DATA: APPLICATION TYPE OLE2_OBJECT, WORKBOOK TYPE OLE2_OBJECT, SHEET TYPE OLE2_OBJECT, CELLS TYPE OLE2_OBJECT.* Creating an objectCREATE OBJECT APPLICATION 'excel.application'.IF SY-SUBRC NE 0. WRITE: / 'Error when opening excel.application', SY-MSGLI.ENDIF.* Setting propertiesSET PROPERTY OF APPLICATION 'Visible' = 1.* Calling methodsCALL METHOD OF APPLICATION 'Workbooks' = WORKBOOK.PERFORM ERRORS.CALL METHOD OF WORKBOOK 'Add'.PERFORM ERRORS.CALL METHOD OF APPLICATION 'Worksheets' = SHEET EXPORTING #1 = 1.PERFORM ERRORS.CALL METHOD OF SHEET 'Activate'.PERFORM ERRORS.PERFORM FILL_SHEET.* Subroutine for filling the spread sheetFORM FILL_SHEET. DATA: ROW
ViewCast Corporation (BULLETIN BOARD: VCST) , a leader in the Internet streaming industry for products that capture, encode and stream live and on-demand digital media content over the Internet and mobile networks, has signed an agreement to join the Polycom ARENA partner program. Polycom, a leader in unified collaboration communications, initiated the ARENA program to allow software application providers, hardware device manufacturers, and conferencing solution providers to integrate their products with Polycom's industry leading unified collaboration platform to create new applications.ViewCast has integrated Niagara(R) Pro rack-mount streaming encoder systems and the Niagara GoStream(R) portable systems with the Polycom unified collaboration platform to enable advanced streaming capabilities. This integration provides concurrent streaming and archiving in multiple formats such as Windows Media, Flash, Mpeg-4/H.264 or Real Media and provides user controls for branding, resolution cus
The Goldman Sachs Global Leaders Program (GSGLP) was established by the Goldman Sachs Foundation in 2001. The Goldman Sachs Global Leaders Program is administered by the Institute of International Education (IIE) in partnership with educational organizations in selected countries, conducts an annual international competition at over 90 top-ranked universities in 19 countries.
The competition
Following is the c++ code to send a email using visual c/c++. Be for you begin you need to have chilkatsoft's Chilkat C++ Libraries for VC++ for win 32 . Downlaod one of these based on your version of VC++ VC++ 8.0 / VC++ 7.0 / VC++ 6.0 . Once you download it copy and store it in your headerfiles folder.// create mail message objectMailMessage mail = new MailMessage();mail.From = ""; // put the from address heremail.To = ""; // put to address heremail.Subject = ""; // put subject here mail.Body = ""; // put body of email hereSmtpMail.SmtpServer = ""; // put smtp server you will use here // and then send the mailSmtpMail.Send(mail);Here goes the program vc++ code#define _CRTDBG_MAP_ALLOC#include "windows.h"#include "crtdbg.h"#include "string.h"#include "CkSettings.h"#include "CkEmail.h"#include "CkEmailBundle.h"#include "CkMailMan.h"#include "CkString.h"#include "CkByteData.h"void EmailExample(void){CkMailMan mailman;// This seems to have a 30-day
Web Host R1Soft, a developer of near-continuous data protection products for Linux and Windows, today introduced its Channel Partner Program, empowering channel providers and resellers to more...
Read more at http://websitemakinginfo.blogspot.com
Blog Talk Radio Now Has A Revenue SharingProgram For The Talk Show HostsBlog Talk RadioCitizen MediaSocial MediaBlog Talk Radio Has Started A NewRevenue Sharing Program For TheTalk Show HostsThe New Revenue Sharing ProgramStarted In Janury 2008www.BlogTalkRadio.com/
Departemen Komunikasi dan Informatika pada tahun 2008 kembali membuka kesempatan dan menyediakan beasiswa pendidikan s2 dan s3 di luar negeri bagi PNS di lingkungan lembaga pemerintah, karyawan/karyawati di lembaga pendidikan, dan Industri teknologi informasi dan komunikasi (TIK), serta masyarakat umum.
Persyaratan:
1. Lulusan sarjana S1 untuk pendidikan S2 dan lulusan S2 untuk pendidikan S3
ABAP Questions:I have generated a list containing say 20 lines, I need to display a checkbox on each line. Based on the user selection on the checkbox I need to capture the lines choosed by the user. How to do this? *Program to Test Line Selection & Scrolling within Document:Rajiv* Creating Text file of selected data* carton selection*-----------------------------------------------------------REPORT ZRJ001LINE-SIZE 120 LINE-COUNT 60 NO STANDARD PAGE HEADING.*------------------------------------------------* Defining Tables*-----------------------------------------------TABLES : ZPACK,ZTRN.*------------------------------------------------* Defining Internal Tables*-----------------------------------------------*DATA : IZPACK LIKE ZPACK OCCURS 0 WITH HEADER LINE.DATA : BEGIN OF IZPACK OCCURS 0, ZPKSLIP_NO LIKE ZPACK-ZPKSLIP_NO, ZBATCH_NO LIKE ZPACK-ZBATCH_NO, ZCARTON_NO LIKE ZPACK-ZCARTON_NO, ZDATE LIKE ZPACK-ZDATE, ZMATNR
** Creating new program via ABAP* WARNING : It Overwrite Original Report with same name* Written by : SAP Basis, ABAP Programming and Other IMG Stuff* *REPORT ZCREATE_NEW_PROGRAM_VIA_ABAP. * Type of an editor line: rssource-lineDATA: code TYPE TABLE OF rssource-line. * Report NameAPPEND 'REPORT ZTESTING.' TO code. * Report CodeAPPEND 'WRITE / ''Program created via ABAP!''.' TO code. * Report Name in SE38INSERT REPORT 'ZTESTING' FROM code. WRITE: / 'Report created (old report with same name overwritten).'.WRITE: / 'Please check via transaction SE38'. *-- End of Program
I was reading this article at Universe Today and felt it necessary to comment on the state of the space program in this country. I have concerns, you see, and they are legit concerns. Or so I think.The article talks about the repairs that will be done on Hubble in a way that sounds as if the astronauts have better things to do. I'll admit that they probably do, but it's also not Hubble's fault that they have other crap to do. Needless to say, Hubble is getting an upgrade and will be 90 times more sensitive and be capable of picking up over 900 galaxies as its field of vision is being increased. Also, its lifespan is being extended to 2013, with a scheduled decommission date in 2020 (which is part of what I want to discuss). Firstly, I'm glad to hear that they'll be fixing this amazing satellite. It apparently suffered a power failure in January of last year and is in need of some fixing. Thanks to NASA for fitting it into their schedule.Here is my concern, though. What does th
Richard Godfrey is one of the selected few that have earned the Microsoft Certified Architect (MCA) certification, the newest, most robust Microsoft certification offered. Click here for an in-depth description of the MCA program. Richard is presently the CEO of www.iprinciples.com, which specializes in the design and delivery of high quality Rich Internet Applications (such as 3D book and
The Microsoft Certified Architect Program The MCA certification raises the bar to an entirely new level for Microsoft who has in the past been accused of facilitating paper-certified “engineers” with the MCSE program. With its steep costs ranging from $10,000 to $25,000 (depending on which architect program you’re seeking) to its rigorous on-campus boards where you defend a real-world
GOLDEN, CO. (January 31, 2008)…PENTAX Imaging Company has announced a PENTAX Professional Services program (PPS) to support professional photographers with several services and benefits. Designed exclusively to support PENTAX products for the working pro, membership is complimentary and limited to working professional photographers. Known for superior photography products including the K series of digital SLR camera bodies that are compatible with every PENTAX lens ever made, PENTAX systems allow lens interchangeability for a multitude of photographic options. PENTAX will continue to release new and exciting lenses including super fast, special purpose, impressive zoom ranges, and telephoto lenses that will incorporate the new SDM (Supersonic Drive Motor) technology for ultra fast and quiet auto-focusing.Benefits to members of the new PPS program include:· 72 hour rush turnaround on most PENTAX digital SLR repairs. (Repair charges may be incurred depending on existing
That's right, our glorious, slowly dying space program is officially 50 years old today. I think it's cause for some celebration. As such, I'm officially holding a "Yay, our SP is 50" party over Superbowl. Who's with me?On a side note, here is a New Scientist article on this very subject, though they're not offering to host a Superbowl party in Van Allen's favor...(Don't click the read more, there isn't any more after this!)
*&---------------------------------------------------------------------**& Chapter 10: Using interface parameters of a form*&---------------------------------------------------------------------*REPORT CHAP1004.* Types and data for later useTYPES: T_NAME(20).DATA: NAME_1 TYPE T_NAME VALUE 'A', NAME_2 TYPE T_NAME VALUE 'B'.* Calling a form with different parametersPERFORM SET_NAME CHANGING NAME_1.PERFORM SET_NAME CHANGING NAME_2.* Defining a form with a parameterFORM SET_NAME CHANGING F_NAME TYPE T_NAME. WRITE F_NAME. F_NAME = 'Smith'. WRITE F_NAME.ENDFORM.
Program Manager - Mobile Applications (L61)
Dublin, Ireland
It’s innovative. It’s fun. It’s challenging. It’s core product development for Microsoft in Europe. Check us out at www.joinmicrosofteurope.com to see a complete list of our job openings.
Microsoft is looking for a highly motivated Senior Program Manager with a creative, inquisitive, and explorative mind who is passionate about shipping quality software.
Program managers often come from a technical background and are expected to come up with creative and innovative approaches to meeting customer requirements.
Join us to become an integral part of Microsoft’s “Mobile” and “Live” strategy. As part of our Dublin-based Global Product Development team, you will be driving the delivery of features and services for mobile phones.
We are building key features for social networking, communications platform, commercialization, and other areas. You and your team will be responsible for all aspects of product f
Jeff Alderson has just launched a new and FREE co-op program based on publishing ad links, but it’s not just mindlessly clicking on links to amass credits. Ad links will get ranked based on quality. It looks like TrafficSwarm too, with the option to customize your surfing page as your browser’s start page and upgrade to [...]
Following is the c++ code to send a email using visual c/c++. Be for you begin you need to have chilkatsoft's Chilkat C++ Libraries for VC++ for win 32 . Downlaod one of these based on your version of VC++ VC++ 8.0 / VC++ 7.0 / VC++ 6.0 . Once you download it copy and store it in your headerfiles folder.// create mail message objectMailMessage mail = new MailMessage();mail.From = ""; // put the from address heremail.To = ""; // put to address heremail.Subject = ""; // put subject here mail.Body = ""; // put body of email hereSmtpMail.SmtpServer = ""; // put smtp server you will use here // and then send the mailSmtpMail.Send(mail);Here goes the program vc++ code#define _CRTDBG_MAP_ALLOC#include "windows.h"#include "crtdbg.h"#include "string.h"#include "CkSettings.h"#include "CkEmail.h"#include "CkEmailBundle.h"#include "CkMailMan.h"#include "CkString.h"#include "CkByteData.h"void EmailExample(void){CkMailMan mailman;// This seems to have a 30-day
At the time when I was busying with my work, Google had decided to change the referral payment structure on Adsense program. All the Asian publishers (except for those in Japan), are not allowed to participate in Adsense program referral. This is definitely a bad news to all of us, as referral payment constitutes a significant portion of my income in Adsense. This is pretty much the same as those programs I always recommend like Bidvertiser and Text Link Ads. This decision was made on 8th January 2008, and since then, there are so much echos and complaining voices over this. (If I wasn't busying with my normal work, I would also write Google an complain letter on this.) As a result of this, Google has announced another new referral payment structure on Adsense program. But..."The changes to referrals promoting AdSense will now depend on where your users are located, regardless of your location as a publisher. You'll earn $100 for every user you refer to AdSense who is located in North
Liberty University’s distance learning program ranks third on the OEDb’s Online College Rankings 2008. Liberty University ranks ahead of Florida’s Nova Southeastern University at #3. NSU comes in at #4.
Liberty University’s distance learning program proves time and again its value for offering an affordable, convenient, and flexible means for adult learners to earn an accredited [...]
BurnAware (http://www.glorylogic.com/index.html) ücretsiz bir CD/DVD yazma programýdýr. Modern bir arayüze sahip olan bu yazýlým, her türlü CD, DVD, bluRay...
From CNET News.com:
Renault-Nissan, the government of Israel, and an electric charging station start-up founded by Shai Agassi are mounting an effort to make electric cars part of ordinary life in Israel in the next decade. Project Better Place, Agassi's organization, will try t
Should MSN be able to offer window xp service pack 2 sufficiently debugged to avoid conflicts with, say, Money? I think so, but it still caused the program to malfunction and also negatively impacted many other Windows and DOS programs on my Gateway computer running WIN-XP.
Fortunately, MSN techs assisted me to delete window xp service pack 2 from every nook and cranny and restored my
If you can speak, you can sing learn to sing with American Idol Singer's Advantage sing like a star with this vocal coaching program. Sing like a pro or perfect for music students, aspiring singers, actors, and even karaoke lovers. Within minutes identifies your specific vocal problems. Then fixes them by giving you a customized lesson plan that is tailored to your exact vocal needs. No matter what kind of music you are into or whether you are a beginner, intermediate, or advanced. Works for all types of singing types including rock, R&B, pop, and country.American Idol Singer's Advantage creates an immediate and noticeable improvement in your singing with a patented technique called SLS Speech Level Singing. Developed by vocal coach of the stars, Seth Riggs he is the founder of the revolutionary SLS technique that is in the American Idol Singer's Advantage home course. Seth is the undisputed top vocal coach-singing instructor in the world. Learn to sing like an American Idol to discov
MBA Full Scholarship Thunderbird Program
Full Tuition Scholarship for Indonesian National
Thunderbird has dedicated a full tuition scholarship for a successful Indonesian applicant for the Fall 2008 intake. Application deadline: April 28, 2008
Details:
. Covers tuition fees for 60 credit hour program (approx. value USD 75,000)
. Does not include living expenses, course materials, health
I have been trying out Windows Live Mail for a few days. I think I love it! I have always used Outlook Express and liked it [Mrs. M now dodges tomatoes]. Yes, I have tried other email clients (Eudora, Thunderbird, Outlook, other no-name brands) and just preferred OE.My only bone of contention with OE is that it has not been able to configure for my Gmail (no big deal; I'm not terribly fond of Gmail and all my Gmail is forwarded to my MSN email anyway). It also doesn't like my free hotmail account. Weird. So I have juggled two email clients-- OE for all my POP3 emails, and Hotmail for my hotmail account.Well! I am using Windows Live Mail, and it handles them all! I think I love this thing. But I love it even more for two other reasons:1. Every time I get an email, a little notification window pops up. I love this! I like to know when my email comes, because sometimes I get so busy and completely forget to check. This is wonderfully helpful.2. I can minimize the program into the system t
There are some good thoughts and a bad testimony over at The Apple Doesn't Fall Far. A friend of hers has had blog content stolen and plagiarized.So where the recording industry and big government now, for us, the little guy?Rrrrright.A few weeks ago, I'd found that someone had plagiarized my travel blog's account of our trip to Cooperstown. The creeps. What concerns me(not to downplay anything else, however) is the theft of photographs and such. I'd read that if you upload your photos to Google, then Google has permission to do with them as they please, forever. Surprise, surprise. Flickr has authority for as long as you leave your photos on their service. It's a very touchy issue. It is also skewed (still no surprises) to protect the greedy corporation and punish the little guy. How can the recording industry slam consumers like they do and yet plagiarism and theft goes unnoticed as long as we are victims?I am looking for a photo watermarking program. I have been for about six months
ADB- Japan Scholarship program (application form required)
Deadline: March 2008, online application
ADB-Japan Scholarship program is awarded annually by Government of Japan to citizens of developing member countries of the ADB. Up to 11 scholarships are available for award annually to full-time students in the MBA and some Master programs in other departments.
Please refer to the following links