Skip to Content
avatar image
Former Member

How to add rows to table using a loop expression in BRFPlus?

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


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?


Best Regards.

yse3x.png (100.3 kB)
jvivr.png (50.4 kB)
vscts.png (50.4 kB)
pgagi.png (38.7 kB)
wl73a.png (62.3 kB)
0xi6d.png (69.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 21, 2017 at 11:02 AM

    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,


    Add comment
    10|10000 characters needed characters exceeded