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

New line in a table view enhancement

$
0
0

Hi experts,

 

I have to make a z Assigment block based in my own structure. I have created a bol relationship directly associated to BTAdminH (o:n) like a child.

 

I have linked a new view to the overview page. I have inserted the button to create and delete. Everything is ok until now n

 

If  i insert a new line creating an entity with the respective relation

 

line1.JPG

 

It is ok, but when i am editing the line and push the 'enter' key, automatically it is generated an empty new line:

 

line2.JPG

 

 

The point is on the method DO_PREPARE_OUTPUT where I try to get the entities, it is returning a new line more in the collection:

 

CALL METHOD lr_btadmin_h->get_related_entities

           EXPORTING

             iv_relation_name = 'ZExample'

           RECEIVING

             rv_result        = lr_collection.


Finally If i save on the overview page only one line is saved, so this is working fine...

 

Any suggestion to solve it? Thanks in advance.

 

Regards.

 

RM


Viewing all articles
Browse latest Browse all 4552

Trending Articles



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