Change Tracking Webdynpro Component Error

I am using CE 7.11 SP04 with MDM 7.1 SP04.
Installed all the 2 webdynpro components.
Configured change tracking on MDM, also configured change tracking iView on CE.
Issue1:
When I run change tracking as an iView through Portal , the logoff button on change tracking iView throughs null pointer exception.
Issue2:
I am consuming the change tracking webdynpro component on my custom webdynpro wrapper.
I have added the following code to pass the id and lookup table as per the how tto guide to consume MDM webdynpro's.
RepositorySchemaEx schema = MetadataManager.getInstance().getRepositorySchema(wdContext.currentContextElement().getUserSessionContext());
GetPermanentIdFromRecordIdCommand cmd = new GetPermanentIdFromRecordIdCommand(
wdContext.currentContextElement().getUserSessionContext());
TableId tableId = schema.getTableId(ASSIGNMENT);
cmd.setRecordIds(ids);
cmd.setTableId(tableId);
cmd.execute();
int[] permIds = cmd.getPermanentIds();
if (permIds != null && permIds.length > 0) {
int permId = permIds[0];
wdThis.wdGetMDMChangeTrackerInterface().setPermanentId(permId); // until here it works fine
wdThis.wdGetMDMChangeTrackerInterface().selectLookupTable(""+tableId.getIdValue()); // it throws null pointer exception here in SAP delivered change tracking component. Not sure whether it is SAP bug. Has anyone faced same issue?
Any help is appreciated!}
Here is the error
java.lang.NullPointerException: while trying to invoke the method com.sap.mdm.ChangeTrackingBean.setLookupTableId(int) of an object loaded from field com.sap.mdm.MdmChangeTrackerComp._tracker of an object loaded from local variable 'this'
    at com.sap.mdm.MdmChangeTrackerComp.selectLookupTable(MdmChangeTrackerComp.java:812)
    at com.sap.mdm.wdp.InternalMdmChangeTrackerComp.selectLookupTable(InternalMdmChangeTrackerComp.java:333)
    at com.sap.mdm.MdmChangeTrackerCompInterface.selectLookupTable(MdmChangeTrackerCompInterface.java:140)
    at com.sap.mdm.wdp.InternalMdmChangeTrackerCompInterface.wdInvokeMethod(InternalMdmChangeTrackerCompInterface.java:148)
    at com.sap.tc.webdynpro.progmodel.generation.ExternalControllerPI$ExternalInterfaceInvocationHandler.invoke(ExternalControllerPI.java:339)
Thanks

JDBC Alias should be provided as the Application Parameter for webdynpro not in the URL.

