Skip to Content

Changing multiple fields of a structure in BRFPlus

Hi,

I need to change (substitute) multiple fields of a structure using BRFPlus. The user can decide on what fields he/she wants to change. I was hoping to use the same structure (in a decision table) as Context and Result objects and use the same columns as Condition and Result Columns. But I get an error "Part of the result data object has the same name like a condition column". How can I change multiple fields?

Kind suggestions/solutions please.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 17, 2016 at 04:13 PM

    Hi Manhar,

    the simultaneous use of the same structure field as context and result object is not possible (there is no "changing" parameter for a decision table as you know it from ABAP).

    You have to apply a work around and copy your structure to a temporary local structure (this way having two different structures as context and result object) and then in case copy it back to the original structure after the decision table was evaluated.

    Best regards,

    Christian

    Add comment
    10|10000 characters needed characters exceeded