on 07-18-2016 11:18 AM
Hi,
We have a view that has been created by the system for an AET extension table.
The extension is a relationship to BTAdminH.
When we try to clear some of the entried in this generated view, for some reason, they are populated back by the framework.
I have tried something very simple, in the do prepare output, i try to clear the entire collection.
After the second size below, the value of entries is 0 and remains 0 after the call to the super method.
But after a server round trip, when we enter again this method, the initial size is again at 5 (number of entries in the table)
DATA lv_entries TYPE i.
* lv_entries = me->typed_context->zmisc_data_kv->collection_wrapper->size( ).
* me->typed_context->zmisc_data_kv->collection_wrapper->clear_collection( ).
* me->typed_context->zmisc_data_kv->collection_wrapper->clear( ).
* me->typed_context->zmisc_data_kv->collection_wrapper->publish_current( ).
* lv_entries = me->typed_context->zmisc_data_kv->collection_wrapper->size( ).
DATA lr_entity TYPE REF TO cl_crm_bol_entity.
DATA lr_collection TYPE REF TO cl_bsp_wd_collection_wrapper.
CALL METHOD super->do_prepare_output
EXPORTING
iv_first_time = iv_first_time.
Running SAP CRM 7 with EHP3 SP11
Any ideas what going on here ?
Thanks for your feedback
Regards,
Helder
Hi Helder,
It is not very clear what you are trying to say here but can you try passing 'X' to iv_first_time?
You also should try deleting the context node binding.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.