cancel
Showing results for 
Search instead for 
Did you mean: 

Changing multiple fields of a structure in BRFPlus

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

christianlechne
Active Contributor
0 Kudos

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

Answers (0)