SlideShare une entreprise Scribd logo
1  sur  70
Dialog Programming Overview
SAP System : Dialog Processing (Report)
                                      SAP GUI

                                                                              Report zpsm1.

                                   Request                                    Tables customers.
                                                List                          Select single * from
                                     Generate
                                  1   10
                                                                               customers where id = 1.
                                     Screen(List)
  Application Server       Send Request                                       Write: / customers-name.


  Store request
  to queue3                    Dispatcher
                  Send         2     Search for                  SAP Buffer
                  List
                    9                free WP
     Request                         Check Program in                                7
                                                                   Program
      Queue Send request             Program Buffer
                                         5                                        Execute
             to WP
                4                                                                 ABAP
                                                                   …
                    D          D        D …            D                          stateme
                                                                                  nt
                                                                       …

                           8                                 6

                           SQL                             Load&Gen
  Database Server          Request                         Program
Dialog WP : Executable Program
 Dialog WP                     Local Memory

      TaskHandler                Memory
                                 Space
     ABAP Processor


    DYNPRO Processor
                                 List Buffer


       DB Interface
           Result Set Memory




    Database
Types of ABAP Report

1


                     3




                 1. Report Listing
     4           2. Drill-down Report
                 3. Control-break Report
                 4. ALV Report
SAP System : Dialog Processing (DIALOG)
                                      SAP GUI

                                                                            Program sapmzex001.

                                   Request                                  Include ….
                                                Screen                      Set screen 100.
                                     Generate Dialog
                                  1   10
                                                                            …
                                     Screen
  Application Server       Send Request

  Store request
  to queue3                    Dispatcher
                  Send         2     Search for                SAP Buffer
                  List
                    9                free WP
     Request                         Check Program in                             7
                                                                 Program
      Queue Send request             Program Buffer
                                         5                                      Execute
             to WP
                4                                                               ABAP
                                                                 …
                    D          D        D …         D                           stateme
                                                                                nt
                                                                     …

                           8                               6

                           SQL                           Load&Gen
  Database Server          Request                       Program
Dialog WP : Dialog Program
 Dialog WP                     Local Memory
                                 ABAP Memory
      TaskHandler


     ABAP Processor


    DYNPRO Processor
                                 Screen Buffer


       DB Interface
           Result Set Memory




    Database
Dialog Program : Transaction
Dialog Program Components
Transaction Code



Dialog Program          Program Naming Convention : SAPM…




                                                              ABAP Module Pool
                 Screen : 100                          PBO
                   (Screen Layout)    Flow Logic


                                                        PAI   ABAP Module Pool




                                                       PBO    ABAP Module Pool
                   Screen : 200
                   (Screen Layout)     Flow Logic

                                                        PAI   ABAP Module Pool
SAP Transaction
                      DB Commit             DB Commit




   An SAP transaction consists of Dialog steps. A Dialog step
    begins when the user press Enter,activates a function by
    pressing a function key,double-clicks or chooses a function from
    a menu.It ends when the next screen is display
   In the course of a Dialog step,The PAI modules belonging to the
    current screen and the PBO modules belonging to the next
    screen
Data Transfer (Local Memory)
                            Local Memory

