Show TOC

Function documentationDeleting a Function Code Locate this document in the navigation structure

 

If you do not use a processing routine of the SAP main screen to process a function code, you must implement your own function processing. In this case, it is safer to initialize the function code that you share with the SAP main screen after your own routine has run.

This prevents a function code from being processed twice, first in the PAI of the customer-specific tab page and then in the PAI of the SAP main screen.

Features

The macro used for this purpose is:

SWL_WIDISP_CLEAR_OKCODE

The macro could be implemented as follows:

Syntax Syntax

  1. [...]
    case okay.
      when ´XXX1´.
        perform display_workitems_objects.
        swl_widisp_clear_okcode.
    [...]
    
End of the code.

Note Note

If you publish the function code (as described under Setting a Function Code) to use post processing that is already implemented in the SAP main screen, you must not use this macro.

End of the note.