Ansicht
Dokumentation

EXIT_RPUCOB02_003 -

EXIT_RPUCOB02_003 -

Fill RESBD Structure from EBP Component Structure   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
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.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1649 Date: 20240419 Time: 134331     sap01-206 ( 29 ms )