Program dependency list

Hi everybody, happy new year
Is there a way to get the list of objects dependencies of an program?
I need the list of tables, structures, function modules, includes, .... that is used by an program
In SE80, below the program name, is showed a treeview with this list, but i can't find how this list is make
Tanks
Darley

Hi Darley,
I'm afraid there is no easy solution. The SAP coding for SE80 is kind of desatrous.
Regards.
Clemens.

Similar Messages

  • Program to list JDBC drivers

    Hi everyone,
    I use the following code to list JDBC drivers on my system.
    private static void listDrivers() {
    //Get all the JDBC drivers
    Enumeration<Driver> driverList = DriverManager.getDrivers();
    //print out all the drivers using a loop
    while (driverList.hasMoreElements()) {
    Driver jdbcDriver = (Driver)driverList.nextElement();
    System.out.println("JDBC Driver: " + jdbcDriver);
    It lists JDBC-ODBC bridge:
    JDBC Driver: sun.jdbc.odbc.JdbcOdbcDriver@19efb05
    After I installed Microsoft SQL Server JDBC driver. I ran the above program again. Expecting it would return this new driver as well. But, the output is still the same.
    Why??? What did I do wrong? How do I get the program to list all the JDBC drivers on my system?
    Thanks in advance for your help!
    Eric

    jwenting wrote:
    Where you went wrong was in assuming that just having a jar somewhere on your computer will automatically put it on the classpath of your little application.
    Or maybe you went wrong in assuming that jdbc magically detects any jar anywhere on your computer that has a driver in it without being told where to look for that jar.Well, there's that. But, there is also the fact,OP, that the API docs says that the method getDrivers returns all currently loaded Drivers. In other words, OP, even if the jar is on your Classpath, getDrivers won't list it until you've done Class.forName("DriverClass") or DriverManager.registerDriver("DriverClass").
    IOW, OP, read the API docs.
    Edit: And, no, there is no Class/method (AFAIK) that will search your classpath for any/all possible Driver classes.

  • ADF Faces Dependent list boxes in an editable table

    Hi,
    I'm working with JDeveloper 10.1.3.1.0.
    I saw the topic "How to build dependent list boxes with ADF II" on F. Nimphius' Blogbuster.
    There it is shown how to handle dependent list boxes in an ADF Faces form. I tried this for an editable table but it doesn't work correctly: If there is more than one row in the resultset of the table, both dependent list boxes have the same content in all the rows though the content in the database is different.
    Can anyone help me?
    Thanks.

    Ok - I will try.
    I built the listboxes like it is described in "ADF Faces: How to built dependent lists boxes with ADF and ADF Faces Part II", Frank Nimphius' Blogbuster July, 2006.
    This is the full code of my ManagedBean:
    package asdb.view.backing;
    import javax.faces.context.FacesContext;
    import javax.faces.el.ValueBinding;
    import javax.faces.event.ValueChangeEvent;
    import javax.faces.model.SelectItem;
    import oracle.adf.model.OperationBinding;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.adf.view.faces.component.core.input.CoreInputText;
    import oracle.binding.BindingContainer;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.uicli.binding.JUCtrlValueBindingRef;
    public class AktMitFktEdit {
    private BindingContainer bindings;
    public AktMitFktEdit() {
    public void kategorieWechsel(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    BindingContainer bc = this.getBindings();
    DCIteratorBinding kategorienIter = (DCIteratorBinding)
    bc.get("OrganKategIterator1");
    Row rw =
    kategorienIter.getRowAtRangeIndex(((Integer)valueChangeEvent.getNewValue()).intValue());
    String kategorie = (String)rw.getAttribute("Kategorie");
    OperationBinding opBindingOrganeLovIter = (OperationBinding)bc.get("ExecuteWithParams");
    opBindingOrganeLovIter.getParamsMap().put("kategorieParam",kategorie);
    opBindingOrganeLovIter.execute();
    public void setBindings(BindingContainer bindings)
    this.bindings = bindings;
    public BindingContainer getBindings() {
    return bindings;
    It works fine, when the user only want to update existing rows. But if he had inserted a new row and afterwards want to update existing rows, the listboxes don't show the correct contents. No error messages are displayed.

  • How to create dependent list for attributes that are there in same table?

    HI,
    I need to ADF Creation Form that will insert into a Training table. and need to make a dependent LOV. Like i have a table
    Training (training_id, training_type, training_name ) i need to make a dependent list of value for Training_Type and Training_Name.
    Can anybody plz gave me the solution..
    Thanks

    Hi,
    which release of JDeveloper ?
    Frank

  • Need help with dependent lists boxes with ADF.

    Hello,
    I am doing a project that use tree dependent list boxes.
    Ex. State---->
    College---->
    List of courses of the college chosen above----->
    The way this should work is when I select the state automatically I want it to change to the correspondent list of colleges of that state and after i choose the colleges I want to be able to get all the courses that are given in that college.
    To implement the first two list boxes I create tree views on JDeveloper and and using SelectOneChoice for both State and Colleges. In the binding editor I bind the first View with the second and then the second view with the third and at this point if I execute the first SelectOneChoice would give me all the state and the second SelectOneChoice would give me the list of all the colleges that exist.
    Now on the third view that I create a binding variable and i put a Where state=:TheBindingVariable on the query.
    Also I set the first SelectOneChoice the outoSubmit property to true, id to StateId and PartialTrigger property to CollegeId.
    On pageDef.xml in the bindings I create action form where I select the third view from Date Collection and select Action as ExecuteWithParams. And I set the value under the parameters section to #{bindings.state.inputValue}.
    Under executables still in pageDef.xml I create a invokeAction and I set binds = ExecuteWithParams.
    On first SelectOneChoice on the ChangeValueListener i create a new ManageBeans which generate me a java class and I create a new method as well to use it to change the binding variable on the second SelectOneChoice.
    Here is the method:
    public void Change_StateId(ValueChangeEvent valueChangeEvent) {
    String StateId;
    valueChangeEvent.setPhaseId(PhaseId.INVOKE_APPLICATION);
    FacesContext adi = FacesContext.getCurrentInstance();
    ValueBinding vb = adi.getApplication().createValueBinding("#{bindings}");
    DCBindingContainer bc = (DCBindingContainer)vb.getValue(adi);
    if(valueChangeEvent.getNewValue().toString().equals("0")){
    StateId = "MA";
    OperationBinding opBindingCollegeLovIter = (OperationBinding) bc.get("ExecuteWithParams");
    opBindingCollegeLovIter.getParamsMap().put("TheState",StateId);
    opBindingCollegeLovIter.execute();
    }else{
    DCIteratorBinding statesLovIter = (DCIteratorBinding) bc.get("CollegeProvaView1Iterator");
    Row rw = statesLovIter.getRowAtRangeIndex(((Integer)valueChangeEvent.getNewValue()).intValue());
    StateId = (String) rw.getAttribute("State");
    OperationBinding opBindingCollegeLovIter = (OperationBinding) bc.get("ExecuteWithParams");
    opBindingCollegeLovIter.getParamsMap().put("TheState",StateId);
    opBindingCollegeLovIter.execute();
    I don't know what I have done wrong because I am new in this field and a little support would be really helpful.
    I am using JDeveloper 10.1.3.1.0 and Oracle SOA Suite 10.1.3.1.0.
    I would appreciate any help.
    Thanks a lot.

    user8116089 wrote:
    For some reason the first selectonechoice doesn't give me all the states that are in the database it gives me just the first 10.check the value of RangeSize for itarator in pageDef. in this case to show all items it must be set to -1
    Also there is a way to assign the first value of the first selectonechoice to null at the start.this is a problematic requirement since all items are bound to iterator and basically this should serve for navigation purpose so the first item is set as selected, but maybe some workaround exists...
    regards,
    Branislav

  • Dependent List Boxes

    Can't figure what is wrong with this code. Any ideas? My page
    is blank unless I remove this code. If I remove the below code the
    page shows the form and the list boxes but the last dependent list
    box is not functioning properly...
    <!-- Dynamic Dependent List box Code for *** JavaScript
    *** Server Model //-->
    <script language="JavaScript">
    <!--
    var arrDynaList2 = new Array();
    var arrDL2 = new Array();
    arrDL2[1] = "lmConsumer";
    // Name of parent list box
    arrDL2[2] = "frmAddendum";
    // Name of form containing parent list box
    arrDL2[3] = "lmICPDate";
    // Name of child list box
    arrDL2[4] = "frmAddendum";
    // Name of form containing child list box
    arrDL2[5] = arrDynaList2;
    <%
    var txtDynaListRelation2, txtDynaListLabel2,
    txtDynaListValue2, oDynaListRS2;
    txtDynaListRelation2 = "SID"
    // Name of recordset field relating to parent
    txtDynaListLabel2 = "ICPDate"
    // Name of recordset field for child Item Label
    txtDynaListValue2 = "ICPDate"
    // Name of recordset field for child Value
    oDynaListRS2 =
    rsICPDate
    // Name of child list box recordset
    var varDynaList2 = -1;
    var varMaxWidth = "1";
    var varCheckGroup =
    oDynaListRS2.Fields.Item(txtDynaListRelation2).Value;
    var varCheckLength = 0;
    var varMaxLength = 0;
    while (!oDynaListRS2.EOF){
    if (varCheckGroup !=
    oDynaListRS2.Fields.Item(txtDynaListRelation2).Value) {
    varMaxLength = Math.max(varCheckLength, varMaxLength)
    varCheckLength = 0;
    %>
    arrDynaList2[<%=(varDynaList2+1)%>] =
    "<%=(oDynaListRS2.Fields.Item(txtDynaListRelation2).Value)%>";
    arrDynaList2[<%=(varDynaList2+2)%>] =
    "<%=(oDynaListRS2.Fields.Item(txtDynaListLabel2).Value)%>";
    arrDynaList2[<%=(varDynaList2+3)%>] =
    "<%=(oDynaListRS2.Fields.Item(txtDynaListValue2).Value)%>";
    <%
    if (oDynaListRS2.Fields.Item(txtDynaListLabel2).Value.length
    > varMaxWidth.length) {
    varMaxWidth =
    oDynaListRS2.Fields.Item(txtDynaListLabel2).Value;
    varCheckLength = varCheckLength + 1;
    varDynaList2 = varDynaList2 + 3;
    oDynaListRS2.MoveNext();
    varMaxLength = Math.max(varCheckLength, varMaxLength)
    %>
    //-->
    </script>

    Try something like this:
    <span spry:region="dsStates" id="stateSelector">
    <select spry:repeatchildren="dsStates" name="stateSelect"
    onchange="document.forms[0].citySelect.disabled = true;
    dsStates.setCurrentRowNumber(this.selectedIndex);">
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    value="{name}" selected="selected">{name}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{name}">{name}</option>
    </select>
    </span>
    City:
    <span spry:region="dsCities" id="citySelector">
    <select spry:repeatchildren="dsCities" id="citySelect"
    name="citySelect" onchange="document.forms[0].schoolSelect.disabled
    = true; dsCities.setCurrentRowNumber(this.selectedIndex);">
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    value="{name}" selected="selected">{name}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{name}">{name}</option>
    </select>
    </span>
    <span spry:region="dsSchools" id="schoolSelector">
    <select spry:repeatchildren="dsSchools" id="schoolSelect"
    name="schoolSelect" onchange="window.location=this.value;">
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    value="{url}" selected="selected">{name}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{url}">{name}</option>
    </select>
    --== Kin ==--

  • Dependency List for ESS SP11 using Maintanance optimizer ?

    I need to somehow get a dependency list for ESS sp11 patch. I was told that this can be done on the Solman 4 system using Maintanance optimizer. I can see how to impliment the service pack but not how to generate a list of dependencies that I can present to the customer. Any help would be greatly appreciated.
    Edited by: VASQUEZ J. David on Feb 12, 2008 8:28 PM

    Hi VASQUEZ,
    You can see the dependencies ESS in the service market place only,you can see the import conditions for that particular package.Solman's maintanence optimizer is used to approve the download of that stack.Here you can not see the dependencies using solman.I think if you want to install patches for java they are cumilative,you can directly go from your current patch level to the recent one present in the market place.
    Reward points if helpfull.
    Regards,
    Vamshi.

  • Difference between dependent list of values in table and form

    Hi ,
    Is implementing dependent lov in editable table i.e. in adf table different from implementing the same in an adf form.
    In one of his posts Frank Nimohius mentioned that he can send us the implemented application for dependent list of values in editable table, if he reads this could you please send me the same.
    Has anybody ever implemented depedent list in adf table.
    Thanks and regards,
    Raksha
    Edited by: Raksha Sharma on 7 Jun, 2009 2:48 PM

    Hi,
    its already online: http://thepeninsulasedge.com/frank_nimphius/2008/04/08/adf-faces-building-adf-dependent-list-boxes-in-adf-faces-table/
    Frank

  • How-to create dependent list boxes in a table -Frank Sample

    hi everyone i would like to ask a suggestion about Frank's example on How-to create dependent list boxes in a table -Frank Sample ...
    i want to extend this example for 3 dependent lists... including locations, departaments and employes....
    this the ListboxBean java that Frank is using in his example.... and this is only for locations and departaments tables and it works ok... i want to add the third list for employers wich is dependent only from departaments list.... as i am not good in java i would like to ask u a suggestion on how to develop the third list in this java class ...
    public class ListboxBean {
    private SelectItem[] locationsSelectItems = null;
    private SelectItem[] departmentsSelectItems = null;
    public SelectItem[] getLocationsSelectItems() {
    if (locationsSelectItems == null){
    FacesContext fctx = FacesContext.getCurrentInstance();
    ValueBinding vbinding = fctx.getApplication().createValueBinding("#{bindings.LocationsView1Iterator}");
    DCIteratorBinding locationsIterBinding = (DCIteratorBinding) vbinding.getValue(fctx);
    locationsIterBinding.executeQuery();
    Row[] locRowsArray = locationsIterBinding.getAllRowsInRange();
    // define select items
    locationsSelectItems = new SelectItem[locRowsArray.length];
    for (int indx = 0; indx < locRowsArray.length; indx++) {
    SelectItem addItem = new SelectItem();
    addItem.setLabel((String)locRowsArray[indx].getAttribute("City"));
    addItem.setValue(locRowsArray[indx].getAttribute("LocationId"));
    locationsSelectItems[indx] = addItem;
    return locationsSelectItems;
    return locationsSelectItems;
    public SelectItem[] getDepartmentsSelectItems() {
    FacesContext fctx = FacesContext.getCurrentInstance();
    ValueBinding vbinding = fctx.getApplication().createValueBinding("#{row}");
    JUCtrlValueBindingRef rwJUCtrlValueBinding = (JUCtrlValueBindingRef) vbinding.getValue(fctx);
    Row rw = rwJUCtrlValueBinding.getRow();
    if (rw.getAttribute(6) != null){
    OperationBinding oBinding = (OperationBinding) fctx.getApplication().createValueBinding("#{bindings.ExecuteWithParams}").getValue(fctx);
    oBinding.getParamsMap().put("locId",rw.getAttribute(6).toString());
    oBinding.execute();
    ValueBinding vbinding2 = fctx.getApplication().createValueBinding("#{bindings.DepartmentsView2Iterator}");
    DCIteratorBinding departmentsIterBinding = (DCIteratorBinding) vbinding2.getValue(fctx);
    departmentsIterBinding.executeQuery();
    Row[] depRowsArray = departmentsIterBinding.getAllRowsInRange();
    // define select items
    departmentsSelectItems = new SelectItem[depRowsArray.length];
    for (int indx = 0; indx < depRowsArray.length; indx++) {
    SelectItem addItem = new SelectItem();
    addItem.setLabel((String)depRowsArray[indx].getAttribute("DepartmentName"));
    addItem.setValue(depRowsArray[indx].getAttribute("DepartmentId"));
    departmentsSelectItems[indx] = addItem;
    return departmentsSelectItems;
    public void setLocationsSelectItems(SelectItem[] locationsSelectItems) {
    this.locationsSelectItems = locationsSelectItems;
    public void setDepartmentsSelectItems(SelectItem[] departmentsSelectItems) {
    this.departmentsSelectItems = departmentsSelectItems;
    Thanks in advance :0

    Hi,
    I think that all you need to do is to look at how I implemented the dependent detail for querying the Employees select items
    Then you make sure the DepartmentsVO and the EmployeesVO have bind variable to query them according to the pre-selected value in their respective master list
    Frank

  • Initialize dependent lists

    Hi,
    I followed Franck tip on implementing dependent lists using navigation lists.
    It works perfectly well for a new row.
    The problem arise when I want to modify an existing row that make use of these dependent lists. In that case the lists are defaulted to their first values and the last list is not set with the good value.
    How to initialize the dependent lists when loading a page starting from the last list to the first list ?
    Thanks.

    Hi Richard,
    You're right. Frank's sample doesn't work for an update screen.
    Here is what I've found to solve your problem.
    My solution assumes you're using ADF BC. I based my solution on the same HR demo sample schema as Frank did.
    Recall the hierarchy : Regions > Countries > Locations > Departments.
    There are only 3 steps :
    * In the service layer (ADF BC) :
    1. get all the ids from the tables that compose the hierarchy
    2. based on the id of the department, rebuild the hierarchy by writing a custom service method
    * In the View layer (ADF Faces - JSF) :
    3. declare and call the custom service method using ADF Model
    Here are the code snippets :
    1. I get the ids by building a dedicated read-only View Object which has the following query
    SELECT 
        DEPARTMENTS.DEPARTMENT_ID DEPARTMENT_ID, 
        LOCATIONS.LOCATION_ID LOCATION_ID, 
        COUNTRIES.COUNTRY_ID COUNTRY_ID, 
        REGIONS.REGION_ID REGION_ID 
    FROM 
        DEPARTMENTS, 
        LOCATIONS, 
        REGIONS, 
        COUNTRIES 
    WHERE 
        DEPARTMENTS.DEPARTMENT_ID = :deptId 
    AND LOCATIONS.LOCATION_ID = DEPARTMENTS.LOCATION_ID 
    AND COUNTRIES.COUNTRY_ID = LOCATIONS.COUNTRY_ID 
    AND REGIONS.REGION_ID = COUNTRIES.REGION_ID 2. In the application module java source file, i put the folowing methods :
         * Permet de reconstruire la hiérarchie de la feuille vers le sommet
         * dans la relation Region (sommet) -> Country -> Location -> Department (feuille)
         * @param deptId La valeur est transmise en String et est convertie en Number
         * @throws java.sql.SQLException
        public void testSetDeptHierarchy(String deptId) {
            // Récupération des ids de la hiérarchie de Department
            ViewObject deptHierarchy = findViewObject("DepartmentHierarchy");
            try {
                deptHierarchy.setNamedWhereClauseParam("deptId", new Number(deptId));
            catch (SQLException e) {
                System.out.println("Erreur lors de l'affection de la named variable sur" +
                " Department");
                throw new JboException(e);
            deptHierarchy.executeQuery();
            Row dh = deptHierarchy.first();
            // On positionne chaque niveau de la hiérarchie
            setViewCurrentRow("RegionView", dh.getAttribute("RegionId"));
            setViewCurrentRow("CountryView", dh.getAttribute("CountryId"));
            setViewCurrentRow("LocationView", dh.getAttribute("LocationId"));
         * Permet de se positionner sur l'enregistrement correspondant à l'id passé
         * en paramètre sur la vue dont le nom est passé en paramètre
         * @param viewName Le nom de la vue
         * @param id L'id passé comme objet
        private void setViewCurrentRow(String viewName, Object id) {
            System.out.println(viewName + " " + id);
            ViewObjectImpl vo = (ViewObjectImpl)findViewObject(viewName);
            Object[] keyValue = new Object[1];
            keyValue[0] = id;
            Row[] results = vo.findByKey(new Key(keyValue), 1);
            Row row = results[0];
            vo.setCurrentRow(row);
        } 3. Create an methodACtion binding passing the DepartmentId as the parameter :
    <methodAction id="testSetDeptHierarchy"
                      InstanceName="AppModuleDataControl.dataProvider"
                      DataControl="AppModuleDataControl"
                      MethodName="testSetDeptHierarchy" RequiresUpdateModel="true"
                      Action="999" IsViewObjectMethod="false">
          <NamedData NDName="deptId" NDValue="${bindings.DepartmentId.inputValue}"
                     NDType="java.lang.String"/>
        </methodAction> And call that method from an invokeAction executable :
    invokeAction id="intitalizeDDL" Binds="testSetDeptHierarchy"
                      Refresh="renderModel"
                      RefreshCondition="${!adfFacesContext.postback}"/> Seb.

  • Required Dependent List of Values in Reports Parameter Form

    Dear All,
    These days I am facing a problem in Oracle Reports(ver. 2.5). I have develope a report. In the parameter form of this report, I want a list of value (LOV) on the second field which should be dependent on the first field value.
    For Example, In The Employee Details report, I have a Parameter form in which there are 2 Parameter fields, 1 is Deptno and the other is Empno. I want to attach a LOV on the Empno field but in this LOV I want to display only those empno's which should be dependent on the Deptno field.
    Thanks
    Vipin

    Hi,
    its already online: http://thepeninsulasedge.com/frank_nimphius/2008/04/08/adf-faces-building-adf-dependent-list-boxes-in-adf-faces-table/
    Frank

  • Two dependent lists in a search form

    How can i create two dependent lists in a search form?
    Am using jdev 10.1.3?
    Is there any sample wich can help me?
    THanks in advance !
    cheers,

    REPOST !

  • Dependent Lists

    Hello,
    Is there any way to get a dependent list without a page refresh..for ex depending on the Country selected ,bring the corresponding States from the database without any page refresh..
    In ASP, we used to use RDS disconnected recordsets,which can be manipulated from the client side , is there anything similar to RDS in JSP..
    If not,is there a way to use a background thread to get the database info in arrays and manipulate it through Javascript to create the new set of option lists..
    I read something about Liveconnect and calling Java classess from Javascript..what are the pros and cons about this approach..

    put the secons list in an iframe, and then pass some parameters to the iframe

  • Creating Dependent List on Security Group.

    Hi,
    I want to create dependent list on Security group, i have created custom table, Relation and view on Security group and on my custom table.
    I am not getting dependent list as it should be dependent on security group.
    Please help me.

    See my post Re: How to change the values in custom profiles based on security group ??

  • Report program to list out characteristics having dependency type procedure

    Hi folks,
    My requirement is to generate a report, in which i have to list out characteristics having dependecy type procedure(7).
    The tables are CABN(characteristic),CUOB(Assignment of Object to Dependency),CUKB(Administrative Information for Dependency Maintenance).By linking these tables we can get the result.
    Pls provide the code to achieve the above task.It's urgent.We need to write a select query for that.
    Regards,
    Ramesh

    You could use the QuickViewer to create your query, no programming involved.  It sounds like you know the tables to use and should be able to join them.
    Just a word of caution, Urgent is not a good word to use in a thread.  You may want to refer to the new Strict Guidlines: /people/michael.schwandt/blog/2008/06/23/moving-to-strict-rules-to-improve-quality-and-control

Maybe you are looking for

  • Error message on unclicked Radio Button

    Hello all, I was wondering how I can generate a unique error message on a required radio button on my form. I have designated the radio button as required already, but instead of the generic "missing fields" error message I would like it to generate

  • How long should I leave my Hp pc on for?

    hi i have an hp p7 1245 and i leave it on for about 12+ hours a day. is it safe to leave it on for 30 hours straight? 

  • How to create a database link in someone else's schema?

    I have access to Sys, but I don't have the passwords to all personal accounts. generally if you have a create any privilege you just do create <object> <schema>.object_name .... if i try this with a database link, the link gets created in my schema w

  • My Hard drive says full - Help me please!

    Recently, I have been low on hard drive space, but when I went to go find what was taking up all 30 GB of my HD, I can't find it! I am unable to do anything until I delete the culprit, but I think it may be a hidden file that is eating up my drive! a

  • Chat with support

    where is the page  to chat with skype support? why such a great product has such a bad links to support even if you are a premium subscriber.. its fustrating to contact support.