cancel
Showing results for 
Search instead for 
Did you mean: 

How to fetch all table data from decision table into SAP ABAP

Former Member
0 Kudos

hi everyone,

    

    How to fetch all table data from decision table into SAP ABAP and how display decision table on selection screen in abap without binding any tables in se11.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You could probably do that using the IF_FDT_FACTORY-->GET_EXPRESSION method. You will however need to pass the decision table GUID. Once you get the object back, you can cast it into IF_FDT_DECISION_TABLE and the use the different methods.

However, I'm wondering why would you want to do that, especially that it seems that you want to build a report off of it? If so, you should just build a BRF+ function that reads from that table. Your report should call the BRF+ function. As for parameters, you can either use the data elements used for the BRF+ table or create your own. Once a user enters selection data, pass those to the BRF+ function and display the results you get back. The BRF+ tool can actually build a function module from the BRF+ function which will make it extremely easy.