Screen Work Area                           ABAP Work Area
ok_code

            Screen Buffer
                                             ABAP Memory Space
                                PBO
    Element List

                                              customers

                                               id       name   city   …
  customers-id                                0000000



  customers-name
                                                 ok_code
                               PAI
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(ok_code
   Element List                  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 ‘EXIT’.               “Leave program
    SET SCREEN 0. LEAVE SCREEN. “Leave to
  screen 0
  WHEN ‘SAVE’.
    UPDATE customers.
    MESSAGE S000(38) WITH ‘Update OK’.
    SET SCREEN 50. LEAVE SCREEN.
  ENDCASE.
ENDMODULE.
How to Create Dialog Program
   Transaction SE80 : Create Dialog Program
   Create Screen(4 steps)
      Screen Attribute

      Screen Layout

      Flow Logic(PBO,PAI)

      Define Variable ok_code in Element List

   Define Data Object in ABAP Work Area at TOP
    Include(Tables, Data,...)
   Check and Activate Dialog Program
   Create Transaction Code
Example I

               Maintain Customers Data
Screen : 100                 Screen : 200
Example I
   Create Dialog Program SAPMZEX<nn> 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’.
    ENDMODULE.
Example I
   Screen 100
    MODULE user_command_0100 INPUT.
     CASE ok_code.
      WHEN ‘BACK’.
       LEAVE PROGRAM. “leave to screen 0
      WHEN space. “if not assign Enter Key
       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’.
    ENDMODULE.
Example I
   Screen 200

MODULE user_command_0200 INPUT.
  CASE ok_code.
   WHEN ‘BACK’.
    LEAVE TO SCREEN 100. “set screen 100
   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<nn>
Exercise

Create Dialog Program : SAPMZCUST<nn>
     Transaction Code : ZCUST<nn>
Exercise : Customers Maintenance
Screen : 100             Screen : 200
Setting the Cursor Position Dynamically

PROCESS BEFORE OUTPUT.
 MODULE STATUS_0200.
 MODULE set_cursor.




MODULE set_cursor OUTPUT.
 SET CURSOR FIELD ‘CUSTOMERS-CITY’
    OFFSET 3.
ENDMODULE.
                                     Cursor Position
Avoiding the Unexpected
Processing Step of ok_code Field
1. Auxiliary OK_CODE Variable
   TOP Include
TABLES customers.
DATA ok_code TYPE sy-ucomm.
DATA save_ok TYPE sy-ucomm.
Example I - Change
   Screen 100 : PAI
     MODULE user_command_0100 INPUT.
     save_ok = ok_code.
     CLEAR ok_code.
     CASE save_ok.
      WHEN ‘BACK’.
       LEAVE PROGRAM.
      WHEN space.
       SELECT SINGLE * FROM customers WHERE id = customers-id.
       LEAVE TO SCREEN 200.
     ENDCASE.
    ENDMODULE.
Example I - Change
    Screen 200 : PAI
     MODULE user_command_0200 INPUT.
     save_ok = ok_code.
     CLEAR ok_code.
     CASE save_ok.
      WHEN ‘BACK’.
       LEAVE TO SCREEN 100.
      WHEN space.
       LEAVE TO SCREEN 200.
      WHEN ‘SAVE’.
       UPDATE customers.
       MESSAGE s000(38) WITH ‘Update OK!’.
       LEAVE TO SCREEN 100.
     ENDCASE.
    ENDMODULE.
2. Specify the Enter Function at GUI Status
Check Enter Function
   Screen 100 : PAI
    MODULE user_command_0100 INPUT.
     CASE ok_code.
       WHEN ‘BACK’.
        LEAVE PROGRAM.
       WHEN ‘ENTE’.
        SELECT SINGLE * FROM customers
          WHERE id = customers-id.
        LEAVE TO SCREEN 200.
      ENDCASE.
    ENDMODULE.
3. Clear OK_CODE at PBO
   Screen 100 : Flow Logic

    PROCESS BEFORE OUTPUT.
     MODULE STATUS_0100.
     MODULE clear_ok_code.

    PROCESS AFTER INPUT.
     MODULE USER_COMMAND_0100.
Clear OK_CODE at PBO
   Screen 100 : PBO
    MODULE status_0100 OUTPUT.
     SET PF-STATUS ‘0100’.
     SET TITLEBAR ‘0100’.
    ENDMODULE.

    MODULE clear_ok_code OUTPUT.
      CLEAR ok_code.
    ENDMODULE.
Checking User Input
Example II
Maintain Customers Data
 Check Input Data Manually
Example II
   Screen 100 : PAI
     MODULE user_command_0100 INPUT.
     ...
      WHEN SPACE.
         SELECT SINGLE * FROM customers WHERE id = customers-id.
         IF sy-subrc <> 0.
           MESSAGE S000(38) WITH ‘Customers data not found’.
           LEAVE TO SCREEN 100.
         ELSE.
           LEAVE TO SCREEN 200.
         ENDIF.
     ENDCASE.
    ENDMODULE.
Example III
Maintain Customers Data
 Check Input Data Using Field Command
Example III – Field Statement
   Screen 100 : Flow Logic (PAI)

    PROCESS AFTER INPUT.
     FIELD customers-id MODULE user_command_0100.
Example III
   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.
Field Input Checking
   If you want to check input values in the module
    pool and start dialog in the event of a negative
    result,you use the FIELD statement with the
    addition MODULE.
   If the module results in an error(E) or
    warning(W) message,the screen is redisplayed
    without processing the PBO modules.The
    message text is displayed and only the field being
    checked by this module becomes ready for input
    again
Field Statement With More Than 1 Field
     Screen 100 : Flow Logic (PAI)
      PROCESS AFTER INPUT.
       CHAIN.
        FIELD: customers-id,customers-custtype
              MODULE user_command_0100.
       ENDCHAIN.


PROCESS AFTER INPUT.
 CHAIN.
  FIELD customers-id MODULE user_command_0100.
  FIELD customers-custtype MODULE user_command_0100.
 ENDCHAIN.
Field Statement & Data Transport
       PROCESS AFTER INPUT.
        MODULE a.             •Transfer f3,f4
                              •Call module a
        FILED f1 MODULE b.    •Transfer f1
        FILED f2 MODULE c.    •Call module b
                              •Transfer f2
        MODULE d.             •Call module c
Screen 100                    •Call module d
  f1    f2

  f3     f4
Required Field
Required Field
Required Field
At exit-command
Function Type : Exit Command
At exit-command
    When user chooses a function with type
    E,the screen flow logic jumps directly to the
    following statement
        MODULE <module> AT EXIT-COMMAND
    No other screen fields are transported to the
    program except OK Code field
At exit-command
   Screen 100 : Flow Logic

    PROCESS BEFORE OUTPUT.
     MODULE STATUS_0100.

    PROCESS AFTER INPUT.
     MODULE exit AT EXIT-COMMAND.
     MODULE USER_COMMAND_0100.
At exit-command
   Screen 100 : PAI

    MODULE exit INPUT.
     CASE ok_code.
                         LEAVE PROGRAM.
      WHEN ‘EXIT’.
       LEAVE PROGRAM.
     ENDCASE.
    ENDMODULE.
Function Module
(POPUP_TO_CONFIRM_LOSS_OF_DATA)
Example IV
Maintain Customer Data
 Popup confirmation data using function

    ‘POPUP_TO_CONFIRM_LOSS_OF_DATA’
Example IV
   TOP Include
    ...
    DATA ans.
Example IV
   Screen 100 : PAI
    MODULE exit INPUT.
     CALL FUNCTION ‘POPUP_TO_CONFIRM_LOSS_OF_DATA’
       EXPORTING
         textline1 = ‘Are you sure?’
         titel      = ‘Please Confirm!!!’
       IMPORTING
         answer = ans.
      IF ans = ‘J’. “J = Ja in German= Yes in English
       LEAVE PROGRAM.
     ELSE.
     ENDIF.
    ENDMODULE.
SAP Transaction : Enqueue Lock Object
SAP Transaction & DB Transaction
   Each Dialog step can contain update
    requests(INSERT,DELETE,UPDATE)
   After each Dialog step,the R/3 system
    automatically passes a database commit to the
    database system.The database system then
    distributes the update requests from the
    individual dialog steps across several database
    transactions
   A rollback in one Dialog step has no effect on
    database updates performed in previous Dialog
    steps
SAP Transaction(LUW)
          DB Commit        DB Commit


 DB LUW




                 SAP LUW
SAP Database Maintenance Steps
   Check data locking by calling function
    ‘ENQUEUE_<lock object>’
   Read data from Database Ex. Select single …
   Data Processing Ex. Update ...
   Release lock by calling function
    ‘DEQUEUE_<lock object>’
SAP Lock Object
   Transaction SE11 : Lock object
       ENQUEUE_<lock object>
       DEQUEUE_<lock object>
SAP Lock Object : Function Module
Example IV
   ENQUEUE /DEQUEUELock Object(SE11)
    CALL FUNCTION ‘ENQUEUE_EZCUST<nn>’
    CALL FUNCTION ‘DEQUEUE_EZCUST<nn>’




     User 1                      User 2
Example IV (I)
   Screen 100 : PAI
    MODULE user_command_0100 INPUT.
    ...
     WHEN SPACE.
        CALL FUNCTION ‘ENQUEUE_EZCUST00’
         EXPORTING
             …
             id = customers-id
         EXCEPTIONS
         ...
        IF sy-subrc <> 0.
       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
     ELSE.
         SELECT SINGLE * FROM customers WHERE id = customers-id.
     ...
Example IV (II)
   Screen 100 : PAI
    MODULE user_command_0100 INPUT.
    ...
     WHEN SPACE.
        CALL FUNCTION ‘ENQUEUE_EZCUST00’
          EXPORTING                      message id sy-msgid type
              id = customers-id          sy-msgty number
          ...                                       sy-msgno with sy-
        IF sy-subrc <> 0.                msgv1 sy-msgv2
            CONCATENATE ‘Data was locked by :’ sy-msgv1 INTO mess.
                                                    sy-msgv3 sy-
            MESSAGE E000(38) WITH mess. msgv4.
        ELSE.
            SELECT SINGLE * FROM customers WHERE id = customers-id.
        ...
Example IV
   Screen 200 : PAI
    MODULE user_command_0200 INPUT.
    ...
     WHEN ‘BACK’.
        CALL FUNCTION ‘DEQUEUE_EZCUST00’
          EXPORTING
            …
            id = customers-id.
        LEAVE TO SCREEN 100.
         …
Example IV
   Screen 200 : PAI
    MODULE user_command_0200 INPUT.
    ...
     WHEN ‘SAVE’.
        UPDATE customers.
        MESSAGE S000(38) WITH ‘Update OK!’.
        CALL FUNCTION ‘DEQUEUE_EZCUST00’
         EXPORTING
             …
             id = customers-id.
        LEAVE TO SCREEN 100.
         ...
         ...
Monitoring Enqueue Lock : SM12

Contenu connexe

Tendances

ABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type GroupABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type Groupsapdocs. info
 
ABAP Programming Overview
ABAP Programming OverviewABAP Programming Overview
ABAP Programming Overviewsapdocs. info
 
SAP Modularization techniques
SAP Modularization techniquesSAP Modularization techniques
SAP Modularization techniquesJugul Crasta
 
Sap sapscripts tips and tricks
Sap sapscripts tips and tricksSap sapscripts tips and tricks
Sap sapscripts tips and tricksKranthi Kumar
 
SAP ABAP - Needed Notes
SAP   ABAP - Needed NotesSAP   ABAP - Needed Notes
SAP ABAP - Needed NotesAkash Bhavsar
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAPsapdocs. info
 
Sap abap real time questions
Sap abap real time questionsSap abap real time questions
Sap abap real time questionstechie_gautam
 
Sap Abap Reports
Sap Abap ReportsSap Abap Reports
Sap Abap Reportsvbpc
 
Top 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.comTop 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.combigclasses.com
 
Sap abap-data structures and internal tables
Sap abap-data structures and internal tablesSap abap-data structures and internal tables
Sap abap-data structures and internal tablesMustafa Nadim
 
Enhancement framework the new way to enhance your abap systems
Enhancement framework   the new way to enhance your abap systemsEnhancement framework   the new way to enhance your abap systems
Enhancement framework the new way to enhance your abap systemsKranthi Kumar
 

Tendances (20)

Dialog programming ABAP
Dialog programming ABAPDialog programming ABAP
Dialog programming ABAP
 
Alv theory
Alv theoryAlv theory
Alv theory
 
ABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type GroupABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type Group
 
ABAP Programming Overview
ABAP Programming OverviewABAP Programming Overview
ABAP Programming Overview
 
SAP Modularization techniques
SAP Modularization techniquesSAP Modularization techniques
SAP Modularization techniques
 
Sap sapscripts tips and tricks
Sap sapscripts tips and tricksSap sapscripts tips and tricks
Sap sapscripts tips and tricks
 
SAP ABAP - Needed Notes
SAP   ABAP - Needed NotesSAP   ABAP - Needed Notes
SAP ABAP - Needed Notes
 
Sap abap material
Sap abap materialSap abap material
Sap abap material
 
CDS Views.pptx
CDS Views.pptxCDS Views.pptx
CDS Views.pptx
 
Sap abap
Sap abapSap abap
Sap abap
 
Badi document
Badi documentBadi document
Badi document
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAP
 
Sap abap real time questions
Sap abap real time questionsSap abap real time questions
Sap abap real time questions
 
Sap Abap Reports
Sap Abap ReportsSap Abap Reports
Sap Abap Reports
 
Basic Debugging
Basic DebuggingBasic Debugging
Basic Debugging
 
Top 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.comTop 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.com
 
SAP Smart forms
SAP Smart formsSAP Smart forms
SAP Smart forms
 
Sap abap-data structures and internal tables
Sap abap-data structures and internal tablesSap abap-data structures and internal tables
Sap abap-data structures and internal tables
 
Sap scripts
Sap scriptsSap scripts
Sap scripts
 
Enhancement framework the new way to enhance your abap systems
Enhancement framework   the new way to enhance your abap systemsEnhancement framework   the new way to enhance your abap systems
Enhancement framework the new way to enhance your abap systems
 

En vedette

ABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection ScreenABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection Screensapdocs. info
 
HR ABAP Technical Overview | http://sapdocs.info/
HR ABAP Technical Overview | http://sapdocs.info/HR ABAP Technical Overview | http://sapdocs.info/
HR ABAP Technical Overview | http://sapdocs.info/sapdocs. info
 
HR ABAP Programming Training Material | http://sapdocs.info
HR ABAP Programming Training Material | http://sapdocs.infoHR ABAP Programming Training Material | http://sapdocs.info
HR ABAP Programming Training Material | http://sapdocs.infosapdocs. info
 
ABAP Open SQL & Internal Table
ABAP Open SQL & Internal TableABAP Open SQL & Internal Table
ABAP Open SQL & Internal Tablesapdocs. info
 
SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!sapdocs. info
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAPsapdocs. info
 
Modularization & Catch Statement
Modularization & Catch StatementModularization & Catch Statement
Modularization & Catch Statementsapdocs. info
 
Comparison between abap & abap hr
Comparison between abap & abap hrComparison between abap & abap hr
Comparison between abap & abap hrMahender Donthula
 
SAP Accounts Reveivable Functions | http://sapdocs.info
SAP Accounts Reveivable Functions | http://sapdocs.infoSAP Accounts Reveivable Functions | http://sapdocs.info
SAP Accounts Reveivable Functions | http://sapdocs.infosapdocs. info
 
Open SQL & Internal Table
Open SQL & Internal TableOpen SQL & Internal Table
Open SQL & Internal Tablesapdocs. info
 
SAP Accounts Reveivable Customer Master | http://sapdocs.info
SAP Accounts Reveivable Customer Master | http://sapdocs.infoSAP Accounts Reveivable Customer Master | http://sapdocs.info
SAP Accounts Reveivable Customer Master | http://sapdocs.infosapdocs. info
 
ABAP Basico para Consultores Funcionales
ABAP Basico para Consultores FuncionalesABAP Basico para Consultores Funcionales
ABAP Basico para Consultores Funcionalessapdocs. info
 

En vedette (16)

07.Advanced Abap
07.Advanced Abap07.Advanced Abap
07.Advanced Abap
 
ABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection ScreenABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection Screen
 
HR ABAP Technical Overview | http://sapdocs.info/
HR ABAP Technical Overview | http://sapdocs.info/HR ABAP Technical Overview | http://sapdocs.info/
HR ABAP Technical Overview | http://sapdocs.info/
 
HR ABAP Programming Training Material | http://sapdocs.info
HR ABAP Programming Training Material | http://sapdocs.infoHR ABAP Programming Training Material | http://sapdocs.info
HR ABAP Programming Training Material | http://sapdocs.info
 
ABAP Open SQL & Internal Table
ABAP Open SQL & Internal TableABAP Open SQL & Internal Table
ABAP Open SQL & Internal Table
 
SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAP
 
Modularization & Catch Statement
Modularization & Catch StatementModularization & Catch Statement
Modularization & Catch Statement
 
SAP ABAP Material
SAP ABAP MaterialSAP ABAP Material
SAP ABAP Material
 
ABAP Advanced List
ABAP Advanced ListABAP Advanced List
ABAP Advanced List
 
Comparison between abap & abap hr
Comparison between abap & abap hrComparison between abap & abap hr
Comparison between abap & abap hr
 
Abap hr programing
Abap hr programingAbap hr programing
Abap hr programing
 
SAP Accounts Reveivable Functions | http://sapdocs.info
SAP Accounts Reveivable Functions | http://sapdocs.infoSAP Accounts Reveivable Functions | http://sapdocs.info
SAP Accounts Reveivable Functions | http://sapdocs.info
 
Open SQL & Internal Table
Open SQL & Internal TableOpen SQL & Internal Table
Open SQL & Internal Table
 
SAP Accounts Reveivable Customer Master | http://sapdocs.info
SAP Accounts Reveivable Customer Master | http://sapdocs.infoSAP Accounts Reveivable Customer Master | http://sapdocs.info
SAP Accounts Reveivable Customer Master | http://sapdocs.info
 
ABAP Basico para Consultores Funcionales
ABAP Basico para Consultores FuncionalesABAP Basico para Consultores Funcionales
ABAP Basico para Consultores Funcionales
 

Similaire à 08.Abap Dialog Programming Overview

03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)saifee37
 
