Can't populate WWSEC_ENABLER_CONFIG_INFO$ table

I've installed Oracle Portal,but the WWSEC_ENABLER_CONFIG_INFO$ table is empty.
Using advises, I've tried to populate the mentioned above table using the ssodatan script.
In DOS window :
1. c:>set oracle_home=e:\oracle\iSuites
2. c:>cd e:\oracle\iSuites\portal30\admin\plsql
3. from this directory I've started the script :
ssodatan.cmd -w http://host.domain:port/pls/portal30/
-l http://host.domain:port/pls/portal30_sso/
-s portal30 -p portal30 -o portal30_sso
-d portal30_sso -c connect_string
4. Restart HTTP Service from Services.
During the continuation of the execution of ssodatan script I've gotten such messages :
Setting Portal Partner App
USER-DEFINED Exception
Setting Login Server Partner App
USER-DEFINED Exception
and some later :
Seeding the Portal enabler config entry
USER-DEFINED Exception
As a result of it, the WWSEC_ENABLER_CONFIG_INFO$ table was not populated.
But the Oracle Portal Home page ia available. (can't login only)
(in the *.conf files my host.domain goes in the lower case; SSOHash class exists)
Thank you.
null

Well I found a couple of issues. First its an object table, which is not something I've even heard of before. So to see the table you cannot select from All_tables or DBA_tables you have to select from All_object_tables, or something to that effect. Finally, ownership and visibility to these tables is restricted to the schema owners I think. So if you want to see it you have to login as the appropriate owner. In my case I was looking for the orasso table.

Similar Messages

  • How can I populate a table based block without it being the current block

    Any ideas??

    Ok, here are the key components:
    •     Tab Form
    •     ActiveX Control
    •     VSFlexGrid
    •     Additional Window / Canvas With Mirrored items
    The problem Is not that I can’t navigate to the block then execute a query, rather it is what takes place when it’s done that way.
    When I attempt to do it the conventional way what takes place is visually un-appealing to the user. What triggers the need to populate the block in question is when the user selects a value in the VSFlexGrid. When done the conventional way what takes place when the value is selected is... we do a go_block, since the block is on a different tab the form then brings up that tab, and then execute_query populates the block, then go_block to return to the block/tab containing the VSFlexGrid. Then I would have to come up with a way to interface with the VSFlexGrid and return the cursor focus to the previously selected item in the VSFlexGrid. What needs to happen is when the user selects a value in the VSFlexGrid, behind the scenes the block gets populated then when the user navigate to the block/tab in question the data is already there. To further complicate matters this data comes from two different tables and the data from the parent can only be updated where the data from the child can be inserted or updated. Now if the user wants to bring up the additional sub-window the tab which has the mirrored items is removed. While this window is open the user then returns to the VSFlexGrid navigates through the grid and depending on the item selected the values in the sub-window need to be repopulated.
    I guess if the block in question was on the same canvas / tab the conventional methods would be acceptable.
    Now that I have painted the picture if you have any ideas my ears are open.
    BTW… It looks like I have that last 10%. I am testing now and so far things are working as desired. When testing is SAT I will post the solution I have developed, maybe this will help Tony G. come up with a solution for his situation.

  • Populate a table reading the data from a TXT file

    how can I populate a table reading the data from a TXT file?
    thanks

    Hey Kevin!
    Using FORMS.TEXT_IO to bulk load data from a file strikes me as re-inventing the wheel. It is just about justifiable in a self-service environment, but I regard the EXTERNAL TABLE is a better solution for that situation as well.
    The same applies to UTL_FILE. I think the ability to read text with UTL_FILE is primarily intended for read file-based configuration or file manipulation/processing rather than data loading.
    Re-writing a text file into SQL statements is too much like hard work (even with an editor that supports macro definition and regular expressions) for no real benefit. You lose all the bulk load peformance you would get from SQL*Loader. But for QAD I'd probably let you off with it.
    You missed out one obvious alternative: using Java to turn the contents of an XML file into a CLOB and inserting it into a table which is read by a PL/SQL procedure that parses the XML records and insert the retrieved data into a table.
    Stay lucky, APC

  • How to populate a table instaed of creating a file

    Hello Everybody,
    I have been thinking if any of you has ever done simmilar thing..
    I have a crontab task that runs a script that gathers some space statistics each month from couple of servers..and sends an output to a file..
    how to redirect that output so it populates certain table in the database?
    can you recomend best approach?
    thanks a lot,
    agat81

    The easiest way would be to create your file in a way that it will look like
    insert into your_table_name values (bla, 1,2 ,3);
    insert into your_table_name values (blub, 4,5 ,6);
    commit;
    Then execute the script with sqlplus from cron.
    cu
    Andreas

  • How can I create a Table View in Cocoa Applescript?

    This is my last resort. I've searched for days and only found tutorials for iPhone and Cocoa, and I have no idea where to start. I'm looking for a way to create a Table View, and fill it with a few cells that call a handler when clicked. I've looked through the Xcode help, the Apple documentation, and countless tutorials, and I don't know what to do. I'm sure what I'm asking is possible, because usually what is possible in Cocoa is possible in Cocoa-Applescript.
    Perhaps something like:
    myTableView's addCell_OfType_WithHandler("This is a text cell", text, "myHandler:")
    I would appretiate any responses and brief descriptions on the matter.

    You did not answer my first question, which was not an idle question. I'll answer here, but if cross-chatter appears in a different thread I'll ignore it. You'll have to keep track of the mess yourself.
    Apple_For_The_Win wrote:
    At this point, I've dragged a Table View onto my window, in Xcode. I've connected it to the value "myTableView", and that's where I need help. I'm specifically trying to add cells into the table view.
    I'll assume that 'connected it to the value "myTableView"' means that you've control-dragged in XCode from the table view in Main Menu.xib to a property in your applescript app delegate called myTableView. If that's not the case, please correct me.
    I prefer to use an array controller for this, so please drag an array controller object into main menu.nib. once you've done that, do the following:
    open the applescript app delegate and add a new property called "tableController"
    select the table view in the object list (you may need to open some disclosure triangles to reach it). and add appropriate (an) column name(s). you can hide column titles later if you like, but having named columns makes life easier.
    select the array controller in the object list
    rename the array controller "table data"
    open the attributes inspector, and then add the column name(s) as key(s) in the object controller area
    open the bindings inspector, and where it says "controller content", open the disclosure arrow and bind the content to the App Delegate object on the model key path self.tableController
    select the table view in the object list again, then go down a level and select each column in turn
    for each column, open the bindings inspector, and where it says "value", open the disclosure arrow and bind the content to the Table Data object with the controller key arrangedObjects model key path being the name of the column (which is the name of the key in the controller as well)
    back in the applescript app delegate, add code like the following:
      -- create a list of records, where each record represents a row and the column name is the record key
      set myData to {{column_1_name:"hello"}}
      -- convert it to an NSArray and add it to the controller content. don't forget the *my* keyword, or it won't work
      set my tableController to NSArray's arrayWithArray:myData
      -- may or may not be needed
      myTableView's reloadData()
    That should populate the table with simple text. if you want something more complicated (like buttons or links) then create the more complicated elements separately and add them to the data.

  • How to pass a parameter in order to populate a table.

    I'm trying to create a page using ADF with JSF in JDeveloper 10.1.3 on Linux.
    I have a table binded to a view object with ExecuteWithParam operation. When the page opens the first time, the table should be empty. I need to populate the table dynamically by setting the parameter and executing the query. What's wrong with this code:
    ViewObject vo = am.findViewObject("ReportName");
    Long param = new Long(11);
    1.
    vo.setNamedWhereClauseParam("RepType", param);
    vo.executeQuery();
    No errors but nothing happened. Table is still empty.
    or
    2.
    vo.setWhereClauseParam(0,param);
    vo.executeQuery();
    I get:
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT ReportParameter.PRM_ID, ReportParameter.REP_TYPE_ID, ReportParameter.PRM_DESC FROM REPORT_PARAMETER ReportParameter WHERE ReportParameter.REP_TYPE_ID = :RepType ORDER BY ReportParameter.PRM_DESC
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:822)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:657)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3630)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3550)
         at oracle.tfmm.view.backing.Tree.tree1_disclosureListener(Tree.java:293)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         ... 28 more
    or
    3.
    ReportNameImpl impl = new ReportNameImpl();
    impl.setRepType(param);
    impl.executeQuery();
    I get:
    oracle.jbo.InvalidObjAccessException: JBO-25036: An invalid object operation was invoked on type View Object with name ReportNameImpl_106
         at oracle.jbo.server.ViewObjectImpl.getSyncLock(ViewObjectImpl.java:422)
         at oracle.jbo.server.ViewObjectImpl.getDefaultRowSet(ViewObjectImpl.java:1163)
         at oracle.jbo.server.ViewObjectImpl.setNamedWhereClauseParam(ViewObjectImpl.java:1612)
         at oracle.tfmm.datamodel.queries.ReportNameImpl.setRepType(ReportNameImpl.java:24)
         at oracle.tfmm.view.backing.Tree.tree1_disclosureListener(Tree.java:290)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         ... 31 more

    Hi,
    are you wanting to supress the query until the search parameters are entered?
    How about supplying a default value for your bind parameter. Something you know wont be in your table like "NO RESULTS"
    You can do this in the properties of your bind variable or manually in by overriding the create method of your view object.
    Btw, I believe the vo.setWhereClauseParam is not zero based. I think the first bind variable starts with 1.
    Brenden

  • How to populate a table in the html page from the java script

    Hi all,
    I have doubt in populating a table in the html page. my application is as follows
    I have a html page in which i have a combo box and a table following the combo box.
    i have to populate the table depending on the item selected in the combo box.
    for this i am using javascript to get the value of combo box onClick
    then i have to call some function thru jsp to get the data and then i have to populate the table with thst into from java script
    how can i do this, i.e populating html table from java script
    Thanks in advance
    satya

    Hi Mihai,
    You can populate data in DO_INIT_CONTEXT method of ur impl class in your Z component.
    data:
    lv_struct_ref type ref to YOUR_STRUCTURE,
    lv_value_node type ref to cl_bsp_wd_value_node,
    lv_bo_coll type ref to if_bol_bo_col.
    Data: current type ref to if_bol_bo_property_access.
    data: dref type ref to data.
    data: lv_guid_h type crmt_object_guid.
    data: lt_attr type table of YOUR_STRUCTURE.
    data: ls_attr type YOUR_STRUCTURE.
    data: lr_entity type ref to cl_crm_bol_entity.
    create object lv_bo_coll type cl_crm_bol_bo_col.
    lt_attr is ur internal table.
    Loop at lt_attr into ls_attr.
      create data lv_struct_ref.
      create object lv_value_node
           exporting
                iv_data_ref = lv_struct_ref.
    call method lv_value_node->if_bol_bo_property_access~set_property
    exporting
    iv_attr_name = 'YOURFIELDNAME1'
    iv_value = ls_attr-firstname.
    call method lv_value_node->if_bol_bo_property_access~set_property
    exporting
    iv_attr_name = ' YOURFIELDNAME2'
    iv_value = ls_attr-lastname.
    lv_bo_coll->add( lv_value_node ).
    typed_context->YOURCONTEXTNODE->set_collection( lv_bo_coll ).
    endloop.
    Regards,
    Raghu

  • How to populate a table in JDeveloper 9i on page display?

    Can anybody help me out regarding this issue.
    The issue is i want to populate a table on displaying a page in OAF using JDeveloper.
    The methods which i know are populating on clicking button,etc.
    But how to populate on first time page display.

    It would be easier to answer in case you have provided more details of what you are doing currently.
    Anyway, assuming that you are trying to show data from some DB table on an OA page and you have the mapping done on your OA table columns, all you need is call executeQuery on the VO attached to the table in the processRequest of the page controller.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to populate a table by sending a csv attachment to a particular mail id

    Hi Experts,
    I have to populate a table in the database by sending a csv attachment to a particular mail id.
    Eg:
    I have a table , test
    with fields: name, designation, address
    and i am sending a csv attachemnt with the values , name, designation, address to a generic email id say : [email protected]
    my table -test should be populated automatically with the values from the attached csv.
    Any idea how this can be achieved ?
    Regards,
    Archana

    Hi,
    Why cant you try uploading the data in your csv file to your table by using external table concepts? This would help you much i beleive.
      CREATE TABLE "EXT_EMP_TEST"
       (     "EMPNO" NUMBER,
         "EMPNAME" VARCHAR2(20 BYTE),
         "JOB" VARCHAR2(20 BYTE)
       ORGANIZATION EXTERNAL
        ( TYPE ORACLE_LOADER
          DEFAULT DIRECTORY "DUMP_DIR"
          ACCESS PARAMETERS
          ( RECORDS DELIMITED BY NEWLINE
               BADFILE 'emp.bad'
                          LOGFILE 't.log_xt'               
                          FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY ' " ' LDRTRIM
                          REJECT ROWS WITH ALL NULL FIELDS
                "EMPNO",
              "EMPNAME",
              "JOB"                                                                         
          LOCATION
           ( 'emp_det.dat'
       REJECT LIMIT UNLIMITED;
    {code}
    In the above code, default directory is the place where the file resides in your server. So before creating an external table you need to follow the below steps,
    1. Create a default directory.
    2. Place your file into that directory.
    3. Create an external table using the above script.
    4. Just execute the simple select statement upon that external table, {code} select * from EXT_EMP_TEST {code}
    *NOTE: In the above exaple i have used .dat file to load the data, you need to specify .csv over there*
    Regards,
    Sakthi.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to populate a Table from a WebApplication JSF from a MySQL database

    Hi,
    I'm trying to populate a table on a WebApplication JSF. I don't know how the table can be filled with informations from a MySQL database.
    Please show me the way.

    In the future, JSF related questions should be posted in a forum devoted to JSF: [http://forums.sun.com/forum.jspa?forumID=427].
    Regarding to your question, you may find this article useful: [http://balusc.blogspot.com/2006/06/using-datatables.html].

  • How to populate a table based on a row selection from another table.

    Hi, i just started to use ADF BC and Faces. Could some one help me or point me a solution on the following scenario .
    By using a search component , a table is being displayed as a search result. If i select any row in the resulted table , i need to populate an another table at the bottom of the same page from another view. These two tables are related by primary key . May i know how to populate a table based on a row selection from another table. Thanks
    ganesh

    I understand your requirement and the tutorial doesn't talk about Association between the views so that you can create a Master-Detail or in DB parlance, a Parent-Child relationship.
    I will assume that we are dealing with two entities here: Department and Employees where a particular Department has many Employees and hence a Parent-Child relationship.
    Firstly, you need to create an Association between the two Entities - Department and Employees. You can do that by right clicking on the model's entity and then associating the two entities with the appropriate key say, DepartmentId.
    Once you have done that, you need to link the two entities in the View section with this Association that you created. Then go to AppModule and make sure that in the Available View Objects: 'EmployeesView' appears under 'DepartmentView' as "EmployeesView via <link you created>". Shuttle the 'DepartmentView' to the right, Data Model and then shuttle
    "EmployeesView via <link you created>" to the right, Data Model under 'DepartmentView'.
    This will then be reflected in your Data Controls. After that, you simply would have to drag this View into your page as a Master-Detail form...and then when you run this page, any row selected in the Master table, would display the data in the Detail table.
    Also, refer to this link: [Master-Detail|http://baigsorcl.blogspot.com/2010/03/creating-master-detail-form-in-adf.html]
    Hope this helps.

  • I can't populate a TableView. NullPointerException in TableView

    Hi all.
    I'm having a lot of problems to populate a table with data.
    The following is my code:
    public class Panel_MarcadoresController implements Initializable {
        @FXML static Tab lineas;
        @FXML TabPane marcadores;
        @FXML Button finalizarPolilinea;
        @FXML ComboBox comboGrosorLinea;
        @FXML TableView<CoordenadasLinea> tablaCoordenadasDeLinea;
        @FXML TableColumn itemCol;
        @FXML TableColumn latitudCol;
        @FXML TableColumn longitudCol;
       @Override
        public void initialize(URL url, ResourceBundle rb)
        public void leerCoordenadasLineaDesdeMapa(String datos)
            Pattern p = Pattern.compile("[,]+");
            String[] result = p.split(datos);
            ObservableList<CoordenadasLinea> dataCoordLinea = FXCollections.observableArrayList();
            int item = 0;
            String latitud = "";
            String longitud  = "";
            for (int i = 0; i < result.length; i++)
                item =  i;
                latitud = result;
    longitud = result [i];
    CoordenadasLinea coordenadasLinea = new CoordenadasLinea(latitud,longitud);
    dataCoordLinea.add(coordenadasLinea);
    tablaCoordenadasDeLinea.setItems(dataCoordLinea);
    ///// The following is a inner class
    public class CoordenadasLinea
    //private final SimpleIntegerProperty item = new SimpleIntegerProperty();
    private final SimpleStringProperty latitud = new SimpleStringProperty("");
    private final SimpleStringProperty longitud = new SimpleStringProperty("");
    public CoordenadasLinea()
    this("","");
    public CoordenadasLinea(String lat, String Long)
    setLatitud(lat);
    setLongitud(Long);
    // public void setItem(int it)
    // item.set(it);
    public void setLatitud(String lat)
    latitud.set(lat);
    public void setLongitud(String lon)
    longitud.set(lon);
    // public int getItem()
    // return item.get();
    public String getLatitud()
    return latitud.get();
    public String getlongitud()
    return longitud.get();
    My FXML file:<?xml version="1.0" encoding="UTF-8"?>
    <?import java.lang.*?>
    <?import java.net.*?>
    <?import java.util.*?>
    <?import javafx.collections.*?>
    <?import javafx.scene.*?>
    <?import javafx.scene.control.*?>
    <?import javafx.scene.layout.*?>
    <?import javafx.collections.*?>
    <?import javafx.geometry.Insets?>
    <?import java.lang.*?>
    <?import javafx.scene.*?>
    <?import javafx.scene.control.*?>
    <?import javafx.scene.control.cell.*?>
    <?import javafx.scene.layout.*?>
    <?import fxmltableview.*?>
    <AnchorPane id="AnchorPane" prefHeight="798.0" prefWidth="426.0" styleClass="mainFxmlClass, frame" xmlns:fx="http://javafx.com/fxml" fx:controller="signa.Panel_MarcadoresController">
    <children>
    <TableView fx:id="coordenadasDeLinea" layoutX="47.0" layoutY="436.0" prefHeight="138.0" prefWidth="317.0">
    <columns>
    <TableColumn prefWidth="75.0" text="Item" fx:id="itemCol"/>
    <TableColumn prefWidth="120.0" text="Latitud" fx:id="latitudCol" >
    <cellValueFactory>
    <PropertyValueFactory property="latitud" />
    </cellValueFactory>
    </TableColumn>
    <TableColumn prefWidth="120.0" text="Longitud" fx:id="longitudCol" >
    <cellValueFactory>
    <PropertyValueFactory property="longitud" />
    </cellValueFactory>
    </TableColumn>
    </columns>
    </TableView>
    </children>
    <layoutY>
    <Long fx:value="0" />
    </layoutY>
    <stylesheets>
    <URL value="@SIGNA.css" />
    </stylesheets>
    </AnchorPane>
    The idea is that the table is filled with the data that is passed as a parameter to the method.
    I've tried everything and I can't ... with this last code I present here, I get this exception: 
    Exception in thread "Thread-5" java.lang.NullPointerException
    at signa.Panel_MarcadoresController.leerCoordenadasLineaDesdeMapa(Panel_MarcadoresController.java:122)   this points here: tablaCoordenadasDeLinea.setItems(dataCoordLinea); I think I'm making a basic error but I'm locked ... help                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Here I am calling the changeMap
    public class ClientExecution implements Runnable
        private Socket socket;
        //private Panel_MarcadoresController controladorDePanel;
        //Given what you said, I tried to do this
        public ClientExecution( Socket socket, Panel_MarcadoresController contPanel)
               this.socket = socket;
            this.controladorDePanel = contPanel;
        public void run ()
            try
                 String instruccion ="";
                 String datos="";
                 EvaluateInput evaluateInput = new EvaluateInput(controladorDePanel);
                 evaluateInput.changeMap(instruccion, datos);     
            catch (IOException e)
             {             e.printStackTrace();          }
    }I made this change in EvaluateInput:
    public  class EvaluateInput extends Evaluate
        private String datos;
        private Panel_MarcadoresController controladorMarcadores;
        public EvaluateInput (Panel_MarcadoresController contMarcadores)
            this.controladorMarcadores = contMarcadores;
        public EvaluateInput()
        public void changeMap(String instruccion, String datos)
            Pattern p = Pattern.compile("[,]+");
            String[] result = p.split(datos);
            switch(instruccion)
                case "@SELECT_OPEATIONAL_ AREA#" :
                    CODE...
                break;
                case "@CLOSE_POLYLINE_VALUES#" :
                       controladorMarcadores.leerCoordenadasLineaDesdeMapa(datos);
                break;
    }Here I invoke the class ClientExecution
    public class SocketCatcherClients implements Runnable  
         Panel_MarcadoresController controladorMarcadores;
         public SocketCatcherClients(Panel_MarcadoresController contMarcadores)
            this.controladorMarcadores = contMarcadores;
       public void run()
           try
              Runnable nuevoCliente = new ClientExecution(cliente, controladorMarcadores); //Here I tried to pass the object
              Thread hilo = new Thread(nuevoCliente);
              hilo.start();
            }catch (Exception e)
                 e.printStackTrace();
    }Finally, I made this change in Main class...
    public class Main extends Application {
         public static void main(String[] args) {
            Application.launch(Main.class, (java.lang.String[])null);
    public void start(Stage primaryStage) {
            try {
                     CODE...
                     FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("Panel_Marcadores.fxml"));
                     Panel_MarcadoresController controller = (Panel_MarcadoresController) fxmlLoader.getController();   //This object appears NULL
                    (new Thread(new SocketCatcherClients(controller))).start();
             catch (Exception ex) {
                Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
    }Debugging I found that the controller (Panel_MarcadoresController ) object is null

  • Populate final table in Function module

    hi,
    please tell me the way to populate the final intenal table in function module, form four of the other tables with the corresponding data. i'd like to know how to move fileds of one table to other with maximum performance, can i user move-corresponding for the same.........

    hi,
    There are two ways to move the data ....
    1. You can loop through the table data and move the corresponding field on to your final internal table .
    2. You can directly assign the table value ...but remember the stucture of both the tables should be same.
    i.e,
    itab1[] = itab[].
    Regards,
    Santosh

  • Can we create internal table dynamically ? how?

    hi to all experts,
                           can we create internal table dynamically ? how?plz explain me with an example.Anybody with good example  will be rewarded.it was asked in an interview what the answer for it

    HI
    Yes you can create
    see this
    /people/rich.heilman2/blog/2005/07/27/dynamic-internal-tables-and-structures--abap
    JUST USE THIS CODE AND DO THE ESSENTIAL CHANGES ACCORDING TO YOU
    STEP: 1 - get backend field catalog (currently displayed alv)
    CLEAR: tl_fieldcatalog. REFRESH: tl_fieldcatalog.
    CALL METHOD w_grid->get_backend_fieldcatalog
    IMPORTING
    et_fieldcatalog = tl_fieldcatalog.
    STEP: 2 - create a new fieldcatalog for dynamic internal table
    CLEAR: sl_fieldcatalog.
    CLEAR: t_outtab_fieldname. REFRESH: t_outtab_fieldname.
    CLEAR: tl_fieldcatalog_new. REFRESH: tl_fieldcatalog_new.
    CLEAR: t_download_fieldname. REFRESH: t_download_fieldname.
    CLEAR: t_download_fieldheading. REFRESH: t_download_fieldheading.
    LOOP AT tl_fieldcatalog INTO sl_fieldcatalog.
    STEP: 2.1 - populate data in T_OUTTAB_FIELDNAME
    APPEND sl_fieldcatalog-fieldname TO t_outtab_fieldname.
    STEP: 2.2 - populate TL_FIELDCATALOG_NEW & T_DOWNLOAD_FIELDNAME
    IF sl_fieldcatalog-no_out EQ ''.
    IF sl_fieldcatalog-fieldname NE 'STATUS'
    OR sl_fieldcatalog-fieldname NE 'MESG_STATUS'
    OR sl_fieldcatalog-fieldname NE 'ZLOCK'
    OR sl_fieldcatalog-fieldname NE 'T_PLANT'
    OR sl_fieldcatalog-fieldname NE 'T_CSR'.
    If field is COMM_PLANT, change its length
    IF sl_fieldcatalog-fieldname EQ 'COMM_PLANT'.
    sl_fieldcatalog-outputlen = 1800.
    sl_fieldcatalog-intlen = 1800.
    sl_fieldcatalog-dd_outlen = 1800.
    ENDIF. "comm_plant
    sl_fieldcatalog_new = sl_fieldcatalog.
    APPEND sl_fieldcatalog_new TO tl_fieldcatalog_new.
    APPEND sl_fieldcatalog-fieldname TO t_download_fieldname.
    APPEND sl_fieldcatalog-scrtext_l TO t_download_fieldheading.
    CLEAR: sl_fieldcatalog, sl_fieldcatalog_new.
    ENDIF.
    ENDIF.
    ENDLOOP.
    STEP: 3 - create dynamic internal table
    FREE: ref_download.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
    EXPORTING
    I_STYLE_TABLE =
    it_fieldcatalog = tl_fieldcatalog_new
    IMPORTING
    ep_table = ref_download
    E_STYLE_FNAME =
    EXCEPTIONS
    generate_subpool_dir_full = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ASSIGN ref_download->* TO <ft_download>.
    CREATE DATA ref_wa LIKE LINE OF <ft_download>.
    ASSIGN ref_wa->* TO <fs_download>.
    STEP: 4 - populate data in dynamic internal table
    LOOP AT t_outtab INTO wa_outtab.
    LOOP AT t_download_fieldname.
    ASSIGN COMPONENT t_download_fieldname OF STRUCTURE
    <fs_download> TO <fs_download_field>.
    IF t_download_fieldname-field EQ 'COMM_PLANT'.
    STEP: 4.1 - get long text from database table
    CLEAR: wal_table.
    SELECT SINGLE * FROM zshaven_plnt_txt
    INTO wal_table
    WHERE vbeln = wa_outtab-vbeln
    AND posnr = wa_outtab-posnr
    AND del_no = wa_outtab-del_no
    AND del_itm = wa_outtab-del_itm.
    IF sy-subrc EQ 0.
    STEP: 4.2 - break long-text into separate lines
    CLEAR: tl_text. REFRESH: tl_text.
    SPLIT wal_table-plant_comm
    AT '~'
    INTO TABLE tl_text.
    STEP: 4.3 - Combine these separate lines with space in
    between two lines
    CLEAR: wal_text, final_text.
    LOOP AT tl_text INTO wal_text.
    IF final_text IS INITIAL.
    final_text = wal_text.
    ELSE.
    CONCATENATE final_text '-' wal_text
    INTO final_text.
    REPLACE '-' WITH ' ' INTO final_text.
    ENDIF.
    ENDLOOP.
    STEP: 4.4 - move long text to work-area
    <fs_download_field> = final_text.
    ENDIF. "subrc
    ELSE. "t_download_fieldname
    READ TABLE t_outtab_fieldname
    WITH KEY field = t_download_fieldname-field.
    ASSIGN COMPONENT t_outtab_fieldname-field OF STRUCTURE
    wa_outtab TO <fs_outtab_field>.
    <fs_download_field> = <fs_outtab_field>.
    ENDIF.
    ENDLOOP.
    STEP: 4.5 - Move data from work-area to dynamic internal table
    APPEND <fs_download> TO <ft_download>.
    CLEAR: <fs_download>.
    ENDLOOP.
    STEP: 5 - download
    CALL FUNCTION 'DOWNLOAD'
    EXPORTING
    filename = 'C:\zshaven.xls'
    filetype = 'DAT'
    filetype_no_show = 'X'
    filetype_no_change = 'X'
    TABLES
    data_tab = <ft_download>
    fieldnames = t_download_fieldheading
    EXCEPTIONS
    invalid_filesize = 1
    invalid_table_width = 2
    invalid_type = 3
    no_batch = 4
    unknown_error = 5
    gui_refuse_filetransfer = 6
    customer_error = 7
    OTHERS = 8.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.

  • How can i populate records using LOV value in form 6i

    Create a form based on the following output use EMP Table
    Create a non Database Block i.e Control Block----> Dept No
    Create a Database Block -EMP
    Create an LOV for the Dept no from dept table.
    For the Current Dept No . Populate the Employee Records
    How can i populate records using LOV value????
    thanks

    How can i populate records using LOV value in form 6i Start by posting in the correct forum: {forum:id=82}
    (Seriously: after making all your previous posts in the Forms forum, how do you end up posting in this one? Is it because the Forms forum has changed category?)

Maybe you are looking for