Video Lesson 9.7: Screen Pushbuttons

Video Lesson 9.7: Screen Pushbuttons

In this lesson you will learn how to create and work with buttons in your screen.

Pushbuttons

Implement Pushbuttons

Different pushbuttons and the program are to be implemented in such a way that the appropriate processing for the user action is executed:

  • If the user chooses the Back pushbutton, he or she returns to the basic list without writing any changes to the database table. The message “You left the screen without saving” is displayed in the status bar of the basic list.
  • If the Save button is chosen, the changes are executed in the database and the user returns to the basic list with a corresponding message in the status bar.
  • If the Enter button is chosen, the screen is displayed again.

Flow for Choosing a Pushbutton

  • If the user chooses a pushbutton, the runtime system copies the assigned function code to a special screen field (of the OK type). This screen field is typically called the ok_code.




Share this on Social Media

Facebook
Twitter
LinkedIn
Pinterest
WhatsApp

Unit 1 – SAP System Architecture

Unit 2 – Object Navigator, Repository and ABAP Programs

Unit 3 – Transparent tables in the ABAP Dictionary

Unit 4 – Basic ABAP statements, ABAP Structures and ABAP Logical Expressions

Unit 5 – ABAP Data Retrieval

Unit 6 – SAP Analysis Tools

Unit 7 – ABAP Subroutines

Unit 8 – ABAP Events

Unit 9 – ABAP User Interface

Unit 10 – Function Modules, Methods, ALV and BAPI

Unit 11 – Adjusting SAP Standard Software

Unit 12 – ABAP Debugger, Selection Screens, and Table Controls

Unit 13 – ABAP Web Dynpro

Unit 14 – Advanced Topics

Unit 15 – Advanced Topics II

Object Oriented (OO) ABAP

ABAP for SAP HANA (Introduction)

OData and SAP Netweaver Gateway