03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)saifee37
 
Single Sourcing RAP and RCP - Desktop and web clients from a single code base
Single Sourcing RAP and RCP - Desktop and web clients from a single code baseSingle Sourcing RAP and RCP - Desktop and web clients from a single code base
Single Sourcing RAP and RCP - Desktop and web clients from a single code baseRalf Sternberg
 
Abap course chapter 1 introduction and first program
Abap course   chapter 1 introduction and first programAbap course   chapter 1 introduction and first program
Abap course chapter 1 introduction and first programMilind Patil
 
NIG系統報表開發指南
NIG系統報表開發指南NIG系統報表開發指南
NIG系統報表開發指南Guo Albert
 
Fluentd meetup logging infrastructure in paa s
Fluentd meetup   logging infrastructure in paa sFluentd meetup   logging infrastructure in paa s
Fluentd meetup logging infrastructure in paa sRakuten Group, Inc.
 
SAP Sybase Event Streaming Processing
SAP Sybase Event Streaming ProcessingSAP Sybase Event Streaming Processing
SAP Sybase Event Streaming ProcessingSybase Türkiye
 
Windows Azure Design Patterns
Windows Azure Design PatternsWindows Azure Design Patterns
Windows Azure Design PatternsDavid Pallmann
 
(ATS3-DEV05) Coding up Pipeline Pilot Components
(ATS3-DEV05) Coding up Pipeline Pilot Components(ATS3-DEV05) Coding up Pipeline Pilot Components
(ATS3-DEV05) Coding up Pipeline Pilot ComponentsBIOVIA
 
