Adding a New Assignment Block

Hello Experts,
I need to add/create a new assignment block 'Strategy Plan ' similar to existing assignment block 'Attachment'
in Account screen.
I got the document which suggest creation of new assignment block by creating Set Type and attribute.
But can't figure out how to make that assignment block similar to  existing one 'Attachment'.
Please help me how to proceed .
Thanks in Advance,
Ram

Hi Arun,
I did exactly how you said.
Opened the Component BP_HEAD in Enhancement set 'Z_ENHANCE'.
Added the component usage 'ZStrategy' their inbound plugs and outbound plugs
similar to one used by Attachment assignment block.
Added the View 'ZStrategy.MainWindow' under viewarea 'OverviewPage'
of ViewSet 'BP_HEAD/BPHEADOverveiw'.
Also Initialized the component usage in WD_USAGE_INITIALIZE of component controller.
But When I see the assignment block in WebUI.
I see simple window with no toolbars in it. Also It disapears when expanded.
I gives error like "CX_BSP_WD_INCORRECT_IMPLEMENT - Define component usage 'ZStrategy'
CX_BSP_WD_INCORRECT_IMPLEMENT - Define component usage 'ZPlanStrategy' "
I think I missed some steps or may be my enhancement set is not loading.
Help me out.
Thanks and Regards,
Ram

