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

Integrate GSTEXT into view area BT126H_APPT

$
0
0

Hi all,

 

I have problems with this integration. I want to include this component GSTEXT.TEXT in details of activities component BT126H_APPT.

This activity component already has a this note component but with other view gstext.notes and with this it doesn't appears the field to select "type text".

Only appears the text box with space to write something, but if I have two or more type text? I'm looking in this component that gstext.text view has this fields that I need.

First I created a new view area, and inside this, I included the view: ZCUGSTEXT.TextWindow as a default. Then I modified in component controller WD_USAGE_INITIALIZE and I put:

 

call method iv_usage->bind_context_node

         exporting

           iv_controller_type  = cl_bsp_wd_controller=>co_type_custom

           iv_name             = 'BT126H_APPT/CUGSText'

           iv_target_node_name = 'BTTEXT'

           iv_node_2_bind      = 'TEXT'.

 

       call method iv_usage->bind_context_node

         exporting

           iv_controller_type  = cl_bsp_wd_controller=>co_type_custom

           iv_node_2_bind      = 'ATTR1'

           iv_name             = 'BT126H_APPT/CUGSText'

           iv_target_node_name = 'TEXTATTR'.

 

 

Finally when I execute an activity appears the new view, but when I select the type text in method EH_SEL_ID of gstext the entity is empty and was terminated due to an error, dump. "Deferencing of null reference",

 

Could anybody help me please?

 

Thanks,


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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