Presentation is loading. Please wait.

Presentation is loading. Please wait.

ABAP/4 Course. General n Workbench n Program maintenance n Screen Painter n Menu Painter n Transactions n ABAP/4 Query n Translation menu.

Similar presentations


Presentation on theme: "ABAP/4 Course. General n Workbench n Program maintenance n Screen Painter n Menu Painter n Transactions n ABAP/4 Query n Translation menu."— Presentation transcript:

1 ABAP/4 Course

2 General n Workbench n Program maintenance n Screen Painter n Menu Painter n Transactions n ABAP/4 Query n Translation menu

3 ABAP/4 (SE38) n Change/Display n Variants n Attributes (Logical Data Bases) n Documentation n Text Elements n Program Directory n Copy/Rename/Delete n Development Test

4 Development/Test n Run-time Analysis n Extended Syntax Check n Program References n Pretty Printer n Find Source String

5 ABAP/4 Editor n Check/Generate n Insert Statement n Split Line/Copy/Move... n Fetch n Position n Goto Menu n Utilities (Local/Global Search) n Upload/Download n Set/Display Breakpoints n Printing (Only a part...)

6 Insert Statement n Select * from n Call Function n Message n Write n Others e.g. Comment (*, **1, *f, *m...)

7 ABAP/4 Debugger n Single Step/Execute/Continue n Table (PgUp/PgDn/Format E,C,X) n Click on fields (Change Contents or Display) n Scroll in program source n Goto Menu n Set/Delete Breakpoint (Breakpoint At)

8 ABAP/4 Programming n = Event-driven programming language n Working with Reports n Report Syntax and layout n Declaring and Processing data n Events and Flow Control n Subroutines n Reading and Processing Internal tables/Database tables n Selection criteria and Parameters n Working with Logical Databases n Interactive Reporting

9 Working with Reports n Naming a Report (R/Z + M/F... + Name(6)) n Creating Reports n Changing Reports

10 Report Syntax and Layout n Structure of the ABAP/4 Programming Language n ABAP/4 Report Layout n Inserting Ready-Made Strucures

11 Key Words n Declaratives (DATA,.) n Events (GET,...) n Control (IF,...) n Operational (WRITE,)

12 Declaring and Processing data n Constants/Variables n Assigning Values n Arithmetic Operations n Processing Text Fields n System Fields (SY-UZEIT, SY-DATUM)

13 Events and Flow Control n Event Key Words (GET, START/END OF SELECTION, INITIALIZATION) n Events: Concept n Flow Control in ABAP/4 n Flow Control: Concept

14 Events: Concept

15 Flow Control: Concept REPORT DEMO. START-OF-SELECTION. " processing block WRITE: 'Start',.... GET LFA1. " processing block WRITE:.... IF LFA1-LAND1 = 'D'.... ENDIF. GET LFB1. " processing block WRITE:.... END-OF-SELECTION. " processing block WRITE: 'Total:',....

16 Subroutines n Definition n Calling Subroutines n Passing data between subroutines/reports (INCLUDE, PERFORM X(Y),...) n Function Modules

17 Reading and Processing Internal Tables/Databases n Definition (Internal Tables) n Filling Internal Tables n Reading/Changing and Sorting n SELECT/INSERT/UPDATE/MODIFY/ DELETE

18 Simple Reading SELECT * FROM T005T WHERE LAND1 EQ 'D'. WRITE: T005T-SPRAS, T005T-NATIO. ENDSELECT. SELECT * FROM INTO TABLE [WHERE...] [ORDER BY...]. Note that there is no ENDSELECT here. SELECT * FROM APPENDING TABLE [WHERE...] [ORDER BY...]. If the operation was successful, the system field SY-SUBRC is set to 0, otherwise to 4. SELECT SINGLE * FROM WHERE... In this case, the WHERE condition may contain only equality conditions linked using AND. You have to specify the primary key in full.

19 Selection Criteria and Parameters n SELECT-OPTIONS n PARAMETERS n SELECTION-SCREEN

20 Working with Logical Databases n Display/Maintenance n ABAP/4 Key words for Logical Databases n Concept

21 Logical Data Bases n Structure n Selections/Texts n Database Program (SAPDB ) n Selection Screen n Documentation n Checking/Copying/Deleting/Details

22 ABAP/4 Course


Download ppt "ABAP/4 Course. General n Workbench n Program maintenance n Screen Painter n Menu Painter n Transactions n ABAP/4 Query n Translation menu."

Similar presentations


Ads by Google