Plugin-able POS Solutions by Javascript @HDM9 Taiwan
Plugin-able POS Solutions by Javascript @HDM9 TaiwanPlugin-able POS Solutions by Javascript @HDM9 Taiwan
Plugin-able POS Solutions by Javascript @HDM9 TaiwanRack Lin
 
Abap sample
Abap sampleAbap sample
Abap sampledeerbabu
 
Vmug it's all about the app
Vmug it's all about the appVmug it's all about the app
Vmug it's all about the appsubtitle
 
Apache Flink Training: System Overview
Apache Flink Training: System OverviewApache Flink Training: System Overview
Apache Flink Training: System OverviewFlink Forward
 
Cowboy dating with big data, Борис Трофімов
Cowboy dating with big data, Борис ТрофімовCowboy dating with big data, Борис Трофімов
Cowboy dating with big data, Борис ТрофімовSigma Software
 
Basics SAP
Basics SAPBasics SAP
Basics SAPitplant
 

Similaire à 08.Abap Dialog Programming Overview (20)

03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)
 
03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)03 abap3-090715081232-phpapp01 (1)
03 abap3-090715081232-phpapp01 (1)
 
Single Sourcing RAP and RCP - Desktop and web clients from a single code base
Single Sourcing RAP and RCP - Desktop and web clients from a single code baseSingle Sourcing RAP and RCP - Desktop and web clients from a single code base
Single Sourcing RAP and RCP - Desktop and web clients from a single code base
 
Abap course chapter 1 introduction and first program
Abap course   chapter 1 introduction and first programAbap course   chapter 1 introduction and first program
Abap course chapter 1 introduction and first program
 
NIG系統報表開發指南
NIG系統報表開發指南NIG系統報表開發指南
NIG系統報表開發指南
 
Fluentd meetup logging infrastructure in paa s
Fluentd meetup   logging infrastructure in paa sFluentd meetup   logging infrastructure in paa s
Fluentd meetup logging infrastructure in paa s
 
SAP Sybase Event Streaming Processing
SAP Sybase Event Streaming ProcessingSAP Sybase Event Streaming Processing
SAP Sybase Event Streaming Processing
 
Windows Azure Design Patterns
Windows Azure Design PatternsWindows Azure Design Patterns
Windows Azure Design Patterns
 
(ATS3-DEV05) Coding up Pipeline Pilot Components
(ATS3-DEV05) Coding up Pipeline Pilot Components(ATS3-DEV05) Coding up Pipeline Pilot Components
(ATS3-DEV05) Coding up Pipeline Pilot Components
 
Hadoop + Forcedotcom = Like
Hadoop + Forcedotcom = LikeHadoop + Forcedotcom = Like
Hadoop + Forcedotcom = Like
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAP
 
Project Zero JavaOne 2008
Project Zero JavaOne 2008Project Zero JavaOne 2008
Project Zero JavaOne 2008
 
Plugin-able POS Solutions by Javascript @HDM9 Taiwan
Plugin-able POS Solutions by Javascript @HDM9 TaiwanPlugin-able POS Solutions by Javascript @HDM9 Taiwan
Plugin-able POS Solutions by Javascript @HDM9 Taiwan
 
Using R with Hadoop
Using R with HadoopUsing R with Hadoop
Using R with Hadoop
 
Abap sample
Abap sampleAbap sample
Abap sample
 
Vmug it's all about the app
Vmug it's all about the appVmug it's all about the app
Vmug it's all about the app
 
9P Overview
9P Overview9P Overview
9P Overview
 
Apache Flink Training: System Overview
Apache Flink Training: System OverviewApache Flink Training: System Overview
Apache Flink Training: System Overview
 
Cowboy dating with big data, Борис Трофімов
Cowboy dating with big data, Борис ТрофімовCowboy dating with big data, Борис Трофімов
Cowboy dating with big data, Борис Трофімов
 
Basics SAP
Basics SAPBasics SAP
Basics SAP
 

Plus de sapdocs. info

SAP PM Master Data Training Guide
SAP PM Master Data Training GuideSAP PM Master Data Training Guide
SAP PM Master Data Training Guidesapdocs. info
 
SAP SD Certification (C_TSCM62_66) Preparation Training Notes
SAP SD Certification (C_TSCM62_66) Preparation Training NotesSAP SD Certification (C_TSCM62_66) Preparation Training Notes
SAP SD Certification (C_TSCM62_66) Preparation Training Notessapdocs. info
 
Variant Configuration in SAP PP: Beginner's Guide
Variant Configuration in SAP PP: Beginner's GuideVariant Configuration in SAP PP: Beginner's Guide
Variant Configuration in SAP PP: Beginner's Guidesapdocs. info
 
SAP PP MRP Guide for Beginners
SAP PP MRP Guide for BeginnersSAP PP MRP Guide for Beginners
SAP PP MRP Guide for Beginnerssapdocs. info
 
SAP ECC 6.0 PM Configuration Manual - www.sapdocs.info
SAP ECC 6.0 PM Configuration Manual - www.sapdocs.infoSAP ECC 6.0 PM Configuration Manual - www.sapdocs.info
SAP ECC 6.0 PM Configuration Manual - www.sapdocs.infosapdocs. info
 
SAP PM Training Manual - www.sapdocs.info
SAP PM Training Manual - www.sapdocs.infoSAP PM Training Manual - www.sapdocs.info
SAP PM Training Manual - www.sapdocs.infosapdocs. info
 
SAP Configuration Guide for Functional Modules (Based on IDES)
SAP Configuration Guide for Functional Modules (Based on IDES)SAP Configuration Guide for Functional Modules (Based on IDES)
SAP Configuration Guide for Functional Modules (Based on IDES)sapdocs. info
 
SAP FI-AP TCODES & MENU PATHS
SAP FI-AP TCODES & MENU PATHSSAP FI-AP TCODES & MENU PATHS
SAP FI-AP TCODES & MENU PATHSsapdocs. info
 
SAP FI-AR TCODES & MENU PATHS
SAP FI-AR TCODES & MENU PATHSSAP FI-AR TCODES & MENU PATHS
SAP FI-AR TCODES & MENU PATHSsapdocs. info
 
SAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive DocumentSAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive Documentsapdocs. info
 
SAP PP End User Document - www.sapdocs.info
SAP PP End User Document - www.sapdocs.infoSAP PP End User Document - www.sapdocs.info
SAP PP End User Document - www.sapdocs.infosapdocs. info
 
SAP MM Configuration - Real Project Documentation
SAP MM Configuration - Real Project DocumentationSAP MM Configuration - Real Project Documentation
SAP MM Configuration - Real Project Documentationsapdocs. info
 
SAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User GuideSAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User Guidesapdocs. info
 
SAP FI AR: End User Guide for Beginners
SAP FI AR: End User Guide for BeginnersSAP FI AR: End User Guide for Beginners
SAP FI AR: End User Guide for Beginnerssapdocs. info
 
SAP FI AP: End User Guide for Beginners
SAP FI AP: End User Guide for BeginnersSAP FI AP: End User Guide for Beginners
SAP FI AP: End User Guide for Beginnerssapdocs. info
 
SAP FI Asset Accounting: End User Guide for Beginners
SAP FI Asset Accounting: End User Guide for BeginnersSAP FI Asset Accounting: End User Guide for Beginners
SAP FI Asset Accounting: End User Guide for Beginnerssapdocs. info
 
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.infoVariant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.infosapdocs. info
 
Exclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.infoExclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.infosapdocs. info
 
SAP Plant Maintenance Training Material | www.sapdocs.info
SAP Plant Maintenance Training Material | www.sapdocs.infoSAP Plant Maintenance Training Material | www.sapdocs.info
SAP Plant Maintenance Training Material | www.sapdocs.infosapdocs. info
 
