on 11-25-2013 1:04 PM
Hello,
I want to find where is the button "Remove basket" (Screenshot) in the table in my code. This table itself is in GS_CM/DocList View as well as the handler of this button. But could you tell me the name of structure/component of this table, how can I find a place in coding to deactivate this button.
Thanks!
Best Regards
Vladislav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
you can find structure of view context node from genil_model_browser. we need to get component set from run-time repository first as shown below:
Put CM as component set in genil_model_browser and find structure of context node base entity CMDocument ( you can find base entity from context node class attribute BAS_ENTITY_NAME ). Structure is CRMT_CMIC_DOC_ATTR as shown below:-
Thanks,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vladislav,
The Buttons which you want to remove or add are added to the OCA using the method : GET_OCA_T_TABLE. This is present in the context node class : CL_GS_CM_DOCLIST_CN01. If you want to implement any OCA functionality in a Table View you can add buttons by implementation of this method.
I have added a screenshot for your further reference.
Hope this will help. Let me know if you need any further information.
Many thanks in advance.
Best Regards,
Samantak.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vladislav,
this is a so called One-Click-Action (OCA) - see attribute THTMLB_OCA.
I'd suggest so set an external breakpoint in method GET_THTMLB_OCA: although the method implementation is empty, it could serve as a starting point for further debugging.
Best regards,
Christian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
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.