How to display programmatically created property in KM Conf.

Hi all,
I have created a KM property programmatically with
new Property(PropName,"test").getMutable();
I can not see it in KM Management < Content Management < Global Services < Property MetaData < Properties
Does anybody how to solve this issue?
Ismail

Hi Ismail,
I am not 100% sure of this, however my understanding is that what  you are trying to do is not possible. You are creating a property for a KM resource at runtime, and then expecting to see it in the KM configuration which is basically at design time.
Although I expect that the property is created against the resource and saved, in order to display it via the standard KM UI you will need to create it manually in the configuration as well and then you can configure the UI to show you the property and it's associated value.
Like I said I am not 100% sure, so maybe a KM expert can chime in here too!
Hope that helps a little,
BRgds,
Simon

Similar Messages

  • How do I programmatically create and save an empty project?

    I can programmatically create an empty project, but when I drop an
    invoke node on the project, select "Save", and wire in the desired
    path, it results in an "Error 1".  I am getting the error on the "Save"
    invoke node (An input parameter is invalid.)  The only input is the
    path, which is correct.  What am I doing wrong?  Also, how can I
    specify a name for the project?
    Greg

    I think the problem is that you use the current path and strip off the path the current VI's name.  This leaves you with a path that has no filename to save it to.  Put in a build path after it where you build in a project name with a .lvproj extension.  When I did that, the error went away.
    Message Edited by Ravens Fan on 08-08-2007 11:36 PM
    Attachments:
    Create%20and%20Save%20New%20Project[1].png ‏4 KB

  • How can I programmatically create and use a global variable?

    I have an app where the number of AI DAQmx tasks I create are specified in a config file.  I have a monitor task that periodically looks at the latest values from all DAQ tasks.  I've been doing this with a set of global variables because it was the simplest way to do it.  But to do this, I have to explicitly create a separate AI task that uses the hard-coded global variable name for the DAQmx samples.  I would prefer to only write one VI for the DAQ loop that writes to a global variable that I programmatically create based on the config file.  The only solution I can think of is to use a global variable "pool" that is sized bigger than I expect to need, and then have a big switch case to select which one I want based on the task index.  But this sounds pretty silly.

    I tend to agree with Ben. I don't buy the concept of taking the asy way out (globals) because it very rarely will things remain static. You almost always have to extend the features and functionality of an application and then you will run into issues with sloppy and lazy implementations. The solutions offered may require a little time to learn but once you do it doesn't really require any extra effort.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • How to disable programmatically created Submit Button in ProcessFormRequest

    Hi All,
    I'm working on an issue where i have created an Upload button Programmatically. The upload button should get disabled after it is clicked. The code for the upload button creation is as below. This has been added in the processRequest of CO.
    OASubmitButtonBean oasb;
    oasb =
    (OASubmitButtonBean)pageContext.getWebBeanFactory().createWebBean(pageContext,
    OAWebBeanConstants.BUTTON_SUBMIT_BEAN,
    null,
    "BUTTON_SUBMIT");
    oasb.setID("Upload");
    oasb.setUINodeName("Upload");
    oasb.setEvent("Upload");
    oasb.setText("Upload");
    Now, when i handle the upload button click in the processFormRequest, i should also disable the button at the end. I followed the below method in the processFormRequest but it threw a null pointer exception at the point where i have disabled the button.
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    String strEvent = pageContext.getParameter(EVENT_PARAM);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (strEvent.equals("Upload"))
    OASubmitButtonBean oasb2 = (OASubmitButtonBean)webBean.findIndexedChildRecursive("Upload");
    oasb2.setDisabled(true); --- this is where the null pointer exception gets thrown
    I'm not sure if this is the way to go about it. Could you please let me know how to handle the above request?
    Regards,
    Shreyas
    Edited by: user11258661 on Mar 28, 2012 7:15 AM

    Hi Ram,
    Thank you for the response. I have created the button programmatically. So I'm not sure how to add the newly created button to the webBean as child. I'm new to OAF. So could you please elaborate. A code snippet might help.
    Thanks in advance.
    Regards,
    Shreyas

  • How to to programmatically create diagnostic profile ?

    Hi,
    I'm trying to create a diaganostic profile programmatically .
    I didn't see any example like this. My purpose is to create a profile like in the ' Visualizer ' tool.
    I'm trying to use these lines:
    Application a=new ApplicationImpl(myApp);
    DiagnosticProfileManagerImpl diagnosticProfileManagerImpl=new DiagnosticProfileManagerImpl(a);
    probeNames=new ObjectName;
    diagnosticProfileManagerImpl.createDiagnosticProfile(profileName, probeNames);
    I got a NullPointerException .
    Any ideas? examples ?

    Hi again ..
    I think I know where is the problem but I don't know how to solve it:
    i use these lines to make a connection :
         env.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,     "com.bea.core.jmx.remote.provider");
                             System.setProperty("mx4j.remote.resolver.pkgs", "com.bea.core.jmx.remote.resolver");
                             connector = JMXConnectorFactory.newJMXConnector(serviceUrl, env);
                             connector.connect(env);
                             connection = connector.getMBeanServerConnection();
    and you suggested to use this :
                             connection=ManagementFactory.getPlatformMBeanServer();
    I think there is inconsistency in the typs of the connection mbean.
    Neither of of them works fine:
    The first one works fine for getting troughput , averageLatency and so on ,
    BUT, when i try to terminate ( unregister from the mbean server ),
    and than re-connect again, the numbers i'm getting are wrong.
    In the second type (ManagementFactory.getPlatformMBeanServer() ) , when I want to use as a profile creator ( like in the 'Visualizer' tool - which works fine )
    I don't know which of the types to use.
    What is your recommendation to to use : for temintinag the probeRuntime, and for making a profile .
    again, neither of them works all the way!
    Plz help.

  • How to to programmatically create diagnostic profile : Please , Help!

    Hi,
    I already opened a question about that , but since I got a wrong answer ( I think , or i did something wrong ..) , and , since it is very
    important for me :
    May I have a full example showing how to create diagnostic profile programmatically ?
    I tried many ways to do that , but nothing works !
    Among the things i did was ( for example ) , something like this :
    DiagnosticProfileBean bean=new DiagnosticProfileBean();
    // setting the bean ..
    bean.setLatency(latency);
                   bean.setThroughput(throughput);
                   String profileName="EyalProfile";
                   //DataAggregation d;
                   bean.setProfileName(profileName);
                   bean.setApplicationId("com.oracle.training.jms@defaultserver");
                   //bean.setApplicationId("Application");
                   bean.setState(true);
                   bean.setStageObjectName(this.stageObjectIn);
                   bean.setServerId("defaultserver");
    .... and so on ..
         try {
              dataServiceName =ObjectName.getInstance("com.bea.wlevs:Name=DataServiceFactory,Type=DataServiceFactory,Application=com.oracle.cep.training.jms");
              //     DataServiceFactoryMBeanImpl dsfmb=     (DataServiceFactoryMBeanImpl) MBeanServerInvocationHandler.newProxyInstance(connection,dataServiceName, "com.bea.wlevs:Name=DataServiceFactory,Type=DataServiceFactory,Application=com.oracle.cep.training.jms", ObjectName.class, false);
              } catch (Exception e) {
         throw new RuntimeException(e);
         DataServiceFactoryMBean dataServiceFactory=null;
         DiagnosticProfileBean bean=new DiagnosticProfileBean();
         try {
              dataServiceFactory=(DataServiceFactoryMBean) MBeanServerInvocationHandler.newProxyInstance(connection, dataServiceName, DataServiceFactoryMBean.class, false);
                   // dataServiceFactory=(DataServiceFactoryMBean) MBeanServerInvocationHandler.newProxyInstance(connection, dataServiceName, DataServiceFactoryMBean.class, false);
    it all works fine untul now , but when the program runs this :
              dataServiceFactory.createDiagnosticProfileMBean(bean, bean.getServerId());
    I got the "InstanceNotFoundException " ..
    It seems that the problem related to the connection object , but I'm not sure about it.
    The connection was created in 2 different ways , neither of them worked.
    1. ..
    connector = JMXConnectorFactory.newJMXConnector(serviceUrl, env);
                             connector.connect(env);
                             connection = connector.getMBeanServerConnection();
    2.
    MBeanServer connection =ManagementFactory.getPlatformMBeanServer();
    Does anyone have a clue about it??
    Example ( that works ..) will be appriciated !
    If someone has anothar way that works, it is OK to.just something to create a profile ..
    Again, it very important for me, i'm stuck because of that .
    Thanks.

    Hi
    my project includes many files, but a attached thre relevant parts here :
    // connect to server ( like in the examples )
    env.put(JMXConnectorFactory.DEFAULT_CLASS_LOADER, com.bea.core.jmx.remote.provider.msarmi.ServerProvider.class.getClassLoader());
                             env.put(JMXConnectorFactory.PROTOCOL_PROVIDER_CLASS_LOADER, com.bea.core.jmx.remote.provider.msarmi.ServerProvider.class.getClassLoader());
                             JMXServiceURL serviceUrl = new JMXServiceURL("MSARMI", "localhost", port, "/jndi/jmxconnector");
                             env.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,     "com.bea.core.jmx.remote.provider");
                             System.setProperty("mx4j.remote.resolver.pkgs", "com.bea.core.jmx.remote.resolver");
                             connector = JMXConnectorFactory.newJMXConnector(serviceUrl, env);
                             connector.connect(env);
                             connection = connector.getMBeanServerConnection();
    and then :getting MonitorRuntimeMBean object..
    monitorMBean = (MonitorRuntimeMBean)MBeanServerInvocationHandler.newProxyInstance(connection, monitorName, MonitorRuntimeMBean.class, false);
    and then :
    ObjectName thruputObject = monitorMBean.monitorAvgThroughput(stageObjectIn, (new Long(averageThroughputInterval)).longValue(), (new Long(averageThroughputInterval)).longValue());
                   ProbeRuntimeMBean probeAvgThroughput = (ProbeRuntimeMBean)MBeanServerInvocationHandler.newProxyInstance(connection, thruputObject, ProbeRuntimeMBean.class, false);
                   listener = new AverageThroughputJMXNotificationListener(stageName,connection );
    When i done i use:
    probeAvgThroughput .terminate();
    ofcource , i just cut the relevant parts , but I'm sure that what I'm doing is right.
    My question is not about the latency but about AvgThroughput which shows wrong numbers each time i reconnect to thr server .
    The numbers get smaller each time i reconnect ( I described it in my previuos post ).
    My questions are very simple :
    *1. How to add a profile via api ? ( DiagnosticProfile )*
    *2.How to get DataAggregationMBean ?*
    *3. How to get DataServiceFactoryMBean 'and then use it to add profile?*
    PLEASE , I JUST WANT A GOOD EXAMPLE OF DOING THOSE THINGS !!!
    If there is no answer to those, just tell me , because it's been to much time trying to figure it out.
    Having my code , and asking why do I need this , does not contribute to my quetions ..
    I'm sure you ( the oracle company team ) wants to help , but the mosy helpfull help is via GOOD  examples.
    Thanks.

  • How to display metadata created by PSE 6

    If I give someone a jpg image who does not have PSE, how are they able to see the keywords, notes etc that have been stored with the image in the metadata?
    Reason I ask is that after doing a "Write Keyword Tag and Properties Info to Photos", I then use Windows Explorer, select a photo, right click, click on properties and then "summary", I don't see any of the information that I was expecting to see there created by PSE.

    Hi Paige,
    Do I take it from your reply to this topic that you would be confident in recommending PSE6 as an organiser which DOESN'T use a proprietory method of attaching keywords etc?
    I really like the trial version of PSE6, but am a little nervous about purchasing the full version and spending many days creating keywords for thousands of images, only to find that they can only ever be read in PSE. I may use PSE for a lifetime, but want to be sure of the flexibility in migrating to an alternative application in the future should I decide to do so, and taking my keywords with me!

  • How To Display Recently Created Records

    Hi
    I want to display the recently created records into a table in sapui5.
    Is there any control to display the recently created records.
    Please suggest me if any control is there.
    Thanks
    Sathish

    SQL> WITH T AS (
      2  SELECT 'SANKAR' NAME, 10 NO FROM DUAL
      3  UNION ALL
      4  SELECT 'BALAJI', 20 FROM DUAL
      5  UNION ALL
      6  SELECT 'SANKAR', 10 FROM DUAL
      7  UNION ALL
      8  SELECT 'MANI', 30 FROM DUAL
      9  UNION ALL
    10  SELECT 'BALAJI', 20 FROM DUAL
    11  UNION ALL
    12  SELECT 'MANI', 30 FROM DUAL
    13  UNION ALL
    14  SELECT 'BALA', 10 FROM DUAL
    15  UNION ALL
    16  SELECT 'KALA', 20 FROM DUAL)
    17  SELECT NAME, NO
    18    FROM (SELECT NAME,
    19                        NO,
    20                        SUM(RNO) OVER(PARTITION BY NAME,NO) SNO
    21               FROM (SELECT T.*,
    22                                        ROW_NUMBER() OVER(PARTITION BY NAME,NO ORDER BY 1) RNO
    23                               FROM T))
    24   WHERE SNO > 1
    25  /
    NAME           NO
    BALAJI         20
    BALAJI         20
    MANI           30
    MANI           30
    SANKAR         10
    SANKAR         10
    6 rows selected.Thanks,
    Karthick

  • Programmatically create custom attributes in KM

    Hi all,
    We are implementing an application which uploads/downloads files to/from KM content of a portal user. The application will also display the list of files for the portal user. The file list displays the standard file attributes: filename,  created_date, size.
    Additionally to these attributes we want to store  some custom attributes (e.g. last sent to, received from...) for files in the KM.
    We need to create these custom attributes programmatically at runtime, if the file is stored/updated in the KM content.
    How can we programmatically create these kind of custom attributes in KM and read/write these custom attributes at runtime?
    Thanks,
    Yasar

    hi,
    General example on how to code KM
    http://wiki.sdn.sap.com/wiki/display/Snippets/UpdateKnowledgeManagementusingWebDynproJavaApplication
    Coding custom attributes, look into Properties section
    https://media.sdn.sap.com/html/submitted_docs/nw_kmc/howto/rf/client_api/rf_client_api.html
    Coding custom renderer.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f7b176eb-0701-0010-2b84-8edb1f76771d?QuickLink=index&overridelayout=true
    Srini

  • How to display region from one page on the other page?

    Hi,
    I'd like to ask if someone know how to display region created on page X on page Y.
    I've tried to create a "URL" region on Y but this doesn't work and I generally think this is blind way.
    Next I've found an internal function "flows_020100.wwv_flow_disp_page_plugs()" that works pretty well (PL/SQL type region with calling the function) except that is displaying only regions on the same page. I know it's dirty hack but ...
    Any ideas or hints how to solve this? Thanks ...

    have a look here ...
    http://www.oracle.com/technology/products/database/application_express/pdf/apex_best_practices.pdf

  • How to display the form of time statement, which was created in trans. PE50

    Hi to all!
    I have created the salary statement with the PE50 and I want the form to be displayed in the ESS.
    How to display this form?
    Thank.

    Dear Siddharth,
    I am getting this error for Time Statement here also we have used PE50 to create time statement for r/3 purpose, Which would be feasible one to work with for getting the display of Time Statement.
    Form TH_TIME_ST does not exist
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Form TH_TIME_ST does not exist
         at java.lang.Throwable.<init>(Throwable.java:194)
         at java.lang.Error.<init>(Error.java:49)
         at com.sap.pcuigp.xssfpm.java.FPMRuntimeException.<init>(FPMRuntimeException.java:34)
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:112)
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:122)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.reportBapiRet2Error(FcRepFramework.java:525)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.callRfcExecAction(FcRepFramework.java:357)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.initModel(FcRepFramework.java:292)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFramework.initModel(InternalFcRepFramework.java:256)
         at com.sap.xss.hr.rep.fcrfw.FcRepFrameworkInterface.initModel(FcRepFrameworkInterface.java:136)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface.initModel(InternalFcRepFrameworkInterface.java:198)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface$External.initModel(InternalFcRepFrameworkInterface.java:258)
         at com.sap.xss.hr.tim.per.selection.VcTimPerSelection.onInit(VcTimPerSelection.java:238)
         at com.sap.xss.hr.tim.per.selection.wdp.InternalVcTimPerSelection.onInit(InternalVcTimPerSelection.java:246)
         at com.sap.xss.hr.tim.per.selection.VcTimPerSelectionInterface.onInit(VcTimPerSelectionInterface.java:162)
         at com.sap.xss.hr.tim.per.selection.wdp.InternalVcTimPerSelectionInterface.onInit(InternalVcTimPerSelectionInterface.java:144)
         at com.sap.xss.hr.tim.per.selection.wdp.InternalVcTimPerSelectionInterface$External.onInit(InternalVcTimPerSelectionInterface.java:220)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:467)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:359)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:755)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:278)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:722)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:623)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:215)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:113)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:70)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:818)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1265)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:548)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:592)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:864)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:750)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:715)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:113)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:107)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:278)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:623)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:215)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:113)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:60)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:332)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:0)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:335)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:963)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:249)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:0)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:92)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:30)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:35)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:101)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Appreciate your help on this.
    Regs,
    Raj

  • How do I programmatically display jpeg files on the front panel

    Hi,
    I would like to be able to programmatically display various jpeg images on the front panel of a VI. I would mostly like to be able to display one image at a time and have the ability to programmatically change the image to different ones under program control. I found a picture indicator but not sure how to use if or if this is the best way. Thanks for any help.
    Dave Adams

    Yes, you can use a picture indicator.
    The attached simple codelet shows how to display a jpeg image on it (Make sure the image indicator is big enough).
    Let us know if you need help with the rest of the coding.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    DrawJpeg.gif ‏2 KB

  • 5.1 SP10 How do you programmatically make a datasource from a dynamically created Pool?

    How do you programmatically make a data source from a dynamically created Pool?
    I can make the Pool OK but can not find any classes the return a datasource
    given a JDBC Pool.
    Thanks in advance

    Hi John,
    weblogic 5.1 doesn't have API allowing dynamic creation
    of datasources. 6.1 does.
    Regards,
    Slava Imeshev
    How do you programmatically make a data source from a dynamically createdPool?
    >
    I can make the Pool OK but can not find any classes the return adatasource
    given a JDBC Pool.
    Thanks in advance

  • How to Programmatically Create and Activate an ABAP Class

    Hi,
    I have a requirement to programmatically create and activate an ABAP class that implements a 'pre-defined' interface.
    Do you have any ideas how this can be done?
    Thanks,
    Shreevathsa S

    Hi,
       Try if GENRATE SUBROUTINE POOL keyword can be of your help.
    See the below example,
    DATA itab  TYPE TABLE OF string.
    DATA prog  TYPE string.
    DATA class TYPE string.
    APPEND `program.`                     TO itab.
    APPEND `class main definition.`       TO itab.
    APPEND `  public section.`            TO itab.
    APPEND `    class-methods meth.`      TO itab.
    APPEND `endclass.`                    TO itab.
    APPEND `class main implementation.`   TO itab.
    APPEND `  method meth.`               TO itab.
    APPEND `    message 'Test' type 'I'.` TO itab.
    APPEND `  endmethod.`                 TO itab.
    APPEND `endclass.`                    TO itab.
    GENERATE SUBROUTINE POOL itab NAME prog.
    CONCATENATE `\PROGRAM=` prog `\CLASS=MAIN` INTO class.
    CALL METHOD (class)=>meth.
    Regards,
    Sesh

  • How Programmatically Creating a Free Label in LabVIEW

    I know that I can change the text of existing free text (decorations) in LabVIEW.  Can I programmatically create a free label in LabVIEW.  like adding a copyright notice to a bunch of VI's
    Thanks in advance
    Stu
    Stu McFarlane
    Viewpoint Systems, Inc.

    Not with the stock LabVIEW. If you have a license to use scripting then you can do it that way.

Maybe you are looking for