SAP HR Time Management User Guide | www.sapdocs.info
SAP HR Time Management User Guide | www.sapdocs.infoSAP HR Time Management User Guide | www.sapdocs.info
SAP HR Time Management User Guide | www.sapdocs.infosapdocs. info
 

Plus de sapdocs. info (20)

SAP PM Master Data Training Guide
SAP PM Master Data Training GuideSAP PM Master Data Training Guide
SAP PM Master Data Training Guide
 
SAP SD Certification (C_TSCM62_66) Preparation Training Notes
SAP SD Certification (C_TSCM62_66) Preparation Training NotesSAP SD Certification (C_TSCM62_66) Preparation Training Notes
SAP SD Certification (C_TSCM62_66) Preparation Training Notes
 
Variant Configuration in SAP PP: Beginner's Guide
Variant Configuration in SAP PP: Beginner's GuideVariant Configuration in SAP PP: Beginner's Guide
Variant Configuration in SAP PP: Beginner's Guide
 
SAP PP MRP Guide for Beginners
SAP PP MRP Guide for BeginnersSAP PP MRP Guide for Beginners
SAP PP MRP Guide for Beginners
 
SAP ECC 6.0 PM Configuration Manual - www.sapdocs.info
SAP ECC 6.0 PM Configuration Manual - www.sapdocs.infoSAP ECC 6.0 PM Configuration Manual - www.sapdocs.info
SAP ECC 6.0 PM Configuration Manual - www.sapdocs.info
 
SAP PM Training Manual - www.sapdocs.info
SAP PM Training Manual - www.sapdocs.infoSAP PM Training Manual - www.sapdocs.info
SAP PM Training Manual - www.sapdocs.info
 
SAP Configuration Guide for Functional Modules (Based on IDES)
SAP Configuration Guide for Functional Modules (Based on IDES)SAP Configuration Guide for Functional Modules (Based on IDES)
SAP Configuration Guide for Functional Modules (Based on IDES)
 
SAP FI-AP TCODES & MENU PATHS
SAP FI-AP TCODES & MENU PATHSSAP FI-AP TCODES & MENU PATHS
SAP FI-AP TCODES & MENU PATHS
 
SAP FI-AR TCODES & MENU PATHS
SAP FI-AR TCODES & MENU PATHSSAP FI-AR TCODES & MENU PATHS
SAP FI-AR TCODES & MENU PATHS
 
SAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive DocumentSAP CO Configuration Guide - Exclusive Document
SAP CO Configuration Guide - Exclusive Document
 
SAP PP End User Document - www.sapdocs.info
SAP PP End User Document - www.sapdocs.infoSAP PP End User Document - www.sapdocs.info
SAP PP End User Document - www.sapdocs.info
 
SAP MM Configuration - Real Project Documentation
SAP MM Configuration - Real Project DocumentationSAP MM Configuration - Real Project Documentation
SAP MM Configuration - Real Project Documentation
 
SAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User GuideSAP FI AP: Configuration & End User Guide
SAP FI AP: Configuration & End User Guide
 
SAP FI AR: End User Guide for Beginners
SAP FI AR: End User Guide for BeginnersSAP FI AR: End User Guide for Beginners
SAP FI AR: End User Guide for Beginners
 
SAP FI AP: End User Guide for Beginners
SAP FI AP: End User Guide for BeginnersSAP FI AP: End User Guide for Beginners
SAP FI AP: End User Guide for Beginners
 
SAP FI Asset Accounting: End User Guide for Beginners
SAP FI Asset Accounting: End User Guide for BeginnersSAP FI Asset Accounting: End User Guide for Beginners
SAP FI Asset Accounting: End User Guide for Beginners
 
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.infoVariant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
 
Exclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.infoExclusive SAP Basis Training Book | www.sapdocs.info
Exclusive SAP Basis Training Book | www.sapdocs.info
 
SAP Plant Maintenance Training Material | www.sapdocs.info
SAP Plant Maintenance Training Material | www.sapdocs.infoSAP Plant Maintenance Training Material | www.sapdocs.info
SAP Plant Maintenance Training Material | www.sapdocs.info
 
SAP HR Time Management User Guide | www.sapdocs.info
SAP HR Time Management User Guide | www.sapdocs.infoSAP HR Time Management User Guide | www.sapdocs.info
SAP HR Time Management User Guide | www.sapdocs.info
 

Dernier

Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 

Dernier (20)

YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 

