1 / 22

ABAP/4 Course

ABAP/4 Course . General. Workbench Program maintenance Screen Painter Menu Painter Transactions ABAP/4 Query Translation menu. ABAP/4 (SE38) . Change/Display Variants Attributes (Logical Data Bases) Documentation Text Elements Program Directory Copy/Rename/Delete Development Test.

liam
Télécharger la présentation

ABAP/4 Course

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ABAP/4 Course

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

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

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

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

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

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

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

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

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

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

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

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

  14. Events: Concept

  15. Flow Control: Concept REPORT DEMO. <declaration section> 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 • Definition • Calling Subroutines • Passing data between subroutines/reports (INCLUDE, PERFORM X(Y),...) • Function Modules

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

  18. Simple Reading SELECT * FROM T005T WHERE LAND1 EQ 'D'. WRITE: T005T-SPRAS, T005T-NATIO.ENDSELECT.SELECT * FROM <dbtab> INTO TABLE <itab> [WHERE ...] [ORDER BY ...].Note that there is no ENDSELECT here. SELECT * FROM <dbtab> APPENDING TABLE <itab> [WHERE ...] [ORDER BY ...].If the operation was successful, the system field SY-SUBRC is set to 0, otherwise to 4.SELECT SINGLE * FROM <dbtab> 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 • SELECT-OPTIONS • PARAMETERS • SELECTION-SCREEN

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

  21. Logical Data Bases • Structure • Selections/Texts • Database Program (SAPDB<dba>) • Selection Screen • Documentation • Checking/Copying/Deleting/Details

  22. ABAP/4 Course

More Related