cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi Experts,

I want to fill a table using a loop expression, I have tried two options but I have not been successful.

(I am showing simple examples of what I want to do to, to make myselft understand)

First option:

I have informed the structure "estruct_bases_liquid" (which is related with table "Taula_bases_liquidab") and then I try to insert values to this table from the structure

"estruct_bases_liquid".

When I activated it no problem, but when I try to simulate my aplication BRF+ show me an error: "Multiple use of identical objects in context not allowed":

Second option:

I filled another structure "estruct_bases_liqui2" and I used this to fille the table "Taula_bases_liquidab" but when I active the error is "":

Could you tell me please what I am doing wrong?

Thanks!!

Best Regards.

0 Likes
View Entire Topic
christianlechne
Active Contributor

Hi David,

can you check if the following approach is working for you:

  • Remove the result data object from your loop expression (e. g. put in a basic element)
  • The model of your option 1 should work then

I have tested it in a very simple scenario as depicted in the two screenshots and it works:

  1. BRFplus function with two tables with three text fields (one as context, one as result data object)

  2. Loop expression in analogy to your logic

Best regards,

Christian