Similar Messages

  • Better approach for adding a new assignment block in a standard component

    Hi
    I need to add a new assignment block in the standard component bt116h_srvo. There are two approaches :
    1. create a new view in the component bt116h_srvo
    2. create a custom component and embed it into bt116h_srvo using component usage.
    Please tell which one is a better approach and why ??
    Thanks,
    Swati.

    Thanks for the quick reply lakshmi. However I am sure there is no possibility of reuse . My  main concern here is tat will patch upgradation in future would have any impact on the views added directly in standard component  or any other risk in adding view directly.
    Rgds,
    Swati

  • 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

  • New assignment block

    Hi,
    I'm trying to create a new assignment block on an Overview page. Here are the steps that I followed:
    1) BSP_WD_COMPOMENT->Navigate to component->Create view set->Create view(Table view type for a Value node with a Z table).
    2) Runtime Repository->Added the view set Create above.
    3)Runtime Repository->Add the View created into the viewset.
    4)Runtime Repository->Add Viewset into the Overview page viewset.
    Now, I was hoping to the see the above created view in the available assignment blocks list. But, I do not see it. Please guide me as to how will I be able to add the assignment block.
    Thanks

    Hello Sreesanth,
    Please check out the following [thread|Creating an overview page with content; where I described the steps necessary to add new assignment block to the overview page.
    I hope it helps.
    Best Regards,
    Yevgen

  • Create a new assignment block

    Hello everyone,
    I am new in the topic SAP CRM Web Client and I have to create a new assignment block for the accounts site.
    In this assignment block you should see the last ten orders of the account. I already have the code to get the data from the tables. But I have no idea how to show this in a new assignment block. Can anybody help me, please? Or do you know a good document, where the process is described?
    I have the book SAP CRM Web Client Customizing and Development. So I've understood the basics. But it was not really helpful for my project.
    So help me, please.
    Thanks and regards,
    Stefanie

    Stefanie,
        Assignment block is nothing but a view. So you need to create one view with view type as Table view. Columns of the table would be the value attributes of the view. Write the population logic in ON_NEW_FOCUS method of the CNxx class associated with the view you created.
    You can refer following code to get the TABLE View populated -->
    data: lr_wrapper type ref to cl_bsp_wd_collection_wrapper, " BP collection wrapper
    lr_entity type ref to if_bol_bo_property_access, " wrapper entity
    lv_bp_nr type string, " BP (business partner) number as string
    lv_partner type bu_partner, " BP number in correct format (for RFC call)
    ls_smof_erpsh type smof_erpsh, " structure of the RFC destination
    lr_col type ref to if_bol_bo_col, " collection to fill node ZBP_FAVS
    lr_valuenode type ref to cl_bsp_wd_value_node, " value nodes to fill a collection
    lr_tabline type ref to zbp_favs_s, " table line reference to fill value node
    lt_favs type zbp_favs_tab, " local table with data from ERP-table ZBP_FAVS
    ls_favs type zbp_favs_s. " local structure of table above
    get partner entity and partner number
    try.
    lr_entity ?= focus_bo.
    catch cx_sy_move_cast_error.
    return.
    endtry.
    lv_bp_nr = lr_entity->get_property_as_string( 'BP_NUMBER' ).
    if lv_bp_nr is initial. " no partner...
    return. "...return without selection
    endif.
    get RFC destination of ERP system, if needed
    if ZL_ZBP_FAVS_ZBPFAVORITES_IMPL=>gv_destination is initial.
    call function 'CRM_GET_ERP_SYSTEM'
    exporting
    iv_rfcdest =
    iv_siteid =
    importing
    es_smof_erpsh = ls_smof_erpsh.
    if sy-subrc = 0 and ls_smof_erpsh-rfcdest is not initial.
    ZL_ZBP_CUCL_ZCURRENCYCLAU_IMPL=>gv_destination = ls_smof_erpsh-rfcdest.
    endif.
    endif.
    get favorite things for partner
    lv_partner = lv_bp_nr. " call RFC function in ERP system
    call function 'Z_CRM_GET_FAVS_FOR_BP'
    destination ZL_ZBP_CUCL_ZCURRENCYCLAU_IMPL=>gv_destination
    exporting
    iv_partner = lv_partner
    importing
    et_favs = lt_favs
    exceptions
    others = 4.
    if sy-subrc <> 0.
    " should never happen
    endif.
    create collection object to transfer data
    create object lr_col
    type
    cl_crm_bol_bo_col.
    loop through all found data...
    loop at lt_favs into ls_favs.
    "...create line object
    create data lr_tabline.
    "...create value object with current line for colleciton
    create object lr_valuenode
    exporting
    iv_data_ref = lr_tabline.
    "...set current line data
    lr_valuenode->set_properties( ls_favs ).
    "...add current line to collection
    lr_col->add( lr_valuenode ).
    endloop.
    set collection
    me->set_collection( lr_col ).

  • Adding new assignment block in the sales order component

    Hi ,
    In sales order ,  qty filed is available at line item general details  level .now my requirment, the qty field has to display  in the new assinment block. i am thinking to create new view and context  node in the same component and ii will add this view to SOItemOV page . Please guide me this  approach is correct or not.

    Dear Venky,
    Refer to this [WIKI|http://wiki.sdn.sap.com/wiki/display/CRM/Howtodisplayaz-tableinanassignmentblock] for help.
    Thanks
    Vishal

  • Adding an assignment block

    hi
    I have to add a new assignment block on the UI. I  have done it by creating a view in a new component and then getting the fields displayed on the UI by including that component in the Component Usage for the required component. The problem i am facing is that, all the fields are getting displayed in  the non-editable mode. I am not able to manipulate the values for these fields using the GET, GET_I methods also. Please help me in solving this problem.
    Help would surely be rewarded.
    Regards,
    Radhika

    Hi Radhika,
    Please note that fields will get value either from custom controller or component controller in your case.
    When you include any component in other component you need to specify which custom controller your component will be using to fetch the value.
    Eg: Your componet is C1 and you have added it in component useage of C2. Also C2 has cuco.Also you need to create cuco in c2 for your component c1so that c1 is able to fetch the value.
    Now when you have specified the cuco, you need to tell in component controller that if your component is C1 then your cuco is cuco(that you created in C2).
    This you do in implementation class of component controller and wd_usage_initialize method of implementation class of component controller. If you check any standard component, you will find custom controller for component usage components. Write code for your component C1.
    Then you will be able to use values and fetch values.
    Best regards
    Pankaj Kumar

  • Adding Assignment Block to Sales Order Screen

    Hi
    We enhanced the SAP GUI CRMD_ORDER screen to have a new tab and added custom fields to it. This was done using easy enhancement workbench.
    Now we want to do the same thing to the Sales Order Screen in Webclient UI.
    I have  seen a lot of discussions in the forums, but for a beginner like me it is confusing.
    Can someone please guide me on how to do it?
    I have set up webclient UI and everything is working fine but I am not aware on how to create new assignment blockand add fields to it since the building block does not have it listed.
    Any help would be appreciated.
    Regards
    Jimmy

    Hi Stephen
    What we did in EEWB was we created a new tab on Sales Order Item Details called 'Customer Fields' and added some new custom fields there.
    We want to change our Webclient UI Sales Order Item Details screen (BT131I_SLS) to add a new assignment block (Customer Fields) and insert the custom fields in it.
    I am trying to figure out how to do it. I saw the link to the blog that you had sent but before I can add new fields I have to figure out how to add a new assignment block on Sales Order Item details.
    Like when we click on item on sales order screen we get assignment blocks shipping,shipping transactions,Billing.......I want to create a new one called 'Customer Fields' and some custom fields there.
    Your help is appreciated.
    Regards

  • Adding assignment blocks notes and marketing att to the Quickcontact Page

    Hi Gurus,
    My requirement is to assign new assignement blocks to the QuickContactCreate view in component BP_CONT.
    Right now when user want to create a Quick Contact create from Account Over view page, he could see a single view with general data. View name is  BP_CONT/ContactQuickCreateEF
    when you create a new contact(not a quick contact create) from master data, you could see notes and marketing assignment blocks along with general data.
    My requirement is to assign/display the same notes and marketing assignment blocks in QucikContactCreate Over view page also.
    Please tell how can i reuse/assign/display those two blocks in quick contact view
    I tried to assign the above blocks through confiuration but i dont see them in the left assignment block list to assign.
    can any one help me with steps how can i show those two assignment blocks on quickcontact create page and how can i use from contact over view page.
    Thanks for all.
    Seema

    not received answer from any one, thats why am closing this thread

  • CRM 5.2 Adding a changed copy of an assignment block

    Hi all,
    Does anyone have detailed information on how to add a new assignment block to a view of the BP_HEAD component in CRM 5.2?
    My objective is to split the data selection of an assignment block which is already present. I want to make a copy of this component, slightly adjust the data and add it to the BP_HEAD/BPHEADOverview view.
    All documentation/information is welcome.
    Kind regards,
    Martijn de Jong.

    Martijn,
    For questions on steps 1&3 they are related.  When you "enhance" a view on a component you actually perform the first step of making the component ready for enhancements.
    This is done by displaying the component and clicking on the "enhance component" button.  This creates a "Z" storage area for your enhancements.  I need to take a further look at the copy details to remember exactly where the copy should be stored.
    For your question 5, yes once you add it to the repository it will appear in your customizing.
    Well for that piece let's say it is a transaction list, that is an entirely new concept to make the list appear differently.  You would have to adjust the underlying bol objects to make that work.  By chance what is the name of the view that you are trying to copy and adjust?
    There are no books available, but you can buy electronic access to the OKP materials from SAP.  For more information goto service.sap.com/okp
    Good luck,
    Stephen

  • Create New Info Block in ECC for CRM Customer Fact Sheet

    Hi,
    we have a requirement to add a new info block in Customer Fact Sheet to display Equipment master from ECC. the info block required somehow is not listed in standard ECC info block.
    is there any way i can configure the info block in ECC so i can call it from CRM? or do i need to develop it using ABAP in ECC?
    thanks in advance

    What I really really need is an example of how a new Assignment block can be created so that it appears in the PDF fact sheet.
    I'm aware that the interface within the Smartform will need to be changed, along with the coding to process any new data being parsed in. The copied class, now called ZCL_UIU_PRN_ACCOUNT has a method called Collect_data which populates the itabs and forwards to the appropriate Smartform. I'm currently looking through this code to see what needs to be done.
    The collect_data method loops through the data in the CRMT_BSP_PRINT table and retrieves the data structure and class, and I assume it calls them, but I have no idea what these classes have in common as I can't see common theme with them.
    The data sources are:
    CRMT_BSP_ACTIVITY2_BP
    COMT_BSP_BP_ADDRESS
    CRMT_BSP_CONTACT_OBJ_BP
    CRMT_BSP_INT_HISTORY_BP
    CRMT_BSP_OPPORTUNITY_BP
    CRMT_BSP_ACC_R3_FACT_SHEET
    CRMT_BSP_ACC_RELATION
    CRMT_BSP_SALES_AREA_BP
    and their associated class/interface is:
    CL_BSP_ACC_ACCMOD_ACTIVITY
    CL_BSP_BP_ACCMOD_ADDR_MIX
    CL_BSP_ACC_ACCMOD_CONTACT
    CL_BSP_ACC_ACCMOD_INT_HISTORY
    CL_BSP_ACC_ACCMOD_OPPORTUNITY
    CL_BSP_ACC_ACCMOD_PRN_R3DATA
    CL_BSP_ACC_ACCMOD_RELATIONS
    CL_BSP_ACC_ACCMOD_SALES_AREA
    It would look like a lot of these classes are based on CL_BSP_*ACCMOD classes, but that's guesswork on my part.
    I am unhappy that I seem to be pioneering here as there's no guide/help on exactly what needs to be done to add new AB's/sections to the PDF fact sheet. I find that strange as most areas are well documented, except this area as far as I know.
    Sure, there is a note which identifies some of the objects that need to be changed, but misses out a vital table, but there are no guides. There are many people who produce videos on how to achieve the easier stuff, like adding fields to AB's via the UI configurator, but there seems to nothing in the area of extending the PDF fact sheet.
    Jas
    Edited by: Jason Stratham on Apr 29, 2010 10:22 AM

  • How to view Knowledge Article Assignment Block in Service Confirmation

    Hi dudes,
    CRM 7.0 introduces Knowledge Articles, which can be used in Service Orders, Repairs, etc, they have an assignment block for this purpose. Unfortunately, it is not available for Service Confirmations.
    I'm not sure if it is possible to reuse the asignment block in this case. I found an interesting WIKI entry which tells how to display a z table in an assignment block. There is also information about how to assing a view to a component on building blocks config guide C04.
    So I decided to follow those indications, and try to reuse it.  It looked (apparently) easy (at least with my poor knowledge, since I'm new on this).
    From the service order (BT116H_SRVO), I wrote down the technical data of the KA assignment block:
          COMPONENT: GSDOCFLOW
          VIEW: HdrDocFlowEF
    I want to add it to the service confirmation (BT117H_SRVC). So I went to the Runtime Repository Editor:
    - Added View in ViewSet BT117H_SRVC/OVViewSet with component: GSDOCFLOW and View: HdrDocFlowEF.
    - Saved.
    I went back to the Component Structure Browser, View BT117H_SRVC/OVViewSet, Configuration tab, but the new assignment block is not available!!!
    The C04 guide creates a component usage before adding the view, which I don´t know if it is needed in this case. Checking BT116H_SRVO, there is a component usage for KA!!! but I tried to replicate it and I got to the same point.
    Maybe it is not as simple as I thought. I would really appreciate any advice on this issue
    At least, please let me know if it is feasible.
    thanks a lot!
    Pablo
    Edited by: Pablo Rodríguez Mateos on Sep 8, 2009 9:12 AM
    Edited by: Pablo Rodríguez Mateos on Sep 8, 2009 11:24 AM

    Thank you Enrique. I'll keep investigating. As soon as I reach a conclusion I'll let you know. I give you 2 points for the effort.
    Regards.
    Pablo

  • Handle change history assignment block

    Hi Experts,
        i need your help,
        i will explain the requirement,
        BSP Component : BT126H_CALL.
        I  have overage page  validate expertise ,In overage page contains general data assignment block
        In general  data assignment block  when i change status field , the change history assignment block is updated.
        In same overview page  i add two new assignment block i need to  track data of new assignment block  In chage history assignment  block.
        Could please explain step by step how create new object and how to use the object in my component .
    Thank and best regards
    Brahmaiah

    Hi experts,
    Any pointers on how to create a change history for any component, atleast?
    Thanks,
    Praveen

  • 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

  • Add assignment block to BSP

    Hi,
    This is another question on adding component to assignment block in PRD02OV/ServiceOV, I wish to add component GSTEXT which belong to MainWindow. Does anyone know GSTEXT belongs to which context node and relationship from genil_model_browser. ?  Can it be added thru wizard?
    Not sure how should I start?
    Thanks a lot.
    SAP CRM 2007.
    Edited by: Hui Leng Yeoh on Dec 16, 2008 12:17 PM

    You can't have any duplicates:
    As i've added it to the MainWindow, I won't be able to add it to the Overview anymore.
    I did everything as it actually is in BP_HEAD, so I'm wondering where the error might be.
    Regards
    Joris

Maybe you are looking for

  • Problem with dynamic actions

    Hi, I am creating the following dynamic action configuration for my custom infotype 9902. My requirement is to Insert a new record of Additional payments (0015) infotype with wagetype (LGART) = 9GHS and Amount(BETRG) = 1000 when the value in field "A

  • Standard report for User defined feild in order operation

    Hi all, do we have any standard report? for User defined field in order operation. actually we have User defined field in task list and same could be reflected in order operation. so i am using those user defied field to record extra info in maintena

  • Will DW cs5 connect to a database in SQL server?

    I work for the government that dictates I use Microsoft SQL server as they do not support php or mySQL. I need a simple form to collect limited info and display that back for the user. Dreamweaver is able to accomodate what I need, but I have not bee

  • Webdynpro Exception ICF service node

    Hi folks,   I am new to webdynpro and using CRM 5.0 or NW 7.0 for creating application in webdynpro abap. Here when i am trying to run the program , its giving following exception and now allowing me  to run. WebDynpro Exception: ICF service node for

  • MY REMPLACED IPHONE 5 IS NOT UNLOCKED

    send my factory unlocked iphone for repair and they sent me one which does not accept my nano simcard