Entering content frameFunction documentation Deleting a Function Code Locate the document in its SAP Library structure

Use

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:

[...]
case okay.
  when “XXX1“.
    perform display_workitems_objects.
    swl_widisp_clear_okcode.
[...]

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.

Leaving content frame