on 10-02-2012 9:08 AM
Hello Experts,
I have a problem while Dynamically creating Popup.
I have a form GUIBB in which number of element rows is varying depending upon scenario. For this I am adding the field in IF_FPM_GUIBB_FORM~GET_DEFAULT_CONFIG. I have added two groups here also. I want these elements to be visible without any label.
So while calling io_layout_config->add_element method i am setting visibility '01' . After doing so my label is not visible but space is reserved for the label. I want my elements to be displayed at left most border of the popup.
Please have a look at the attachment.
Hi Ajeet,
when your calling
io_layout_config->add_element in this method
you have some Attributes like IV_ELEMENT_START, IV_ELEMENT_END, IV_ROW_START, IV_ROW_END you need to set these Attributes from where the element should start like A to C
to check this first see any example of Form which is created statically see the configuration of that how they have set the length of field from where it start and where it end.
Hope this will help you to set ur fields to left side.
Regards
Madhukiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ajeet,
In IF_FPM_GUIBB_FORM we have method GET_DEFAULT_CONFIG see the parameters of this method which IO_LAYOUT_CONFIG which is referring to IF_FPM_GUIBB_FORM_CONFIG
and with this parameter you call the method of IF_FPM_GUIBB_FORM_CONFIG.
IO_LAYOUT_CONFIG->add_element in this ADD_ELEMENT you Have parameters plz see the screen shot attached.
Regards
Madhukiran.
Hi Ajeet
Don't create popup dynamically in Configuration where you have created ur main view i.e., uibb in that Configuration itself you can add Dialog Box and you can add UIBB in that dialog box
Now u can call this dialog box where ever u what using this code u can write in GET_DATA or in PROCCESS_EVENT.
lo_fpm->open_dialog_box(
EXPORTING
iv_dialog_box_id = 'POPUP' " FPM: ID of the dailog window
is_dialog_box_properties = ls_dialog_prop " Dialog Box Properties
io_event_data = io_event->mo_event_data " Event data for the dilaog box
* iv_event_adapts_context = " Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
).
ENDIF.
To adjust the labels towards left in Application configuration you have option
set this according to ur requirement
Regards
Madhukiran M.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.