08.Abap Dialog Programming Overview

  • 2. SAP System : Dialog Processing (Report) SAP GUI Report zpsm1. Request Tables customers. List Select single * from Generate 1 10 customers where id = 1. Screen(List) Application Server Send Request Write: / customers-name. Store request to queue3 Dispatcher Send 2 Search for SAP Buffer List 9 free WP Request Check Program in 7 Program Queue Send request Program Buffer 5 Execute to WP 4 ABAP … D D D … D stateme nt … 8 6 SQL Load&Gen Database Server Request Program
  • 3. Dialog WP : Executable Program Dialog WP Local Memory TaskHandler Memory Space ABAP Processor DYNPRO Processor List Buffer DB Interface Result Set Memory Database
  • 4. Types of ABAP Report 1 3 1. Report Listing 4 2. Drill-down Report 3. Control-break Report 4. ALV Report
  • 5. SAP System : Dialog Processing (DIALOG) SAP GUI Program sapmzex001. Request Include …. Screen Set screen 100. Generate Dialog 1 10 … Screen Application Server Send Request Store request to queue3 Dispatcher Send 2 Search for SAP Buffer List 9 free WP Request Check Program in 7 Program Queue Send request Program Buffer 5 Execute to WP 4 ABAP … D D D … D stateme nt … 8 6 SQL Load&Gen Database Server Request Program
  • 6. Dialog WP : Dialog Program Dialog WP Local Memory ABAP Memory TaskHandler ABAP Processor DYNPRO Processor Screen Buffer DB Interface Result Set Memory Database
  • 7. Dialog Program : Transaction
  • 8. Dialog Program Components Transaction Code Dialog Program Program Naming Convention : SAPM… ABAP Module Pool Screen : 100 PBO (Screen Layout) Flow Logic PAI ABAP Module Pool PBO ABAP Module Pool Screen : 200 (Screen Layout) Flow Logic PAI ABAP Module Pool
  • 9. SAP Transaction DB Commit DB Commit  An SAP transaction consists of Dialog steps. A Dialog step begins when the user press Enter,activates a function by pressing a function key,double-clicks or chooses a function from a menu.It ends when the next screen is display  In the course of a Dialog step,The PAI modules belonging to the current screen and the PBO modules belonging to the next screen
  • 10. Data Transfer (Local Memory) Local Memory Screen Work Area ABAP Work Area ok_code Screen Buffer ABAP Memory Space PBO Element List customers id name city … customers-id 0000000 customers-name ok_code PAI
  • 11. 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.
  • 12. OK Code Field in Screen OK Code Field or Command Field (ok_code in Element List)
  • 13. Defining Screen (4 Steps)  Screen Attribute  Screen Layout  Flow Logic Element List(ok_code  Element List field)
  • 14. Flow Logic in Screen 100 PROCESS BEFORE OUTPUT. MODULE STATUS_0100. PROCESS AFTER INPUT. MODULE USER_COMMAND_0100.
  • 15. PBO in Screen 100 MODULE status_0100 OUTPUT. SET PF-STATUS ‘0100’. SET TITLEBAR ‘0100’. ENDMODULE.
  • 16. PAI in Screen 100 MODULE user_command_0100 INPUT. CASE ok_code. WHEN ‘EXIT’. “Leave program SET SCREEN 0. LEAVE SCREEN. “Leave to screen 0 WHEN ‘SAVE’. UPDATE customers. MESSAGE S000(38) WITH ‘Update OK’. SET SCREEN 50. LEAVE SCREEN. ENDCASE. ENDMODULE.
  • 17. How to Create Dialog Program  Transaction SE80 : Create Dialog Program  Create Screen(4 steps)  Screen Attribute  Screen Layout  Flow Logic(PBO,PAI)  Define Variable ok_code in Element List  Define Data Object in ABAP Work Area at TOP Include(Tables, Data,...)  Check and Activate Dialog Program  Create Transaction Code
  • 18. Example I Maintain Customers Data Screen : 100 Screen : 200
  • 19. Example I  Create Dialog Program SAPMZEX<nn> for changing Customers table  Screen 100  Field customers-id  Screen 200  Field customers-id and customers-name
  • 20. Example I  Screen 100 PROCESS BEFORE OUTPUT. MODULE STATUS_0100. PROCESS AFTER INPUT. MODULE USER_COMMAND_0100.
  • 21. Example I  Screen 100 MODULE status_0100 OUTPUT. SET PF-STATUS ‘0100’. SET TITLEBAR ‘0100’. ENDMODULE.
  • 22. Example I  Screen 100 MODULE user_command_0100 INPUT. CASE ok_code. WHEN ‘BACK’. LEAVE PROGRAM. “leave to screen 0 WHEN space. “if not assign Enter Key SELECT SINGLE * FROM customers WHERE id = customers-id. LEAVE TO SCREEN 200. ENDCASE. ENDMODULE.
  • 23. Example I  Screen 200 PROCESS BEFORE OUTPUT. MODULE STATUS_0200. PROCESS AFTER INPUT. MODULE USER_COMMAND_0200.
  • 24. Example I  Screen 200 MODULE status_0200 OUTPUT. SET PF-STATUS ‘0200’. SET TITLEBAR ‘0200’. ENDMODULE.
  • 25. Example I  Screen 200 MODULE user_command_0200 INPUT. CASE ok_code. WHEN ‘BACK’. LEAVE TO SCREEN 100. “set screen 100 WHEN ‘SAVE’. UPDATE customers. MESSAGE S000(38) WITH ‘Update OK!’. LEAVE TO SCREEN 100. ENDCASE. ENDMODULE.
  • 26. Example I  TOP Include TABLES customers. DATA ok_code TYPE sy-ucomm.  Create Transaction Code Transaction Code : ZEX<nn>
  • 27. Exercise Create Dialog Program : SAPMZCUST<nn> Transaction Code : ZCUST<nn>
  • 28. Exercise : Customers Maintenance Screen : 100 Screen : 200
  • 29. Setting the Cursor Position Dynamically PROCESS BEFORE OUTPUT. MODULE STATUS_0200. MODULE set_cursor. MODULE set_cursor OUTPUT. SET CURSOR FIELD ‘CUSTOMERS-CITY’ OFFSET 3. ENDMODULE. Cursor Position
  • 30. Avoiding the Unexpected Processing Step of ok_code Field
  • 31. 1. Auxiliary OK_CODE Variable  TOP Include TABLES customers. DATA ok_code TYPE sy-ucomm. DATA save_ok TYPE sy-ucomm.
  • 32. Example I - Change  Screen 100 : PAI MODULE user_command_0100 INPUT. save_ok = ok_code. CLEAR ok_code. CASE save_ok. WHEN ‘BACK’. LEAVE PROGRAM. WHEN space. SELECT SINGLE * FROM customers WHERE id = customers-id. LEAVE TO SCREEN 200. ENDCASE. ENDMODULE.
  • 33. Example I - Change  Screen 200 : PAI MODULE user_command_0200 INPUT. save_ok = ok_code. CLEAR ok_code. CASE save_ok. WHEN ‘BACK’. LEAVE TO SCREEN 100. WHEN space. LEAVE TO SCREEN 200. WHEN ‘SAVE’. UPDATE customers. MESSAGE s000(38) WITH ‘Update OK!’. LEAVE TO SCREEN 100. ENDCASE. ENDMODULE.
  • 34. 2. Specify the Enter Function at GUI Status
  • 35. Check Enter Function  Screen 100 : PAI MODULE user_command_0100 INPUT. CASE ok_code. WHEN ‘BACK’. LEAVE PROGRAM. WHEN ‘ENTE’. SELECT SINGLE * FROM customers WHERE id = customers-id. LEAVE TO SCREEN 200. ENDCASE. ENDMODULE.
  • 36. 3. Clear OK_CODE at PBO  Screen 100 : Flow Logic PROCESS BEFORE OUTPUT. MODULE STATUS_0100. MODULE clear_ok_code. PROCESS AFTER INPUT. MODULE USER_COMMAND_0100.
  • 37. Clear OK_CODE at PBO  Screen 100 : PBO MODULE status_0100 OUTPUT. SET PF-STATUS ‘0100’. SET TITLEBAR ‘0100’. ENDMODULE. MODULE clear_ok_code OUTPUT. CLEAR ok_code. ENDMODULE.
  • 39. Example II Maintain Customers Data  Check Input Data Manually
  • 40. Example II  Screen 100 : PAI MODULE user_command_0100 INPUT. ... WHEN SPACE. SELECT SINGLE * FROM customers WHERE id = customers-id. IF sy-subrc <> 0. MESSAGE S000(38) WITH ‘Customers data not found’. LEAVE TO SCREEN 100. ELSE. LEAVE TO SCREEN 200. ENDIF. ENDCASE. ENDMODULE.
  • 41. Example III Maintain Customers Data  Check Input Data Using Field Command
  • 42. Example III – Field Statement  Screen 100 : Flow Logic (PAI) PROCESS AFTER INPUT. FIELD customers-id MODULE user_command_0100.
  • 43. Example III  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.
  • 44. Field Input Checking  If you want to check input values in the module pool and start dialog in the event of a negative result,you use the FIELD statement with the addition MODULE.  If the module results in an error(E) or warning(W) message,the screen is redisplayed without processing the PBO modules.The message text is displayed and only the field being checked by this module becomes ready for input again
  • 45. Field Statement With More Than 1 Field  Screen 100 : Flow Logic (PAI) PROCESS AFTER INPUT. CHAIN. FIELD: customers-id,customers-custtype MODULE user_command_0100. ENDCHAIN. PROCESS AFTER INPUT. CHAIN. FIELD customers-id MODULE user_command_0100. FIELD customers-custtype MODULE user_command_0100. ENDCHAIN.
  • 46. Field Statement & Data Transport PROCESS AFTER INPUT. MODULE a. •Transfer f3,f4 •Call module a FILED f1 MODULE b. •Transfer f1 FILED f2 MODULE c. •Call module b •Transfer f2 MODULE d. •Call module c Screen 100 •Call module d f1 f2 f3 f4
  • 51. Function Type : Exit Command
  • 52. At exit-command  When user chooses a function with type E,the screen flow logic jumps directly to the following statement MODULE <module> AT EXIT-COMMAND  No other screen fields are transported to the program except OK Code field
  • 53. At exit-command  Screen 100 : Flow Logic PROCESS BEFORE OUTPUT. MODULE STATUS_0100. PROCESS AFTER INPUT. MODULE exit AT EXIT-COMMAND. MODULE USER_COMMAND_0100.
  • 54. At exit-command  Screen 100 : PAI MODULE exit INPUT. CASE ok_code. LEAVE PROGRAM. WHEN ‘EXIT’. LEAVE PROGRAM. ENDCASE. ENDMODULE.
  • 56. Example IV Maintain Customer Data  Popup confirmation data using function ‘POPUP_TO_CONFIRM_LOSS_OF_DATA’
  • 57. Example IV  TOP Include ... DATA ans.
  • 58. Example IV  Screen 100 : PAI MODULE exit INPUT. CALL FUNCTION ‘POPUP_TO_CONFIRM_LOSS_OF_DATA’ EXPORTING textline1 = ‘Are you sure?’ titel = ‘Please Confirm!!!’ IMPORTING answer = ans. IF ans = ‘J’. “J = Ja in German= Yes in English LEAVE PROGRAM. ELSE. ENDIF. ENDMODULE.
  • 59. SAP Transaction : Enqueue Lock Object
  • 60. SAP Transaction & DB Transaction  Each Dialog step can contain update requests(INSERT,DELETE,UPDATE)  After each Dialog step,the R/3 system automatically passes a database commit to the database system.The database system then distributes the update requests from the individual dialog steps across several database transactions  A rollback in one Dialog step has no effect on database updates performed in previous Dialog steps
  • 61. SAP Transaction(LUW) DB Commit DB Commit DB LUW SAP LUW
  • 62. SAP Database Maintenance Steps  Check data locking by calling function ‘ENQUEUE_<lock object>’  Read data from Database Ex. Select single …  Data Processing Ex. Update ...  Release lock by calling function ‘DEQUEUE_<lock object>’
  • 63. SAP Lock Object  Transaction SE11 : Lock object  ENQUEUE_<lock object>  DEQUEUE_<lock object>
  • 64. SAP Lock Object : Function Module
  • 65. Example IV  ENQUEUE /DEQUEUELock Object(SE11) CALL FUNCTION ‘ENQUEUE_EZCUST<nn>’ CALL FUNCTION ‘DEQUEUE_EZCUST<nn>’ User 1 User 2
  • 66. Example IV (I)  Screen 100 : PAI MODULE user_command_0100 INPUT. ... WHEN SPACE. CALL FUNCTION ‘ENQUEUE_EZCUST00’ EXPORTING … id = customers-id EXCEPTIONS ... IF sy-subrc <> 0. MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. ELSE. SELECT SINGLE * FROM customers WHERE id = customers-id. ...
  • 67. Example IV (II)  Screen 100 : PAI MODULE user_command_0100 INPUT. ... WHEN SPACE. CALL FUNCTION ‘ENQUEUE_EZCUST00’ EXPORTING message id sy-msgid type id = customers-id sy-msgty number ... sy-msgno with sy- IF sy-subrc <> 0. msgv1 sy-msgv2 CONCATENATE ‘Data was locked by :’ sy-msgv1 INTO mess. sy-msgv3 sy- MESSAGE E000(38) WITH mess. msgv4. ELSE. SELECT SINGLE * FROM customers WHERE id = customers-id. ...
  • 68. Example IV  Screen 200 : PAI MODULE user_command_0200 INPUT. ... WHEN ‘BACK’. CALL FUNCTION ‘DEQUEUE_EZCUST00’ EXPORTING … id = customers-id. LEAVE TO SCREEN 100. …
  • 69. Example IV  Screen 200 : PAI MODULE user_command_0200 INPUT. ... WHEN ‘SAVE’. UPDATE customers. MESSAGE S000(38) WITH ‘Update OK!’. CALL FUNCTION ‘DEQUEUE_EZCUST00’ EXPORTING … id = customers-id. LEAVE TO SCREEN 100. ... ...