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

Re: How to access the BTAdminh with Partner number

$
0
0

Hi Ram,

 

I achieved as follows:

 

DATA: lr_objcon     TYPE REF TO cl_crm_bol_entity.

 

lr_objcon ?= me->typed_context->BTPARTNERSET->collection_wrapper->get_current( ).

 

          IF lr_objcon is bound.

 

           TRY.

            CALL METHOD lr_objcon->GET_RELATED_ENTITY

              EXPORTING

                IV_RELATION_NAME = 'BTPartner_PFT_0001_MAIN'

              RECEIVING

                RV_RESULT        = lr_objcon.

            CATCH CX_CRM_GENIL_MODEL_ERROR .

           ENDTRY.


          ENDIF.


********************************


Best Regards,

JMP.


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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