P. 1
Sap Abap Report

Sap Abap Report

|Views: 99|Likes:
Published by rachit029

More info:

Published by: rachit029 on Sep 29, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

04/12/2013

pdf

text

original

Report On Industrial Training

(09th June,2011 to 10th August,2011)

at

VERSION IT PVT. LTD., HYDERABAD
Submitted by

Rachit Goyal
in

Partial fulfilment of Award of B.Tech. Degree
In

Information Technology
of

Rajasthan Technical University, Kota

(Department of Information Technology)

GLOBAL INSTITUTE OF TECHNOLOGY,JAIPUR
(Accredited with „A‟ Grade by NAAC-UGC)

ACKNOWLEDGEMENT

I feel profound pleasure in forwarding this industrial practical summer training report as an attempt of my sincere efforts. It is almost inevitable to ensure indebtedness to all who generously helped me by sharing their valuable experience & devoting their precious time to me, without whom this industrial summer training report would never have been come to a successful finish. I extend my thanks & gratitude to whole VERSION IT PVT. LTD. Team , Mr. Prashant , Mrs. Veena , Mr. Prakash Ramani (H.O.D. Computer Science and Information Technology) of Global Institute of Technology, whose guidance, teaching and valuable suggestions provided me the timely inputs which enhanced my knowledge and outlook towards the IT industry.

Rachit Goyal
B.Tech VII Sem. Information Technology

CONTENTS
Page No. 1. Introduction………………………………………………………. 1.1 Objective of Training………………………………………........5 1.2 Profile of the Company…………………………………….……5 1.2.1 Background of Company …………………………….....7 1.2.2 Organisational Structure……………………………….....8 1.2.3 Nature of the Business………………………………...….9 1.2.4 Products and Services………………………….................9 1.2.5 Company Infrastructure……………………………..….10 1.2.6 Quality Policy…………………………………………...11 1.2.7 Conclusion…………………………………………….....12 2. Basic Concepts……………………………………………………. 2.1 Introduction…………………………………...........................12 2.2 ERP…..………………………………………………..…........12 2.3 SAP R/3…………………………………………………….….13 2.4 ABAP/4…………………………………………………..........14

3. Hands On Experience…………………………………….…………21 4. Project Module………………………………………………… 4.1 Introduction………...………………………….………………21 4.2 Project Description………...…….…………….……………….21 4.3 Roles/Responsibilities………...….…………….………………21 4.4 System Analysis………………....……………………………..22 4.4.1 Feasibility Study………………………………………22 4.4.1.1 Technical ………………………….……………..23

4.4.1.2 Operational……………………………………….26 4.4.1.3 Economical……………………………………….24 4.5 Form Generation/Implementation…………...………………….24 4.5.1 Creation……………………………..………………….25 4.5.2 Pages and windows…………….………..……………..26 4.5.3 Graphics…..……………..…..……………………........27 4.5.4 Date window………………..…….…………………....28 4.5.5 Main window…………………………………………..29 4.5.6 Address……………………………………………...…30 4.5.7 Generation of output…………………...........................31 4.5.8 Downloading……………..…………………………….31 5. Concluding Remarks………………………………………………..…32 5.1 Lesson Learned………………………………………………....33 5.2 Knowledge Gained………………………………………….….33 5.3 Suitability of Organisation………….……………………….….33 5.4 Limitations……………….………………………………….….33 6. Annexure………………………………..………...…………………..34

Introduction
Under the curriculum of Rajasthan Technical University, a practical training is to be done after the completion of 3rd year as a partial fulfillment of Award of Bachelor of Technology Degree. I pursued my training at Version IT PVT. LTD., during the time period from 09th June,2011 to 10th August,2011 .

1.1 Objective of training
The Objective of the training was to briefly understand the concepts of SAP R/3 (System Applications and Products in Data Processing) with the thorough knowledge of ABAP/4 (Advance Business Application Programming) and how to implement it in Real Time with accuracy and efficiency. We were also given preliminary knowledge of different modules used in SAP and also a gist of R/3 architecture. Along with some theory and practical sessions of all the business objects we were also given dummy project on “COMPLAINT RECEIVED ACKNOWLEDGEMENT LETTER” using the „SMART FORMS‟. With the help of the practical training we were able to apply the theoritical knowledge in projects that we have performed. Thus by completing this training I learned how to generate ABAP Reports of various types which is used by other functional module SAP consultants and also how to transfer NON-SAP DATA in SAP using BDC (Batch data communication) in an organised way within limited time, accuracy, quality and simultaneously satisfying client needs. I also acquired knowledge about ABAP-OOPS and CROSS APPLICATIONS which are used for the SAP set-up which are remotely based so that we can transfer the data to the other party.

1.2Profile of Company VERSION IT PVT. LTD., Hyderabad

Version IT is a global IT development and training company focusing on SAP consulting and offering offshore outsourcing solutions and training to enterprises and individuals worldwide. Since its existence, it has focused on one principle maximize leverage by generating savings in cost, increased productivity, time to market and enhanced quality in development ,consultancy and training . It has been delivering IT services and solutions regarding SAP and its modules like ABAP, MM, FICO, BASIS and PM Etc. with DATA WAREHOUSING in a dynamic environment for more than 10 years, where business and technology converge strategically to fulfill one objective to develop and deliver information . VERSION IT‟s diversified IT solutions portfolio is backed by our ample project management experience earned through serving global clients and trainees. Version IT has excellent competencies in IT services listed below:
     

Outsourced Product Development Business Process Management Customized Solutions SAP Solutions DATA warehousing Consulting Services

With an established infrastructure of latest hardware, software and data communication facilities, Version IT provides the services of an ideal offshore development center with a training environment to its esteemed clients and trainees for developing projects in latest technologies. Version IT relies on pool of highly qualified professionals armed with sound and diversified technical skill sets. It has provided offshore/onsite support to IT consultants and trainees, Business enterprises such as Petroleum Company and power plants for their efficient business transactions. Whether customers are start-ups, mid size or large corporations; Version IT have live up to the client expectations providing them best SAP solutions. Lot of innovation and deep research has enabled them to get great business results for their clients and also depicted hard work to trainees so that they can service them to IT

sector. On technology stack they have a team of best in India which has core expertise in SAP and DATA warehousing.

1.2.1 Background of Company
VERSION IT holds the expertise in Business Objects for SAP with the world's most innovative companies to accelerate great software products using the unique Business Value Approach. Team Team at Version IT offers optimum mix of experience and enthusiasm having extensive knowledge of technology and business domains. We have experienced consultants and advisors who are experts in their respective knowledge domains providing us the vital support on global IT marketing and state of the art technology solutions. Core management comprises of marketers, analysts, and engineers. They provide support to our business value chain wherein keeping the synchronization among all the stakeholders to accomplish organization objectives. Core development team is enriched with highly experienced, creative and dynamic IT professionals wherein working on mission critical applications and large scale IT projects. They are always looking for new concepts, latest technological development taking place in IT industry and applying them to the new ideas that develop at Version IT. Team has one motto that is transforming customer satisfaction to customer delight and help them to fully exploit technology for business transformation and enhancement.

1.2.2 Organizational Structure
Version IT's biggest assets are its professionals and trainees. It‟s a company made up of individuals who are the stars in their own domain and field. The trainees are backed by experience of professional and real time faculties who have a well proven performance record in their careers. Version IT values the experience and module expertise each one has and strives to build a collective Team.

