Presentation is loading. Please wait.

Presentation is loading. Please wait.

ERP I1, Session 7 dynpro. SAP GUI SAP has many GUI solutions: – Lists (ALV) – dynpro (Dynamic Program) – Business Server Pages – Web dynpro – More?

Similar presentations


Presentation on theme: "ERP I1, Session 7 dynpro. SAP GUI SAP has many GUI solutions: – Lists (ALV) – dynpro (Dynamic Program) – Business Server Pages – Web dynpro – More?"— Presentation transcript:

1 ERP I1, Session 7 dynpro

2 SAP GUI SAP has many GUI solutions: – Lists (ALV) – dynpro (Dynamic Program) – Business Server Pages – Web dynpro – More?

3 dynpro A dynpro consists of – Numbered screens – A navigation structure between the screens – Data to display on the screens – Functionality for the screens – Menus, toolbars, and titles for the screens – More... All this is grouped in a function group

4 Screen navigation structure All screens are linked to a 'next' screen. Example: Registering on a homepage Enter login information Enter personal information Fill stupid questionnaire Confirm 100200300 400 Enter extra information 210

5 Screen navigation Navigation to next screen when – Button clicked – Menu item selected – keyboard shortcut pressed – Checkbox toggled (sometimes) – Radio button selected (sometimes) The default next screen is the screen itself.

6 More on navigation Navigation to screen 0 terminates dynpro Navigation happens after some code is run Override navigation: – SET SCREEN Override and navigate now: – LEAVE TO SCREEN Navigate and then return to here: – CALL SCREEN

7 Dynpro flow logic

8 PBO & PAI configuration PROCESS BEFORE OUTPUT. MODULE read_data. MODULE set_status. PROCESS AFTER INPUT. MODULE exit_admin AT EXIT-COMMAND. MODULE process_action. PBO PAI

9 Function codes A function code is the name of the action that caused navigation Function codes are written to OK_CODE. OK_CODE can be renamed, but it's the conventional name. You can react to the action in the PAI section. OK_CODE has type sy-ucomm. OK_CODE is a field (see next slide)

10 Fields & Dictionary structures Fields – Data objects (variables) – Public in the entire function group – Declared like normal data objects Dictionary structures – Fields with structured type – Has same name as type – Used to represent data on screens – Declared with keyword 'TABLES'

11 Recap A dynamic program is a number of screens with a navigation structure Each screen defines what happens before output (PBO) and after input (PAI) The action that caused the navigation is saved in OK_CODE Data for the entire dynpro is stored in fields and/or dictionary structures


Download ppt "ERP I1, Session 7 dynpro. SAP GUI SAP has many GUI solutions: – Lists (ALV) – dynpro (Dynamic Program) – Business Server Pages – Web dynpro – More?"

Similar presentations


Ads by Google