6 Columns with Active Background
6 Columns with Active Background
Active List Item Background

24MPP2108 – Events in Flow Logic Editor in MPP

Events in MPP:

There are four events in MPP

  1. PBO (Process Before Output): It is triggered before MPP screen is displayed.

Syntax:

Module <Module_Name> Output

——————–        //Write your code here

Endmodule.

Example:

PROCESS BEFORE OUTPUT.

  MODULE status_0100.

 

  1. PAI (Process After Input): It is triggered after MPP screen is displayed whenever user raised an action.

Syntax:

Module <Module_Name> Input

——————–       //Write your code here

Endmodule.

Example:

PROCESS AFTER INPUT.

MODULE user_command_0100.

 

  1. POV (Process on value Request): This event will get triggered if user clicks on F4 search help.

Syntax:

  FIELD <Field_Name> MODULE <Module_Name>

 

  1. POH (Process on Help Request): This event will get triggered if user clicks on F1 help.

Syntax:

  FIELD < Field_Name >MODULE <Module_Name>

 

Example of Flow Logic:

PROCESS BEFORE OUTPUT.

  MODULE status_0100.

PROCESS AFTER INPUT.

  MODULE user_command_0100.

PROCESS ON HELP-REQUEST.

  FIELD gv_matnr MODULE help_matnr.

PROCESS ON VALUE-REQUEST.

  FIELD gv_mtart MODULE value_request_mtart.

 

In the above example:

  • PBO sets the status of the screen before it is displayed.
  • PAI   handles user commands after input.
  • POH provides help for the gv_matnr field.
  • POV provides value help for the gv_mtart field.

Author : Aniket Pawar, 9373518385                                                                                

24MPP2108 – Events in Flow Logic Editor in MPP

Events in MPP:

There are four events in MPP

  1. PBO (Process Before Output): It is triggered before MPP screen is displayed.

Syntax:

Module <Module_Name> Output

——————–        //Write your code here

Endmodule.

Example:

PROCESS BEFORE OUTPUT.

  MODULE status_0100.

 

  1. PAI (Process After Input): It is triggered after MPP screen is displayed whenever user raised an action.

Syntax:

Module <Module_Name> Input

——————–       //Write your code here

Endmodule.

Example:

PROCESS AFTER INPUT.

MODULE user_command_0100.

 

  1. POV (Process on value Request): This event will get triggered if user clicks on F4 search help.

Syntax:

  FIELD <Field_Name> MODULE <Module_Name>

 

  1. POH (Process on Help Request): This event will get triggered if user clicks on F1 help.

Syntax:

  FIELD < Field_Name >MODULE <Module_Name>

 

Example of Flow Logic:

PROCESS BEFORE OUTPUT.

  MODULE status_0100.

PROCESS AFTER INPUT.

  MODULE user_command_0100.

PROCESS ON HELP-REQUEST.

  FIELD gv_matnr MODULE help_matnr.

PROCESS ON VALUE-REQUEST.

  FIELD gv_mtart MODULE value_request_mtart.

 

In the above example:

  • PBO sets the status of the screen before it is displayed.
  • PAI   handles user commands after input.
  • POH provides help for the gv_matnr field.
  • POV provides value help for the gv_mtart field.

Author : Aniket Pawar, 9373518385