Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Read attribute from a different UI component

$
0
0

Hi,

 

I have a requirement, where I have to read the value of 'CAT01' attribute of 'BTCATEGORYFIRST' Context node of 'Categories' view in 'BTCATEGORIES' UI component, in the DO_config_determination method of 'AIC_INCIDENT_H/IncidentHeaderEF ' View in component 'AIC_INCIDENT_H'.

 

 

I have written below code to fetch the BTCATEGORIESFIRST context node values.

 

 

lr_comp ?= me->comp_controller.

lr_entity1 ?= lr_comp
->typed_context->btadminh->collection_wrapper->get_current( ).

if lr_entity1 is bound.

 
lr_categoryset
= lr_entity1->get_related_entity( 'BTHeaderCategorySet' ).

if lr_categoryset is bound.

lr_btcategory
= lr_categoryset->get_related_entity( 'BTCategorySchemaAll' ).

if lr_btcategory is bound.

lr_btschemacategory
= lr_btcategory->get_related_entity( 'BTCategoryFirst_S' ).

if lr_btschemacategory is not bound.

lr_btschemacategory
= lr_btcategory->create_related_entity( 'BTCategoryFirst_S' ).

endif.

endif.

endif.

endif.

please suggest me that is any other approach to get the context node attributes values in to do_config_determination method.

Please find the attached document for clarification.

 

Regards,

Manoj



Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>