cancel
Showing results for 
Search instead for 
Did you mean: 

Different data back with a running trace - brf+ calling function

0 Kudos

Hi,

I have a problem calling a function of BRF+ from my Abap code.
The function returns a table.
When I call the
function
with the data to trace - the table
contains
correct data but when I take them
(to save time running)
returns a table with invalid data (lo_result)

Correctly:


      lo_function
->process( EXPORTING io_context     = lo_context

                                      trace_mode
= if_fdt_constants=>gc_trace_mode_lean

                           
IMPORTING eo_result = lo_result

                                      eo_trace
lo_trace ).

 

.....

 

  Incorrect:

       lo_function->process( EXPORTING io_context     = lo_context

                    IMPORTING eo_result = lo_result  ).

Thanks in advance.
Regards,

Ronit

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

Thanks for your answer .

I opened OSS
I received responses from Anindya which helped me
to understand that the problem is from some code generation issue.
I found that the problem is not related to my code,
but the expression of type table operation
.

I search and found the note number 1571974
I installed it and all it's accompanying and the problem was solved.

 

Regards,
Ronit Cohen

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Just another suggestion (Not sure if it is really relevant):

Is it possible that the class with trace support was re-generated and the one without wasn't?

former_member190447
Participant
0 Kudos

The result for sure should be the same with and without trace. Please trigger an OSS note to allow our maintenance organization to have a look at that issue.

carsten_ziegler
Active Contributor
0 Kudos

Please check for notes or open an OSS message.

Of course, this is a bug.