The best thing about the Culture is the well defined Business process where in each individual responsible for it is asked to recruit someone whom he finds more talented to analyze the business aspects. And this has been the key factor to build the star team that we have at Version IT. RAMESH VENKAT (Director) Ramesh laid the foundation of Version IT in his late in the year 2004, with a vision of building world class client dependent software‟s training centre with a enthusiastic point for the real time invasion. Today, Version IT is a leader in providing training and development services providing visible and tangible ROI to enterprises in India, USA, UK, Europe and Australia. He has been instrumental in developing Global Delivery Model, which has helped in providing real time IT solutions with live support and high quality service experience. Because of his unique vision, dedication and ability to foresee future technologies; Version IT has become an enabler of technology in the areas of client based software. Under his leadership, Version IT has consistently bettered growth target and expanded its footprints from India to other nations. A firm believer in honesty, integrity and hard work, Ramesh has inspired his company to imbibe similar values in organizational practices and service standards. He has over a decade of experience in the IT industry and possesses vast wealth of IT business knowledge Ramesh graduated from Osmania University, one of the most reputed universities across India. He feels passionately for the society and pursues avenues that contribute in making this world a more equitable society to live in. Irfan Khan(Co-ordinator) Irfan is the co-founder of Version IT and has over 6 years of leadership experience in the SAP. Under his leadership, Version IT has realized its potential while expanding the service portfolio for newer markets and segments. Irfan has conceptualized and built new competencies for business processes in the areas of SAP build ups with quality, customer satisfaction and over all administration.

Irfan has a unique quality to initiate sustainable value to the Version IT ecosystem. One of the most proud moments was, when the company got appreciation letter by Siemens corp. He left the job as a Project Manager in Accenture to co-found Version IT with his friend, Ramesh in the year 2004.

1.2.3 Nature of Business
It is a business value company as SAP is total business transaction software. Our perfect aim is to create business value for our client and provide quality training through technological means. Taking an idea from initial stage through complete cycles of SAP training and creating a data management that client envisioned.    Innovation – It has idea of technology for innovations which create business value for the customers. Expertise in taking an existing products . Expertise in applying quantitative methods to decision making - Operations

Research.

1.2.4 Company Infrastructure
 Introduction

Version IT company has a strong and standby infrastructure which helps them to grow and serve the best to their clients on the basis of Business Values. They have proper Development and Training Structure with efficient training environment with proper lab facility which works on server. 

Development Structure

Version IT has separate development structure for all major functioning and business transactions. They have two separate buildings, one for development of their products or solutions for their client‟s problems and other for real time processing .In both buildings they have all their functioning divided into many modules. By adopting such departmental structure they organize their task which they have to perform in particular deadlines.

Training Structure This structure is used for training of the professionals with a proper lab facility so that can service their best to IT sector.

Hardware and Software SAP ECC 4.7 Version IT is a SAP modules training and report generation company specializing in SAP-ABAP. We have a highly skilled technical team that has completed numerous SAP Business objects successfully. Our Offerings include:

o SAP efficiently works on client based operating systems like Microsoft windows server 2003 and 2008.It is a completely different OS with no visual and audio drivers. So, it provides this type of operating system for the trainees. o It have ECC SAP 4.7 version which is mainly used by an ABAPER for the report generation. o It also has ECC SAP 6.0 for functional module people. o For SAP-BASIS module, it has very good server infrastructure. o Software Architecture design of various side applications.

1.2.6 Quality Policy:
Version IT has a documented quality management system conforming to ISO 9001:2008 quality system standards. The quality system is followed & implemented as per the guidelines of ISO 9001:2008 standard. Our Quality policy is defined as under: ISO 9001:2008 As an organization we are focused on developing overall procedural standards for every business function of the company wherein involving all our people and customers to provide effective and quality software development services. Guided under ISO quality system our comprehensive evaluation & monitoring system addresses several important issues and helps our customers in the following ways:

To develop international quality management and quality assurance standards.

Documentation of quality management systems, software development process and methodologies.

Effective delivery and exchange of IT services with focus on total customer satisfaction.

Monitoring and analysis of project management activities to preempt any bugs and delays.

Analysis and monitoring of IT services so that they are designed delivered and maintained in accordance with customer specific requirements.

1.2.7 Conclusion:
Version IT is a partner whose core belief is that our success lies in your success. We know and very well realize that client gets software built to achieve a business goal. We at Version IT align ourselves to the business goals of our client to achieve the results envisioned. We do what it takes to hit those goals, and you will never find us saying that this was not in scope. Whatever has business impact is what we believe is in scope of work.

