Skip to Content
0

BRF plus:Error"Invalid usage of direct range in result column" while saving DT from ABAP

May 03, 2017 at 06:50 AM

145

avatar image
Former Member

Hello Experts,

I have a requirement where we need to fetch data from brf decision table display it in ABAP program edit and save it back into BRF.

I was successfully able to fetch data and edit it but while saving,I am using if_fdt_decision_table~set_table_data to set data and if_fdt_transaction~activate to activate it. During activation it fails with a message "Invalid usage of direct range in result column" this error message is specific to result column alone. I tried to pass direct value as well as inside a deep structure for the result columns but in either case it fails either to save or activate.

Kindly note the value entered in the result column is a 4 char text which is declared in ABAP and BRF decision table. Hence kindly point out if i am missing anything else.

Your help is highly appreciated. Thanks

10 |10000 characters needed characters left characters exceeded
Former Member

Any help or pointers on the question will be of great help.

0

Hi,

what might help in the analysis: Try to create the decision table in the BRFplus workbench (I guess that you succeeded in that mode) and then read the values via the BRFplus API to find out where you are passing some wrong values.

Best regards

Christian

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Carsten Ziegler
Jun 06, 2017 at 11:52 AM
1

I assume you pass a simple range in a result column. This does not work. Instead you need to pass a simple value.

Do the following:

  • Build an example in the BRFplus workbench
  • Use API methods such as GET_TABLE_DATA to see how it is expected from BRFplus
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Oct 18, 2017 at 11:47 AM
0

Hi Mohammed Ahtesham,

I am facing the same issue... if you were able to resolve this Please post it here

Share
10 |10000 characters needed characters left characters exceeded