cancel
Showing results for 
Search instead for 
Did you mean: 

Replace Search help from the field in FPM Feeder class

Former Member
0 Kudos

Hello ,

My FPM Configuration using the feeder class CL_EHHSS_INC_INV_REQ_UI_FRM .

Componnet Name :  FPM_FORM_UIBB

Config Name : EHHSS_INC_REC_OIF_V3_BIA_NRQ_FRM

We have a requierement to change the standard search of data element { INV_LEAD_ID ] . I am able to find the node but not struture where we can change the search help at data element level.

Can any advice how can we proceed on that scenerio.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You need to enhance the feeder class to influence the F4 help. I hope you are not trying to actually enhancing the FPM WDA component.

Former Member
0 Kudos

Thanks for reply,

Basically this particular WD application using the concept of BOPF and i am not find the where i need to write the code ..

Can you please guide me how can i do this ...in which method and how ...as i m new in this concept.

Former Member
0 Kudos

Hi Shilpi,

You can override the F4 help through feeder class in GET_DEFINITION method of your application.

There you can write the code and provide the custom search help to DDIC_SHLP_NAME in ET_FIELD_DESCRIPTION parameter  ...

Thanks

Praveen Gupta

Former Member
0 Kudos

Thanks for reply Praveen

But i have checked thread that saying

 

But import and export of DDic Search help values to work in WDA, you must use the search help that is declared at the DDic structure level for the structure that is assigned to the context node.  By overriding the search help within the feeder class, we are breaking this link that the structure provided. We must change the search help and keep the import/export of parameters, then we must go to the underlying DDic structure and change its value help definition there.

This is will create issue ...

Can you please advice on that

Aliaksandr
Active Participant
0 Kudos

Hi Shilpi,

Does your application/component configuration use FBI (FPM BOPF Integration) views?

Kind regards, Aliaksandr.

bharath_k6
Active Participant
0 Kudos

Hi Shilpi,

I guess, you are trying to assign search help to a dataelement of some UI field. If so please find below steps.

Solution 1 .

1. Right click on UI field to which you want to assign a new search help.

2. Select 'More field Help' or Technical help'.

3. Popup is displayed with technical information. You can see technical attributes / properties of UI   element

4. Check what is the type of UI element atribute - Value.

5. Now you can find the data element and change the search help.

Solution 2.

1. If you can find the node of Business Object in transaction /bobf/conf_ui

2. You can find the relevant structure in Extension Include property.

3. Find the required field / data element in this structure and assign search help.

Hope this will help.

Thanks,

Bharath.

Former Member
0 Kudos

Hello ,

For changing the search help for the struture we need access key ... is there any other way to do ....

Thanks ...

Former Member
0 Kudos

Hello,

Yes my application is FPM BOPF Based ...

Aliaksandr
Active Participant
0 Kudos

Hi Shilpi,

Most of important parameter of applications which are based on FBI views is View-Exit class. It plays in FBI view role which is similar to role of Feeder class in FPM component configuration. Algorithm of View-Exit class searching you can find at this link.

View-Exit class has a method ADAPT_FIELDS. It has CT_FIELDS_LIST and CT_FIELDS_FORM parameters. These parameters contain definition for all fields which are used in component configuration. You can assign required search-help to any UI element by using DDIC_SHLP_NAME, OVS_NAME and WD_VALUE_HELP fields of these parameters.

If in your case View-Exit class is standard you can enhance ADAPT_FIELDS method and add additional logic.

I hope my answer will be helpful for you. If you have questions, don't hesitate and ask me.

Kind regards, Aliaksandr.

Former Member
0 Kudos

Hi Thanks for reply

but i am not able to see any exit for my application confiq , can you pls provide me steps ...

i have tried with method get_defination in feeder class but it is not working...

Confiq Name

EHHSS_INC_REC_OIF_V3_BIA_NRQ_FRM

Aliaksandr
Active Participant
0 Kudos

Hi Shilpi,

Unfortunately I don't have system where I can test your application. That is why I decided to offer you another approach. It has limitations, but...

As an example I will change search help for MATNR field of table.

1. Open table/structure in SE11 and append new structure.

2. In new structure press button "Show Appending Object".

3. Set cursor on required field and press button "Search Help".

4. Enter new search help name and press "Ok".

5. Activate.

If you have questions, don't hesitate and ask me.

Kind regards, Aliaksandr.

Former Member
0 Kudos

Hello ,

I am getting information message while changing search help.

" Search help can be changed only in appendig struct".

Former Member
0 Kudos

Hi Shilpi,

Go to BOBF based combined structure and give your search help there itself.

Thanks

Praveen Gupta

Former Member
0 Kudos

Hi Praveen,

Are you referncing standard struture of node if so then we need access key for that ?

Former Member
0 Kudos

Hi Shilpi,