.

BASIC CONCEPT
2.1 Introduction

As the time progresses many new technologies emerges in IT and Computer sector. So it is very important as a Information Technology Engineer too keep updated with those technologies in order to cope up with this competitive world. As a trainee at Version IT, I have learnt many new technologies which are very helpful for implementing real time projects in an efficient manner.

2.2 ERP:ERP stands for Enterprise Resource Planning. E-(enterprise) Large Business Organization particularly used for financial and customer related services        R-(resource) It can be any of these. Material - It‟s module is MM (material management ) Money - It‟s module is FICO (finance and controlling) Man power - It‟s module is HR (Human resource) Machinery - It‟s module is PP (Production Planning) Marketing - It‟s module is SD (sales and distribution) Methods - It‟s module is CRM (customer relationship management)

P-(planning) It is an optimal utilization of business resource for maximum profit.
ERP is single software with a collection of business modules such as SD, MM, FICO, HR etc. so that it can perform the business activities of all the different departments. Different ERP packages are1. JD Edwards - for accountancy. 2. PeopleSoft - for HR 3. SIEBEL - for CRM 4. ORACLE APPS - for FINANCE 5. SAP - ALL MODULES

2.3 SAP:SAP is yet another acronym in the world of business application computing. It stands for Systems Applications and Products in Data Processing. Its significance will become clear once we trace its lineage. First of all, SAP is a ERP(Enterprise Resource Planning) package Founded in 1972 by Wellenreuther, Hopp, Hector, Plattner and Tschira which is Re named in 1977 Before 1977 : Systems Analysis and Program Development . Initially, it was based on R/1 architecture then changed to R/2 architecture and now R/3 architecture.SAP is both the name of the Company as well as their ERP Product.

SAP business strategy       New Maintenance Offerings Architecture Planning Custom Development Consulting System Integration Operations Planning & Optimization Hosting / Outsourcing SAP has no. of versions ranging from 3.x to 6.x such as 3.0A, 3.1H, 3.1F, 4.0A, 4.6B,4.6C…4.7EE(Enterprise edition) And now latest are-4.7ECC (Enterprise central component) and 6.0ECC It has only one language-ABAP/4 Following are some of the features which show why SAP is one of the most used and appreciated ERP of all times:

1. It supports 60 modules comprising of SD, MM, FICO, HR etc. 2. It supports 20000 database tables comprising of MARA, MARC etc. 3. It is database independent and supports all types of databases like Informatica ,DB/2,SQL etc. 4. It is OS independent. 5. It has capability of 24 hours network to server services with 3 main servers DEVELOPMENT, QUALITY AND TESTING and PRODUCTION.

6. It supports standard GUI‟s such as Windows 95,3.1 and MacintoshOS 7. It contains standard reports, standard screens and scripting for business documentation. 8. It supports 23 languages, currencies, Text formalities, Legal practice concerning HR, Import/Export regulation. 9. It supports standard protocols TCP/IP, CPIC etc.

2.3 ABAP(Advance Business Application Programming)
ABAP is a high-level programming language created by the German software company SAP. It is currently positioned, alongside the more recently introduced Java, as the language for programming the SAP Application Server, part of its NetWeaver platform for building business applications. The syntax of ABAP is somewhat similar to COBOL. It is the Central part of Middle ware layer that eliminates dependencies from Hardware, Operating Systems or database management systems. ABAP is one of the many application-specific fourth-generation languages (4GLs) first developed in the 1980s. It was originally the report language for SAP R/2, a platform that enabled large corporations to build mainframe business applications for materials management and financial and management accounting. SAP's current development platform NetWeaver supports both ABAP and Java.

Where does the ABAP program run?
All ABAP programs reside inside the SAP database. They are not stored in separate external files like Java or C++ programs. In the database all ABAP code exists in two forms: source code, which can be viewed and edited with the ABAP Workbench tools, and generated code, a binary representation somewhat comparable with Java byte code. ABAP programs execute under the control of the runtime system, which is part of the SAP kernel. The runtime system is responsible for processing ABAP statements, controlling the flow logic of screens and responding to events (such as a user clicking on a screen button); in this respect it can be seen as a Virtual Machine comparable with the Java VM.

2.3.1 ABAP tools-ABAP workbench has different tools for editing ABAP programs.
ABAP DICTIONARY- The ABAP Dictionary contains all metadata about the data in the SAP system. It is closely linked with the ABAP Workbench in that any reference to data (e.g. a table, view, data type, etc.) will be obtained from the dictionary. When

a dictionary object is changed, a program that references the changed object will automatically reference the new version the next time the program runs.

Transaction code-SE11

ABAP EDITOR- You use the ABAP Editor to write and edit ABAP programs,
class methods, function modules, screen flow logic, type groups, and logical databases. If you want to use the ABAP Editor together with the Modification Assistant, read the documentation about Modifications in programs. The ABAP Editor has three different modes: ● ● ● Front-End Editor (source code mode - new) Front-End Editor (plain text mode - old) Back-End Editor (line-based mode) Transaction code-SE38

SCREEN PAINTER- Screen Painter is an ABAP Editor tools allowed us to create dialog screen. Dialog screen usually created as a screen to catch user inputScreen Painter Architecture: 1. Screen Attributes Define screen title, define its type (normal, subscreen). 2. Flow logic Flow logic control flow of program. The event block is introduced by the corresponding keyword statement, and it concludes either when the next block is introduced, or at the end of the program. There are four event blocks, each of which is introduced with the screen keyword PROCESS: PROCESS BEFORE OUTPUT. ... PROCESS AFTER INPUT. ... PROCESS ON HELP-REQUEST. ... PROCESS ON VALUE-REQUEST. Transaction code-SE51

MENU PAINTER- The Menu Painter is a tool with which you design user
interfaces for your ABAP programs.This section tells you how to create and use the interface, and how to define the functions that you use within it. It is used to design GUI components which contain menu options, application toolbar with different pushbuttons, icons etc. Transaction code-SE41

FUNCTION BUILDER- The ABAP function Builder plays an important role in Defining and Maintaining the ABAP functional modules. These are nothing but regular routines which can be called up from other ABAP programs. Another

important use of ABAP function builder is designing programs. Such programs can be both server or client programs which are created using RFC's. Transaction code-SE37

ABAP-OOPS- The ABAP language supports object-oriented programming,
through a feature known as "ABAP Objects". This helps to simplify applications and make them more controllable. ABAP Objects is fully compatible with the existing language, so one can use existing statements and modularization units in programs that use ABAP Objects, and can also use ABAP Objects in existing ABAP programs. Syntax checking is stronger in ABAP Objects programs, and some syntactical forms (usually older ones) of certain statements are not permitted. Transaction code-SE24

*ABAP has naming convention as self created programs and reports are initialized with Z(Zee) or Y. This also implies on creating a class for OOPS. 2.3.2 ABAP APPLICATIONS

BDC(Batch data communication)- The SAP System offers two primary methods
for transferring data into the System from other SAP Systems and non-SAP Systems. These two methods are collectively called "batch input" or "batch data communication" ( BDC).Both BDC methods work by carrying out normal SAP transactions, just as a user would. However, BDC can execute the transactions automatically and is therefore suitable for entering large amounts of data that are already available in electronic form. The first processing method could be called "classical batch input" or " Classical BDC". In it, an ABAP program reads the external data that is to be entered in the SAP System and stores the data in a "BDC session." A session stores the actions that are required to enter your data using normal SAP transactions.This method uses the function modules BDC_OPEN, BDC_INSERT, and BDC_CLOSE to generate sessions. In the second method, your program uses the ABAP CALL TRANSACTION USING statement to run an SAP transaction.BDC data does not have to be deposited in a session for later processing. Instead, the entire BDC process takes place inline in your program ENHANCEMENTS-ABAP Enhancements are a new type of SAP extension. They are part of a new concept regarding extensions to the SAP system: using source-code plug-ins the customer may add code to explicit and implicit enhancements SAP SCRIPTING AND SMARTFORMS - SAP Smart Forms is used to create and maintain forms for mass printing in SAP Systems.As output medium SAP Smart Forms support a printer, a fax, e-mail, or the Internet (by using the generated XML output). SAP introduced SmartForms in 1998 to overcome the limitations in SAP Scripts. SmartForms are easier to develop, maintain and transport than SAP Script. Smart Forms and SapScripts Comparison
  

