Quantcast
Channel: SCN : Discussion List - SAP Interactive Forms by Adobe
Viewing all articles
Browse latest Browse all 1237

Create Interactive Form in the background

$
0
0

Dear Experts,

 

I am currently try to create interactive forms including the interface in the background. I almost get my aim. But when the interactive form is created the layout is not set up. Therefore I can't activate the form.

 

There is also no way to give a parameter to the method. See below please.

 

DATA: lo_form                TYPE REF TO if_fp_form,

      lo_form_wb             TYPE REF TO if_fp_wb_object.


MOVE description TO lv_from_text.
lo_form = cl_fp_form=>create( ).
lo_form->set_description( lv_from_text ).
lo_form->set_interface_name( lv_iafc_target ).
TRY.
lo_form_wb = cl_fp_wb_form=>create( i_name lv_iaf_target i_form = lo_form i_devclass = lc_devclass i_ordernum = lc_trkorr ).
lo_form_wb->save( ).
lo_form_wb->free( ).
CATCH cx_fp_api_usage INTO l_exception_usage.
lv_error_iaf l_exception_usage->get_text( ).
CATCH cx_fp_api_repository INTO l_exception_repository.
lv_error_iaf = l_exception_repository->get_text( ).
ENDTRY.

 

Do you have any ideas to help me? I thank you in advance.

With kind regards

Gokselin



Viewing all articles
Browse latest Browse all 1237

Trending Articles



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