Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!



CPI1466 during Backup   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Customer-specific COBRA letters: Terminating print output

Using the function exit EXIT_RPUCOB02_003 described here, you can terminate the print output of one ore more COBRA letters which you started using function exit EXIT_RPUCOB02_001 according to your requirements.

EXIT_RPUCOB02_003 replaces the subroutine CLOSE_CURRENT_SPOOL_JOB from the Standard System.

The function exit has no input parameters. You can return the following as output parameters:

  • OUTPUT_RESULT Print options (return value)

If you want to avoid printing altogether when you are processing qualifying events, simply enter the following line of code in function exit EXIT_RPUCOB02_001:


You can also indicate two exceptions in standard coding:

  • STANDARD_PROCEDURE Back to standard procedure
  • CUSTOMER_ERROR Error in function exit

Use the first exception if you want to leave the opening and closing of print requests to the SAP System. To do so, simply enter the following line of code in the function exit:


For more information on how to enter your own code and data declarations in a function exit, see the online documentation on the transaction Project administration of SAP enhancements.

PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1649 Date: 20220811 Time: 041858     sap01-206 ( 28 ms )