on 07-19-2015 2:52 PM
Hii.
I hava a list uibb with print button and i want that when press event is raise to open adobe form(adobe form - sfp transaction)
How i do it in fpm?
Tnx
Hello Barel,
Create a dailoge box in your FPM application and assign the webdynpro component which hold the adobe form.
now in list uibb, on button action you can call this adobe form.
write the below code in the process event method.
case io_event->mv_event_id.
when cl_fpm_event=>gc_event_print.
* Calling adobe Form Dialog box
ls_dialog_box_properties-height = '500'.
ls_dialog_box_properties-width = '1000'.
lo_fpm->open_dialog_box(
exporting
iv_dialog_box_id = 'DIALOG_BOX_1'
is_dialog_box_properties = ls_dialog_box_properties ).
endcase.
Here the Dialog box id: "DIALOG_BOX_1" which hold the adobe form.
hope this will helps you.
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have the follow the following steps :
- Create a new view and add an InteractiveForm inside it.
- Bind the DataSourceof the IntercativeForm with a context of the type of the import parameters of your Adobe Form.
- In templateSource your need to add your AdobeForm name.
- Create a new window for the view.
Your are now ready to call the Adobe Form from the component controller.
DATA:
lr_cctrl TYPE REF TO if_wd_component,
lr_wmngr TYPE REF TO if_wd_window_manager.
* wd_this->adobe_form is an attribute of the component controller with type REF *TO IF_WD_WINDOW
* Get Component Controller API
lr_cctrl = wd_this->wd_get_api( ).
IF wd_this->adobe_form IS NOT BOUND.
* Get Window Manager
lr_wmngr = lr_cctrl->get_window_manager( ).
* Create a window
wd_this->adobe_form = lr_wmngr->create_window( modal = abap_true
window_name = 'W_ADOBE'
close_button = abap_true
button_kind = if_wd_window=>co_buttons_ok ).
CHECK wd_this->adobe_form IS BOUND.
wd_this->adobe_form->set_window_size( width = '800'
height = '600' ).
ENDIF.
* Open the Adobe Form
wd_this->adobe_form->open( ).
Don't forget to fill your context in order to get value imported into the Adobe Form.
Hope it will help you.
Regards,
Sam,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have this link, if this can help you...
Regards,
Sam
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.