User Dialog Overview. Update Statement TABLES customers. SELECT SINGLE * FROM customers WHERE id = 1. IF sy-subrc = 0. customers-name = ‘John’. UPDATE.

Slides:



Advertisements
Similar presentations
Enterprise Wide Information Systems SAP R/3 Overview & Basis Technology 1.
Advertisements

SAP Memory Management (an Overview)
Users & Authorization Users must be setup and roles assigned to user master records before you can use the SAP System. A user can only log on to the system.
Visit : Call Us: US: , India:
Visit : Call Us: US: , India:
ABAP/4 PROGRAMMING Internal Table 講 師:呂 昇 燦 2000 年 9 月 26 日.
Lecture 1 Introduction to the ABAP Workbench
 SAP AG CSU Chico Searching and Selecting Data from R/3 ABAP/4 class Gail Corbitt - Fall 1998.
ABAP Chapter 6 Message Debugging File Transfer Type Group.
University of Southern California Enterprise Wide Information Systems ABAP/ 4 Programming Language Instructor: Richard W. Vawter.
Chapter 3: System design. System design Creating system components Three primary components – designing data structure and content – create software –
University of Southern California Enterprise Wide Information Systems SAP R/3 Overview & Basis Technology Instructor: Richard W. Vawter.
WebDynpro for ABAP Short introduction.
Overview SAP Basis Functions. SAP Technical Overview Learning Objectives What the Basis system is How does SAP handle a transaction request Differentiating.
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
Summary of The SAP Ecosystem and Functional Software.
ABAP Chapter 3 Open SQL Internal Table. SAP System : 3 Tier Client/Server DB Server SAP Application Server SAP GUI Presentation Server SAP GUI.
0 UMN 2011 ERP Terapan ABAP Introduction Session # 8.
SAP NetWeaver Programming Dylan Liu 劉兆宏 SAP NetWeaver Technical Consultant &MSN: Dec
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 日.
SAP Overview SAP? Company ERP Software package –R/2 –R/3.
ABAP/4 Course. General n Workbench n Program maintenance n Screen Painter n Menu Painter n Transactions n ABAP/4 Query n Translation menu.
SAP Script. 2 The ASP plus Solutions Company SAP Script is the SAP System's own text- processing system. SAP Script is integrated text management system.
Form printing with SAP Smart Forms Instructor: Dylan Liu
SAP ABAP DemoNawin's Training Acadamy1. Enterprise Wide Information Systems ABAP/ 4 Programming Language Mr. RG Nawin Krishna, Bsc(cs);Msc(psychology);MBA(HR);SAP(HCM/HR),
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.
0 UMN 2011 ERP Terapan Dialogs Programming Session # 11.
Introduction to ABAP Selection Screens. Slide 2 Screens (Types) There are three types of screens Selection screens get parameter input for reports List.
ITEC3612 Enterprise Architecture and Resource Planning (Lab) ABAP Programming (2)
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
NAND Flash Failure Behavior Sponsored By Micron Technology Inc.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
Report Layout Report Heading Report Body Column Heading Report Title.
Class Builder Tutorial Presented By- Amit Singh & Sylendra Prasad.
ABAP/4 PROGRAMMING Data Dictionary(1) 講 師:呂 昇 燦. Data Browser - SE16 ABAP Workbench tool for displaying information about table entries. You use the Data.
SELECT-OPTIONS. SELECT-OPTIONS Syntax TABLES customers. SELECT-OPTIONS id FOR customers-id. START-OF-SELECTION.
Mantova, September 2015 SAP ECC 6.0 DEVELOPMENT ABAP SAP develop enviroment & Transport organizer.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Juanita Cano City of Sacramento Spring 2014 Geography 375.
SAP DEVELOPMENT BASICS Bohuslav Tesar. TRAINING OVERVIEW Amazing life of ABAP developer ;) SAP introduction ABAP basics ABAP Reporting.
ERP I1, Session 7 dynpro. SAP GUI SAP has many GUI solutions: – Lists (ALV) – dynpro (Dynamic Program) – Business Server Pages – Web dynpro – More?
SAP - CRM. SAP - CRM CRM One Order Model CRM One Order concept. layers of one order framework Function modules in the one order framework Table Relationship.
Techniques for List Creation (2) Data formatting and control level processing Basics for Interactive Lists Detail lists The Program Interface Interactive.
Introduction to ABAP/4 A dvanced B usiness A pplication P rogram – Release 4 Why Use ABAP? –Programming language of SAP –Main purpose is to provide additional.
ABAP 楊子青 Dialog2-1 Screen Element for Output n Text Fields –Dynamic Screen Modifications n Status Icons n Group Boxes n 實例.
Entity Framework Database Connection with ASP Notes from started/getting-started-with-ef-using-mvc/creating-an-
SAP R/3 User Administration1. 2 User administration in a productive environment is an ongoing process of creating, deleting, changing, and monitoring.
SAP Tuning 실무 SK㈜ ERP TFT.
Online | classroom| Corporate Training | certifications | placements| support Contact: USA : , India.
SPECTO TRAINING contact us: , mail :
Enterprise Wide Information Systems SAP R/3 Overview & Basis Technology Instructor: Richard W. Vawter.
ABAP Workbench Fundamentals
SAP Overview.
Running a Forms Developer Application
SAP ECC 6.0 DEVELOPMENT ABAP ABAP DICTIONARY & Advanced Editor Abap
SAP ABAP Online Training
ABAP/4程序员之路——第3天 上海华和得易信息技术有限公司 王勇.
JHARKHAND BIJLI VITRAN NIGAM LIMITED (JBVNL) ABAP Training
Chapter 15: GUI Applications & Event-Driven Programming
Subscreens and Tabstrip Controls
Unit 8 Search Help 、 Unit 7 Views
SAP Memory Management (an Overview)
Dialog Programming 整合實例
Screen Elements for Input/Output
Presentation transcript:

