Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

BRF+ Expression (Decision Table) and Function ID?

$
0
0

Hi

My requirement is i want to copy the a application and that is done successfully by the below code.

  lo_application->if_fdt_application_objects~copy( EXPORTING iv_discard_inv_usage = abap_true
                                                      IMPORTING eo_copy = lo_copy
                                                                ets_copy = ts_copy ).

 

After copying I want to fill the decision table by my own data for that need expression and function key

 

     lo_factory = cl_fdt_factory=>if_fdt_factory~get_instance( Application ID).   " Application Id can get as MV_ID
     lo_function ?= lo_factory->get_function( iv_id = Function ID).                    "Dont know how to get
     lo_decision_table ?= lo_factory->get_expression(  Expression ID  ).          "Dont know how to get

 

    ...... fill data and activate.

  

As ts_copy is returning many keys i am not able to find which is function and expression key .  Is my approach completely wrong

or there is other way round for it . Please suggest .


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>