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
It is ok, but when i am editing the line and push the 'enter' key, automatically it is generated an empty new line:
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