We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
Opening a print request for outputting one or more COBRA letters using the SAP spool system is subroutine OPEN_NEW_SPOOL_JOB in the SAP standard system.
The function exit EXIT_RPUCOB02_001 enables you to access this mechanism according to your requirements. In this way, you can divert the print output from the SAP spool system to an external word processing tool, such as MS Word, if you need to do so.
When processing a qualifying event, you can completely do without the output of COBRA correspondence. In this case, you must activate the event PCOB0001, you do not, however, need to implement any code in Function exit EXIT_RPUCOB02_001.
The default entries are transferred for the subroutine OPEN_NEW_SPOOL_JOB as the input parameters of the function exit:
As Output parameters you can return:
You can also indicate two Exceptions in standard coding:
Use the first exception if you want to leave opening and closing print requests to the SAP System. To do this, you simply have to enter the following line of code in the function exit:
For more information on entering your own code and data declarations in a function exit, see the online documentation for
Project Administration of SAP Enhancements.