Personalize button in Assignment Block
Hi,
I created a new assignment block for Campaign History in the Account Overview screen.
But the personalize button does not work, i.e., when I click on personalize button, no fields are shown in available or displayed fields list.
Couls you please guide as to how I can go about with this.
Regards,
John.
Hello John
The issue could be related to the code correction in note 1504637. Please check that note.
Best Regards
Luis
Similar Messages
-
Hi,
Anyone plz explain
How to Add Buttons in Assignment Blocks.
Thanks,
Kaaviya.Hi Kaaviya,
U can define the buttons in the DO_PREPARE_OUTPUT method of the implementation class or the IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS method in the Context node.
U can use the following code to create a button,
DATA: ls_button TYPE crmt_thtmlb_button.
CLEAR gt_buttons.
CLEAR ls_button.
ls_button-type = cl_thtmlb_util=>gc_icon_edit.
ls_button-text = 'Edit'.
ls_button-on_click = 'edit'.
ls_button-tooltip = 'Edit'.
ls_button-enabled = me->view_group_context->is_view_in_display_mode( me ).
INSERT ls_button INTO TABLE gt_buttons.
The following Code to be added in the .htm page of the view:
<thtmlb:areaFrameSetter toolbarButtons = "<%= controller->gt_buttons %>"
maxButtonNumber = "1" />
Hope this helps you!
Regards
Veena. -
How to disable the assignment block's Edit button
Hi guys,
I need to disable the edit button in assignment block Parties Involved on an opportunity. Only authorised people would be able to see Edit button as enabled.
I'm not able to do this in the BTPARTNER/Partner as I don't get process id and order id in Partner view.
Kindly suggest a way to disable the EDIT button of assignment block (in display mode).
Regards,
ShailiMake use of Parameter ID to set the values at Document Header page and on individual assignment block get this value to enable or disable the button.
Regards,
Harshit -
Personalization of Assignment Blocks couldnu00B4t be saved
Hey,
can anybody help me. I have the problem, that the personalization of the assignment blocks are couldn´t be saved in CRM WebUI 2007. When I change my personale layout of the assignment blocks with drag & drop the personalization are couldn´t be saved.
I´ve tried to reset all personlization with the report BSP_DLC_DELETE_PERSONALIZATION, but it doesn´t works.
Has anybody an idea?
Thanks.
Regards
AnnettHi,
Maybe they have been disabled in IMG configuration? The following thread may give you some pointers.
[authorizations for UI personalization;
Regards,
Arun Prakash -
Remove export to excel button on an assignment block
Hi
I have a requirement to remove the "export to excel button" on an assignment block".
I have coded the following in .htm
<chtmlb:configTable xml = "<%= lv_xml %>"
id = "BuilContactPerson"
navigationMode = "BYPAGE"
onRowSelection = "select"
table = "//BuilContactPerson/Table"
displayMode = "<%= controller->view_group_context->is_view_in_display_mode( controller ). %>"
width = "100%"
headerVisible = "FALSE"
hasLeadSelection = "TRUE"
downloadToExcel = "FALSE"
actions = "<%= controller->gt_button %>"
selectionMode = "<%= BuilContactPerson->SELECTION_MODE %>"
selectedRowIndexTable = "<%= BuilContactPerson->SELECTION_TAB %>"
selectedRowIndex = "<%= BuilContactPerson->SELECTED_INDEX %>"
visibleFirstRow = "<%= BuilContactPerson->visible_first_row_index %>"
usage = "ASSIGNMENTBLOCK"
/>
Though I have coded the downloadTo Excel to "FALSE" the button still appears.
I think the button comes by default for an assignment and I am not sure how to restrict for assignment block.
Can anyone please provide some pointers on this?
Thanks
SushmaH Sushma,
Could you check with this SAP note 1288220 inorder to disbale the export to excel in the AB's.
Regards,
Venkat. -
Button "NEW " being deleted in Assignment Blocks of Contacts
Hi Experts,
This is the Scenario.
When we go to Contacts, there is an Assignment Block Relationships to Employees where Button "NEW" is being deleted(which was present earlier).
The same scenario is seen in Assignment Block Relationships to other Contacts also.
Please propose a solution to bring the NEW Button back.
Many thanks in advance
Regards
KarthikeyanHi laxmi,
The scenario is not difficult to resolve.But you must figure out if your business requires this or not.Possibly if the button is getting deleted due to some condition being executerd,you should check if the same condition is applicable to you.YOu should find out whihc view it is,by pressing F2 on the view in the UI. Goto that particular compoennet and view and then chekc out the following methods in the View IMPL class- DO_PREPARE_OUTPUT OR IF_BSP_WD_TOOLBAR_CALLBACK=>GET_BUTTONS.One of these will contain the code where a table GT_Buttons or rt_buttons would be filled .This is an internal tabel which contains all the buttons to be displayed on the UI.Here you can check if the NEW button code is present or not,and do the needful by copying the code which brings about other buttons.
Suvidha -
Saved search DDLB button on an Assignment block toolbar
Hi,
We have a requirement to add a button on an Assignment block (in an overview page) similar to Saved search DDLB button/functionality present on the Header Area. Any ideas to achieve this. Please let me know.
Thank you
AnjiHello,
Refer below links
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90789317-4b7d-2e10-8f88-ada75bb67369?QuickLink=index&…
Saved Search in Custom BSP Component | SCN
If you have not gone through it already.
Regards,
Ashik -
Available assignment blocks via personalization on account screen
Hi
On the account overview screen in WEB UI (crm version 6.0), via the personalize icon, some users have 40 available assignment blocks and some only have 15. We want to give everyone access to all 40 and then choose which blocks they want to display.
The users who have 15 have a different business role & a different PFCG role to those who have 40. I think its controlled by an object within the PFCG role. Can anyone please help with identifying the object?
Thanks a lot
LesleyHi PP
Thank you for your reply.
The configuration for the business role that has 40 blocks and the one that has 15 blocks is alike in every single way except for the PFCG role i.e. same role config key, nav bar profile etc... The PFCG role is the only thing that is different.
I can see that the technical info is component BSP_DLC_PERS view TablePers but I dont know what within the coding to display this assignment block pop up is read to influence the number of assignment blocks made available to the user.
Thanks a lot
Lesley -
How to populate data from bol to assignment block.
Dear experts,
I saw on sdn discussion similar questions, but have not found the suitable answer.
I need to add fields for BP using EEWB and to work with this field in WEB UI. For achievement of it I have executed following steps:
1. Using EEWB has added new z u2013 fields to BP. This fields have appeared in tcode bp on a tab "customer data". Besides I have seen this field in created z u2013 BOL.
2. Using tcode BSP_WD_CMPWB has created z bsp component.
3. In z bsp component has created view and custom controller which correspond earlier created z - BOL. Also has created following binding:
owner->do_context_node_binding(
iv_controller_type = cl_bsp_wd_controller=>CO_TYPE_CUSTOM
iv_name = 'ZBP_S_INF/NumBpOutSYS'
iv_target_node_name = 'ZZ9BHEEW'
iv_node_2_bind = ZZ9BHEEW ).
4. Has redefined method DO_PREPARE_OUTPUT and would make modify the *.htm file for the purpose on toolbar there were buttons of editing of the data.
5. Has adding z - assignment block to bp_head component.
At start WEB UI the assignment block it is visible in list displayed blocks of account data. In this block there are buttons on toolbar. But in this block the data is not displayed. Though really data there is, as they are displayed in tcode bp.
Please inform as to populate the data from bol to z u2013 component. I assume that it is necessary for me to create get_ methods. But methods get_ and set_ do not cause query.
Iu2019m work in CRM 7.0.
Best regards,
Eugene.HI, Prasenjit
Here the text my html pages
<%@page language="abap" %>
<%@extension name="thtmlb" prefix="thtmlb" %>
<%@extension name="chtmlb" prefix="chtmlb" %>
<%@extension name="bsp" prefix="bsp" %>
<thtmlb:areaFrameSetter toolbarButtons = "<%= controller->gt_button_header %>"
maxButtonNumber = "3"
displayMode = "<%= controller->view_group_context->is_view_in_display_mode( controller ) %>" />
<chtmlb:configTable actionsMaxInRow = "3"
allRowsEditable = "TRUE"
displayMode = "<%= controller->view_group_context->is_view_in_display_mode( controller ) %>"
downloadToExcel = "TRUE"
id = "Table1"
onRowSelection = "select"
personalizable = "TRUE"
selectedRowIndex = "<%= ZZ9BHEEW->SELECTED_INDEX %>"
selectedRowIndexTable = "<%= ZZ9BHEEW->SELECTION_TAB %>"
selectionMode = "<%= ZZ9BHEEW->SELECTION_MODE %>"
table = "//ZZ9BHEEW/Table"
usage = "EDITLIST"
visibleFirstRow = "<%= ZZ9BHEEW->VISIBLE_FIRST_ROW_INDEX
%>"
visibleRowCount = "6"
width = "100%"
xml = "<%= controller->configuration_descr->get_config_data( ) %>" />
Whether the page can html operate extraction of the data? -
Can not update an assignment block with on_new_focus
Hello Experts,
I have the following problem. I created a new component which is similar to the component BP_BPBT to create activities for Business Agreements. In the overview page of the business agreement in WebUI, I have now the assigment blocks "Plannend activities" and "Interaction History".
When I create a new activity in the assigment block "planned activities" with the new button and save the activity with the buttons "SAVE" or "SAVE AND BACK". The new created actity is shown, depending on the "Active Status" , in one of the assignment blocks "Plannend activities" and "Interaction History". When I create an another activity in the same way, the new actiity is not shown in the assignment blocks. But when I reload the page again, I can see the new created activity.
During debugging, I see, that the first creating activity is in the collection in the method ON_NEW_FOCUS. When I create an another activity, the collection is not updated. Here is my coding:
* get collection of dependent nodes
TRY.
entity ?= focus_bo. "BuAg Entity
CATCH cx_sy_move_cast_error.
RETURN.
ENDTRY.
TRY.
lr_entity = entity->get_related_entity( iv_relation_name = 'BuAgBuPaRel' ).
lv_collection = lr_entity->get_related_entities(
iv_relation_name = 'BuilInteractionHistoryRel'
* D022159: Performance optimization
iv_mode = lv_mode ).
Can anyone explain me, why the activities (after the first one) are not in my collection.
Can anyone help me to fix this problem?
Kind Regards,
John H.Hi,
Please check if you have added your entity to collection after you save the entry. It looks like your value is saved in DB but its not reflected on UI because you are not refreshing your collection.
I would suggest that you write a code after you save and commit to refresh your collection of the context node.
Regards,
Bhushan -
Supressing Drag&Drop for Assignment Blocks in Overview Page
Hi Experts,
in the standard setup it is possible to change the order of assignment blocks in a Web UI Overview page by means of drag and drop. Does anybody know how this feature can be suppressed if not desired?
Thanks,
JensHi,
one solution is to deactivate this in the customizing of the businessrole.
Add function profile PERSONALIZATION with value ALL_DISABLED to disable all personalization functionality.
There are some other values possible like:
WA_ENABLED or PP_ENABLED
Just test a little bit arround which is the correct one for your requirement. ALL_DISABLED deactivates all personalization.
Kind regards
Manfred -
How to allow user to see salary button in assignment Window
Dear,
We wanted to dis-appear Salary button in assignment window; therefore we used task flow to visible or un-visible salary button and working fine but by clicking salary button showing error "Function not available for this responsibility. Change responsibilities or contact your System administrator'
pls advice what is the missing setup.
--thanksThanks for answer,
Could y please tell me how to personalize that salary button for particular user on the basis of Grad, let me explain
Responsibility: HR User, HR Recruiter, HR Data Entry
There are three responsibilities, for first two salaries button are enable through work flow while last one is disable.
------- Requirement
1. I don't want to apply any condition for "HR User" responsibility
2. For 2nd responsibility would be condition base if 'A' user then salary button enable if grad like a,b else disable for HR Recruiter responsibility .
Please advice
-thanks -
Configured assignment blocks are not coming on to WebUi
Hi All,
Recently we have upgraded from CRM 5.0 to CRM 7.0. In PRDIOOV component i have configured the assignment blocks which needs to be displayed in the WebUi. In the displayed list of assignment blocks around 10 assignment blocks are there.But if you look into the WebUi its displaying only 7 assignment block. I have checked in the personalization there also its having 7 ABs only. I have tried with choosing other cofiguration, for this also the problem is persisting. Please provide me the solution what exactly can be done to get all the 10 ABs into the WebUi.
Regards,
Lakshman.PHi All,
This issue is resolved. I have done the following steps to make the Z assignment block to be available in the Web Ui....
1.I have created a Z Component and i have created a view with Z filelds in this Z component.
2.I have added this in the overview view of the component PRDIOOV.
3.I have adde this to the Overview in the view set in Runtime repository of the PRDIOOVcomponent
4.Now the vew is avialble in the configuration and i have added this to the displayed list.
5.Once this is done it should be displayed in the WEBUi but its not displaying in the WebUi. To resolve this I have made an entry in the table CRMC_PRIL_UIU by giving the
Object Type -
>S
Object ID -
>Obj Name
BSP Application -
> Zcomponent (Which i have created)
View -
>Zview (Which i have created)
6.Once i have made an entry in the above mentioned table, My Z assignment block is displayed in the Web UI. With this my problem is solved........
Regards,
Lakshman.P -
How to add new assignment block in opportunity
Hi,Experts.
I'm a beginer of SAP CRM.
I need to add/create a new assignment block similar to existing assignment block 'Details'
and display enhancement items in Opportunity screen with SAP crm 2007.
I have created new view using Wizard in BSP_WD_CMPWB and added it in WebUI.
I can input the item of added assignment block when creating new transaction.
However updating the existing one, the item does not replaced by input mode
even if I push the EDIT button.
Is any coding necessary? My process was wrong?
Could you please help me out.
Thanks,Hi ,
For your issue , in the view/viewset impl class where the edit button is placed , redefine the method SET_VIEW_GROUP_CONTEXT and create an instance
IF iv_first_time EQ abap_true AND view_group_context IS INITIAL.
IF iv_parent_context IS INITIAL.
CREATE OBJECT view_group_context
TYPE
cl_bsp_wd_view_group_context.
ELSE.
view_group_context ?= iv_parent_context.
ENDIF.
ENDIF.
Then in the event handler of the edit button make the view editable
me->view_group_context->set_all_editable( ).
Then in the .htm of the view , in the chtmlb tag ,
displayMode = "<%= controller->view_group_context->is_view_in_display_mode( controller )
Please try this..This will work.. If so, plz award points -
Refresh Follow up Transaction History Assignment Block on Save
Hi All,
I am doing a requirement where I am creating follow up Chargeback document (marketing) from Claim on click of Save.
I am able to create it using code written in manual button event handler, but the transaction history of the document is not refreshed immediately.
Though when i open the follow up document it is there and when I open the original document again it is there as well. That is, though the link has been created, but how to refresh data of transaction history assignment block on click of Save button of preceding document.
Please suggest if someone has worked on a similar scenario somewhere (may be from Lead to Oppt creation on save).
Thanks and Regards,
Rohit KhetarpalHi Rohit
I believe it is in the buffers so maybe you need to trigger an Server Roundtrip dude on this scenario so that refreshing happens and the same gets reflected on the UI
(OR)
Since it is in the overview page do a reread on the entity say in do_prepare_output to get the latest one
(or) use the publish_current() to publish the entity in do_prepare_output.(this will automatically do a re-read i believe)
Thanks
Abishek
Maybe you are looking for
-
IPhone 6 month view in landscape mode??
hello, was wondering if there is a way to view an entire month in landscape mode on the regular iPhone 6 just like we can on the iPad?? Couldn't find it and would love this feature if it doesn't exist. I don't schedule things by the hour. I think th
-
How Can I Tell if I Have a Bad RAM Terminal?
A few weeks ago, my MacBook Pro started freezing several times a day, and it was to the point where I couldn't use it for even 10 minutes. It would also beep three times most of the time that it froze. So I turned it off for like 3 weeks and then too
-
Issues with texlive update from 2013 to 2014 version.
I got an error about conflicting files: Packages (2): texlive-bin-2014.34260-1 texlive-core-2014.34872-1 Total Installed Size: 350.75 MiB Net Upgrade Size: 34.54 MiB :: Proceed with installation? [Y/n] (2/2) checking keys in keyring [##############]
-
How do we know if an ac adapter is fake or not from CT code
How do we know if an ac adapter is fake or not from CT code ? Is there a verification page ?
-
Doin' the "Sequence Shuffle" (or not)
Here's a problem: Check out [javafx.util.Sequences API|http://java.sun.com/javafx/1/docs/api/javafx.util/javafx.util.Sequences.html] . It has some nifty functions like sort and shuffle. However, say you make a sequence of stuff with an id attribute: