Skip to Content
0

Changing multiple fields of a structure in BRFPlus

Nov 15, 2016 at 09:39 PM

135

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Christian Lechner
Nov 17, 2016 at 04:13 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded