on 03-05-2013 2:51 PM
I need add custom field " Other Description" ( long text ,type string ) into node incident as Description of Events ( BASIC_INFO_ALL_DESC ), i can do it?
With BOPF Enhancement Workbench it is not possible add delegation node!?!
Thanks.
Hi Massimo,
I have added a custom field in enhanced structure, and in component configuration.In testing client the field is not showing the screen, But fields are showing in the structure and and db table.
Thanks & Regards,
Vikram Polinati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Massimo,
Don't go with Business Object configuration for field level property changes its not advisable .
Instead of that go with dynamic way of changing property even if its based on certain condition.
You need to enhance the BO and then create a custom determination and used the class /BOBF/CL_LIB_H_SET_PROPERTY to change the property.
Hope this solves your problem.
Regards,
Bob.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi mossimo ,
I have a requirement to remove or hide one of the radio buttons(yes,no & unknown) from the radio button group of investigation tab .
and also make a in the investigation tab and make a custom field as mandatory .
i was able to see this in the CT_FIELD Table in get data.But, when i change this values in run time in debugging to confim before creating an enhancement for code . i see that the screen is not updated with UI elements the updated properties .
1. Does the framework reset the original values ?
Please let me know how i can achieve this .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat,
To hide/remove, you have to enhance/customize the component configuration of Investigation Tab.
There you can set the Visibility property as Not Visible for hide or Remove that field from Form UIBB schema.
To make custom field mandatory you need to go to the guided procedure of node categories of respective node. There you have to tick mandatory checkbox for that particular field.
Kindly refer following snapshot for the same.
Thanks and regards,
Chetan P. Patil.
Hi Venkat,
As suggested by Chetan, you can hide/remove your unwanted fields from the component configuration itself. Enhance that particular component configurations and remove the fields.
You can also hide the same from the feeder class for that form uibb in GET_DEFINITION method, in the ct_field_usage table.
@ Massimo
The Mandatory settings can be changed from the node categories also, but the problem with them is that they cannot be handled based upon some conditions. Same thing can also achieved from SPRO settings, but the question is Can that be controlled on some conditions?
Regards,
Sanket.
are you serious?
This is NOT STANDARD Enhancement !!!!
"This function is only for use of the support
team and shall not be used by development.
Please note that any change might lead to model
inconsistencies or a corrupt model and
unexpected runtime behavior. Continue?"
this is NOT the right way, i never do .
Hi thanks a ton for your response I successfully added the required fields in the BO
And ui also i want to add a new tab in the incident with title Climate Details.
And when this tab is clicked I want to display around 4 new fields radiobutton Yes /no for each field.Let me know ur thoughts
regards
luxmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you have 2 possible routes
A simpler:
Step 1:
enter the fields in the structure Z append that you have already created of NODE BASIC_INFO_ALL
Step 2
- Enhancement component configuration EHHSS_INC_REC_OIF_V3 creating the new tab
- Create a new component configuration like EHHSS_INC_REC_OIF_BINF_V_FRM, but with Feeder Class CL_EHFND_FBI_GUIBB_FORM.
- Insert only the fields you want Z, use domain EHFND_INDICATOR.
- insert new FPM_FORM_UIBB into new custom tab
A more complicated:
Step 1:
- Use BOPF_EWB for Enhancement BO EHHSS_INCIDENT
- Create new node, but first you have to create the structure of the node and all its features
- Enter the fields in the structure
Step 2:
- Enhancement component configuration EHHSS_INC_REC_OIF_V3 creating the new tab
- Create a new component configuration with as Class Feeder CL_EHFND_FBI_GUIBB_FORM and node z that you just created
- Insert the fields of the custom node, use domain EHFND_INDICATOR..
- insert new FPM_FORM_UIBB into new custom tab
Hi Mossimo,
million thanks i have added the fields and the tab following the first simple process.Though iam able to see the new tab and the fields in it when i execute the application EHHSS_INC_REC_OIF_V3 i couldnt find the tab when i clicked on the incident icon in the portal. when i added the incident number in the basic info tab i could see the same in portal . any thoughts on making the newly added tab visible in the portal???
Regards
luxmi
I did not understand very well:
transation NWBC:
- See field incident number in the basic info tab
- See the new custom tab "Climate Details"
from the portal:
- See field incident number in the basic info tab
- DO NOT see the new custom tab "Climate Details"
right?
what kind of Enhancement you used to make these changes?
I can not think of a reason why the change does not work.
Hi Mossimo,
thanks for your suggestions i fixed the issue by configuring the new tab in spro as well via path spro -ehs incicdent management -general configuration -assign access level to tabs.
also in the service- report incident simplified portal if i fill location then corresponding location description should be filled in location description field and 2 new fields are added region and base service area for that region should automatically be filled in the base service area
automatically pls let me know ur thoughts.
Regards
luxmi
I understand that you need when location is fill, location description and two custom fields are filled automatically
you have 2 possible routes
A simpler:
Enhancement component configuration:
EHHSS_INC_REC_OIF_BINF_V_FRM
EHS_INC_REC_QAF_BASIC_INFO
Replace the feeder class with a custom class as a superclass that the replaced.
redefine the method get_data inserting the necessary code to extract the data, you must use the ENA class.
A blackberries complicated:
best practices, work with pdf off-line
- Use BOPF_EWB for Enhancement BO EHHSS_INCIDENT
- Create a new determination for node BASIC_INFO_ALL,event after modify, to fill automatic fields
Hi Mossimo,
yes your understanding about the requirement is correct .as per your suggestion i have created a new
determination for the node basic_info_all.when i put a break point in the method
/BOBF/IF_FRW_DETERMINATION~EXECUTE in the custom class which is generated automatically , as soon as i clicked the incident
number in the portal,the break point is getting triggered also before save also this is getting triggered.but my requirement is
when i fill the location field using search help automatically the corresponding details should be filled in the other fields like location description.As
mentioned by you WHILE CREATING THE DETERMINATION I CHECKED AFTER MODIFY .Please let me know the detailed steps to be followed .
do i need to create an action? i want the break point to be triggered in the method as soon as the location is filled so that i can write the code
for populating description and other details.please let me know your thoughts.
thanks®ards
luxmi
Hi Mossimo,
I have added the new field incident_severity in basic info tab in this when the option critical is selected from the search help of this field an information message should be shown .pls let me know the way to do it.Also in the new tab which I added the fields are visible but they are not enabled they are greyed out.i have written the following code but still they are not enabled pls guide .
i tried this but still the fields are only visible but not enabled.
loop at ct_fieldusage into lt_field usage where name = ''name of the field''.
modify ct_fieldusage from ls_field_usage transporting fixed_values fixed_values_changed mandatory visibility enable
endloop.
also changed ev_field_usage_changed = abap_true.
regards
luxmi
Hi Mossimo,
i have added new action and linkedit with the fpm event id of the new field though i put breakpoint in process_event when i click on the search help of the new field to select the values the breakpoint is not getting triggered in the process_event .pls let me know the detailed steps.also i want to change the logo of the incident form.pls guide
thanks in advance
luxmi
Hi Mossimo,
thanks a lot after adding the z component configuration in the wiremodel my fields in the new tab are enabled.thanks for your inputs.
Also pls let me know the way for displaying an information message for the new field incident type in basic info tab which is added as per ur suggestion .if i select the value in the search help of this field then an information message should be displayed. i have added a new action in the class ZCL_EHHSS_INC_BINFA_UI_FRM method PUT_ADDITIONAL_ACTIONS
and hancled the code in HANDLE_IMPLICIT_ACTIONS. did the event linkage in the component configuration for this field. but when i select the field my control is not stopping at process_event .as soon i select the field teh breakpoint in process_event should trigger but its not happening am i using a wrong feeder class?/ pls suggest
regards
luxmi
Hi Chetan,
I have done as mentioned above but the control is not stopping for my field when I pressed f4 help. how ever in the same uibb of basicinfo tab there is link to action translate fields
when I click that the breakpoint in the process_event is getting triggered..Please let me know if there any more suggestions from your side.
Thanks&Regards
lakshmi
Hi Chetan i have included new action in get definition method of cl*ehfnd *fbi*guibb*form
and have handle d the action in get data method of the same class now im able see the mesaage
when i enter the value and press ENTER.but iwant the event to be triggered automatically and show the message when i select the text from search help with out pressing enter button.pls guide.
Thanks&Regards
luxmi
Hi Lakshmi,
You don't need to do such things. If you have added once fields for input and description in Form UIBB, then you need to set FPM Event ID is FBI_DEFAULT (Flush Changes triggering insert/update) for input field.
After this in Guided Procedure of determination you need to check After modify setting. Then control will stop into your determination, there you can read respective value from field and for description you can determine using Get Domain Values FM, Select query etc. depend upon the scenario, you can fetch it and pass that value into respective field and update it using IO_MODIFY->UPDATE method.
refer the following snapshot for the same
Thanks and regards,
Chetan P. Patil
I already answered you.
- insert Z action into feder class with ridefinition PUT_ADDITIONAL_ACTIONS.
- Changes component configuration by assigning to field Z action.
- Trigged event from "io_event-> mv_event_id" in method ridefinition GET_DATA.
- Show message usage mo_fpm-> mo_message_manager
for esample see filed location: action "enter_loc_id"
hi mossimo,
thanks for the information I already have tried this way it works only when I enter the value and press ENTER on that field.may be it works when search help is populated via et_definition instead of dictionary search help.i need to check this or i may need to add zcomponent configuration into the wiring.i will check and let u know.also pls suggest some steps for this discussion
Hi Massimo,
You can add custom field using Append structure, don't need to go to the Enhancement workbench of BOPF. For description you need to create Data Element for custom field and maintain proper text in Field Text tab of data element.
For UI, you need to enhance component configuration and add that field into respective UIBB's like Form, List etc. and make display type as Text Edit. Save that enhancement. You will get your custom field in UI with your respective description.
Thanks and regards,
Chetan P. Patil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your response but,
I have tried to insert the structure field apprend, but you can not insert big fields .
I do not need a field with label 'description'.
I need to insert a field TYPE String ( or char2000 or char3000 ) like description.
the only way I've found is to insert a node for each field.
Thanks.
Dear Chetan,
I also working on the same kind of requirement.
How to find the corresponding FBI configuration of particular BOPF node?
Is it every BOPF node will have FBI configuration exist?
I understand, Extension Include structure of node should be appended with new set of required fields.
What are the further steps to be done for this requirement.
Thanks,
Bharath.
Dear Bharath,
You will be able to find the BO and the respective node for each particular tab by going into technical settings.
Right click ->Goto Technical settings->component configuration->feeder class parameters.
In feeder class parameters you will find the BO and Node name for that particular view.
In case of FBI views(which is combination of more than 1 nodes)
Copy the FBI view mentioned
Go to SE54 ->cluster view ->name = /BOFU/VC_FBI_V
Execute it. Search for the required FBI View.
The BO and node will be given in that.
Thanks and regards,
Chetan P Patil.
Dear Chetan,
When i am trying to display all the FBI component configurations in the view cluster /BOFU/VC_FBI_V, I get a message 'View is obsolete' and 'You can create Webdynpro component configurations for comp /BOFU/FBI_VIEW'.
Please see the screenshot below.
I have found the BO name and node in the FBI component configuration, i can see lot of subnodes under ROOT node from T-code /BOBF/CONF_UI.
How to choose the correct node and correct BOPF in which i can write the code when i have to enhance functional logic?
See the screenshot below.
Please guide and help.
Thanks,
Bharath.
you need to do step 2
1) You must insert the field in Includes Extension:
transaction: bobf
BO: EHHSS_INCIDENT
NODE: BASIC_INFO_ALL
Strutture: INCL_EEW_EHHSS_INC_BINFA_D
create append structures ZCI ...
insert custom fields, must always begin with ZZ ....! Es: ZZINC_NUMBER
2) add custom field on webdynpro FPM
Enhancement component configuration:
EHHSS_INC_REC_OIF_BINF_V_FRM
EHS_INC_REC_QAF_BASIC_INFO
------------------------
"rename the submit button" Where is it?
Create custom OTR text and then Find right component configuration of webdynpro FPM.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.