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

EXIT_RPUCOB02_003 -

EXIT_RPUCOB02_003 -

BAL Application Log Documentation   CPI1466 during Backup  
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:

OUTPUT_RESULT-TDSPOOLID = 1. "Dummy spool ID

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:

RAISE STANDARD_PROCEDURE.

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.






Vendor Master (General Section)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1649 Date: 20200920 Time: 103316     sap01-206 ( 25 ms )