2012 May 29 4:36 PM
Hi Experts,
I have an existing application that uses an engine. This engine (= function module) triggers messages of type S and E.
We now wanna offer a new UI (ABAP Dynpro) within that application, on this new UI all the messages from the engine shall be shown after a click at the "Error Log" button only.
Means I somehow have to force the system to not bring up a message directly on the UI, but to collect the message in an log (Apllication Log?).
I wanna do this without enhancing all the message statements in the engine!!
I found some information about a similar behavior during background processing:
A message is not displayed, but instead is written as follows to the background processing log (Joblog) depending on the message type:
Is there anybody having an idea how I could introduce such log?
Thanks!
Kerstin
Hi Experts,
I have an existing application that uses an engine. This engine (= function module) triggers messages of type S and E.
We now wanna offer a new UI (ABAP Dynpro) within that application, on this new UI all the messages from the engine shall be shown after a click at the "Error Log" button only.
Means I somehow have to force the system to not bring up a message directly on the UI, but to collect the message in an log (Apllication Log?).
I wanna do this without enhancing all the message statements in the engine!!
I found some information about a similar behavior during background processing:
A message is not displayed, but instead is written as follows to the background processing log (Joblog) depending on the message type:
Is there anybody having an idea how I could introduce such log?
Thanks!
Kerstin
2012 May 29 4:50 PM
Kerstin Hambrecht wrote:
Means I somehow have to force the system to not bring up a message directly on the UI, but to collect the message in an log (Apllication Log?).
I wanna do this without enhancing all the message statements in the engine!!
I think you'll have to enhance the messaages so that they are not written, but collected instead.
Rob
2012 May 29 5:06 PM
Hi Kerstin,
In most RFC's you have the return parameter, which will hold all the messages generated.
I am guessing you don't have that privilege. If the FM is trigerring the messages using MESSAGE keyword, then it will display this in the screen. You will have to disable this and add all the messages in a Return table as BAPIRET table.
Hope this helps.
Thanks,
Shambu
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |