2013 Mar 14 2:12 PM
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 .
2013 Mar 14 2:31 PM
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
2013 Mar 14 2:31 PM
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
2013 Mar 14 2:37 PM
Hi Gourav ,
Thanks for your reply but this is not my requirement . I have to do it by ABAP program .