Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BRF+ Expression (Decision Table) and Function ID?

Former Member
0 Likes
1,618

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 .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
952

Hi,

The steps to create a copy of an an application class is as follows:

1. Create Client-Independent Application Class(BRFAPL01).

2. Copy Implementing Classes(FKKBRFCIMP) -- you are missing this!

3. Copy Application Class(FMCABRFTRANS).

Probably you need the implementing class also for additional functionality.

I hope this will solve your query.

Also, for more details you can refer the below link:

http://155.56.92.22/wiki/pages/viewpage.action?pageId=318442164

Regards,

Gourav

Message was edited by: Gourav Kumar Jena

2 REPLIES 2
Read only

Former Member
0 Likes
953

Hi,

The steps to create a copy of an an application class is as follows:

1. Create Client-Independent Application Class(BRFAPL01).

2. Copy Implementing Classes(FKKBRFCIMP) -- you are missing this!

3. Copy Application Class(FMCABRFTRANS).

Probably you need the implementing class also for additional functionality.

I hope this will solve your query.

Also, for more details you can refer the below link:

http://155.56.92.22/wiki/pages/viewpage.action?pageId=318442164

Regards,

Gourav

Message was edited by: Gourav Kumar Jena

Read only

0 Likes
952

Hi Gourav ,

Thanks for your reply but this is not my requirement . I have to do it by ABAP program .