cancel
Showing results for 
Search instead for 
Did you mean: 

BRF+ function call

Former Member
0 Kudos

Hi All,

I have requirement on BRF+ function call.

I have used follwing class and method.

  TRY.
CALL METHOD cl_fdt_function_process=>move_data_to_data_object
EXPORTING
ir_data             = lr_data
iv_function_id      = lv_function_id
iv_data_object      =
''yyyyyyyyyyyyy'
iv_timestamp        = lv_timestmp
iv_trace_generation = '------------'
IMPORTING
er_data             = it_tttt


CATCH cx_fdt_input .
ENDTRY.


  Here which value i have to pass to lv_function_id and iv_data_object

  and iv_trace_generation.

And i need to extract the values like zxxxxx,zyyyyyy,zwwwwww

from BRF+ by using above method.So we need to pass these fields values to table It_tttt.

so which values i have to pass.Please help me.

Thanks & Regards

nithin

Accepted Solutions (1)

Accepted Solutions (1)

VishnAndr
Active Contributor
0 Kudos

Hello, Nithin.

Have you tried to use report FDT_TEMPLATE_FUNCTION_PROCESS? It will generate the abap code for you with given function id.

iv_function_id - this is your BRF+ function GUID. You can get it from detailed information of your function in BRF+.

iv_data_object - the name of data object in the function context which you manipulate with.

BTW, by using the above method you will not get any values from BRF+. It will serve only its purpose. Move data (ir_data) to data context (er_data).

Probably the example in document Calculating Property Tax with BRF+ in section "Appendix: Coding for the Class Methods" will give you some ideas.

Also I'd like to point you correct space to ask your question regarding BRF+: Business Rules Management

Former Member
0 Kudos

Hi Andrei Vishnevsky,

Thanks for you reply and sorry for the late reply.

Thanks & Regards

Nithin

Former Member
0 Kudos

HI ,

When i run program.I am getting exception error. 

The message is No match found for the given context (ZYYYYYYYY)

May i know why i am getting this message

Thanks

Nithin

VishnAndr
Active Contributor
0 Kudos

Probably, something wrong with attribute ZYYYYYYYY in function context.

Double check it. How is it defined?

Answers (0)