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

How to add a parameter when executing get_related_entities for relation “BuilOpportunityRel”?

$
0
0

Hi experts,

as we all know,when open an account in CRM WEB UI,the system will list the related oppotunities for this account in assignment block "Opportunities".

I checked the codings,the system fetches the oppotunities by getting relation “BuilOpportunityRel”.

 

        lv_collection = entity->get_related_entities(

                iv_relation_name = 'BuilOpportunityRel'

                iv_mode          = lv_mode ).

 

Now, I want to make an enhancement,add a fillter, for example,only list the related opportunities those were created in recent 1 month.

I mean just get the oppotunities in a single step,not consider the ways to filter them after get the oppotunitys and use dynamic query for Dynamic Query Object BTQOpp.

 

How can I achieve this?

Can anybody give me an instruction?

Thanks.

Jerry.


Viewing all articles
Browse latest Browse all 7775

Trending Articles