Similar Messages

  • MSS Employee Search WebDynpro Component

    Hi,
       Has anyone tried to change the WebDynpro component for Employee Search.
       We need to change this component in order to register an event into portal when an employee is selected (the link for an employee is clicked) so that this event can be subscribed from WebDynpro ABAP iView placed in the same page. Has anyone done this change. Please suggest.
    Cheers

    Mukesh,
    we have a similar requirement.
    can you please send the solution
    Thanks
    Bala Duvvuri

  • IE Script error when double clicking on a view in Abap Webdynpro component

    Hello experts,
    I am running mini SAP trial version 2004 with Internet explorer 7.0 and also installed gui patch 23.
    I am making a sample application in SE80 and when double clicking on a view in Abap Webdynpro component I get following error:
    <b>Internet Explorer Script Error</b>
    An error has occured in the script on this page.
    Line: 1
    Char: 1
    Error: 'wdp_show_menu' is undefined
    Code: 0
    URL: http://satellite5200:8000/sap/bc/wdvd/painting.html?_vdrespkey=EOJ6V1JQMX0VLTQ7AP6DQM64Y&_vdframe=painting&sap-client=000
    Do you want to continue running scripts on this page?
    Thanks in advance.
    Bhupendra

    Hi Bhupendra,
       If you are seeing this error in the Se 80 editor , i guess you can ignoire that ...While running the application it will not show any error.
    Thanks
    Anzy

  • Block change tracking file error

    Hi,
    when i selected
    "enable block change tracking for faster incremental backups" option under Backup setting policy, and apply it, i get following error
    error: "since the database area is not set you must specify a block change tracking file"
    how can i fix this error.
    1. is it better to provide a block change tracking file, if then how do i do it.
    else
    2.how can i set a database area
    Thanks,
    Philip.

    Hi Anita,
    i have 2 more problems which i have explained below.
    1. i am running my oracle 10g in linux and after starting the listener, when i try to start the database using
    "dbstart" command, i get following error
    "Failed to auto-start Oracle Net Listener using /ade/vikrkuma_new/oracle/bin/tnslsnr"
    i really have no idea what is this error and how to solve this erorr. Can you please help me. i have also posted a separate forum for this with the heading as
    "dbstart" command error
    2. my tnsservice name works sometimes and some other times it does not work at all.
    at sqlplus prompt when i login as
    sys/pwd@orcl as sysdba
    sometimes it works fine, other times it gives me error similar to -- protocol could not identify this service name.
    Thanks,
    Philip.

  • Change Tracker Authorization error

    Dear All,
    We have set up MDM change tracking application in SAP MDM 7.1 SP6.
    Inspite of having all Admin authorizations rights  in the portal,
    I receive error : You do not have the authorization to use MDM Change tracker application.
    Where are the authorisations for the Change tracker set?
    Please suggest !
    Regards,
    Harmony

    Harmony -
    In portal you must be having portal Role property editor you can choose assign action tabs and check for MDM_CHANGE_TRACKER.
    since you are configuring this on standard process is Create an iView using the context menu of the iView folder. and then in iview wizard select WD java application as source and i think then choose iview type.
    Choose your source object      tcmdmchangetracker u2192 com.sap.mdm.MdmChangeTracker u2192 MdmChangeTracker
    this iview must be under sap.com u2192 MdmChangeTracker branch
    you also need to configure the JDBC alias parameters
    after that this iview can be placed on portal page.
    also you need to download sca files from service market place prior to install Change tracker. JDBC driver needs to insink with the Database as well. and i don't think any additional setting required in SAP MDM console. let us know your findings.
    HTH
    thx
    Deep

  • Changing the attributes of Standard Webdynpro component

    Hi Friends,
    There is one table ui element in standard webdynpro component, right now we can select only one  row, now i want to select multiple rows, can any one help me how to change this property
    Thnx and Regards
    Kumar Srini

    Hello Kumar,
    if this node is statically created in the standard component then you can't change the selection cardinality. By statically created means, if you can see the context node in the Context Tab of the controller.
    If its dynamically created, then in the Post-exit method, you can delete this context node and create it again (via coding). while creating you can set the Selection Cardinality to multiple.
    Hope this helps.
    BR, Saravanan

  • Change Tracker implementation in portal

    Hi,
    while implementing change tracker in Portal , one important point to be notted is to assign the below mention UME action to the roles created. Otherwise you will get MDM authorization error.
    UME Action are  as follows:
    tcmdmchangetrackersecurity-> MDM_CHANGE_TRACKER
    Thanks,
    shiny sunny
    SAP WebDynpro Consultant
    Lnt Infotech
    Banglaore

    To change the client in Portal:
    1. UME connects to you have to start the configtool found at \usr\sap\<SID>\<Instance>\j2ee\configtool\configtool.bat or .sh depending on your OS.
    2. When prompted for DB connection says yes. After that use the last button on the menu which says "switch to configuration editor mode" in it's tooltip. You will see a tree. Move the tree down to cluster_data -> server -> cfg -> services -> Propertysheet com.sap.security.core.ume.service.
    3. Open that one in editing mode by pressing the button with the pencil first and then doubleclick the entry u201CPropertysheet..." in the popup navigate to ume.r3.connection.master.client and change the value from 000 to whatever client you need it to connect to.
    4. Restart the server.
    5. The same thing can be done from the Admin tool but then the Server needs to be up and running. From configtool you only need to have the database running.

  • How to add a new url link in a view of an existing webdynpro component?

    How to add a new url link in a view of an existing webdynpro component?

    hi ,
    refer SAP online hep :
    Implementing Enhancements in a View
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/46/233f2189f74f08e10000000a114a6b/frameset.htm
    To enhance the layout of the view, you can create new UI elements. This procedure is no different u2013 from a technical viewpoint u2013 from creating UI elements in components themselves. All UI elements created within the enhancement implementation can then be processed as usual.
    Enhancements  means inserting user developments into SAP development objects at predefined positions.
    The Enhancement Framework enables you to add functionality to standard SAP software without actually changing the original repository objects, and to organize these enhancements as effectively as possible.
    refernce :
    have a look at this article
    How to Create Enhancement Implementation in Web Dynpro ABAP
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81&overridelayout=true
    as pointed correctly by Saurav in earlier thread
    regards,
    amit

  • How to call a RFC of a remote system from an ABAP webdynpro component

    Dear Experts,
    I am a newbie in ABAP Webdynpro.
    I am working on a requirement where I have a webdynpro component on ECC system.I need to call a RFC located on CRM system from my webdynpro component on the ECC system.
    How do I do that ?? Please help.
    Regards,
    Mamai.

    Calling RFC from some other system is same as local except the difference is that you have to give destination name while calling.
    And the regarding the method of calling it depends on your FM.
    if it is big RFC with complex structure, you can create the service call for it with destination given as RFC desitination.
    if it is simple straight forward RFC you can directly call it.
    for creating RFC service call call use this method
    1. Starting the Wizard
    To start the wizard, position the cursor on the Web Dynpro component to be edited in the object list at the left margin of the
    workbench window. Open its context menu and choose the entry Create->Service Call. The wizard is started and leads you
    through the creation process.
    Press Continue.
    2. Choice of Controller
    On the second dialog window of the wizard, you can choose whether the service call is to be embedded in an existing
    controller or whether a new controller is to be created for this purpose. Service calls can only always be embedded in
    global controllers u2013 that is, in the component controller or in additionally created custom controllers. It is not possible, to
    embed service calls in view controllers.
    a. Select radio button Use Existent Controller
    b. Do not change the default entry for component: <CC name>
    c. Enter for controller COMPONENTCONTROLLER
    d. Press Continue.
    3. Service Type and Service Selection
    a. You now select, which service type should be used for this service call. Select radio button Function Module. Fill the
    destination here. Press Continue.
    b. Select the service: for Function Module enter <RFC name>. Press Continue.
    4. The Required Methods and Context Elements
    On the two subsequent dialog windows, default values are listed for giving names to the context nodes and attributes
    required by the service call as well as to the required methods. The proposed names are based on the names of the
    embedded service, but you can change them as required. However, heed the respective notes in the corresponding dialog
    box.
    a. Adapt Context: Select from Nodes/Attributes . Press Continue.
    b. Specify Method Name: leave all entries as provided: Component:  Controller: COMPONENTCONTROLLER Method: EXCUTE_ Press Continue.
    5. Completing the Choice
    When you have confirmed the last dialog box, the generation is triggered. Afterwards you now have the required methods
    and contexts at your disposal for using them within your Web Dynpro component.
    or if you want to call directly the use the call statement with destination

  • JSP - LoadBundle and Component Error in Visual Design Editor

    Hi.
    I've tried to make simple international JSF application. So the first thing to do was to externalize strings from JSP to resources. According to instructions from Java Studio Creator Field Guide Chapter 13:
    http://developers.sun.com/members/promo/jscreator/bookshelf/fieldguide2_preview_13_customizing.pdf
    I added LoadBundle component to my JSP page:
    <f:loadBundle basename="myApp.Bundle" var="messages1"/>
    and set a text property of label component like this:
    <ui:label binding="#{Page1.label1}" id="label1" labelLevel="1"
    style="position: absolute; left: 144px; top: 48px; width: 240px; height: 24px" text="#{messages1.title}"/>
    There is a line in myApp.Bundle.properties file:
    title = Title from resource bundle
    After changing text property of label component to #{messages1.title} I've got a message:
    Component Error
    Cannot display label component in the Visual Design editor.
    Error message from the component: javax.faces.el.PropertyNotFoundException: Error testing property 'title' in bean of type null.
    Exception message:
    javax.faces.el.PropertyNotFoundException: Error testing property 'title' in bean of type null
         at com.sun.faces.el.PropertyResolverImpl.getType(PropertyResolverImpl.java:342)
         at com.sun.rave.web.ui.faces.UIComponentPropertyResolver.getType(UIComponentPropertyResolver.java:298)
         at com.sun.rave.web.ui.faces.DataProviderPropertyResolver.getType(DataProviderPropertyResolver.java:264)
         at com.sun.jsfcl.data.ResultSetPropertyResolver.getType(ResultSetPropertyResolver.java:141)
         at com.sun.rave.jsfsupp.container.DesignTimePropertyResolver.getType(DesignTimePropertyResolver.java:169)
         at com.sun.faces.el.impl.ArraySuffix.getType(ArraySuffix.java:240)
         at com.sun.faces.el.impl.ComplexValue.getType(ComplexValue.java:208)
         at com.sun.faces.el.ValueBindingImpl.getType(ValueBindingImpl.java:350)
         at com.sun.rave.web.ui.renderer.ValueHolderDesignTimeRenderer.encodeBegin(ValueHolderDesignTimeRenderer.java:59)
         at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
    The same problem appears when I open example project from this book:
    Login2I18N-Alt
    It is a bug or am I doing something wrong?
    greatings
    znienacka

    go to Tools/Update Center and download the latest
    version of the components. It will solve the
    problem.Thanks, it works. But there is still one drawback - Visual Designer doesn't show any text inside label. If I remove all strings from JSP to resource file I will get an empty page!
    Is there any solution of this problem?
    znienacka

  • Identifieng Webdynpro component name from the portal screen

    Dear experts,
    I have included 4 custom fields in the header of the Shopping cart creation which are Change order New order Document type and Document number( In SPRO ). Those fields are appearing as input fields on the portal screen but the requirement is to make Change order & New Order appear as Radio button and Document type should appear as dropdown list.
    I wanted to identify the webdynpro component by Right clicking on th portal custom fields-> More info
    I tried opening the webdynpro component shown but could not find the Custom fields appearing in the portal.
    Can you please suggest an alternate way of finding the the exact WDA component so that I can modify the custom fields according to my requirement.
    Please provide your valuable inputs.
    Regards,
    Murthy.

    Hi Murthy,
    You  have checked correctly.
    The custom fields  added thru spro are not visible in the component view layout.
    Enchance the webdynopro component by creating new addition of fields.
    regards,
    Neelima

  • Change Tracking Option in Console

    I have enabled change tracking option in console at Table and field level for add/modify/delete.
    Please let me know where I can see the logs for the changes accomplished.

    Hi Sudha,
    See as per your console settings, everything happened at Database Level table A2i_CM_History so its up to you how do you want to see these record changes either through some Portal application for end user or at database level or through some other UI.
    [How to Configure SAP MDM Change Tracker for Any Repository to bring this changes on Webdynpro Application for end user|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/807861ac-f941-2c10-8f8d-c57f9d421b99?quicklink=index&overridelayout=true]
    Please refer this blog if you want to see these changes at the database level just for complete understanding.
    /people/balas.gorla/blog/2006/09/08/change-tracking-in-mdm
    See figure 5 of this blog before data changes in Data Manager and the same data record in figure 9 of database.
    Now when he make changes to record in figure 10 Data manager the same gets reflected into Database figure 11.
    In fig 11 , please carefully see all the columns NewValue, OldValue, EventTime, FieldName, UserName etc.
    Hope you got now clear idea about change tracking in MDM
    Regards,
    Mandeep Saini

  • Change Tracking in Portal

    Hi,
    I have enabled change tracking for 4 fields in MDM.
    2 fields are integer fields and 2 are Lookup fields.
    Now, in Portal we have launched change tracking application.
    In the Records Column - in Portal Changetracking table..
    I can see  ->  11,109227=Lookup field 1, 13, 108337=Lookup Field 2
    why is it displaying some numbers infront of the Lookup value??
    i would expect it to show something like -> 11,Lookup field 1, 13,Lookup Field 2
    Does anyone know why it is showing like this???
    Is it possible to show as i required??
    Please Help
    KR
    John

    I guess only option is to customize the Iviews/Webdynpro code if you want to display on Portal. Use the following link -
    Configuring the MDM Change Tracker Application - http://help.sap.com/saphelp_mdm71/helpdata/en/45/e518fb21cf4ebce10000000a11466f/frameset.htm
    Also for your question to read from a standard guide that the problem you are facing is normal, please refer section - Running the Change Tracker in Stand-Alone Mode  in the same link as above.
    "permid [optional]  The permanent Id of the MDM record
    Represented by placeholder <rp>  when used in the MDM Data Manager Web tab.
    The value is a permanent record Id u2013 it returns the permanent Ids of the selected record. The format of the  response for the <rp> placeholder is: nRecs:id1;id2;id3u2026..
    nRecs is the number of selected records followed by a colon. The selected record permanent Ids are separated by semicolons.
    Since you select a single record in  a change tracker application, the response for the <rp> placeholder is: 1:id1"
    Thanks,
    Shambhu.

  • Change tracking in Web Tab

    Hi All,
    How to get the change tracking in Web Tab of Data Manager.
    Regards,
    Nikhil

    Hi Nikhil,
    You can only access a MDMChange Tracker iView from the Data Manager if a valid URL has been configured in the URL table of the MDM Console.
    The steps which need to be carried out are
    In the URL section of the MDM Console, define a URL of type Records with the following parameters:
    The parameters are
    jdbcAlias --> dis parameter is mandatory,
    config   -->  dis parameter is optional
    searchtable --> dis parameter is optional,
    searchrecord  --> dis parameter is optional
    To view the MDMChangeTracker
    http://<server>:<port>/webdynpro/dispatcher/sap.com/tcmdmchangetracker/MdmChangeTracker?jdbcAlias=MdmHistoryDatabase&config=default&searchtable=<t>&searchrecord=<f:Part_Number>
    I hope dis helps u
    Regards Tejas............

  • Custom Button in Sap Standard webdynpro Component

    Hi Friends,
    i have one requirement
    1. want to added one custom Button in SAP SRM standard webdynpro component - This is done using component configurator
    2. but when i click this button, one   Z webdynpro component should run,
    Can any one please give me  idea on this
    Thanks and Regards
    Kumar Srini

    Hi,
    copy below given code and paste inside of your on action method,
    Note: just change the url address
    data: l_window type ref to if_wd_window_manager.
    data: l_cmp_api type ref to if_wd_component.
    data: str             type stinrg.
    data: result        type if_wd_window.
    CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
    application_name = 'ZWEBDYNPRO COMPONENT NAME'
    IMPORTING
    out_obsolute_url = str.
    l_cmp_api = wd_comp_controller->wd_get_api( ).
    l_window = l_cmp_api->get_window_manager ( ).
    result = l_window->create_external_window(
    url = str ).
    result->open( ).

Maybe you are looking for

  • First Person Shooter Games for Macbook

    Hi, I've been looking for a good FPS games. there are few that meet the components that the Macbook have. i have the GMA X3100 graphics card. i wanted to get Medal of Honor or Unreal Tournament 2004 but both require a GeForce graphics card. Is there

  • Game constantly shut because of "problem"

    I purchased a copy of the game Portal 2 yesterday. Once I relized that it wouldn't play at full speed on my Pavillion 4G,  I quickly switched a few of the video options in the game,  for the rest of the day, it ran just fine. I was playing the game t

  • Upgrade summary report or transaction

    Hello, We have upgraded our 4.6C to ECC 6.0. I would to know if there is any transactions or reports for giving us an analysis of this upgrade. For example, we want to know all steps with their durations.... Thank you for your help. Mikee.

  • Smartforms - Printing Label

    Hello All, I´m developing a smartform to print information in a label that has 6cm height. My problem is that when I print the informaton the smartform prints information of the next label on the previous information. It seems that the smartform unde

  • Leave workflow

    Hi All, The employee submitted a leave request but the approver did not receive a notification. On checking found that the request encountered an error as below: "Problem occured when generating an email Error 9 when calling service "So_object_send"