Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Data not shown in UI

Former Member
0 Likes
623

Hello ,

We have created a application on BOPF using the customer feeder class inherited from the super class /BOFU/CL_FBI_GUIBB_LIST. Where in Get data we have copied all the code part from the super class. The item node was populated from the root node through the wiring. This functionality was working fine in EHP 6.

recently we moved from EHP 6 to EHP 7 package and now the data are not showing in Item Node UI. Though I have checked that while creating the NOde the internal tables has all the  item keys.

As per my initial analysis the custom feeder class the standard copied code  is not able to get the parent keys and the below code part is not able to get the keys.

if lo_entity_collection IS BOUND.

   lt_keys = lo_entity_collection->get_self_keys( ).

End if.

Class belongs to it is /BOFU/CL_FBI_ENTITY_COLLECTION Method /BOFU/IF_FBI_ENTITY_COLLECTION~GET_SELF_KEYS.

I have checked and cross verified with our old version that all the wiring and it is correct.EV_DATA_CHANGED is also checked.My PORT Identifier is CO Now.

Can any one help me what should be the reason or Do I need to change anything with respect to EHP7?

Regards,

Partha

3 REPLIES 3
Read only

Former Member
0 Likes
512

HI Partha,

In general it is recomended to extend the FBI feeder classes only in rare cases where there is no other alternatives.

The better way to extened the feeder class with application specific code, is to implement an FBI view exit class.

(configured in the FBI view, and implements:

/BOFU/IF_FBI_VIEW_EXIT_INTF

/BOFU/IF_FBI_VIEW_EXITINTF_RUN

/BOFU/IF_FBI_VIEW_EXITINTF_DEF)

Can you explain the use case, of why you are trying to read the keys from the entity collection?

all the relevant keys for the GET_DATA method should be available as changing parameters:

CT_DATA

CT_SELECTED_LINES

CV_LEAD_INDEX

BR,

Matan.

Read only

0 Likes
512

Hello Matan,

This application is already developed and we are using the Feeder, FBI View as well as the controller class for diffferent requirement.This application was working fine in EHP6 and now it is not able show the search result  in the List UIBB after migration  to EHP7.

as per initial analysis Root key is not able to set that is why the below piece of code not able to bring all the local data  keys and populate in CT_DATA..

if lo_entity_collection IS BOUND.

   lt_keys = lo_entity_collection->get_self_keys( ).

End if.

The feeder class get_data is a copy code of the super class /BOFU/CL_FBI_GUIBB_LIST- Get_data.

Can you help me in getting to know why the above piece of code fails in EHP7 or any input?

Regards,

Partha

Read only

0 Likes
512


Hi Partha,

It is hard to make a guess from that information.

I tryed to reproduce this in the BOFU demo application, but was not able to.

If you put a break point in class

/BOFU/CL_FBI_CONNECTOR->IF_FPM_CONNECTOR_RUN~GET_OUTPUT

on the call to method mo_controller->get_target_keys

check if

ET_KEY_LINKS

ET_TARGET_KEYS

are filled.

notice which class is called for the above method (for the generic FBI code the class should be /BOFU/CL_FBI_CONTROLLER_BASE)

you can also run the demo application /BOFU/DEMO_SAMPLE_CUSTOMER, and compare it to your application. (it uses feeder class /BOFU/CL_FBI_GUIBB_LIST_ATS, but the class to the entity collection is similar).

BR,

Matan.