Introduction to ABAP Selection Screens. Slide 2 Screens (Types) There are three types of screens Selection screens get parameter input for reports List.

Slides:



Advertisements
Similar presentations
HTML Forms. collect information for passing to server- side processes built up from standard widgets –text-input, radio buttons, check boxes, option lists,
Advertisements

CS0004: Introduction to Programming Select Case Statements and Selection Input.
0 UMN 2011 ERP Terapan SAP BASIS General Concept Session # 3.
Objectives Understand the software development lifecycle Perform calculations Use decision structures Perform data validation Use logical operators Use.
The Web Warrior Guide to Web Design Technologies
Lecture 1 Introduction to the ABAP Workbench
Introduction to the ABAP Data Dictionary
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Java Programming, 3e Concepts and Techniques Chapter 5 Arrays, Loops, and Layout Managers Using External Classes.
Chapter 5: More on the Selection Structure Programming with Microsoft Visual Basic.NET, Second Edition.
Input Validation Check the values entered into a text box before beginning any calculations Validation is a form of ‘self-protection’, rejecting bad data.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
Chapter 3 Introduction to Event Handling and Windows Forms Applications.
Chapter 9 Introduction to ActionScript 3.0. Chapter 9 Lessons 1.Understand ActionScript Work with instances of movie clip symbols 3.Use code snippets.
Fundamentals of Python: From First Programs Through Data Structures
0 UMN 2011 ERP Terapan ABAP Introduction Session # 8.
JavaScript, Fifth Edition Chapter 1 Introduction to JavaScript.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
Introduction to ABAP and SAP Structure
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
ABAP/4 PROGRAMMING Menu Painter Modularization 講 師:呂 昇 燦 2000 年 9 月 28 日.
Tutorial 11 Using and Writing Visual Basic for Applications Code
Chapter 6 Understanding the Structure of an Application: Procedures, Modules, and Classes.
WEEK 3 AND 4 USING CLIENT-SIDE SCRIPTS TO ENHANCE WEB APPLICATIONS.
Chapter 3 : Processing on the Front End JavaScript Technically its name is ECMA-262, which refers to the international standard which defines it. The standard.
Chapter 8: Writing Graphical User Interfaces Visual Basic.NET Programming: From Problem Analysis to Program Design.
INTRODUCTION TO ANDROID. Slide 2 Application Components An Android application is made of up one or more of the following components Activities We will.
Introduction to Java Applications Part II. In this chapter you will learn:  Different data types( Primitive data types).  How to declare variables?
In the next step you will enter some data records into the table. This can be done easily using the ‘Data Browser’. The data browser can be accessed via.
Creating Dialog (ABAP Dynpro) Programs. Slide 2 Introduction All of the ERP systems operate similarly with regard to transactional integrity They all.
Using Client-Side Scripts to Enhance Web Applications 1.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
0 UMN 2011 ERP Terapan Dialogs Programming Session # 11.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
University of Sunderland COM 220 Lecture Six Slide 1 Building Interactive Forms Applications using Oracle.
Introduction to Exception Handling and Defensive Programming.
Property of Jack Wilson, Cerritos College1 CIS Computer Programming Logic Programming Concepts Overview prepared by Jack Wilson Cerritos College.
GTR Data Inc. Welcome to our EDI Demonstration G.T.R. Data Inc. August 1997.
Python Functions.
1 FUNCTIONS - I Chapter 5 Functions help us write more complex programs.
Introduction ABAP Programs. Slide 2 ABAP (History) Acronym: Allgemeiner BerichtsAufbereitungsProzessor Generic report preparation rocessor Advanced Business.
HTML Forms. Slide 2 Forms (Introduction) The purpose of input forms Organizing forms with a and Using different element types to get user input A brief.
Chapter 2: Variables, Functions, Objects, and Events JavaScript - Introductory.
Chapter 3 Syntax, Errors, and Debugging Fundamentals of Java.
Copyright © 2011 Pearson Addison-Wesley What is a Program Made Of? Keywords (Reserved Words) – Words with special meaning that make up a high-level programming.
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 13 GUI Programming.
Class Builder Tutorial Presented By- Amit Singh & Sylendra Prasad.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
 2008 Pearson Education, Inc. All rights reserved JavaScript: Introduction to Scripting.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Introduction to the ABAP System. Slide 2 The Data Browser Allows us to look at the underlying table contents Use transaction code SE16.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
SAP DEVELOPMENT BASICS Bohuslav Tesar. TRAINING OVERVIEW Amazing life of ABAP developer ;) SAP introduction ABAP basics ABAP Reporting.
Introduction ABAP Fields and Variables. Slide 2 Fields (Introduction) In ABAP, fields (or data objects) are named locations in memory Variables store.
Quick Test Professional 9.2. Testing Process Preparing to Record Recording Enhancing a Test Debugging Running the Test and Analyzing the Results Reporting.
JavaScript Introduction and Background. 2 Web languages Three formal languages HTML JavaScript CSS Three different tasks Document description Client-side.
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
Programming with Microsoft Visual Basic 2012 Chapter 14: Access Databases and SQL.
Course ILT Using complex selection structures Unit objectives Include radio buttons and check boxes in an interface, create and call a user- defined Sub.
XHTML Forms.
Forms Concepts Triggers Fired when Internal/External events occur
Topics Graphical User Interfaces Using the tkinter Module
Chapter 8: Writing Graphical User Interfaces
Objectives Design a form Create a form Create text fields
3.01 Apply Controls Associated With Visual Studio Form
Microsoft Access Illustrated
Microsoft Office Illustrated
Unit 1: Introduction Lesson 1: PArts of a java program
Screen Elements for Input/Output
Presentation transcript:

Introduction to ABAP Selection Screens

Slide 2 Screens (Types) There are three types of screens Selection screens get parameter input for reports List outputs, which appear at the end of a report Classic ABAP Dynpros are the transaction codes with which you are familiar All of these are components of programs We will talk about selection screens here

Slide 3 Selection Screens (Introduction) They can be housed in various types of programs Executable programs, function groups, and module pools Selection screens are triggered by events Unlike VB, the order of selection screen events is predefined by ABAP The order that they (event procedures) appear in the program does not matter

Slide 4 ABAP Events (1) LOAD-OF-PROGRAM fires immediately after the program loads It’s typically used to initialize global data In OOP terms, this is really a constructor

Slide 5 ABAP Events (2) INITIALIZATION fires after LOAD-OF- PROGRAM but BEFORE selection screen processing Use this event to initialize input fields for the selection screen

Slide 6 ABAP Events (3) AT SELECTION-SCREEN fires after the user sees and fills out the selection screen Perform error checking here START-OF-SELECTION fires and control passes back to the ABAP process This event is implicit if no events are listed So your previous programs have belonged to START-OF-SELECTION

Slide 7 Creating Selection Screen Parameters Instead of using the DATA statement use the PARAMETERS statement The syntax is the same as the DATA statement but parameter names (variables) are limited to 8 characters in length Each parameter is displayed on the selection screen in the order it is listed Parameter types can be ABAP dictionary types too

Slide 8 PARAMETERS (First Example)

Slide 9 PARAMETERS (Customizing) Add a default value using the DEFAULT keyword PARAMETERS INPUT TYPE i DEFAULT 10 Mark a field as required using the OBILGATORY keyword Use VALUE CHECK to verify that the values are in the valid list for the data type

Slide 10 PARAMETERS (CHECKBOX) To complete boolean parameters, use the CHECKBOX type

Slide 11 PARAMETERS (RADIO BUTTON) The PARAMETER type is RADIOBUTTON Make sure that each button belongs to the same group

Slide 12 PARAMETERS (Selection Ranges) You have seen selection ranges in many screens

Slide 13 PARAMETERS (Selection Ranges) Create an internal SELECTION table as follows:

Slide 14 PARAMETERS (Selection Ranges) (Screen Options) OBILIGAOTRY make the option required VISIBLE LENGTH defines the number of visible characters NO-EXTENSION prohibits multiple selection

Slide 15 PARAMETERS (Selection Ranges) (Value Options) Requires value to be between val1 and val2 SIGN contains the logical operand

Slide 16 Selection Texts (1) Selection texts are more than just textual prompts They provide a language independent way of displaying text Note that the program must be activated for this to all work correctly

Slide 17 Selection Texts (2) There are three types of text elements List Headings are used to build list headers Selection Texts appear in selection screens in place of parameter names and selection tables Text Symbols replace hard-coded literal values

Slide 18 Selection Texts (Illustration)

Slide 19 Selection Texts (Text Symbols) Here you can avoid using literal values and replace them with text symbols As usual, there is a bit of SAP magic here Symbols are numbered 001, 002, 003,…

Slide 20 Selection Texts (Text Symbols) The selection text variable is named text-xxx where xxx is the number of the selection text

Slide 21 Messages Unlike text elements, messages are not part of the report Instead, they are stored in a system table T100 is the table name Message can be between 1 and 72 characters Messages must be activated too Use transaction code SE91 to create

Slide 22 Table T100

Slide 23 Table T100 (Data)

Slide 24 Message (Creating) First, create the Message class Naming rules (Z) apply

Slide 25 Message (Creating) Then create the messages

Slide 26 Displaying the Message Call the MESSAGE function First character is e Followed by the message number Followed by the class you created

Slide 27 Selection Screen Layout You have limited layout capabilities for selection screens You can position line elements You cannot do much with fonts and typefaces