on 10-11-2013 11:01 AM
Hello, experts! I'm new to FPM and I have one question about it. I check the Technical Help of the head of one page, where there are many widgets. Please refer to the picture below.
And I find that the component of current view is FPM_OIF_COMPONENT, and the view is CNR_VIEW. So I go to SE80 and check the component FPM_OIF_COMPONENT.
But there is nothing valuable to me. Where are the widgets on the web page?
Problem Solved!
Finally I realize that there is no web dynpro component which defines the UI elements(maybe just in my case). Thank to Praveen's hint for IDR, I find that these UI elements are all IDR Fields and are defined in the method INIT_IDR_FIELDS() of class /SAPSRM/CL_CH_WD_IDEN_BIDD_RFX, which is one subclass of class /SAPSRM/CL_CH_WD_MAP_IDENT. Please refer to the picture below. The circled field is the one I want to change.
These fields will be appended to the table MT_IDR_FIELDS, which is a protected attribute in class /SAPSRM/CL_CH_WD_MAP_IDENT and inherited by /SAPSRM/CL_CH_WD_IDEN_BIDD_RFX.
Actually, INIT_IDR_FIELDS() is called in UPDATE_FIELDS(), which is the method of class /SAPSRM/CL_CH_WD_IDEN_BIDD_RFX(actually this method is inherited from /SAPSRM/CL_CH_WD_MAP_IDENT).
After INIT_IDR_FIELDS() is executed, GET_FIELD_DATA(), which is the method of interface /SAPSRM/IF_CLL_IDENT_MAPPER and implemented by calss /SAPSRM/CL_CH_WD_IDEN_BIDD_RFX, will be executed to get value(kept in structure RR_FIELD_DATA) of all header fields.Then a loop will be executed for table MT_IDR_FIELDS and we can get the corresponding value of each field in MT_IDR_FIELDS from structure RR_FIELD_DATA, which is returned from GET_FIELD_DATA(). This loop will be in such style:
LOOP AT mt_idr_fields INTO ls_field.
(omit other code..)
ASSIGN COMPONENT ls_field-field_name OF STRUCTURE rr_field_data TO <fs_value>.
(omit other code..)
ENDLOOP.
Therefore, what I really need to do is to make an enhancement for GET_FIELD_DATA() and change the value of field which I want to change.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shelwin Wei
How you found the sub class, i have the same requirement but not able to find this sub class.
Could you please explain step wise on how to find the sub class.?
Thanks,
Vimal
Hi Shelwin,
The widgets on the web page is displaying that is configured with your component configuration for your OIF application..Find the component configuration from your first snap between the highlighted component name and view name.
Click on that and you will find your UI elements in that.
Thanks
Praveen Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shelwin ,
If your application is using FPM_OIF_COMPONENT then it's a FPM application. So only application configuration and application configuration will be there for UI elements.
But if you are using FLUID(Free Style UIBB) means any webdynpro component then you can find the webdynpro component name and window name from your component configuration then go to SE80 and display webdynpro component. You can see the UI elements.
Thanks
Praveen Gupta
Hi Shelwin,
In SE80 browse the FPM_OIF_COMPONENT component, in its applications, try to find your starting application at left of the "Current View" info that you have marked.
You can see that you have the name of the application and the name of the application configuration. Inside of the applicantion configuration you will find the WebDynpro that is been started.
To open the application configuration in SE80, go to the FPM_OIF_COMPONENT -> Component Configurations -> "name of the configuration". Open it, click on "Start Configurator" button.
Best regards,
Rodolfo
Hi, Praveen! Actually, I want to find the web dynpro component that defines the UI elements circled in the screenshot below and change the binding data of 'Total Value'.
Then I right-click the circled area and chooes 'Technical Help', and comes a pop-up window as the first screenshot above shows. But I cannot find any UI element according to the information in the pop-up window. So could you tell me how I can do to find them out?
Hi Shelwin,
As per the above snapshot you have to find the application configuration for your component. Then navigate to the component configuration for your IDR(Identification Region) component. Because your circled area belongs to the IDR region of the FPM application.
So in component configuration for your IDR will have one webdynpro component , display it through SE80 and change the binding.
Hope this will help you...
Thanks & Regards
Praveen Gupta
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.