on 07-12-2014 1:23 PM
Hi Vimal,
I checked EHHSS_INC_REC_OIF_V3 component configuration and found that such confirmation pop-up is shown in case if if_ehhss_ui_inc_constants_c=>gc_evt_set_closed_root event is triggered. Try to trigger such event on enter of field location.
It looks like that you must add as parameter (/bofu/if_fbi_runtime_c=>sc_application_parameters-key) of this event root key of processing BO.
Kind regards, Aliaksandr.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vimal,
It's quite simple. Trigger your own event in feeder class of component configuration with Location field on enter button or assign your own event to Location field in component configuration (in this case event will be triggered automatically on enter button). On the second step catch and process this event in IWCI_IF_FPM_APP_CONTROLLER~AFTER_NEEDS_CONFIRMATION method of application configuration class. If we talk about EHHSS_INC_REC_OIF_V3 component configuration the application configuration class is CL_EHHSS_INC_OIF_CNTRLR_NEW. In standard realization of IWCI_IF_FPM_APP_CONTROLLER~AFTER_NEEDS_CONFIRMATION method you can find example how to call confirmation pop-up.
Kind regards, Aliaksandr.
Hi Aliaksandr,
Thanks for the help. I will try in App. Config Class.
Also ,Could you please explain steps to find Application configuaration class.? I followed following path :
General Settings->Floorplan Settings->Application Controller Settings
but i could find follwoing details :
Web Dynpro Component/Class: /BOFU/WDC_FBI_CONTROLLER
Configuration Name: EHHSS_INC_REC_OIF_V3_APPCC
Thanks,
Vimal Sharma
Hi Aliaksandr,
Thanks for help. Found the App. class.
There is one more thing i want to be clear about .
The popup which we need is during Incident display screen not at Incident creation screen.
But in my case i could not diffrentiate between Incident display screen and Incident creation screen because feeder class called is same and it triggers popup for Incident creation too.
So how to distinguish between incident creation screen and Incident Display/Change screen.So that my popup should only come for Display/Change screen.
Thanks,
Vimal.
Hi Aliaksandr,
Yes,working is different but i think screens are same.
i) We can update created Incidents from here :
ii) We can create new incidents from following screen :
Report Incident -Simplified
While opening screen for Report incident i do get the CHANGE_MODE variable as 'C' but gradually it becomes 'U' while opening the page and stays as 'U' only ,thus making no differnce in two screens.
Let me know of any more clarifications.
Thanks,
Vimal
Hi Aliaksandr,
Yes these are two different applications . But still CHANGE_MODE gets same.
No problem,i have created popup onAfter_confrimation of AppCC class.
Can we catch these events which raised as 'Yes' or 'No'. ?
I am raising popup with code as other popups are getting generated and not sure whether it will raise a event .
Please share your views.
Thanks,
Vimal
Hi Vimal,
About CHANGE_MODE: as I understood you want to call pop-up in one application and don't show it in another. Am I right? If yes, share please both application configurations ids.
About Yes and No: in case if you press No in confirmation pop-up the raising event will be terminated in opposite case you can catch and process this event in PROCESS_EVENT method of any feeder class or in IWCI_IF_FPM_APP_CONTROLLER~AFTER_PROCESS_EVENT method of application controller class.
Kind regards, Aliaksandr.
Hi Aliaksandr,
About Change_Mode : Two configurations are as follows
Comp. Config 1 : EHHSS_INC_REC_OIF_BINF_V_FRM - Popup required.
Comp. Config 2 : EHHSS_INC_REC_QAF_BINF_FRM - Popup not required.
About Yes and No : In case of 'No',Suppose if i wish to execute some code and on press of 'Yes' i want to excute some other code. How can i do it ?
Thanks,
Vimal
Hi Vimal,
Change mode: you sent me FPM component configurations for FORM. I expected to get FPM configuration for OIF. Maybe I have misunderstanding what you are trying to do. Could you repeat what you want to do and where is you have problems (based on that you have already done)?
Yes and No: For 'No' case you can try to use IWCI_IF_FPM_APP_CONTROLLER~BEFORE_AFTER_FAILED_EVENT or IWCI_IF_FPM_APP_CONTROLLER~AFTER_AFTER_FAILED_EVENT methods of applicaton controller class.
Kind regards, Aliaksandr.
Hi Aliaksandr,
Following are the FPM Configuarations for OIF :
Comp. Config 1 : EHHSS_INC_REC_OIF_V3 - Popup needed
In this configuaration Change mode is always 'U'.
Comp. Config 2 : EHHSS_INC_REC_QAF
In this configuaration, Initially Change_mode is C but gradually it becomes 'U'.So at the end it remains 'U' .
That is why not able to distinguish between two applications.
Thanks,
Vimal
Hi Vimal,
Just to clarify. You have two applications. Both of them use the same FPM component configuration for FORM (which one? please share id) with location field. In the feeder class of this component configuration you raised event which is processed in application configuration class and it calls confirmation pop-up. You want to call pop-up only in one application but can not differentiate between applications. Am I right?
Kind regards, Aliaksandr.
Hi Aliaksandr,
Thanks for reply.
I have one application where i want to raise popup.Details are as follows :
Comp. Config 1 : EHHSS_INC_REC_OIF_V3
Form Config : EHHS_INC_REC_OIF_BINF_FRM
I have raised popup in above application,but it also triggers in other application which is
Comp. Config 2 : EHHSS_INC_REC_QAF
Form Config : EHHSS_INC_REC_QAF_BINF_FRM
So i don't want popup to come in Comp. Config 2.Change_Mode is 'U' in both the applications.
Form Configuarations are diffrent but i think the method in Feeder class is called for both the applications.
I am writing code in NEEDS_CONFIRMATION of feeder class for 1st Comp. Configuaration.
Thanks,
Vimal
Hi Aliaksandr,
I tried code in class CL_EHHSS_INC_OIF_CNTRLR_NEW-> method IWCI_IF_FPM_APP_CONTROLLER~AFTER_NEEDS_CONFIRMATION
It works fine but the same field is available in different tab,So if user pressed enter on location field on other tab,then also popup triggers.
Can't we check the form configuaration to trigger popup,so that popup triggers for same config.
Thanks,
Vimal
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.