on 04-04-2007 2:56 PM
Hi
Does anyone have example code which writes messages (error & information) to the monitor from within an Expert Routine?
Thanks
Guy
Logging messages in expert routine is different to that of transformations, there is no access to monitor to pass values. We need to use the method 'ADD_MSG' in predefined class 'LOG' of type 'CL_RSBM_LOG_CURSOR_STEP'.
<i>METHODS
expert_routine
IMPORTING
request type rsrequest
datapackid type rsdatapid
SOURCE_PACKAGE type tyt_SC_1
<b> log type ref to cl_rsbm_log_cursor_step</b>
EXPORTING
RESULT_PACKAGE type tyt_TG_1.</i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
This Note should help you:
https://websmp130.sap-ag.de/sap%28bD1kZSZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=1227667
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.