on 08-09-2014 9:45 AM
Hi Friends,,
I am having one attribute EXT.ZFLD000008( AET attribute).. This attribute is available in the root context node BUILCONTACTPERSON... But it is not available in the BOL stucture ( in genil_model_editor if we check the attribute stucture means there we cannot able to find this attribute)
Get_xxx method of the attribute has some validation and holds value each and every roundtrip...
Now my question is..
I have to sort the value of this attribute...Basically get_xxx method will trigger every round trip...
I need to collect all the values in to buffer to perform sorting
How can i store the value in buffer ??? Where I can write logic to perform the sorting...????
Thanks in Advance..
MOHAMED ANSARI
Hi Mohamed ansari,
go through this link..
http://scn.sap.com/message/15215438#15215438
http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=237176002
this might be help full to you.. let me know if you any queries.
Thanks & Regards,
Srinivas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srinivas,
Get_XXX attribute is round Trip Method..
This Get Triggerd one by one..
And Get_XXX is last method which is getting called
doubt:1
if I call manually like this in the any method say DO_init_context or Do_prepare_output means
Call Method me->(lv_getter)
Again the same GET_XXX will get triggered in last also..
doubt 2:
ev_bol_attribute_name
and ev_path_2_sub_object will imports what?????????
Important question
me->collection_wrapper->sort()..
in the above sort method u r passing attribute..
Here my bol enity doesnot have that attribute.. Now how I will do sort operation????
More over I am not using the table View here
Thanks for ur Reply.. Guide me now..
Hi Mohamad Ansari,
In your get_p_xxx provide field type as sortable and create one event in that event write the above link logic. then that will be trigger when ever your sorting your field.
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_sortable.
rv_value = 'SORT'.
ENDCASE.
just fallow this link
Thanks & Regards,
Srinivas.
User | Count |
---|---|
3 | |
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.