Multiple page formats are possible in SmartForms which is not the case in SAPScripts It is possible to have a SmartForm without a main window. SmartForms generates a function module when activated.

Advantages of Smart Forms

They help adapting forms without any programming knowledge due to entirely graphical user interface When activating the smart form the system automatically generates the function module and at the runtime . To make any changes we have to use the Drag & Drop, Cut & Paste. These actions do not include writing of coding lines or using a script language. We can insert static and dynamic tables. These include the line feeds in the individual table cells, triggering events for table headings and subtotals and sorting data before output. The smart forms allow the user to include graphics, which can be displayed as a part of the form or as background graphics. During printout the user can suppress the background graphic as and when necessary. Transaction code-SMARTFORMS

Hands On Experience
Under the curriculum of Rajasthan Technical University, practical training is to be done before completion of 3rd year. At Version IT Pvt Ltd., I learnt about ABAP fundamentals and how it works, what is its importance in SAP environment. It is very much essential for any Business organization. Different modern day technologies which are not included in our University syllabus can be practically learned during this period. I also learned how to implement this and made a dummy project.The complete description about the project is given in next section. At Version IT, we were provided a module which includes designing part for the live project running there. With the advent of the training we learnt a lot of new things like decision making, team work and how to manage time. The training started with a few theory classes where our basic concepts were tested and cleared. We then proceeded with a project beginning with a thorough study of the given task, considering its various requirements and necessary validations to be applied. A rough plan was made it the beginning regarding what the feel and look of the page should be like. The plan after being verified after by our guide was put into action. The various snapshots of the results are included.

Systems/Project Development
4.1 Introduction
Using the SAP-ABAP technical module, we can develop a report for the functional people such as SD,MM,FICO etc. We can also generate screens according to our desire which are to be used in different business transactions.

4.2 Project Description
Front End Editor : ABAP editor(SE 38),Smartforms Back End: Database table –KNA1(customer master data) and data_pdf (for pdf conversion).These table are internally maintained. Operating System: Windows Server 2003

4.3 Roles/Responsibilities Roles
Smart forms are used to make the forms which are to be used by the business application and transactions and are used by clients for their invoice printing, Dunning letter printing, sales document printing which gives us a way so that we can do all the transactions in an efficient way. When the desired letter or document is printed it is outsourced in a package which can be send to the remote machines using cross applications concepts. Utilities given to client : The client has nothing to do with the reports that had been made by an ABAPER. He has to just print the documents by giving the proper output device name. We can also save the documentation in adobe format and also we can send it to the fax machine as desired by the client. The documentation can also be scanned and send to other machine according to the client needs

Responsibilities
1. It will be easy to maintain and check the details .

2. It will help in keeping track of the current status of all the vendors ,suppliers as the billing document is created and saved in ours system as PDF files 3. The report will manage the accessibility, availability and maintainability on its own through database tables. 4. This will help the business enterprise to focus on important matter rather than wasting time in managing details of each customer. 5. This will make our whole system more reliable and manageable and easily accessible for the basic clients.

4.4 System Analysis 4.4.1 Feasibility Study
Preliminary investigation examine project feasibility, the likelihood the report will be useful to the organization. The main objective of the feasibility study is to test the Technical, Operational and Economical feasibility for adding new ventures and by avoiding old running systems. All system is feasible if they are unlimited resources and infinite time. There are aspects in the feasibility study portion of the preliminary investigation:    Technical Feasibility Operation Feasibility Economical Feasibility

