Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

Adding New Row to Assignment Block

$
0
0

Hi,

 

I created a custom table assignment block to the Membership overview page. The context node is a custom model context node.

There is an "Add" button present to add new entries to the AB. In the Add button I have added the code:

 

 

lr_entity - root object entity.

 

      lr_tx ?= lr_entity->get_transaction( ). 

 

me->view_group_context->set_view_editable( me ).

      me
->view_group_context->set_associated_tx_context( lr_tx ).

      lr_partmsh_entity
= lr_entity->create_related_entity( 'XXXXX' ).

     
IF  lr_partmsh_entity IS BOUND.


        lr_partmsh_entity
->deactivate_sending( ).

        typed_context
->yparticmsh->collection_wrapper->add( lr_partmsh_entity ).

     
ENDIF.

 

 

When I click on the Add button, a new line is getting added. But it is not editable. And the GET_I methods of the attributes of the table AB is not getting called.

 

Please provide some valuable suggestions.

 

Regards,

Heera


Viewing all articles
Browse latest Browse all 4552

Latest Images

Trending Articles



Latest Images

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