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

Similar Messages

  • How to add an Assignment Block to Activity

    Hi Gurus,
    How to add an Assignment Block to Activity?
    Thanks & Regards
    Rohan

    Hi Kkp
    Goto the component/view: BT126H_APPT/ApptOVViewset to place the attachment assignment block on the screen.
    Click on the Configuration tab.
    Click on change.
    Add them from Available Assignment Blocks to Displayed Assignment Blocks.
    Best Regards,
    Shiven

  • How to add "ATTACHMENTS" assignment block in standard component ERP_H

    Dear All,
    I have a requirement where i have to add the "Attachments" assignment block to standard component "ERP_H". I have taken following steps so far and i am able to display the view in the component ERP_H, however no funtionality has been defined.
    I created a component usage of component "GS_CM" in the runtime repository of component ERP_H
    and now i am able to display the assignment block in the overview page of component ERP_H
    Now i have to create a custom controller and here is where the problem lies. When i try to create a custom controller, it asks for a BOL Entity, and in order to have the same BOL entity as in component GS_CM, i have to add Model "CM" to the runtime repository of component ERP_H, however i m not able to add Model CM in the runtime repository of component ERP_H unabling me to create the custom controller.
    Any pointers would help, if there is any other way to create custom controller instead of adding bol component in the runtime repository.
    Regards,
    Pradeep

    hi,
       can you please add the solution , how u have done  it?

  • 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

  • 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

  • Add new info block in Tcode VC/2

    Hello All,
    Could someone guide me how to add new intoblock in tcode VC/2.
    Currently SAP provide 22 info blocks. I need to add new infoblock
    This is what I do.
    Go to tcode VC/2 enter information and execute . Click on infoblock this will give list of available infoblocks. Please let me know can we modify these infoblock . or can we add new.
    Regards,
    Vinod Gilbert

    Hi,
    Create the fact sheet views that you want to include in the component workbench.
    Under UI framework def>factsheet> assign these views to a fact sheet.
    Then these views are then displayed in Available Fact Sheet Views in the fact sheet configuration using bsp_dlc_fs component within the component workbench.
    Select the created view as one of the tile in factsheet.
    Hope this helps
    Srinivas

  • 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 ).

  • How to add new tab page to equiment ?

    Dear Guru's
    i created the new equipement category K by coping the standard S.when i am creating the equipment while using equipment category S i am getting tab pages General,Location,organization,structure,Sales and Distribution.
    But while using the equipment category K for creating the new equipment i am getting the tab pages General,Location,organization,structure 4 only.
    why the 5 one Sales and Distribution is not coming ?
    how to add new tab page like Partners ?In that fields like sold to party,ship to party ?
    Could anybody help me in this regards
    Thank you
    suribabu

    In Equipment category creation config in IMG, check for the View Profile for both the equipment category S & K.
    For adding new tab, follow the IMG path.
    PM & CS => Master data => Technical Objects => General Data => Set view profiles for Technical objects
    Select the View profile which has been assigned to your equipment category & click Activity & layouts of views. In that screen, under seq.no, select the Partners.
    Do the same for other requried tabs based on your requirement.
    If there are same profile assigned to both equipment category, go to equipment creation creation => Edit => view selection. There you will find the required tabs.

  • How to add new EEW Business Objects

    Hi guys,
    could you please give me a solution how to add new business objects? Following are the SAP Objects that you can Enhance Using EEWB:
    ADS Analytical Data Storage
    BUPA Business Partner
    BUPR Business Partner Relationships
    BUSINESS_ACTIVITY Business Activity
    BUSINESS_TRANSACTION CRM Business Transaction
    CATEGORY_ENHANCEMENT Category Extension
    COMPLAINTS Complaint
    COUNTERS Counter
    CRM_CASE СRM Case
    CRM_RPT Resource Planning Tool
    GRANTOR_PROJECT Grantor Project
    INDIVIDUAL_OBJECT Individual Object
    INSTALLED_BASE Installed Base
    LEAD Lead
    MARKETING_ELEMENT Marketing Element
    OPPORTUNITY Opportunity
    PPR Partner/Product Range
    RELTYPE Relationship Category
    SALES_CONTRACT Sales Contract
    SALES_TRANSACTION Sales Transaction
    SERVICE_CONFIRMATION Service Completion Confirmation
    SERVICE_CONTRACT Service Contract
    SERVICE_TRANSACTION Service Process
    SOLUTION_DATABASE Solution Database
    But, i didn`t find how add it.

    Hi,
    To my knowledge adding objects to EEWB is possible by customers, SAP controls which all objects enhancement are possible through EEWB, the objects which you have listed are supported by sap for enhancement via EEWB.
    If you are on CRM 7.0 you can use AET which supports more objects that can be enhanced.(AXTREG - transaction for AET supported objects)
    Hope this helps.
    Cheers,
    Sumit Mittal

  • How to add New status values in product

    Hi,
      In product master COMMPR01 presently system is shwoing only two vaues Blocked (ERROR), Blocked (Warning), even I have downaloded the sales staus from ECC to CRM using R3AS object 'DNL_CUST_PROD3' but on the screen system is not shwoing thos values.
    How to add new values in staus field.
    Regards,
    zafar

    Hi,
    Refer these links
    Re: GR for a production order
    status profile
    Regards,
    Vishal

  • How to add new attribute in product catalog?

    Hi All,
    Can anyone tell me how to add new field/attribute in product catalog?
    The requirement is to display product's new attribute on product catalog screen.
    Do I need to create any custom java class?
    Need suggestion!!
    Thanks.
    Regards,
    Rupali

    Hello Rupali,
    I am assuming a CRM E-Commerce scenario for my help here.
    Can anyone tell me how to add new field/attribute in product catalog?
    You must start from defining the new Attribute in an exisiting or new Set Type. Use transaction code COMM_ATTRSET. Once you have the attribute / attribute set defined, you can assign this to your catalog - in the header data as the Basic characteristic List.
    to display product's new attribute on product catalog screen
    See catalog/ProductDetailISA.jsp for tips - search for catalog.isa.attribute. The catalog item WebCatItem has all the details available already.
    com.sapmarkets.isa.catalog.webcatalog.WebCatItem currentItem = webCatItem;
    If you want to show the details of attributes in the catalog page - say - catalog/ProductsISA.jsp, the instance of WebCatItem is already available. In this page look for
      <isa:iterate id="item"
                   name="itemPage"
                   type="com.sapmarkets.isa.catalog.webcatalog.WebCatItem">
    You can see that item is an instance of the WebCatItem and follow the code in the <isa:iterate> loop. Using the following code
    Iterator itemAttribute = item.getCatalogItemAttributes();
    will give you the attribute list. You can iterate over the list of attributes and do what you want.
    Easwar Ram
    http://www.parxlns.com

  • How to add new group entry in Cisco Vpn using powershell

    I am working on a powershell script to connect cisco vpn using powershell, I am able to connect to vpn but not sure how to add new group to vpn. I am using the following script$vpn_profile = 'Test'
    $username = 'TestUser'
    $userPassword = ConvertTo-SecureString -String "Password" -AsPlainText -Force
    $credentials = new-object -typename System.Management.Automation.PSCredential -argumentlist
    $username,$userPassword
    $password = $credentials.GetNetworkCredential().Password
    Set-Location 'c:\Program Files (x86)\Cisco Systems\VPN Client'
    .\vpnclient.exe connect $vpn_profile user $username pwd $password
    Write-Host "You Are Connected"
    cd "C:\"

    Have you entered .\vpnclient.exe /? to see if it will return information about other switches you can use with this executable? Other than connect, I was able to track down a few without actually having the executable (http://www.scribd.com/doc/40108893/Cisco-VPN-Client-Command-Line).
    That said, I do not believe that there is a switch that will help you create a connection. These are either done manually through the GUI, or can be likely be added by supplying a properly formatted file in the proper place.
    If you're using the version of the Cisco VPN client I think you are, then your connection settings, or profiles, are stored in individual .pcf files somewhere on your computer (likely in the Cisco directory). These are simple, text-based files. Find one
    on your computer, save it with another name, and then modify it manually. If you really want to use PowerShell, then use this opportunity to learn how to create and edit basic text files using PowerShell. If you have a standard connection file, then you can
    put that file onto remote computers any number of ways. If a .pcf file exists in the proper place when the VPN client is opened, then it likely will not prompt for a new connection.
    Update: Added more info; clarified

  • 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 Attachment category in Projects master creation form

    Hi Dudes,
    I would like to know that how to add new Attachment category in Projects master creation form.
    It defaults as Miscellaneous.
    I created new category by navigated Application developer - attachment - category
    but i dont know how to assign the above created category for Project master creation form
    Can you pls throw some lights into this little dark room?

    See http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T458262.htm
    Scrool down to the "Category Assignments Window".
    This is where you assign an attachment category to your form/function.
    See http://erpschools.com/articles/oracle-attachment-functionality-adding-an-attachment-to-a-form for step-by-step screenshots.
    Sandeep Gandhi

  • How to add new xml item(BAPI requset)?

    Hello
    i want to create bom to ERP from mii
    how to add new xml item(BAPI requset)?
    i use bapi CAD_CREATE_BOM_WITH_SUB_ITEMS
    this bapi's format is
    <table>
    <item>
        <col1>1111</col1>
        <col2>bbbb</col2>
    </item>
    </table>
    i want to add <item>
    like this
    <table>
    <item>
        <col1>1111</col1>
        <col2>bbbb</col2>
    </item>
    <item>
        <col1>22222</col1>
        <col2>bbbb</col2>
    </item>
    </table>
    how to set trx?
    i tryed
    SAP_JCo_Interface_0.Request{/CAD_CREATE_BOM_WITH_SUB_ITEMS/TABLES/BOM_ITEM/item[2]/SORTF}
    when error occured
    use MII12.0
    Edited by: Atsushi Iwasaki on May 18, 2010 6:22 AM

    Hi,
    You can try this alternative
    Step 1) Create XML Document with required structure which you want to pass it to BAPI request.
    Step 2) Populate the XML Row with required contents and map it to above created XML document
    Step 3) Map above created XML Document to BAPI request (use assign XML option dfrom link editor rather tha assign value)
    This will help to map dynamic contents to your BAPI request.
    Regards,
    Shalaka

Maybe you are looking for

  • Byte to string

    byte[] bytearray=...............already initialised String s=""; for(int i=0; i<bytearray.length; i++){ s+=( char )bytearray[ i ]+","; Now how do i get back??????

  • Cannot sync Outlook 2007 Calendar with Alltel BB 8330

    OK.....Seems like a lot of folks are having this problem. Here is what I've got Vista Home Basic SP1 Outlook 2007 (As a component of Office Enterprise 2007) BB8330 running OS 4.5.0.127 Configured with two email accounts-Default calendar/account is th

  • Marketing attribute value missing in Display mode in BP transaction

    hi All, I am facing an Issue. In the production system, while in display mode a particular marketing attribute value for a Business Partner is not present in the marketing attrbute tab of the BP transaction. As soon as I switch to the Edit mode, the

  • I lost my ipad and didnt pu icloud on it.. if i know the serial

    I lost my ipad and didn't have icloud on it.. Is it possible to track my iPad through the serial # or do I need the icloud?

  • Worth the Drive

    After trying to order a MBP from Amazon and having them take way too long to charge my credit card, I canceled the order and made the drive from Louisville to Indianapolis to visit the Apple Store there. A nearly two hour drive each way, but so far i