User Dialog Overview

Update Statement TABLES customers. SELECT SINGLE * FROM customers WHERE id = 1. IF sy-subrc = 0. customers-name = ‘John’. UPDATE customers. ENDIF.

Database Server Application Server Dispatcher Request Queue DDDD … SAP Buffer Program … User Context Area Report zpsm1. Tables customers. Select single * from customers where id = 1. Write: / customers-name. 5 Execute ABAP stateme nt Check Program in Program Buffer Roll in 8 Load&Gen Program SQL Request Send List Generate Screen(List) Send Request Request List 2 Search for free WP Store request to queue Send request to WP SAP GUI SAP System : Dialog Processing D010Scustomers

TaskHandler DYNPRO Processor ABAP Processor Local Memory Memory Space DB Interface List Buffer Database Server Dialog Work Process User Context Dialog WP : Report Result Set Memory

Database Server Application Server Dispatcher Request Queue DDDD … SAP Buffer Program … User Context Area Execute ABAP stateme nt Check Program in Program Buffer Roll in 8 Load&Gen Program SQL Request Send List Send Request Request 2 Search for free WP Store request to queue Send request to WP SAP GUI SAP System : Dialog Processing Generate Dialog Screen Screen PROGRAM sapmzex001. INCLUDE …. CALL SCREEN 100. … D010Scustomers

TaskHandler DYNPRO Processor ABAP Processor Local Memory Memory Space DB Interface Screen Buffer Database Server Dialog Work Process User Context Dialog WP : Dialog Program Result Set Memory

Dialog Program : Transaction

Dialog Program Components Transaction Code 100 Screen : 100 (Screen Layout) 200 Screen : 200 (Screen Layout) Flow Logic PBO PAI ABAP Module Pool PBO PAI ABAP Module Pool Dialog Program Program Naming Convention : SAPM[Z/Y] …

Data Transfer (Local Memory) Screen Buffer ABAP Memory Space Screen Work AreaABAP Work Area PBO PAI customers-id customers id name city … ok_code Local Memory Element List

Flow Logic Process Before Output(PBO) After it has processed all of the modules in the PBO processing block, the system copies the contents of the fields in the ABAP work area to their corresponding fields in the screen work area. Process After Input(PAI) Before it processes the first module in the PAI processing block, the system copies the contents of the fields in the screen work area to their corresponding fields in the ABAP work area.

