BACK button with mandatory fields in Module Pool Program

Follow the below steps to avoid the error msg 'Make an entry in mandatory field '....' while clicking 'BACK' button in MPP Screen.

In screen GUI status : double click on the function code attached with BACK event and assign the Function Type as "E".

In PAI EVENT write the MODULE exit_110 AT EXIT-COMMAND.

in this module, write the functionality of BACK command.

 

MODULE exit_110 INPUT.
  CASE sy-ucomm.
    WHEN '&BACK'.
      LEAVE TO SCREEN 0.
  ENDCASE.
ENDMODULE.

 

 

Comments

Popular posts from this blog

CDS Views: Table Functions with Example

Passing Dynamic Variables to SO10 TEXT

Adobe Form/PDF Form Introduction