Yes , i am referncing structure of bobf node, then you need to enhance structure fields with CI (Customer Include) strucuture and use that field in your UI.

Thanks

Praveen Gupta

Aliaksandr
Active Participant
0 Kudos

Hi Shilpi,

If approach with appending structure doesn't work in your case you must return to GET_DEFINITION method of Feeder class.

I found the system where I can look objects which you want to change. Unfortunately I can't change in this system, but...

As I understood you try to change component configuration as in screen shot below.

Feeder class of this component configuration is CL_EHHSS_INC_INV_REQ_UI_FRM. GET_DEFINITION method is inherited from class CL_EHHSS_INC_PERSON_HOST_FRM. That is why you must created post-method (enhancement) in parent class.

Code in this method must look like as below.

   field-symbols: <s_field_descr> like line of et_field_description[].

   if me->mv_current_config_id = 'EHHSS_INC_REC_OIF_V3_BIA_NRQ_FRM'.

     read table et_field_description[] assigning <s_field_descr> with table key name = 'INV_LEAD_ID'.

     if sy-subrc = 0.

       <s_field_descr>-ddic_shlp_name = 'YOUR_NEW_DDIC_SEARCH_HELP'.

     else.

       append initial line to et_field_description[] assigning <s_field_descr>.

       <s_field_descr>-name = 'INV_LEAD_ID'.

       <s_field_descr>-ddic_shlp_name = 'YOUR_NEW_DDIC_SEARCH_HELP'.

     endif.

   endif.

Don't forget to insert your search help name. I hope this example will help you.

If you have questions, don't hesitate and ask me.

Kind regards, Aliaksandr.

Former Member
0 Kudos

Hello ,

I have tried this as well But all the paramters of search help is not visible .

As import and export of DDic Search help values to work in WDA, you must use the search help that is declared at the DDic structure level for the structure that is assigned to the context node.  By overriding the search help within the feeder class, we are breaking this link that the structure provided. We must change the search help and keep the import/export of parameters, then we must go to the underlying DDic structure and change its value help definition there.

Aliaksandr
Active Participant
0 Kudos

Hi Shilpi,

In this case you can try to use more complex approach.

1. Add new field in structure of business object node on which component configuration based on.

2. Assign to new field your new search help with mapping export/import parameters.

3. Replace old field in component configuration on new field by using customizing of component configuration.

4. Enhance business object and add new determination for required node which will be triggered on changing of new field and will transfer value from new field to old field.

Kind regards, Aliaksandr.

Former Member
0 Kudos

Hello ,

I have tried this and search help is cmg but value is not coming when i am selecting from search help.

When i am saving data in Z table of search help for investing lead (INV_LEAD_ID), it is saving with name of lead not by id . because of this it is causing problem?

I have req to save data of lead in Z table then display it as search help.. in standard table EHHSSD_INC_INRES it is saving with id and display search help in field as name...

Can you pls help me

Aliaksandr
Active Participant
0 Kudos

Hi Shilpi,

Unfortunately I didn't understand your answer.

Do you want to create new customizing table and store values for INV_LEAD_ID field in it?

If yes what exactly you can not do? Could you give me more clear picture of your problems?

Kind regards, Aliaksandr.

Former Member
0 Kudos

Hello,

I am able to get search help but value is not returing in the field .

But when i am selecting value from this search help nthg is coming on view.

I have create Z Search below:

I am not giving exit here because when i gave no values coming ... can you pls guide me here.. i feel i am wrong some where in search help only... i have to give exit name here and have to modify exit ...but where

I am getting values in search  help also but wh

Aliaksandr
Active Participant
0 Kudos

Hi Shilpi,

I think it is not connected with search help exit. It looks like that you mapped import/export parameter of search help to structure fields wrong. According with first screen shot you mapped SNAME field of search help to "Investigation Lead" field in structure. In this case when you choose first line in search help it must return blank value if second - "SSS" value. Could you check it?

Kind regards, Aliaksandr.

Former Member
0 Kudos

Hi,

Changed that also still no value coming ... it is popoluating 'Unknown Person' from the exit ....

Former Member
0 Kudos

Hi,

I have added search help exit then value is coming to field but search is not working as expected.. because it is selected as per search help ...

Can you pls help to modify search help exit.

Aliaksandr
Active Participant
0 Kudos

Hi Shilpi,

Unfortunately I didn't understand what does it mean "selected as per search help".

I think as an example for search help exit you can use F4IF_SHLP_EXIT_EXAMPLE function module. It is quite good documented.

Kind regards, Aliaksandr.

Former Member
0 Kudos

I have modified the search help and now it is working fine .....but facing one problem

when i click on search help -----> click on search filter criteria

Then no filter values displayed

Where i am wrong in this ?

Former Member
0 Kudos

Thanks a lot Aliaksandr Zhdanovich ..my search help error problem solved by myself ..

Answers (0)