cancel
Showing results for 
Search instead for 
Did you mean: 

[BRF+ 7.01] Use structure in decision table

guillaume-hrc
Active Contributor
0 Kudos

Hi,

I am working in a NW 7.01 system.

First of all, I am a newbie regarding BRF+ so thanks to everyone willing to help me.

I created a function in which I specified a structure in the 'Signature' tab.

Then, I created an decision table expression that I assigned as 'Top expression' to the function (in 7.01, you do not have to the 'Assigned Ruleset' tab).

Now, I would like to simply use some elements of the function context (that is to say elements from the structure), how should I proceed?

The system only allows me to select 'Element' not 'Element from the structure'.

Do I have to somehow duplicate all elements from the structure and perform some 'Change context' actions?

Thanks in advance for your help.

Best regards,

Guillaume

Accepted Solutions (1)

Accepted Solutions (1)

kakshat
Advisor
Advisor
0 Kudos

Hello,

When you say that the system allows you to select only elements (and not 'elements from structure') do you see the fields from the structure in the function's context in the selection list? If yes, have you tried using them in your decision table? I don't know about older releases but in the newer releases (which I have been working on), I think it's totally possible to use elements from a context structure in decision tables.

guillaume-hrc
Active Contributor
0 Kudos

Hi,

The 'Append column... from Function context' does not list any Element.

And I got errors if I add elements from the application without also adding them in the function (in addition to the structure which contains all elements)

Thx.

Best regards,

Guillaume

kakshat
Advisor
Advisor
0 Kudos

Hmm, one thing that seems odd is that the 'Maximum no. of objects' field has the value 0. Have you tried setting a non-zero value for it?

guillaume-hrc
Active Contributor
0 Kudos

Hi,

No result either.

I think 0 is the default value for no limitation in terms of number of results

kakshat
Advisor
Advisor
0 Kudos

Ok! Well, I am afraid I might not be able help you much since this appears to be a problem specific to your system's release level.

In my system, when I try to insert condition columns from the context into a decision table, a pop-up opens showing the available data objects. This list includes the structure used in the function context and when I expand the structure (by clicking to a small black arrow to its left), I am able to select the fields in the structure.

Have you tried searching for SAP Notes on this issue?

guillaume-hrc
Active Contributor
0 Kudos

Hi,

It's good to know anyway that we won't have the problem when we upgrade the whole thing!

Best regards,

Guillaume

Answers (0)