Announcement: MDGen, a model-driven code generator

Hello, folks.
If you are interested in another code generator, you may like
to try this one:
http://www.geocities.com/uscchlin/MDGen
MDGen use XSL/XSLT to generate CMP/BMP entity beans,
deployment descriptors, Ant build script, Oracle table
create and drop scripts and Struts code.
Any feedbacks are welcome. Thanks.

Hi,
The error might be due to making the bind variable as required but not using it in the vo query. Edit the bind variable and make it as optional by unchecking the required checkbox.
Sireesha

Similar Messages

  • Object Oriented Modelling and Code Generator

    i have a final yr project on java--any help plzz
    Objectives:
    In software development we make extensive use of models to capture details about objects in a domain, the attributes of the objects and the relationships between the objects. Once complete, these models also contain constraints on the objects and their attributes.
    The aim of this project will be to develop a GUI to draw an appropriate software model and to automatically generate a set of Java classes consistent with the model that can be used to rapidly implement the software.
    This research will aim at analysing the different modelling techniques and the mapping of these models to java codes.
    note: any good advice..

    Hello there..
    I Together Control is one of the best tool that can serve ur purpose
    this is pretty good Tool.
    Specially auto code generation is cool.
    Look in to borland site..( They now took overtogether ) for free eval version ..
    Regards
    Manu
    Syntel

  • New Project Proposal: Model Driven Health Tools

    MDHT supports the specification and implementation of healthcare information models by creating UML profiles, model transformations, publication, code generation, and model editing tools for clinical informatics users.
    https://projects.eclipse.org/proposals/model-driven-health-tools

    I'm happy to announce that the Triquetrum proposal is available for community review!
    You can find it at https://projects.eclipse.org/proposals/triquetrum
    Any members of the Science IWG (and others of course) that would be interested in this project : please leave a comment!
    regards
    erwin

  • Question about model driven dev and RDS configuring

    I am testing the model driven development that is brought up by Flash Builder4 and LCDS3 recently, and it went pretty well. However i've noticed that the configuration of the RDS for development mode is not recommanded for a production environment.
    My first quetion is can I simply disable the RDS on the server when I want to deploy my app to a production environment and still be able to use all of the features such as data management service and remote service etc.? I've tried to do so but it gave me a 404 page. I felt it was a little bit confusing when you know you DO have a html template located in the right location. If RDS can be disabled without interfering the functionality of the app, where can I find a doc to follow?
    My second question is if the RDS is a must, then how to configure the security setting? I knew some of the requirements by visiting this url:http://help.adobe.com/en_US/LiveCycleDataServicesES/3.1/Developing/WS6822bf3ec1c7b2e9-30fb 9b22126b9ca84aa-8000.html,
    however, when I followed the steps and test it, I got a 400 error in FB4 RDS configuration page.
    Since I am testing this under Tomcat 5.5, I am not sure where should I put the flex-tomcat-common.jar and flex-tomcat-server.jar file in, cause the dir structure of Tomcat 5.5 is a little bit different than that of Tomcat 6.0. Then I put these files under both of the tomcat 5.5\common\lib folder and the tomcat 5.5\server\lib folder. I've doubled checked the the catalina.properties file which is located under tomcat5.5\conf folder and I see the following environment param has been there : ${catalina.home}/common/lib/*.jar.
    The other configuration I made that differs from the doc was: I put <valve classname="flex.messaging.security.TomcatValve"></valve> into the context.xml, which is under the folder Tomcat 5.5/conf. Since I put the Resource definition in the same file, I guess this should not be the problem.
    Does anyone has any successful experience on setting this up?
    Any hint will be appreciated.

    Thanks for the quick reply.
    I solved my first problem, it was because I accidentally commented out part of the RDS configuration and left the servlet-mapping part un-commented. After I generate all the client and server codes and re-deploy them to the environment, I finally got my running demo with RDS disabled.
    For the second problem, I am still stucking in. I've tried to switch to the Tomcat 6.0 and follow both of the LCDS installation doc and the LCDS3.1_using doc. None could work me out. I constantly get the error message said that "The RDS server was successfully contacted, but your security credentials were invalid". So after struggling a whole day, I found the following statement, which is appeared in the ColdFusion configuraton doc:"Note: If you are using ColdFusion MX 7 or earlier, the message "The RDS server was successfully contacted, but your security credentials were invalid," appears. The message indicates that the password was not validated, even if it is correct. Click OK to close the message. ". That's interesting cause it seems it was exact the situation I was encountered. However, in my case, ignoring the error message does not give me a successful RDS connection.
    For your information, I am pasting the configurations I had on my machine and maybe some ppl could give me a correction.
    service-config.xml:
    <security>
      <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/>       
            <!-- Uncomment the correct app server
            <login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/>
            <login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/>
            <login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/>
            -->
            <security-constraint id="basic-read-access">
                <auth-method>Custom</auth-method>
                <roles>
                    <role>guests</role>
                    <role>accountants</role>
                    <role>employees</role>
                    <role>managers</role>
                    <role>rds</role>
                </roles>
            </security-constraint>
        </security>
    tomcat-user.xml:
    <tomcat-users>
      <role rolename="rds"/>
      <user username="rdsuser" password="rdspassword" roles="rds"/>
    <!--
      <role rolename="tomcat"/>
      <role rolename="role1"/>
      <user username="tomcat" password="tomcat" roles="tomcat"/>
      <user username="both" password="tomcat" roles="tomcat,role1"/>
      <user username="role1" password="tomcat" roles="role1"/>
    -->
    </tomcat-users>
    web.xml:
    <servlet>
            <servlet-name>RDSDispatchServlet</servlet-name>
        <display-name>RDSDispatchServlet</display-name>
            <servlet-class>flex.rds.server.servlet.FrontEndServlet</servlet-class>
            <init-param>
          <param-name>useAppserverSecurity</param-name>
          <param-value>true</param-value>
        </init-param>
            <load-on-startup>10</load-on-startup>
        </servlet>
        <servlet-mapping id="RDS_DISPATCH_MAPPING">
            <servlet-name>RDSDispatchServlet</servlet-name>
            <url-pattern>/CFIDE/main/ide.cfm</url-pattern>
        </servlet-mapping>
    lcds.xml:
    <Valve className="flex.messaging.security.TomcatValve"/>
    <Transaction factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>
    <Resource name="jdbc/codedata" auth="Container"
       type="javax.sql.DataSource"
       username="root"
       password="******"
       driverClassName="com.mysql.jdbc.Driver"
       url="jdbc:mysql://localhost:3306/codedata?autoReconnect=true"/>
       <Resource name="jdbc/atlantis" auth="Container"
       type="javax.sql.DataSource"
       username="root"
       password="******"
       driverClassName="com.mysql.jdbc.Driver"
       url="jdbc:mysql://localhost:3306/atlantis?autoReconnect=true"/> 
    Note that both of the flex-tomcat-common.jar and flex-tomcat-server.jar were already under Tomcat 6.0/lib folder.

  • Comparing ABAP development process with Model Driven Architecture concept

    My Background
    I am a postgraduate student writing a Masters Degree Dissertation titled “An Investigation into how compatible ERP Development Process is with Model Driven Development Philosophy: A SAP R/3 Case Study”.
    The aim of this project is to compare ERP system development process with Model Driven Development (MDD) and to identify whether and how they can be used together. Model Driven Architecture (MDA) is Object Management Group’s (OMG) flavour of the MDD philosophy and is the paradigm that will be used here.
    I have chosen SAP R/3 as my case study in order to narrow the research and want to explore the development processes/cycle involved in using ABAP/4 to reconfigure/customize SAP R/3 system during implementation.
    An overview of the MDA concept according to OMG is given below. Following this, I’ve provided some questions that are open to discussions.
    Overview of the MDA Concept
    The Model Driven Architecture (MDA) is an approach to software systems development that separates the specification of system functionality from the specification of the implementation of the functionality on a specific technology platform. The MDA concept provides an open, vendor-neutral approach to system interoperability.
    A recent study by the Middleware Company summarizes MDA paradigm as a development process that makes use of the following steps:
    1.     Secure business requirements for an application.
    2.     Develop UML diagrams for the domain model, independent of any particular technology (J2EE, Microsoft .NET, CORBA, etc). This UML model represents the core business services and components. This UML model is called Platform Independent Model (PIM) because it is completely technology-independent and will be the same regardless of whether you decided to use J2EE or .NET. You develop this UML model using UML modelling capabilities of an MDA-specific modelling tool.
    3.     Build UML diagrams for the application, specific to a particular technology (J2EE, for example). This UML model will have design patterns. This UML model is called Platform Specific Model (PSM). You can build this manually, or you can generate much of it using an MDA tool and hand-tune only pieces of it that require customisation.
    4.     Finally, generate the application code using an MDA tool. That is to say, instead of writing the application by hand based on the UML model, you generate the majority of it from the UML diagrams.
    To develop an application using MDA, it is necessary to first build a PIM of the application, then transform this, using a standardised mapping into a PSM, and, finally, map the latter into the application code.
    A mapping is a set of rules and techniques used to modify one model in order to get another model. In MDA, mappings are used for transforming:
    1)     PIM to PIM. This transformation is used when models are enhanced, filtered or specialized during the development lifecycle without needing any platform dependent information. One of the most obvious mappings is the analysis to design models transformation. PIM to PIM mappings, are generally related to model refinement.
    2)     PIM to PSM. This transformation is used when the PIM is sufficiently refined to be projected to the execution infrastructure. The projection is based on the platform characteristics. Describing these characteristics should be done using UML description. Going from a logical component model to a commercial existing component model is a kind of PIM to PSM mapping.
    3)     PSM to PSM. This transformation is needed for component realization and deployment. PSM to PSM mapping are generally related to platform dependent model refinement.
    4)     PSM to PIM. This transformation is required for abstracting models of existing implementations in a particular technology into a platform-independent model. This procedure often resembles a “mining” process that is hard to be fully automated. It may be supported by tools, though. Ideally, the result of this mapping will match the corresponding PIM to PSM mapping.
    Questions/Discussions
    1.     What specific stages are involved in development using ABAP/4? (e.g., requirements gathering, analysis, design, coding, etc)
    2.     Do these stages fit into any traditional software development lifecycle? (e.g. waterfall model, v-model, etc)
    3.     Which of the stages in (1) above best describes the Platform Independent Model (PIM) of the MDA concept above?
    4.     Which of the stages in (1) above best describes the Platform Specific Model (PSM) of the MDA concept above?
    5.     How does the Accelerated SAP roadmap relate to the MDA concept above?
    6.     Assuming there’s a change in business requirements of a company that could lead to reconfiguring/customizing the R/3 system, how is this achieved? For instance, if a model has earlier been developed for that particular process, how does the change in the model affect coding/modification?
    7.     How is coding achieved with respect to the reconfiguration of the business models or reference models?
    8.     Are all coding manually done or are there tools in the ABAP Workbench that enable codes to be generated automatically from the models of the system?
    9.     How much time is spent in coding compared to developing business models like EPC models?

    I've also read about the SAP Composite Application Framework (CAF).
    But it seems that it's only for Java development....

  • Question about Model Driven over RTMPS configuration

    I am testing model driven development features these days and encountered a problem:
    When I used RTMP channel to retrieve data from the server, everything works fine, however when I tried to use RTMPS channel, I got following error:
    Could not initialize DataService.
    Missing or invalid configuration for destinations: ["CodeModel.Code"]
    the CodeModel is the model I created by using the modler under Flash Builder4, and it simply include one table called Code. I can retrieve data, update and delete data with this model over RTMP channel, but not over RTMPS channel.
    I set up my RTMPS channel by creating a self-signed certificate and installed it in the trusted area of the browser, then I referenced the keystore file in the service-config.xml, here is the snap of my configuration:
    <channel-definition id="my-rtmps" class="mx.messaging.channels.SecureRTMPChannel">
            <endpoint url="rtmps://{server.name}:2099"
              class="flex.messaging.endpoints.SecureRTMPEndpoint"/>
            <properties>
                <idle-timeout-minutes>30</idle-timeout-minutes>
                 <keystore-file>D:/tomcat.store</keystore-file>
                <keystore-password>password</keystore-password>
            </properties>
    </channel-definition>
    following is the server side log when I tried to retrieve data from server over RTMPS channel:
    [LCDS]Deserializing AMF/RTMP request
    Version: 0  "connect"
      1.0
      (Command method=connect (2) trxId=1.0)
        (Object #0)
          app = ""
          flashVer = "WIN 10,0,45,2"
          swfUrl = "http://localhost:8080/lcds/CodeDemo-debug/CodeDemo.swf"
          tcUrl = "rtmps://localhost:2099"
          fpad = false
          capabilities = 15.0
          audioCodecs = 3191.0
          videoCodecs = 252.0
          videoFunction = 1.0
          pageUrl = "http://localhost:8080/lcds/CodeDemo-debug/CodeDemo.html"
          objectEncoding = 3.0
        true
        "nil"
        (Typed Object #1 'flex.messaging.messages.CommandMessage')
          operation = 5.0
          correlationId = ""
          clientId = null
          body = (Object #2)
          headers = (Object #3)
            DSMessagingVersion = 1.0
            DSNeedsConfig = true
            DSId = "my-rtmps"
          messageId = "12B87B6D-9372-71E2-3D63-8C680CBEA8EE"
          timestamp = 0.0
          timeToLive = 0.0
          destination = ""
    [LCDS]Received command: TCCommand [ Cmd: 2, MethodName: connect, TrxID: 1.0]
    [LCDS]FlexSession created with id 'FECA09F0-F71A-F8ED-9E68-30B9D6609791' for a direct RTMP connection. Id value was server generated.
    [LCDS]Returning service description for endpoint: my-rtmps config: {default-channels={channel={ref=my-rtmp}}, channels={channel=[{id=my-rtmps, type=mx.messaging.channels.SecureRTMPChannel, endpoint={uri=rtmps://{server.name}:2099}, properties={serialization={enable-small-messages=true}}}, {id=my-rtmp, type=mx.messaging.channels.RTMPChannel, endpoint={uri=rtmp://{server.name}:2039}, properties={serialization={enable-small-messages=true}}}]}}
    [LCDS]Serializing AMF/RTMP response
    Version: 0
      (Command method=_result (0) trxId=1)
        (Object #0)
          id = "FECA09F0-F729-8037-075D-EDD727DDE50E"
          objectEncoding = 3.0
          level = "status"
          serverConfig = (Typed Object #1 'flex.messaging.config.ConfigMap')
            default-channels = (Typed Object #2 'flex.messaging.config.ConfigMap')
              channel = (Typed Object #3 'flex.messaging.config.ConfigMap')
                ref = "my-rtmp"
            channels = (Typed Object #4 'flex.messaging.config.ConfigMap')
              channel = (Typed Object #5 'flex.messaging.io.ArrayCollection')
                source = (Array #6)
                  [0] = (Typed Object #7 'flex.messaging.config.ConfigMap')
                    id = "my-rtmps"
                    type = "mx.messaging.channels.SecureRTMPChannel"
                    endpoint = (Typed Object #8 'flex.messaging.config.ConfigMap')
                      uri = "rtmps://{server.name}:2099"
                    properties = (Typed Object #9 'flex.messaging.config.ConfigMap')
                      serialization = (Typed Object #10 'flex.messaging.config.ConfigMap')
                        enable-small-messages = "true"
                  [1] = (Typed Object #11 'flex.messaging.config.ConfigMap')
                    id = "my-rtmp"
                    type = "mx.messaging.channels.RTMPChannel"
                    endpoint = (Typed Object #12 'flex.messaging.config.ConfigMap')
                      uri = "rtmp://{server.name}:2039"
                    properties = (Typed Object #13 'flex.messaging.config.ConfigMap')
                      serialization = (Typed Object #14 'flex.messaging.config.ConfigMap')
                        enable-small-messages = "true"
          details = null
          description = "Connection succeeded."
          DSMessagingVersion = 1.0
          code = "NetConnection.Connect.Success"
          DSrtmpId = "FECA09F0-F71A-F8ED-9E68-30B9D6609791"
    [LCDS]Thread[my-rtmps-SocketServer-WorkerThread-2,5,main] registering write interest for Connection '26991461'.
    The server side log did not show any exceptions, I am wondering is there any other settings that I need to pre-config in order to make my app run over the RTMPS channel?
    Any help will be appreciated!

    The problem is solved. The error message is due to the default channel was set to RTMP in my data-management-config.xml file. That's why modifing the application level default channel does not work. After I changed it to RTMPS, it worked.
    One more thing to make sure though, if I want to use both of the RTMP channel and RTMPS channel in my app (not for fail over) , I have to create at least two models right? Also do I need to change the default channel in data-management-config.xml if the model I am about to deploy expects different channel than previous models?

  • Restrict the list of values retrieved by a model driven LOV

    hi all
    i'm try to restrict the list of values retrieved by a model driven LOV just like the article in this link
    http://www.oracle.com/technology/products/jdev/tips/fnimphius/restrictlovlist/restrictlov.html
    and i'm using the jdev11.2 but i always get this error
    java.sql.SQLException: parameter IN or OUT is missing at index 1
    my code is :
    public void SetSchoolLovVar(LaunchPopupEvent launchPopupEvent)
    String var_val=getOt7().getValue().toString();
    System.out.println("++++++++++++++++++++++++++++++++"+var_val);
    BindingContext bctx = BindingContext.getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    FacesCtrlLOVBinding lov = (FacesCtrlLOVBinding)bindings.get("DeptCode");
    System.out.print("LOVE "+lov);
    System.out.println("+_+_+_+_+__+_+_+__+_+_+_+_+_+_+_+_+_+_________+++++_+_+_"+lov.getName());
    lov.getListIterBinding().getViewObject().setNamedWhereClauseParam("Rejon_For_Prj_Dept",var_val);
    Rejon_For_Prj_Dept is the bind variable of the Lov Query.
    any good idea

    Hi,
    The error might be due to making the bind variable as required but not using it in the vo query. Edit the bind variable and make it as optional by unchecking the required checkbox.
    Sireesha

  • How to update bind variable and restrict values in a Model Driven LOV?

    Hi Guys,
    Using JDev 11.1.1.2.0
    I've recreated an excellent Frank Nimphius article about restricting values derived from a model driven LOV (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/44-restrict-lov-169186.pdf)
    But my bind variable isn't updating. Deleting the bind variable gets me the entire LOV. Activate the code below and insert a bind variable into the where clause like Frank says and I get nothing back. Bind variable is blank. Any ideas? Code wasn't supplied with the article. It seems simple enough but the bind variable isn't updating in the SQL, even though the updated value shows up here...
      public void onLovLaunch(LaunchPopupEvent launchPopupEvent)
        BindingContext bctx = BindingContext.getCurrent();
        BindingContainer bindings = bctx.getCurrentBindingsEntry();
        FacesCtrlLOVBinding lov = (FacesCtrlLOVBinding)bindings.get("DepartmentId");
        lov.getListIterBinding().getViewObject().setNamedWhereClauseParam("deptId","60");
        System.out.println("lov name: " + lov.getName().toString());
        System.out.println("lov Param Attrs: " + lov.getListIterBinding().getViewObject().getNamedWhereClauseParams().getAttribute("deptId").toString());
        System.out.println("lov View Object: " + lov.getListIterBinding().getViewObject().getName().toString());
        System.out.println("lov IterBinding: " + lov.getListIterBinding().getName().toString());
       }Gets me ...
    lov name: DepartmentId
    lov Param Attrs: 60
    lov View Object: _LOCAL_VIEW_USAGE_lov_model_queries_EmployeesView_DepartmentsView
    lov IterBinding: DepartmentIdList_2

    That's a good idea, but it's still not working. Here is how I implemented it. It might be different from your suggestion as I'm still pretty new to this.
    I have a recursive tree table. You select a node. You then click a button which calls the listener below. "findParents" is a method call to the AppModuleImpl class and it finds all parent nodes of your selection. "restrictPartBomLOV", also of the AppModuleImpl class, then modifies the model driven lists' View Object (partBomLOV) to exclude those parent node values.
    The resulting model driven LOV on the popup should be updated, yeah? But it still isn't udpating. If I manually type in the updated Where clause in PartBomLOV.xml query tab, it works, but it doesn't programmatically.
      public void insertPopupFetchListener(PopupFetchEvent popupFetchEvent)
        BindingContainer bindings = getBindings();
        OperationBinding operationBinding = bindings.getOperationBinding("findParents");
        parents = (List)operationBinding.execute();
        operationBinding = bindings.getOperationBinding("restrictPartBomLOV");
        operationBinding.execute();
       public void restrictPartBomLOV(List parents)
          ViewObjectImpl vo = getPartBomLOV();
          String wcl = "";
          Object[]   p = parents.toArray();
          for(int i = 0; i < p.length; i++)
             if (i == 0)
                wcl = wcl + "PNUM <> '" + p.toString() + "'";
    else
    wcl = wcl + "AND PNUM <> '" + p[i].toString() + "'";
    vo.setWhereClause(wcl);
    System.out.println(vo.getWhereClause().toString());
    vo.executeQuery();
    Edited by: LovettWB on Nov 11, 2010 11:23 PM

  • SAP NetWeaver: SAP's Model-Driven Business Process Application?

    Hi All:
    I am a graduate student currently doing a research on 'Model-Driven Business Process Application'. I came across some literature about SAP NetWeaver during my research. SAP NetWeaver has generated a lot of interest in me and I would like to know more detailed information about it:
    How is SAP adopting BPM principles to manage Work-flows? Can we consider any of the current NetWeaver applications as model-driven?
    It would be great to know the answers to some of these questions. I would sincerely appreciate if anyone of you could please help me with this. Also, thank you very much for your time and efforts. I would be happy to assign reward points to any informative responses.
    Regards,
    Alok

    Refer to this link
    http://help.sap.com/saphelp_nw70/helpdata/EN/6e/fb9442047b0831e10000000a1550b0/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5045b3cc-acbe-2910-2bab-8d930cb31a33
    Regards, IA

  • Complex model-driven filters

    Hello,
    I'm working on an application using the model-driven LCDS tools. The initial proof of concept has been fairly successful but I'm running into problems trying to customise the java assemblers which are generated from the model.
    For certain entities I need to filter the "fill" results based on the authenticated user's permissions and a few other tables. For various reasons the logic required to perform this filtering is rather complex and can't be carried out using JPQL. As far as I know there is no way to do the equivalent of a hibernate "named query" which seems to leave me with three options:
    Customise the assembler (derived from FiberAssembler) and query the database myself from within the "fill" method. I haven't found any examples which override the fill method, I've tried it myself but have had difficulty correctly constructing the final object graph (particularly the lazy loaded properties)
    Filter the objects in the derived assembler after they have been returned by the base FiberAssembler. I'd rather not have to do this, also the returned objects are of a generated type which makes them hard to work with.
    Scrap the model driven approach and start again using HibernateAssemblers (I could do what I need using a named query)
    Can anyone provide any advice or examples of overriding the FiberAssembler "fill" method for this sort of complex filtering?
    Thanks,
    Ben

    Hello,
    I'm working on an application using the model-driven LCDS tools. The initial proof of concept has been fairly successful but I'm running into problems trying to customise the java assemblers which are generated from the model.
    For certain entities I need to filter the "fill" results based on the authenticated user's permissions and a few other tables. For various reasons the logic required to perform this filtering is rather complex and can't be carried out using JPQL. As far as I know there is no way to do the equivalent of a hibernate "named query" which seems to leave me with three options:
    Customise the assembler (derived from FiberAssembler) and query the database myself from within the "fill" method. I haven't found any examples which override the fill method, I've tried it myself but have had difficulty correctly constructing the final object graph (particularly the lazy loaded properties)
    Filter the objects in the derived assembler after they have been returned by the base FiberAssembler. I'd rather not have to do this, also the returned objects are of a generated type which makes them hard to work with.
    Scrap the model driven approach and start again using HibernateAssemblers (I could do what I need using a named query)
    Can anyone provide any advice or examples of overriding the FiberAssembler "fill" method for this sort of complex filtering?
    Thanks,
    Ben

  • Problem w/ Java code generated by Darwin

    Our net model from [Options]/[Generate Code]/[Java] would not compile. The code has something like
    CD_BUYER = (String ) output[0];
    while output[0] is a double.
    Is there any fix to this problem?

    Hi,
    These Mapping Functions are coming as a Jar file which is a set of Class Files that SAP gives.
    So there is no question to be able to see it's code.
    Anytime what you will get is a class file and not JAVA file.
    Regards,
    Akshay.
    Dont forget to reward points,

  • NWDS Webdynpro Code Generator overwrites custom source with old fragements

    Hello,
    I am developing Web Dynpro Components in Java with NWDS 7.1. and I am experiencing a strange behavoiur of the code generator. After I save the changes I made to a View in the "View Editor" the View is rebuild and the corresponding Java Source Code gets overwritten with an older version of it.
    The same thing happens after editing the model or context bindings of the view controller, except that in this case all Java Sources are rebuild and overwritten. Its not that all method implementations are deleted, itu2019s the matter that they are replaced by older versions.
    As a developer I think thatu2019s very dangerous, because sometimes I don't recognize which code areas are rewritten by designtime - I get Null Pointer Exu2019s by runtime.
    Does anyone of you have an advice for me how to avoid these problems? Does anyone of you experienced the same behaviour before?
    Thanks in advance!
    Kind regards
    Andreas Horn

    Your question is not NWDI related. Post it in the [Web Dynpro for Java|Web Dynpro Java; forum or the [Java EE 5 @ SAP forum|Java Development;.

  • Warning codes generated in UCCHECK   - Technical Upgrade - 4.0b to ECC 6.0

    Hi SDN'ers ,
    I am currently working on Technical Upgrade project from 4.0 b system to ECC 6.0 system . I am facing a
    problem relating to the analysis of the warnings displayed whehn we run the UCCHECK for the client inventory by
    checking the "Display lines that cannot be analyzed statically" option under the Selection-screen block
    "Statements that cannot be analyzed statically" .Based on the warning codes generated during UCCHECK, they can
    be classified into 12 different categories given below in the list ( Viz. ABB,MESSAGEG!C,MESSAGEG!D......MESSAGEG!P).The same are given below in the end
    I want to know
    - Which are the warning codes which need resolution so that the program does not encounter any runtime
    errors or during Integration testing ?
    - Do all the offset related errors (For example ;variable A = B+offset(length)
    or  variable A+offset(length) = B ) need resolution so that the program gives no runtime error.
    - Also, do all statements where length is calculated using STRLEN also need changes ? I have seen offset length related warnings come under MESSAGEG!M warning code.
    The objective of this is to make sure that the upgraded system ECC 6.0 in Australia ,when rolled out to
    non-English speaking geographies in APAc such as Malaysia,Japan or China would only need translations and no ABAP Coding effort even when using languages such as Japanese which have double byte characters.
    S.No.     Error Code     Message
    1     ABB     Syntax Check Aborted
         ABB Total     
    2     MESSAGEG!C      check at runtime. at runtime.
               statement because of untyped or generic operands. It can only carry out this
              The system could not perform a static convertibility check on the current
         MESSAGEG!C Total     
    3     MESSAGEG!D      out this check at runtime. It can only carry out this check at runtime.
               to a table line because of untyped or generic operands. It can only carry out
              The system could not perform a static check on convertibility from a work area
         MESSAGEG!D Total     
    4     MESSAGEG!E      check at runtime. at runtime.
               defined by a "DATA" statement. .
               statement because of untyped or generic operands. It can only carry out this
              Field "ELEMENTN" is unknown. It is neither in one of the specified tables nor
              The system could not perform a static comparability check on the current
         MESSAGEG!E Total     
    5     MESSAGEG!F      operand "<FELD1>" for the current statement. .
         MESSAGEG!F Total     
    6     MESSAGEG!G      current statement on incompletely typed operand "<DATA>". .
         MESSAGEG!G Total     
    7     MESSAGEG!H      for the incompletely typed operand "<S>". . - - - - - - - - -
              The system cannot perform a static check on a character-type field data type
         MESSAGEG!H Total     
    8     MESSAGEG!I      incompletely-typed operand "<A>" in the current statement. .
              The system cannot perform a static check on a character-type data type for the
         MESSAGEG!I Total     
    9     MESSAGEG!J      "<%_1_SYSINI>" in the current statement to check whether the operand can be
              The system cannot perform a static check on incompletely-typed operand "VALUE"
         MESSAGEG!J Total     
    Early response wil be highly appreciated.

    Hi Karthik
    >
    > 1) SPDD adjustments are done in which phase? PREPARE or UPGRADE?
    >
    SPDD is done in Upgrade ->Phase ACT_700
    > 2) Are here special cases where the adjustments need to be done before running the UPGRADE phase?
    >
    At ACT_700 phase stop the upgrade and take a backup of the DB and the PUT<DIR> before starting the SPDD activity.
    Make sure there are no pending tp request.  Either release them or delete them.
    All phase need to be completed successfully in PREPARE, before starting UPGRADE
    Cheers
    Shaji
    Edited by: Shaji Jacob on May 5, 2008 9:23 PM

  • Warning codes generated in UCCHECK

    Hi SDN'ers ,
    I am currently working on Technical Upgrade project from 4.0 b system to ECC 6.0 system . I am facing a
    problem relating to the analysis of the warnings displayed whehn we run the UCCHECK for the client inventory by
    checking the "Display lines that cannot be analyzed statically" option under the Selection-screen block
    "Statements that cannot be analyzed statically" .Based on the warning codes generated during UCCHECK, they can
    be classified into 12 different categories given below in the list ( Viz. ABB,MESSAGEG!C,MESSAGEG!D......MESSAGEG!P).The same are given below in the end
    I want to know
    - Which are the warning codes which need resolution so that the program does not encounter any runtime
    errors or during Integration testing ?
    - Do all the offset related errors (For example ;variable A = B+offset(length)
    or  variable A+offset(length) = B ) need resolution so that the program gives no runtime error.
    - Also, do all statements where length is calculated using STRLEN also need changes ? I have seen offset length related warnings come under MESSAGEG!M warning code.
    The objective of this is to make sure that the upgraded system ECC 6.0 in Australia ,when rolled out to
    non-English speaking geographies in APAc such as Malaysia,Japan or China would only need translations and no ABAP Coding effort even when using languages such as Japanese which have double byte characters.
    S.No.     Error Code     Message
    1     ABB     Syntax Check Aborted
         ABB Total     
    2     MESSAGEG!C      check at runtime. at runtime.
               statement because of untyped or generic operands. It can only carry out this
              The system could not perform a static convertibility check on the current
         MESSAGEG!C Total     
    3     MESSAGEG!D      out this check at runtime. It can only carry out this check at runtime.
               to a table line because of untyped or generic operands. It can only carry out
              The system could not perform a static check on convertibility from a work area
         MESSAGEG!D Total     
    4     MESSAGEG!E      check at runtime. at runtime.
               defined by a "DATA" statement. .
               statement because of untyped or generic operands. It can only carry out this
              Field "ELEMENTN" is unknown. It is neither in one of the specified tables nor
              The system could not perform a static comparability check on the current
         MESSAGEG!E Total     
    5     MESSAGEG!F      operand "<FELD1>" for the current statement. .
         MESSAGEG!F Total     
    6     MESSAGEG!G      current statement on incompletely typed operand "<DATA>". .
         MESSAGEG!G Total     
    7     MESSAGEG!H      for the incompletely typed operand "<S>". . - - - - - - - - -
              The system cannot perform a static check on a character-type field data type
         MESSAGEG!H Total     
    8     MESSAGEG!I      incompletely-typed operand "<A>" in the current statement. .
              The system cannot perform a static check on a character-type data type for the
         MESSAGEG!I Total     
    9     MESSAGEG!J      "<%_1_SYSINI>" in the current statement to check whether the operand can be
              The system cannot perform a static check on incompletely-typed operand "VALUE"
         MESSAGEG!J Total     
    Early response wil be highly appreciated.
    10     MESSAGEG!K      "<F_YEAR>" in the current statement to check whether the operand can be
              The system cannot perform a static check for incompletely-typed operand "WINY2"
         MESSAGEG!K Total     
    11     MESSAGEG!M      .
               at runtime. .
               check will take place at runtime. .
               entries for operand "<F_SOURCE>(2)". This check will take place at runtime. .
               entries for operand "<F_SOURCE>+2(2)". This check will take place at runtime.
              The system cannot perform a static check on the validity of the offset/length
         MESSAGEG!M Total     
    12     MESSAGEG!P      out this check at runtime. at runtime.
               statement because of untyped or generic operands. The system can only carry
              The system could not perform a static compatibility check on the current
         MESSAGEG!P Total     
         Grand Total

    Hi Monica,
                 as bhaskar said no need to worry about warnings.
    warnings will not lead to dump. only runtime errors will lead to dump.
    if the system is unicode, remediate the objects without errors.
    we can observe mainly,
    open dataset, structure incompatibilty, offset, in byte or char mode etc
    thanks
    vinod

  • Code generate report in excel format from portal(Application Server)

    Hi all
    Please give some solution with code generate report in excel format from
    oracle portal(Application Server).

    Not feasible.
    Why? Because "the Excel format" is a binary and proprietary Microsoft file format. And writing a generator to generate Excel files will be complex, and resource expensive. In the vast majority of cases this will not be justified.
    As an alternative the very basic Microsoft XML office format can be used. But note that this is not a a ISO standard (it has been shot down in flames) - and effort and resources for that would be better spend on the Open Document XML standard (which very likely will be ratified as the ISO standard instead).
    Of course, you could have meant a CSV file - in which case, you need to play close attention to details. CSV is not an Excel format. A software designers and developers, our success is determined by attention to technical detail. In which case you are not paying any attention to technical detail by confusing CSV with Excel.

Maybe you are looking for