Custom Controller in IC Web Client

I am trying to using the Custom Controller to pass a model between classes. I am not using the BOL context node. I made my own models. Does anyone know what do I need to do or have any example that I can follow? thanks.

hi,
For help
http://help.sap.com/saphelp_crm40sr1/helpdata/en/9d/1ca7f91b76ad4493d62b8ecc7c83db/frameset.htm
If you are calling controller2 from controller1 then
subcontroller ?= create_controller(
                          controller_name = 'address.do'
                          controller_id = 'ad'
set some attributes with standard method
  subcontroller->set_attributes( name = 'model'
                                 value = lv_model ).
model is the name of the attribute.
lv_model is the instance of the model.
The above sets the model to the controller2. You can just get the model in controller2 by me->get('model').
Regards,
Abdul raheem S

Similar Messages

  • Adding a custom button in agile web client GUI.

    Hi,
    Is it possible to add a custom button in agile web client GUI?. Since i am totally new in the agile world, please provide some guidelines.
    thanks,
    Uday

    Yes, there are ways to add buttons to the user interface. The solution depends on your use case. If you are wanting to add a button in the same area that you see other action buttons, like the Save or Edit buttons, then you can do by following the instructions in the Navigation Extensibility Guide. You can find this document in the Extensibility Pack documentation online. All the online documentation can be found at http://www.oracle.com/technetwork/documentation/agile-085940.html#plmprocess - select the Extensibility Pack and you'll find the Navigation Guide in there.

  • Custom profiles in IC Web client terminate in XSLT error 'unexpected EOF'

    Hello,
    we've upgraded from CRM 4.0 SP7 to CRM2005 (i.e. CRM 5.0) SP7.
    The IC web client is not able to start our custom web client profiles. However, SAP's default profile is OK.
    When launching via transaction CRM_IC or SE80 and default.htm, the window opens up, but if we use one of the custom IC Web client profiles, the application won't load correctly. It only displays the logos and the clipboard, then gives the error message:
    The runtime repository could not be interpreted. An XSLT transformation error occurred.
    Reason: Unexpected end-of-file.
    Transformation: BSP_WD_RT_REP_RUNTIME
    I've checked the customization, and I find no errors. All function profiles (XML files) from 4.0 have been migrated correctly into 5.0 customization tables.
    The custom profile launches our BSP application Z_CRM_IC, which is a copy of the standard BSP with a few controller replacements. The corresponding runtime framework profile calls the repository Z_CRM_IC_RT_REP, which is also a copy of the original.
    When I check the repository Z_CRM_IC_RT_REP in SE80, the system displays the error
    BSP Application Z_CRM_IC_RT_REP,BSP Page CRM_IC.XM
    The included page "CRM_IC_All_Viewsets_wo_BUPA_and_Main.xml" is created in language "ABAP".          
    However, I don't think that's really an error, because the include merely points to the standard xml file
    ../CRM_IC_DT_REP/CRM_IC_All_Viewsets_wo_BUPA_and_Main.xml
    and when I run a check on that, the workbench finds no errors.
    Any idea on how to get the IC Web client up and running again?
    Regards,
    Arto

    Note 880180 seems to help.
    After making the suggested changes, I ran into another translation error, but that's a different story...

  • Custom Fields in IC web client

    Hi
    I have added a custom filed to BP using EEWB in 5.0. i want this field to be visible in IC web client search screen.
    Can anyone help me out on the process for this.
    thanks in advance.

    thanks

  • I need to create a custom controller. How is this done?.

    With the CRM 7 WebUI I need to copy data from the left pane of the Contact screen to the right pane. The left being the details of the Account/contact and the right pane holding details of the Contact (BP).
    The left pane is controlled via component BP_CONT, view ContactDetails and the right pane is controlled via component BP_ADDR view StandardAddress. When I press F2 when on a field of either of the two panes I can see that both panes have a parent point to component BP_CONT, view ContactViewset.
    However, the parent component and view has no context nodes, so I can place appropriate code in the do_process_output method.
    I have been advised that I should create a custom controller, and then bind the appropriate context nodes to it. However, I don't know how to go about doing this and wondered if anyone had come across any suitable documentation of video that might be of help?.
    Jason

    I found a link which may answer all my quesitons....
    http://blogs.moovar.com/sap/sap-crm-create-custom-controller-for-a-web-ic-component/
    Jason

  • IC Web Client: Custom Controller !

    Hi,
    I am getting a value in a custom controller. Now later on I am using the same value from this custom controller to output in another view.
    But the method in the first view where i am populating the custom controller is getting called later than the view in which I want the value, so the custom controller is not having any value in it when the second view (which is infact the first one to be called) is called.
    What do i do to output the value on the view.
    Thanks...

    hi,
    For help
    http://help.sap.com/saphelp_crm40sr1/helpdata/en/9d/1ca7f91b76ad4493d62b8ecc7c83db/frameset.htm
    If you are calling controller2 from controller1 then
    subcontroller ?= create_controller(
                              controller_name = 'address.do'
                              controller_id = 'ad'
    set some attributes with standard method
      subcontroller->set_attributes( name = 'model'
                                     value = lv_model ).
    model is the name of the attribute.
    lv_model is the instance of the model.
    The above sets the model to the controller2. You can just get the model in controller2 by me->get('model').
    Regards,
    Abdul raheem S

  • Urgent :crm_ic web client adding new field - customer external number-BPEXT

    HI
    I want to add the field <b>customer external number(data element- bpext)</b> is available as a standard  field in  <b>bp transaction</b> , under indentification tab I am trying to bring the same field into the <b>identify account-CRM-IC BSP Application</b>
    when I am trying to do this , I nee to know the below information
    <b>Attribute name
    property name
    context class</b>
    can you help me in Identifying this values which I feel is must for adding the field to the bsp application CRM_IC.
    thanks in advance
    Message was edited by: madhu satya rajasekhar bobbadi

    Hi,
    Following are the steps to add new fields to the existing view.
    - Create a new controller class (ZCL..) with original view class as super class
    - Create new BSP application with View and Controller
    - Attach the above Z class to the view and controller created and activate the BSP appln.
    - Go to transaction BSP_WD_WORKBENCH and type your BSP appln.
    - Expand your controller and at the Context class use Wizard to create new context node and bind this to Custom Controller class available.
    This whole process requires complte understanding of View, Controller, Custom controller and basic custom modifications to IC Web Frame work.
    Kunda Krishna Kishore

  • Business role customizing not working in crm 2007 web client

    Can someone tell me what services need to be activated via sicf for business role customizing to work in the Web Client under the Administration component in CRM 2007.  I have everything else working in this are eg surveys, document template, fact sheet configuration, view configuration but the business role customizing when selected just opens a blank screen
    Thanks in advance
    Eddie

    Hi Eddie,
    The SAP CRM 2007 Master guide suggests enabling all the SICF services in the SAP namespace.
    We had some script errors in CRM UI, but once all the SICF services were activated, they simply disappeared.
    The IDES demo systems are also set up this way, so you can try doing it.
    Regards,
    Padma

  • Custom OIM Web Client

    Hi all,
    I am writing a sample OIM web client application in JSP. The goal is to change the password of a target resource.
    There is an issue while connecting to the OIM server using the below code.
    oimConnexion = oimClient.connect(oLoggedLogin,oLoggedPassword,XLAccueilDir,authConf,policy,namingProvider);
    I have configured the Client config files, location etc., correctly and able to retrieve fine at runtime.
    However, the java client is working fine but not the web client.
    The OIM is 9.0.1 and deployed on JBoss.
    There seems to be strange behaviour when the application is deployed in JBoss, we are not able to login to the OIM app and it works fine when the app is undeployed in JBoss.
    The exception we are getting is shown below.
    0/04/16 11:00:57 exception caught while connecting to OIM
    10/04/16 11:00:57 java.lang.NullPointerException
    10/04/16 11:00:57 at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    10/04/16 11:00:57 at $Proxy2.isChallengeQuestionsSetForSelf(Unknown Source)
    10/04/16 11:00:57 at Thor.API.tcUtilityFactory.<init>(Unknown Source)
    10/04/16 11:00:57 at com.oracle.oim.ocs.utils.ConnectToOIM.connect(ConnectToOIM.java:59)
    10/04/16 11:00:57 at com.oracle.oim.ocs.client.OIMCustomClient.connect(OIMCustomClient.java:286)
    10/04/16 11:00:57 at test.jspService(_test.java:60)
    10/04/16 11:00:57 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    Appreciate any help on this.
    Thanks,
    Mahendra.

    Bump Thanks.

  • Adding columns to result list in inbox view of web client

    Hi,
    I have a requirement to display custom columns in result list of inbox view of web client. I copied the view and controller to custom name space. In BSP_WD_WORKBENCH , for AUIITEM view, there are two context nodes . AUIITEMTREE is one of thena and has tree structure and under it tree node proxy. Tree node proxy has attributes, I can not add more attributes to Tree node proxy in work bench. Would you please any one suggest the approach to solve this problem.
    Thanks in advance.
    With regards,
    Ravi Kumar

    Hi Ravi,
    Have u got solution for ur problem.I have got same requirement.
    As per my requirement I need to search for Sold To Party for all category and display it in AUIITEM.
    Please provide with some inputs .
    Regards,
    Vikas

  • Integration of BSP application in IC web Client

    Hi,
    could anyone guide me to a good resource which i could study to find out how one could integrate a bsp application built using htmlb in the IC Web client. Actually, IC Web client uses a set of classes to implement MVC, but i do not want to use the BOL and GENIL components, as i already have a custom controller which has its own model and so on.
    Any kind of lead would be highly appreciated.
    Regards,
    Ghufran

    Hi,
    Did you check this blog yet?
    /people/sap.user72/blog/2005/09/24/ic-web-client--modifying-view-layout--i
    Eddy

  • How to get my custom controller updated with the global custom controller?

    Hi all,
    I'm new to CRM Web UI and need some advice from the expert. Currently I'm working on component ICCMP_BT_DATES and noticed something weird with this component. When this component is first launch it display the dates of a service ticket correctly. However when I navigate to another screen, save a new ticket and back, the dates are not reflected. When I went in and debug the component, I noticed that the context is still tied to the previous ticket. I think the custom controller is not updated with the latest from the global custom controller.
    My question is how do I get my custom controller updated with the latest.
    Regards,
    Ricky

    You have to bind your custom controllers context node to the event NEW_FOCUS of the collection wrapper on the global custom controller.
    Best place to do this might be the CONNECT_NODES of the context of your custom controller.
    Get the global CuCo with GET_CUSTOM_CONTROLLER() and then the appropriate context node. Now:
    SET HANDLER yourMethod for lr_global_cuco->typed_context->thecontextnode->collection_wrapper activation iv_activate.
    Of course you have to implement a method similar to ON_NEW_FOCUS as it is on many other nodes.
    cheers Carsten

  • How to call a custom controller method from view

    Hi,
    I ve created a simple web service and consumed it in a model. Mapped the input & output parameters to custom controller context which in turn mapped to component controller's context which in turn to view's contexts.
    How to call a custom controller method from view?
    Please explain the syntax.
    Regards,
    Manoj.

    Hi Patralekha,
    Give some idea for the below scenario:
    I ve created a simple web service and consumed it in a model. What I did was
    1) for the input parameters, mapped the node from view->custom controller->model
    2)for the output parameter, mapping from model->custom controller->view.
    It works fine.
    But I don't want to access model nodes directly, rather I want to set the input param in somewhere else (like custom controller) before calling the appropriate method, same for the response also.
    Share me your thoughts.
    Regards,
    Manoj.

  • Error while creating the custom controller

    Hi experts,
    I am working on a web dynpro object where i need to create an application configuration.I created a custom controller context.I mapped it to main view.I am using the attribute of custom controller context in main view so that another view view1 is displayed based on this attribute.
    custom controller context
    node1 --> display_view1
    mapped above node to main view.
    view1 is triggered in main view onaction method based on display_view1 value.
    Presently i am getting the dump " node1.1.main doesnot have elements."
    Please help.
    Edited by: ch_ravi_sap on Nov 22, 2011 2:11 PM

    Hi I get rid off the error.
    Changes i have made are cardinality from 0:n to 1:n. selection 0:n
    But presently i am changing the attribute of custom controller in component configuration browser.I am not able to see the changed value in main view ( where i have used this attribute ).
    Any help is appreciated
    Edited by: ch_ravi_sap on Nov 23, 2011 12:17 PM

  • Error while creating return order(Complaint) in IC web client

    Hi SAP Experts,
    I am getting following Error while creating return order(Complaint) in IC web client.
    Error when processing your request
    What has happened?
    The URL http://sapcrd.comfort.com:8000/sap/bc/bsp/sap/crm_ic/default_delta.do was not called due to an error.
    Note
    The following error text was processed in the system CRD : Exception condition "NON_EXISTING_HANDLE" raised.
    The error occurred on the application server sapcrd_CRD_00 and in the work process 2 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Function: PRC_PD_HEAD_ADD_COND of program SAPLPRC_PRICING_API
    Function: CRM_PRIDOC_UPDATE_EC of program SAPLCRM_PRIDOC_COM_EC
    Form: EXECUTE_CALLBACKS_PLANNED of program SAPLCRM_EVENT_OW
    Function: CRM_EVENT_SET_EXETIME_OW of program SAPLCRM_EVENT_OW
    Function: CRM_ORDER_COMPLETE_SINGLE_OW of program SAPLCRM_ORDER_OW
    Function: CRM_ORDER_MAINTAIN_SINGLE_OW of program SAPLCRM_ORDER_OW
    Function: CRM_ORDER_MAINTAIN_MULTI_OW of program SAPLCRM_ORDER_OW
    Function: CRM_ORDER_MAINTAIN of program SAPLCRM_ORDER_API
    Method: IF_EX_ORDER_SAVE~PREPARE of program ZCL_IM_PRICE_ADJUSTMENT=======CP
    Method: IF_EX_ORDER_SAVE~PREPARE of program CL_EX_ORDER_SAVE==============CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system CRD in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server sapcrd_CRD_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 2 in transaction ST11 on the application server sapcrd_CRD_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 330 -u: VORUSX -l: E -s: CRD -i: sapcrd_CRD_00 -w: 2 -d: 20080324 -t: 021723 -v: RABAX_STATE -e: RAISE_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Maximum points will be awarded for useful information.
    Thanks,
    Rony

    Hi,
    I notice there is a Z class being called.
    Method: IF_EX_ORDER_SAVE~PREPARE of program ZCL_IM_PRICE_ADJUSTMENT=======CP
    You should check this customized class.
    Cheers,
    cady.