OK Code Field in Screen OK Code Field or Command Field (ok_code in Element List)

Defining Screen (4 Steps) Screen Attribute Screen Layout Flow Logic Element List Element List(ok_code field)

Flow Logic in Screen 100 PROCESS BEFORE OUTPUT. MODULE STATUS_0100. PROCESS AFTER INPUT. MODULE USER_COMMAND_0100.

PBO in Screen 100 MODULE status_0100 OUTPUT. SET PF-STATUS ‘ 0100 ’. SET TITLEBAR ‘ 0100 ’. ENDMODULE.

PAI in Screen 100 MODULE user_command_0100 INPUT. CASE ok_code. WHEN ‘BACK’. LEAVE PROGRAM. WHEN space. SELECT SINGLE * FROM customers WHERE id = customers-id. IF sy-subrc = 0. LEAVE TO SCREEN 200. ENDIF. ENDCASE. ENDMODULE.

How to Create Dialog Program Transaction SE80 : Create Dialog Program (SAPMY/Z … ) Create Screen(4 steps) Screen Attribute (Description) Screen Layout (Graphic Screen Painter) Flow Logic(PBO,PAI) Define Variable ok_code in Element List Define Data Objects in ABAP Work Area at TOP Include(TABLES, DATA,...) Check and Activate Dialog Program Create Transaction Code (Y/Z … )

Example I Maintain Customers Data Screen : 100 Screen : 200

Example I Create Dialog Program SAPMZEX for changing Customers table Screen 100 Field customers-id Screen 200 Field customers-id and customers-name

Example I Screen 100 PROCESS BEFORE OUTPUT. MODULE STATUS_0100. PROCESS AFTER INPUT. MODULE USER_COMMAND_0100.

Example I Screen 100 MODULE status_0100 OUTPUT. SET PF-STATUS ‘ 0100 ’. SET TITLEBAR ‘ 0100 ’. CLEAR ok_code. ENDMODULE.

Example I Screen 100 MODULE user_command_0100 INPUT. CASE ok_code. WHEN ‘ BACK ’. LEAVE PROGRAM. “ leave to screen 0 WHEN space. SELECT SINGLE * FROM customers WHERE id = customers-id. LEAVE TO SCREEN 200. ENDCASE. ENDMODULE.

Example I Screen 200 PROCESS BEFORE OUTPUT. MODULE STATUS_0200. PROCESS AFTER INPUT. MODULE USER_COMMAND_0200.

Example I Screen 200 MODULE status_0200 OUTPUT. SET PF-STATUS ‘ 0200 ’. SET TITLEBAR ‘ 0200 ’. CLEAR ok_code. ENDMODULE.

Example I Screen 200 MODULE user_command_0200 INPUT. CASE ok_code. WHEN ‘ BACK ’. LEAVE TO SCREEN 100. “ SET SCREEN 100. LEAVE SCREEN. WHEN ‘ SAVE ’. UPDATE customers. MESSAGE s000(38) WITH ‘ Update OK! ’. LEAVE TO SCREEN 100. ENDCASE. ENDMODULE.

Example I TOP Include TABLES customers. DATA ok_code TYPE sy-ucomm. Create Transaction Code Transaction Code : ZEX

Exercise Create Dialog Program : SAPMZCUST Transaction Code : ZCUST

Exercise : Customers Maintenance Screen : 100 Screen : 200

Checking User Input Check Input Data Using FIELD Statement

FIELD Statement Screen 100 : Flow Logic (PAI) PROCESS AFTER INPUT. FIELD customers-id MODULE user_command_0100.

Example I Screen 100 : PAI MODULE user_command_0100 INPUT.... WHEN SPACE. SELECT SINGLE * FROM customers WHERE id = customers-id. IF sy-subrc <> 0. MESSAGE e000(38) WITH ‘ Customers data not found ’. ELSE. LEAVE TO SCREEN 200. ENDIF. ENDCASE. ENDMODULE.