Posts

SAP ADOBE FORMS

Image
PDF-based print forms are a part of the Interactive Forms based on Adobe software package solution and are used for mass printing in SAP systems. as well as normal output on printers, and also the choice of archiving documents, you'll be able to additionally use your application to send a PDF to the Business Communication Services (BCS). Here, you've got the choice of faxing or e-mailing your documents. The following provides you a summary of how a PDF-based print kind is structured and additionally tells you the way to create a PDF-based print from within the development setting of the ABAP work bench. The integrated Adobe LiveCycle Designer software system supports you after you do that. This software system should be put in on your forepart before you'll be able to produce a layout. to visualize a print preview of your kind, you initially got to install Adobe Reader or an entire version of Adobe athlete. This documentation doesn't discuss however documents are wri...

INTRODUCTION TO SAP WEB DYNPRO

Image
Web Dynpro is SAP’s standard UI technology for developing business applications with Web-based user interfaces.the web Dynpro is consists of a runtime environment and graphical development environment and tools that are integrated into the ABAP workbench.SAP Web Dynpro is based on original MVC design for decoupling presentation and application logic.Windows, Views, UI elements, Layouts, and Controllers form the basic components of a Web Dynpro application.Data binding is the means by which data is automatically transported from a view controller’s context to a UI element in its layout.Specific iViews should be created in order to run a Web Dynpro ABAP application within SAP enterprise portal.All WDA components, applications, and parts of the component are integrated parts of the standard correction and transport system (CTS).The standard ABAP lifecycle concepts fully apply to all Web Dynpro-based applications. Objectives goals: Explain the significance of Web Dynpro along with the We...

ABAP AUTHORIZATION CONCEPT

Image
ABAP AUTHORIZATION CONCEPT Describe SAP Authorization Concept Adding authorization checks to programs using AUTHORITYCHECK statement Authorization Concept  The SAP authorization concept was developed to protect transactions, programs, and services in SAP systems from unauthorized access. The administrator (usually from BASIS) assigns authorizations to users that determine which actions (transactions/programs) a user can execute in the SAP system. The authorizations represent instances of generic authorization objects and are defined by the activity and responsibilities of the employee. Adding Authorization Checks to Programs It is almost always a good practice to add authority checks to your custom developed programs. To add authorization checks to programs, you need to do the following:  Determine the Authorization Field/s  Determine the Authorization Object/s  Add Authorization Checks in your program Use the ABAP AUTHORITY-CHECK statement. Specify alphabetic values...

SEQUENTIAL FILES

Image
Module Objectives Describe the process of opening and closing files Define binary mode and text mode Define the TRANSFER and READ DATASET statements Define the CLOSE DATASET and DELETE DATASET statements Define ABAP statements to fill the fields of a structure Define the process for reading, extending and creating a file Data Imports and Exports Data imports and exports Processing Files there are three step of File processing. Open file Process file Close file Working with Sequential Files Reading Data OPEN DATASET <file name> FOR INPUT. : : READ <file name> INTO <field>. : : CLOSE DATASET <file name>. Writing Data  OPEN DATASET <file name> FOR OUTPUT. :   : TRANSFER <field> TO <file name>. :   : CLOSE DATASET <file name>. style="display:block" data-ad-format="fluid" data-ad-layout="image-side" data-ad-layout-key="-fg+5r+6h-fn+4k" data-ad-client="ca-pub-4708127434193346...

BACKGROUND PROCESSING

Image
BACKGROUND PROCESSING Describe the process flow of background jobs Define the scheduling and processing of background jobs Describe the job results for a job log and spool requests Define the authorization objects Describe the automatic generation of jobs Define the function modules for generating jobs Characteristics Execution of ABAP programs without dialog (no specific job-control language for operating system required) Complete integration in the SAP System Parallel background and online operation Ease of use Distributed processing Process Flow Overview Process Flow Processing Jobs – Job Status Scheduled Released Ready Active Finished or Cancel Authorizations and Background Processing Authorization and background Processing Function Modules for Generating Jobs OB_OPEN JOB_SUBMIT OB_CLOSE Job Wizard You can use the Job wizard to schedule a background job. Let us go through the steps to do this. Transaction SM36 is listed below. Click the Job wizard button. The Job Wizard is displaye...

SUBROUTINES

Image
Module Objectives Define and call subroutines Define and use parameters Define global and local data Defining and Calling Subroutines  Defining a Subroutine: FORM subroutine USING lp1 lp2. ... ... ENDFORM. Calling a Subroutine: PERFORM subroutine USING f1 f2. Using Parameters to Pass Data CHANGING  Pass By Value & Result USING Pass By Reference   Pass By Value  TABLES   Pass By Reference  Parameters Example parameter  

ABAP UNIT

Image
Module Objectives Purpose of ABAP Unit Creating Unit Tests Fixture Methods ABAP Unit Test Class Wizard ABAP Unit Test Classes in ADT Purpose of ABAP Unit ABAP Unit is part of the test landscape for ABAP programs. ABAP Unit lets you implement unit tests. ABAP unit tests are methods of specially designated ABAP classes. Test methods work as scripts, with which code under test can be run, and with which the results of a test can be evaluated. ABAP unit lets you test the code at unit level, independent of the entire solution. Creating Unit Tests ABAP unit tests are implemented in the form of test methods in local test classes in any ABAP programs. The expected results are checked with static methods of help class CL_ABAP_UNIT_ASSERT or CL_AUNIT_ASSERT . Unit test Test Properties Risk Level Harmless – the test does not affect any existing processes and/or Database data. Dangerous– the test will change Database or Persistent Data Critical – the test will affect customizing data Duration Sh...

OOP

Image
OOP Understand the details of object-oriented syntax elements in ABAP Objects and use these effectively Create object-oriented models of business applications Use the tools in the ADT 2.70 to develop object-oriented applications what problems we were having in Procedural programming. Long code due to variable declaration Extensive processing after SQL statement Multiple Commands to perform simple operations Code reusability and Maintenance SAP’s solution In-line declaration SQL Expressions ABAP Expressions OOP Advantages of OOP over Procedural programming Improved software structure and consistency in the development process Reduced maintenance efforts and less susceptibility to errors Better integration of the customer/user into the analysis, design, and maintenance process Easier and safer possibilities for extending the software OOP in ABAP Essentially the same as those of other modern object-oriented languages like C++ or Java Some elements present in ABAP objects are not offered i...

BASIC ALV

Image
BASIC ALV •Define and describe ALV •Discuss and use the standard function module ‘REUSE_ALV_GRID_DISPLAY’ in ABAP program •ALV Navigation Define and Describe ALV The ALV (ABAP List Viewer) is a flexible tool for displaying lists in SAP. The tool provides common list operations as generic functions and can be enhanced by user-defined options. This allows you to use the ALV grid control in a wide range of application programs. For this module, the simplest way to use ALV will be discussed. Advanced topics in ALV may be discussed in the later part of the Training. Sample ALV Output Sample ALV output The ALV Field Catalog The field catalog is an internal table which contains information about the fields to be displayed on the ALV. The type is SLIS_T_FIELDCAT_ALV. We must first build the field catalog before displaying any output in the ALV. There are many fields in the field catalog but for a simple output, the only necessary fields are FIELDNAME and SELTEXT_L. Using the FM ‘REUSE_ALV_GRID...

FUNCTION MODULES

Image
FUNCTION MODULES Module Objectives Define Function Modules Define Function Groups Describe Function module Parameters Explain Exception Processing Define global data / local memory Use Remote Function Call (RFC) Search the Function Library Introduction to Function Modules •Function modules are procedures that are defined in special ABAP programs, so-called function groups, that can be called by all ABAP programs. •Function groups act as containers for function modules that logically belong together. •Function modules also play an important role during updating and in the interaction between different SAP systems, or between SAP systems and remote systems through remote communications. function module Navigating to Function Modules (SE37) Navigating to function Modules Navigating to Function Modules (ADT) Navigation to function Modules Function Groups Function Groups function groups Calling a Function Module Calling a function module Parameters Parameters Exception Processing Exceptions...