Maybe you are looking for

  • VirtualBox Error with VT-x/AMD-V after suspend

    I using virtualbox_bin 2.2.0-1 from the AUR and have noticed a really annoying problem that *is not related* to the virtualbox_bin package (I think). When I suspend my Arch x86_64 box and then awaken it again,  VBox doesn't run my 64-bit guest VM and

  • How can I stop Photoshop CS5.5 taking control of html and pdf files without the user's consent?

    Our client uses CS 5.5, and Photoshop will continuously take control of pdf and html files. This is without any interraction from the user, and after setting it back to the desired settings (pdf - Reader, html - Chrome), after some time (and doesn't

  • Crossdocking in EWM - Vendor to Customer via Company Warehouse

    Hi All We have below scenario. 1). Customer places order. 2). Company places order to vendor to satisfy the customer order. 3). Vendor delivers to company. 4). Company ships to customer without keeping the stock in warehouse. As I know cross-docking

  • Premiere Pro CC keeps crashing upon loading.

    Hi Everyone, Premier Pro CC 2014 keeps crashing upon loading, The Crash Thread that appears upon loading is: Crashed Thread:  0  Dispatch queue: com.apple.main-thread This is for a mac btw. Anyone know how I can fix this?

  • About httpsession concept

    Hi,ALL I get confused something about HttpSession.Please help to clear it up. When Server receives HttpServeletRequest, we always do getSession. If there is no session in it,it creates one depending on parameter setting. The question is: if server cr