Hi,
I'd like to fetch the messages written into the application log by BRFplus. I'm able to get the messages from the application log, but i've got a small trouble with the usage of External Identification Text.
When I run the simulation, the message log is created with the External Identification Text.
When I call the BRFplus function from an ABAP report using the API, it calls a generated report/class from which the message log is created without the External Identification Text
N.B: Simulation doesn't call the generated class
I peeked into the generated code and found out the problem "why it was ignoring the External Identification Text?".
The code snippet is given below.
DATA: _v_log_handle TYPE balloghndl. CONSTANTS: _v_external TYPE balnrext VALUE 'MsgLogDemo'. _v_log_handle = CL_FDT_ACTN_MESSAGE_LOG=>get_log_handle( iv_log_object = 'FDT' iv_log_sub_object = 'FDT_MSG_ACTION' ).
In the above code 'MsgLogDemo' is the External Identification Text. The generated code has that string constant but its not being passed to the method
CL_FDT_ACTN_MESSAGE_LOG=>get_log_handle
This is causing problems when i'm trying to read the message log with a particular External Identification Text
-
-
Questions:
» Can anyone explain why is this happening?
» Is this a bug in the code generation of BRFplus or am I doing something wrong?
» Do I have to set some flags somewhere to make sure this problem doesn't arise?
Best Regards.