Create a Model

Good Day All,
when I tried to create a model in SAP Netweaver Studio and I got the following error message:
An internal error has ocurred, see error log for more details.
Plugin name: Web Dynpro Model Editor
Plugin ID: com.sap.ide.webdynpro.modeleditor
class: com.sap.ide.webdynpro.modeleditor.ModelEditorCallback
Method: createModel
Message: An error ocurred, see error log for more details.
Exception: java.lang.NullPointerException: null
anyone have any idea what cause that error message?
thanks,

Hi Rami,
It looks like this NPE is coming from the Web Dynpro model plug-in code.
If 'Create Model' was working earlier, then this might be due to metadata corruption. Close the NWDS.
1) Either delete the contents of the metadata folder of your workspace & restart NWDS.
2) Or you can restart NWDS in a fresh workspace.
Please verify that you are providing all the required parameters in the model creation wizard.
If the NWDS installation has gone fine & still the problem persists, this seems to be a bug & you can raise a customer ticket (CSS message on Web Dynpro component)
Kind Regards,
Nitin
PS: If you are using quite old version of NWDS, I would advise you to upgrade to a later version as these very basic things should be working fine.
Edited by: Nitin Jain on Apr 5, 2009 6:55 PM

Similar Messages

  • Issue while creating Data Model in BI Publisher and logging into xmlpserver

    Hi All,
    We are facing an issue in OBIEE 11.1.1.5.
    If we are logging with Non Admin Id (other than weblogic) and select New Data Model, a blank screen is coming. Where as, if we use Admin Id, we are getting screen as usual for creating data model. There were some blogs mentioning to change Priviledges for  SOAP access, but that approach is also not working.
    Further, we are also not able to open xmlpserver with Non Admin Id.
    Any help or pointers would be great.
    Regards,

    how about pasting the content of your data template here, so that forum members can see what could be the problem.

  • How to customize Category and Category items list while creating New Model

    Hi,
    what the most convenient way to customize the Category and Category items list while creating New Model?
    This is standard:
    Now, what we want to achieve, is to customize this menu, to:
    1. Display in the Category window only f.e. two categories:
    - EA Diagrams
    - BPM Diagrams
    2. In the EA Diagrams, we want to have f.e. four copies of City Planning diagram, each of them should have different elements available, f.e. in the first copy, only Architecture Areas shall be made available, in the second one Architecture Areas and Business Functions, in the third on f.e. only Business Functions shall be made available. Additionally, it should behave like a hierarchy ... meaning you can create the second diagram, only as child (related diagram) of the first diagram etc.
    I know, excluding the particular diagrams/diagram elements can be configured using the right/profile settings, but how to:
    1. Customize the standard New Model menu window
    2. Create copies of City Planning Diagrams with different set-ups
    3. Set the relationship between diagrams
    Is such a configuration change possible?
    Thanks a lot for your help!
    Regards,
    Rafal

    Now, what we want to achieve, is to customize this menu, to:
    Question #1. Display in the Category window only f.e. two categories:
    - EA Diagrams
    - BPM Diagrams
    Click on Tools => General Options=> Model Creation
    Click on Properties => at right of Default category set
    Note : Model template does not work as Category. We can't set. An enchancement request has been open to SAP
    In the following example I defined a new default (MyNewDefault.mcc). As you can see only BPMN models are available.
    To create a new category set with BPMN choice
    a) Copy default.mcc in MyNewDefault.mcc file.
        Go to Tools=>General Options=>Model Creation : Select your new category
        Go to Tools=>General Options=>Model Creation : Edit properties and remove all things you does not want keep
    or
    b) Go to Tools=>General options=>Model Creation : Edit properties and click on Save as button and specify the file name "MyNewDefault".
        Quit the window.
        Select you new category : Go to Tools=>General Options=>Model Creation : "MyNewDefault"
        Edit properties and remove all things you does not want keep.
        Save you new category
    Question #2. How to define copies/replicas of existing diagrams
         Wrote an extension
    Question #3. How to make sure, particular diagrams can be used (created) only on predefined "levels" and how to set the parent-child relationship, so that PD enforced it directly when creating a new diagram.
         Specify yours conditons in your extension attached to your model
         Example : When the user want create a child diagram :  You can display a list of Parent Diagrams to select from.
         You can set in your extension by VBScript parent-child relationship
    Question #4 In the EA Diagrams, we want to have f.e. four copies of City Planning diagram, each of them should have different elements available, f.e. in the first copy, only Architecture Areas shall be made available, in the second one Architecture Areas and Business Functions, in the third on f.e. only Business Functions shall be made available.
    If I understand well your question. I suggest to take a look in
    Repository=>Administration=>Objects Permission Profile
    You can specify objects to show, mask, deactivate at model level.
    You can specifiy your own metadata.
    But I'm not sure you can mask, deactivate functions following diagram selection. It seem to specific.
    Message was edited by: Benoit Le Nabec

  • Program for creating a model is locked by User

    Hi Guys,
    We have created a process chain to create the Integration Model and to activate the Integration Model using this prg RIMODGEN. So, This prg we have created variants for different location wise. This process chain contains 13 processes For each location, which is running in parallel. Some time we are getting the error message " Program for creating a model is locked by User
    Regards

    Dear  Pullaiah,
    Locking happens if there is any overlap of models or duplicate  scheduling of jobs with same variant.                                                                               
    See include LCIFIF01                                                                               
    CALL FUNCTION 'ENQUEUE_ECIF_IMOD'                                    
      EXPORTING                                                          
        mode_cif_imod  = 'E'                                             
        modelname      = i_modid                                         
        logsys         = i_logsys                                        
        apoapp         = i_appl                                          
      EXCEPTIONS                                                         
        foreign_lock   = 1                                               
        system_failure = 2                                               
        OTHERS         = 3.                                                                               
    So this means for you, you get the lockentry if the modelname, logsys and apoapp is the same. So please check again your variants if there is one with the same integrationmodels.            
    This can be the only reason we you get here this entry in your joblog.
    Regards,
    Tibor

  • How to create a Model based on an SQL Server?

    Hello,
    Can someone please guide me how can I create a Model which takes it's Data from a table in an SQL Server?
    Can I make such a Model that will connect directly to a Datasource on the Application Server?

    Well Roy,
    I was also facing some similar problem, just now got my service displayed in portal. Thanks a lot that you could solve it urself. Anyway, now for using this service from another portal component do the following
    1. Add SharingReference value in Deployment Descriptor of the portal app from where u want to access this service
    example:
    <application-config>
    <property name="SharingReference"       value="com.customer.training.MyFirstPortalApp">
    </property>
    </application-config>
    2. Add libraries of the Portal Service (xxxapi.jar)
    in your par file u can see one jar file as <servicename>api.jar . extract this to some other location and in the client portal app project add this .jar to its build path.
    3. Write code to access the Portal Service
        a. Import package of the Portal Service
        b. Get instance of the Portal Service
        c. Call methods of the Portal Service
    example:IPortalRuntimeResources runtimeResources =      PortalRuntime.getRuntimeResources();
    IService aService = runtimeResources.getService("com.customer.training.MyFirstPortalApp.MyService");
    // OR
    IService aService = runtimeResources.getService(IMyService.KEY);
    // Cast the Service
    IMyService myService = (IMyService)aService;
    // call methods of the service
    response.write(myService.getWelcomeString(aName));
    thats how it should be...
    regards,
    Shubhadip

  • How can I create a model node in SAP Records Management

    Product: SAP Records Management
    Hi,
    I would like to create a model node in a record tree.
    I found in the function modul BAPI_RECORD_ADDELEMENT no entry for the creation of a model node. Only the instance and the structure node can create by this function modul.
    So, does anyone know a solution to create a model note?
    Regards,
    Thomas Fanninger

    Hi Thomas,
    it is not possible with the BAPI due to the piece of coding:
    case  myElementType.
            when glob_const_elem_type_instance.
              myRecordElement->Type_Set( if_srm_sp_record_element=>type_instance ).
              myRecordInstanceElement ?= myRecordElement.
              loop at element_sp_poid into myElementSpPoidWa.
                mySpPoidWa-id = myElementSpPoidWa-name.
                mySpPoidWa-value = myElementSpPoidWa-value.
                insert mySpPoidWa into table myElementSpPoidTab.
              endloop.
              myElementSpsId = sps_id.
              myElementPoid = myClientService->poid_get_instance( im_rms_id  = myRmsId
                im_sps_id  = myElementSpsId  im_sp_poid = myElementSpPoidTab ).
              myService->check_sp_connection( myElementPoid ).
              myRecordInstanceElement->poid_set( myElementPoid ).
            when glob_const_elem_type_folder.
              myRecordElement->Type_Set( if_srm_sp_record_element=>type_folder ).
            when others.
              perform set_error using '852' return.
              return.
          endcase.
    But you can do that by using directly the Records API. How to use this is demonstrated in the report 'SRM_RECORD_API_HOWTO'. Search there for the subroutine 'fillrecordelement'. There a record element for insert is created and its type is set. You can set the type there to 'IF_SRM_SP_RECORD_ELEMENT~TYPE_MODEL'. Of course your POID then may not be an instance POID.
    Best regards,
    Thomas

  • Issue while creating a model

    Hi,
    I am creating an model expression to calculate value at leaf level for one of the member.
    my expresssion is like this
    type_calcparent = type_postcogs + type_postrev + type_-1
    Model is not accepting "type_-1" value and taking type_ and -1 as different values thus giving error saying "type_" value do not exists in the dimension.
    Also type_-1 exists in dimension.
    Any solution to this problem.
    Thanks in advance.
    Thanks
    Brijesh

    Brijesh,
    When using dimension values containing characters that have special meaning (calc operators, spaces, etc.) you will need to refer to these dimension values using quoted dimension values. Your calculation need to be written like this
    type_calcparent = type_postcogs + type_postrev + 'type_-1'
    Note: Most likely the dimension value will be in capitals, since quoted dimension values are used the value needs to be an exact match, so most likely it would need to be
    type_calcparent = type_postcogs + type_postrev + 'TYPE_-1'
    Best practice is to avoid these kind of dimension values.
    Regards,
    Frank

  • Getting the following error while creating the model for webdynpro app.

    Plugin Name: Web Dynpro Model Editor Services
    Plugin ID  : com.sap.ide.webdynpro.service.modeleditor
    Class      :ap.ide.webdynpro.modeleditor.wizards.model.              creation.ModelDialog
    Method     : nextPressed
    Exception  : org.eclipse.swt.SWTException: Failed to  execute runnable (java.lang.NoClassDefFoundError)
    This is the error i am getting while creating the model for the webdynpro application. Can some one help ?
    Thanks & Regards
    Lalith

    hi
    This error occurs mainly due to the reason that particular plugin is not there in the NWDS.
    So please try to reinstall the NWDS or try tracing out whether that particular plugin is there or not.
    Thank,
    kris

  • Problem in creating DATA Model from SQL SERVER 2008 in BI PUBLISHER

    Dear Team,
    I connect BI Publisher with SQL SERVER 2008 But On creating Report on BI,when we create data model...dataset,
    i select the tables but when i click on RESULT i am geting this error.
    error--
    [Hyperion][SQLServer JDBC Driver][SQLServer]Invalid object name 'DBNAME.DBO.TABLE'.
    please resolve this problem...
    Thanks,
    Him
    Edited by: h on Aug 22, 2011 6:31 PM

    Hi David,
    The things I said are not a fix for this problem.
    If your RCU installation worked, then you do not have to worry about modifying the createfr.sql.
    Edit:
    I've just tracked the problem. It appears that when using the query builder, BI forgets to add the " sign.
    For example:
    This query will give the hyperion error.
    select     "table"."field"
    from     "database.user"."table"
    To correct it write it like this:
    select     "table"."field"
    from     "database"."user"."table"
    Edited by: EBA on Nov 14, 2011 10:21 AM

  • Error when creating data model - Internal Server Error

    When trying to create a new Data Model in BI Publisher (11.1.1), we are getting a “Internal Server Error” message and the page to create data models wont display. We are able to login to BIP with any user, but we cant do anything else… (seems due to a null pointer exception, as shown in this message):
    +[ServletContext@605092857[app:bipublisher module:xmlpserver path:/xmlpserver spec-version:2.5 version:11.1.1]] Servlet failed with Exception+
    java.lang.NullPointerException
    We’ve examined bipublisher.log and we get several warnings:
    Component: AdminServer
    Module: oracle.xdo
    Message: SawUtil.setUserHome - Unable to lookup user home: weblogic
    Component: AdminServer
    Module: oracle.xdo
    Message: java.rmi.RemoteException:  access denied for user to path /users/weblogic.; nested exception
    Then, we get this errors in sawlog0.log:
    Component: OBIPS
    Module: saw.soap.catalogservice
    +Message:  Invalid path () --+
    File:webcatalogsoaphandler.cpp
    Line:877
    Location:
    saw.soap.catalogservice
    saw.SOAP
    saw.httpserver.request.soaprequest
    saw.rpc.server.responder
    saw.rpc.server
    saw.rpc.server.handleConnection
    saw.rpc.server.dispatch
    saw.threadpool
    saw.threads
    AuthProps: AuthSchema=Impersonate-soap|IMPERSONATE=weblogic|NQ_SESSION.AUTHINITBLOCKSONLY=******|PWD=******|UID=BISystemUser|User=weblogic
    ecid: e7cc62fc411b9afe:30699382:1389a0e0d36:-8000-000000000000257b,0:4
    ThreadID: 4180
    This same error repeats for files webcatalogsoaphandler.cpp and localwebcatalog.cpp.
    Access to SOAP is explicity granted to BISystemUser (via Manage Privileges ) and we haven’t changed any security policies…
    Any ideas why this is happening and how to solve it?
    Thanks in advance.
    Regards
    Edited by: user8021127 on 19-jul-2012 1:12

    Did you find a solution to this?

  • Java.exe Error while creating the Model in Webdynpro

    Hi,
    I am creating the Model in Webdynpro Project. I have given the SAP r3 user id Passord details. after giving these details and clicking on next, it is giving an Error as " *Javaw.exe has  got  some problem needs to close. sorry for the inconvenence*". NWDS is getting closed if I click on Ok in the Pop-up window message.
    I did re install the  NWDS as well. but still the  problem is persisting. and not able to proceed further.appreciate the quick resolution .
    Rajyalakshmi
    09739066796

    hi
    This error occurs mainly due to the reason that particular plugin is not there in the NWDS.
    So please try to reinstall the NWDS or try tracing out whether that particular plugin is there or not.
    Thank,
    kris

  • Unable to Create Entity Model from existing oracle database

    Hi,
    I am using Visual Studio 2013, .net framework 4.5, entity framework 5.0 and oracle 11g database.
    Issue Description: I need to develop WCF service to exposing the account information which needs to get the data from 20 oracle tables. Trying to create entity model from existing oracle database. first i tried creating just two tables it
    was created but it took more than 30 minutes. then i selected remaining few tables it took more than a days but nothing created just showing spinning the wheel. then i tried with fresh project and selected all the tables but same issue nothing created and
    also there is no error. during this process i checked database query monitoring there is a big sql statement collection tables metadata. i don't know what was wrong the query taking too much time to complete the  process.
    we tried multiple machine and different oracle database all are same issue.
    Sql server database -looks good no issues.
    Any help/tips/ideas welcome to overcome this issue.

    Hi Sakthimp,
    Welcome to MSDN forum.
    Your issue is out of support range of VS General Question forum which mainly discusses the usage of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because your issue only occurred with oracle database, moreover Oracle developed the Entity Framework for Oracle itself, I suggest that you can consult your issue on Oracle forum/community:
    you will get better solution and support there.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can't create a model

    Hi,
    I have an usable SLD server.
    Now, I have to configure NDS on my local workstation.
    I have changed the windows hosts and services files and inscribed the SLD server as group in my SAP Gui Frontend.
    Now, if I want to Create a model in my Webdynpro application, I don't see the message server in the combobox "System" of the register card "Load Balancing".
    I know that the SLD is working correctly, but I can't use him.
    Can it be a problem, that I have installed the NDS before I have installed the SAP Frontend Gui?
    regards,
    Dennis

    hi,
    the NDS doesn't use the SLD for these settings.
    you have to enter your message server manually.
    kr, achim

  • How to create a model and JCO connection

    Hi all,
             The Userid and Password given while creating new model at Singleserver/Load balancing tab should be same as the userid and password given while creating JCO connection. i.e in JCO creation  while mapping modeldata to Application data and Metadata to metadata we will give some userid and password.
    will those 2 userids and passwords should be same.
    the error which i am getting is
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Error connecting using JCO.Client: null
    Regards
    Padma N

    2 userids and passwords need not be same
    i got similar problem and this is how i resolved
    this is because jco connections are Using SSO and the user who is accessing that webdynpro application is not present in the backend system.
    please make sure user is there in the backend system from which you are getting data
    xxxxxxxxxxxxxxxxxxxxx
    Edited by: Armin Reichert on Feb 18, 2008 7:26 PM

  • Cannot Create the Model in PI 7.1

    Hi All,
    when i try to create the Model in PI 7.1, there is no value from the Model Type drop down list. So the Create button is disable.
    what's more, when i double click the Sell From Stock (ESM) under SAP BASIS 7.10 -> Modeling -> Models -> ESA Sales Model -> 01 Integration Scenario Models
    it said:
    Error when initializing business modeling
    Initialization of business modeling could not be started. You cannot work with business modeling. Check that all required configuration objects are available
    Is there any post installation step i missed or any configuration i need to set up?
    Please help thanks a lot
    Regards
    Lawrence

    Hi,
    It is recommended to use IE 6.
    For IE8.0 use compatible mode option. (Menu>tools->compatible view)
    Thanks,

  • Creating a model in pages

    Hi Everyone,
    I have created a model in Pages composed of text boxes and shapes. I find the that the model formating becomes skewed when the pages file is converted into a word document. I thought I could overcome this by creating the model in Keynote, exporting it as a PDF and then inserting it into the Pages file. The only issue is that I can not resize it accordingly once it is in Pages.
    So I have 2 questions:
    1. What is the best way of making my proposed model in Pages?
    2. How can I ensure that the model is not out of format when converted to a Word file?
    Any assistance would be greatly appreciated! Thank you.

    Bec Koss wrote:
    So I have 2 questions:
    1. What is the best way of making my proposed model in Pages?
    study the chapter 13 entitled: *Designing Your Own Document Templates* in the Pages User Guide.
    2. How can I ensure that the model is not out of format when converted to a Word file?
    The only way is to check that what you designed is correctly converted.
    Often it will not, and it is perfectly normal!
    To be sure to get a clone, use the original !
    Yvan KOENIG (from FRANCE mercredi 8 juillet 2009 10:14:37)

Maybe you are looking for