on 08-27-2015 12:34 PM
Hello Experts,
I am new to BRF.
We have a requirement of creating decision tables programatically with the columns supplied in an excel.
Once the table is created the users will like to verify it by downloading the table structure in an excel.
I have checked the method IF_FDT_DECISION_TABLE-GET_COLUMNS but am not sure how to use it.
Please guide me on how to use it.
Hi Tanmoy,
concerning your original question: The method you have referenced is the right one. The workflow to get the structure of a decision table is:
The structure contains the following elements:
This way you have all information at hand to know the structure of the decision table simply by looping over the table and evaluating the information stored there.
One example of such an evaluation can be found in the class CL_FDT_DT_EXCEL Tobias already mentioned i. e. in the private method GET_FORMATTED_DT_COL that iterates over the table and fetches all the information on the columns (including a "dereferencing" of the data objects via their UUID)
Hope that helps
BR
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can download it with the BRFplus workbench manually and of upload it.
Best Regards,
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you try method CL_FDT_DT_EXCEL=>CREATE_EXCEL_FROM_DEC_TAB ?
But would do it using the SAP workbench;
Best Regards,
Tobias
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.