Hi Keser,
if I understand your question correctly you want a BRF+ function with input as a table and output as a table. You achieve this when defining your function i. e. the context and the result data object of your function on the signature tab:
- for the input table you have to add the table to the context. Here you have the option when adding an existing/new data object to specify a table which then is your input table in the BRF+ call
- for the output you have to do the same by assigning the result data object to a table
That is all with respect to the basic assignment of the parameters.
I guess you then want to evaluate the decision table for every entry/line of the input table. To do so you have to do the following:
- Use a "Loop" Expression to loop over the entries.
- Within the loop you can then evaluate the decision table with respect to the data of the table line
- Depending on the table settings of the decision table either the first matching entry will be returned or all matching entries. This result can then be appended to the result table by a simple rule
Hope that helps
BR
Christian