4.4.1.1 Technical Feasibility
The technical issues usually raised during the feasibility stage of the investigation includes the following      Does the necessary technology exist to do what is suggested? Does the proposed equipments have the technical capacity to hold the data required to use the new system? Will the proposed system provide adequate response to inquiries, regardless of the number or location of users? Can the system be upgraded if developed? Are there technical guarantees of accuracy, reliability, ease of access and data security?

The current system developed is technically feasible. It is a web based user interface for students. Thus it provides an easy access to the users. The database‟s purpose is to create, establish and maintain a workflow among various entities in order to facilitate all concerned users in their various capacities or roles.

4.4.1.2 Operational Feasibility
Proposed projects are beneficial only if they can be turned out into information system. That will meet the organization‟s operating requirements. Operational feasibility aspects of the project are to be taken as an important part of the project implementation. Some of the important issues raised are to test the operational feasibility of a project includes the following:    Is there sufficient support for the management from the users? Will the system be used and work properly if it is being developed and implemented? Will there be any resistance from the user that will under possible application benefits?

The well-planned design would ensure the optimal utilization of the computer resources and would help in the improvement of performance status.

4.4.1.3 Economic Feasibility
A report can be developed technically and that will be used if SAP is installed, must still be a good investment for the organization. In the economical feasibility, the development cost in creating the project is evaluated against the ultimate benefit derived from the new systems. Financial benefits must equal or exceed the costs.

4.5 Form generation/ImplementationSAP Smart Forms allow us to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and formlogic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. For thepurpose of demonstrating the power and download capabilities of Smart form, I have created a Smart from Named ZSMARTFORM_SWAR. 4.5.1.Creation of SMART FORM: From SAP R/3 release 4.6C onwards, SAP has come up with the concept of SMART FORMS. Prior to SAP R/3 4.6C, Sap Scripts were being used for mass printing. To create a smart form, execute the transaction “SMART FORMS”. Provide“ZSMARTFORM_SWAR” as the name of the Smart form. Select “Create”. When you create a Smart Form, the tree structure of the Form Painter already contains two root nodes: • Global setting

• Pages and Windows Global Setting- The node Global Settings as well as its three successors Form attributes, Form interface, and Global definitions always exist for any newly created forms. Form attributes-Here you need to provide the description for the smart form. In this case, the description is “Create and Download SMART FORM to PDF”. Here, there is a provision to specify whether the Smart form can be translated to other languages in future. Form Interface-In Form Interface, you can specify the parameters that would be imported and exported to Smart form. In thiscase, I have imported two parameters “MYDATE” and “REASON”. In this case, there are no Export parameters and Tables. These can be used if we intent to pass information from Smart forms to the ABAP program. There are few standard import and export parameters that can be used depending on the functionality. The snap shots of these modules are as follows:

4.5.2.Pages and windows:A form can consist of pages, output areas, addresses, graphics (such as company logo), and data or text contents. Within an output area, we can use static or dynamic tables to display data or texts in lines, columns,or cells. To further structure and format text and data, we can use paragraphs with the paragraph and character formats. SAP calls output areas "windows". We can position windows freely on a page. On a page,there are two different types of output areas for texts and data: the main window and the sub window.

4.5.3. Graphics: In the Form Builder we describe a Smart Form by a set of nodes. To do this, you build up a tree structure on the left side of the user interface. On the user Interface, specify the name, object and Id of the bitmap image to be placed on the Smart form.

4.5.4.Date Window-In a Date sub window we display text and data in a predetermined output area. If you position a sub window with the same name on several pages, the system displays the contents of this sub window on each page. Text and data that do not fit into the sub window are truncated and not displayed.

4.5.5. Main window-On a page, there are two different types of output areas for texts and data: the main window and the sub window. In a main window you display text and data, which can cover several pages (flow text). As soon as a main window is completely filled with text and data, the system continues displaying the text in the main window of the next page. It automatically triggers the page break.

In text format, it is written thatDear Sir/Madam This is an acknowledgement for your complaint raised on &MYDATE&.The description of complaint is &REASON&.The complaint would be resolved at the earliest.

4.5.6. Address-You use this node to include an address. The system reads the address data directly from the database tables and formats them for print output. This guarantees that the address is formatted according to the postal rules of the sender country. You can select the type of address that should be displayed in the output.

4.5.7.Generate Function Module for Smart Form-The system generates a function module from the Smart Form as soon as you activate the Smart form the form interface equals that of the generated function module. For this reason, you can pass the same data in the form interface as you could pass to a function module. The generated function module triggers spool processing.

4.5.8. Downloading Smart Form to PDF from Application You can pass data retrieved from the application to the Smart form using the Form Interface. The data could also include the data retrieved from database tables. In addition, you can define exceptions to which the application program must react. You trigger form printing by calling only two function modules. The first module uses the name of the form to determine the name of the generated function module. Then you call this Smart form. Call function module SSF_FUNCTION_MODULE_NAME. It returns the name of the generated function module. Call the generated function module. To do this, use the Insert statement function for CALL FUNCTION in the ABAP Editor. Then replace the function module name with the variable FM_NAME. Set the„GETOTF‟ parameter to „X‟ and pass it to CONTROL_PARAMETERS. The function module would export the Smart form to an internal table „T_OTFDATA Call the function module „CONVERT_OTF‟ to convert the smart form to PDF format. The function module returns the size of downloaded file. Using „WS_DOWNLOAD‟ function module, you can download the Smart form to a PDF file in the required directory. AFTER IT WE TYPE THE FINAL REPORT PROGRAM AND CALL THE FUNCTION MODULES AS GIVEN ABOVE.

Output of application program with screen shots

Activate and compile the code specified above. The selection screen is displayed as an output. The selection screen would contain a button named „Download to PDF‟.

After inserting values for „Date‟ and „Reason‟, execute ‟Download to PDF‟ button.

Below is the screen shot of D drive where „Test.PDF‟ file has been created .

The content of the downloaded file is shown below. The Smart form has been downloaded along with the graphics.

SCREEN SHOTS FOR DATABASE TABLE KNA1-

From it we can select the desired field and display it onto our smartform.

From it we select the entries which we want to be displayed in PDF format.

Conclusion
Introduction
In this report, I described “Complaint received acknowledgement letter” as a project that manages the details of the complaints that come to service centres etc.. The project manages its needs and manages authentication and authorization. This is a report which also gives a special facility to check, updates and record the user information. This project not only makes the system easier to the business personnels but also more widely available . 5.1 Lessons Learned and Skills developed 1. Technical and image building:  In all, the training made me understand knowledge and skills related challenges facing the IT industry  Made me aware of current SAP usage pattern in industries.  Experience facilitation & learning methods adopted in SAP modules.  Experience the learning environment.  Learn about IT trends by interacting with practitioners. 2. Human and communication:  Recognize team management.  Network with students and software engineers from different colleges and companies.

5.2 Knowledge Gained
The training at VERSION IT PVT.LTD. Provided me an insight on SAP-ABAP technology and recent trends in industry. I studied the basic concepts of ABAP with the brief intro of CA (Cross applications). Interaction with students and great support from faculties enabled our successful completion of project. It provided industrial exposure and acted as a stepping stone for my career ahead.

5.3 Suitability of Organization
The VERSION IT PVT. LTD. company is the best organization to learn and enhance the skills of an individual.

5.4 Limitations and Recommendations
 It is a simple report used on Business process and not be used otherwise.

.

Annexure
SAP:-System application and products in data processing H.O.D.:- Head of Department ABAP:-Advance business application programming MM:-Material Management FICO:-Finance and Controlling SD:-Sales and Distribution HR:-Human Resource PM:-Plant Management

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->