UITableView not reloading the Data

Hello,
I am new to Xcode and i am facing problem with UITableview , What my app is doing is getting the list of the items from internet and show in (View 1) which have UITableView and working good (no problem in it) now after that as soon i click on any item it takes to (View 2) which shows Selected Item Details and i have Grouped Style UITableView (4 Sections and each have 3 rows and each rows have UITextField) in it. this step also work fine now as soon i go back to (View 1) and select any other item and when i see (View 2) the data in rows didn't changed below is the following code :
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
NSString *MyCell = [NSString stringWithFormat: @"%d:%d", [ indexPath indexAtPosition: 0 ], [ indexPath indexAtPosition:1 ]];
cell = [tableView dequeueReusableCellWithIdentifier:MyCell];
if (cell == nil) {
UITableViewCell *cell = [[[UITableViewCell alloc ] initWithFrame: CGRectZero reuseIdentifier: MyCell] autorelease ];
cell.selectionStyle = UITableViewCellSelectionStyleNone;
// Creating UITableField In Each Rows of Each Sections
[self CreateUIFieldWithData:indexPath :cell];
return cell;
now after i have facing the problem what i did is below :
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
NSString *MyCell = [NSString stringWithFormat: @"%d:%d", [ indexPath indexAtPosition: 0 ], [ indexPath indexAtPosition:1 ]];
UITableViewCell *cell = [[[UITableViewCell alloc ] initWithFrame: CGRectZero reuseIdentifier: MyCell] autorelease ];
cell.selectionStyle = UITableViewCellSelectionStyleNone;
// Creating UITableField In Each Rows of Each Sections
[self CreateUIFieldWithData:indexPath :cell];
return cell;
after doing this everything is working fine and data is reloading also but but this is creating a new problem is that if i open the view 2 for adding the new item and as soon i enter the something in UITextField and scroll down and scroll up everything which i type is gone. i know why its doing that but i m stuck now and i don't know what to do.

I m using Multi-View Based Template
so can you tell me how to delete the data from reuse queue??
also let me show the code which is adding the UIFieldText and data on it.
below is the code for View 2
- (void) CreateUIFieldWithData:(NSIndexPath *)myPath:(UITableViewCell *)myCell{
if (myPath.section == 0) {
if (myPath.row == 0){
UITextField *myField1 = [[UITextField alloc] initWithFrame:CGRectMake(10, 10, 280, 25)];
myField1.placeholder = @"App Name";
myField1.tag = 101;
if (isEdit == TRUE){
myField1.text = [CopyArrInfo objectAtIndex:2];
NSLog(@"Field 1 : %@" , [CopyArrInfo objectAtIndex:2]);
[myField1 addTarget:self action:@selector(DoneKeyBoard:) forControlEvents:UIControlEventEditingDidEndOnExit];
if (myCell != nil) {
[myCell.contentView addSubview:myField1];
[myField1 release];
AppName = (UITextField *)[myCell viewWithTag:101];
// Section 0 Row 2
if (myPath.row == 1){
UITextField *myField2 = [[UITextField alloc] initWithFrame:CGRectMake(10, 10, 280, 25)];
myField2.placeholder = @"App Target Audience";
myField2.tag = 102;
if (isEdit == TRUE){
myField2.text = [CopyArrInfo objectAtIndex:4]; // App Target Audience
[myField2 addTarget:self action:@selector(DoneKeyBoard:) forControlEvents:UIControlEventEditingDidEndOnExit];
if (myCell != nil) {
[myCell.contentView addSubview:myField2];
[myField2 release];
TargetAudi = (UITextField *)[myCell viewWithTag:102];
// Section 0 Row 3
if (myPath.row == 2){
UITextField *myField3 = [[UITextField alloc] initWithFrame:CGRectMake(10, 10, 280, 25)];
myField3.placeholder = @"App Competitor";
myField3.tag = 103;
if (isEdit == TRUE){
myField3.text = [CopyArrInfo objectAtIndex:5]; // App Competitor
[myField3 addTarget:self action:@selector(DoneKeyBoard:) forControlEvents:UIControlEventEditingDidEndOnExit];
if (myCell != nil) {
[myCell.contentView addSubview:myField3];
[myField3 release];
Competition = (UITextField *)[myCell viewWithTag:103];
if (myPath.section == 1) {
if (myPath.row == 0){
UITextField *myField4 = [[UITextField alloc] initWithFrame:CGRectMake(10, 10, 280, 25)];
myField4.placeholder = @"App Description";
myField4.tag = 104;
if (isEdit == TRUE){
myField4.text = [CopyArrInfo objectAtIndex:3]; // App Description
[myField4 addTarget:self action:@selector(DoneKeyBoard:) forControlEvents:UIControlEventEditingDidEndOnExit];
if (myCell != nil) {
[myCell.contentView addSubview:myField4];
[myField4 release];
AppDescription = (UITextField *)[myCell viewWithTag:104];
if (myPath.section == 2) {
if (myPath.row == 0){
UISlider *mySlider1 = [[UISlider alloc] initWithFrame:CGRectMake( 126 , 0, 150, 50)];
mySlider1.maximumValue = 10;
mySlider1.minimumValue = 1;
mySlider1.tag=201;
if (isEdit == TRUE){
NSString *mOrg = [CopyArrInfo objectAtIndex:6];
[mySlider1 setValue:[mOrg integerValue]]; // Original
mySlider1.continuous=NO;
myCell.textLabel.text = @"Originality";
if (myCell != nil) {
[myCell.contentView addSubview:mySlider1];
[mySlider1 release];
Org = (UISlider *)[myCell viewWithTag:201];
if (myPath.row == 1){
UISlider *mySlider2 = [[UISlider alloc] initWithFrame:CGRectMake(126, 0, 150, 50)];
mySlider2.maximumValue = 10;
mySlider2.minimumValue = 1;
mySlider2.tag =202;
if (isEdit == TRUE){
NSString *mSim = [CopyArrInfo objectAtIndex:7];
[mySlider2 setValue:[mSim integerValue]]; // Simple
NSLog(@"Count : %i" , [CopyArrInfo count] );
mySlider2.continuous=NO;
myCell.textLabel.text = @"Simplicity";
if (myCell != nil) {
[myCell.contentView addSubview:mySlider2];
[mySlider2 release];
Simply = (UISlider *)[myCell viewWithTag:202];
if (myPath.row == 2){
UISlider *mySlider3 = [[UISlider alloc] initWithFrame:CGRectMake(126, 0, 150, 50)];
mySlider3.maximumValue = 10;
mySlider3.minimumValue = 1;
mySlider3.tag =203;
if (isEdit == TRUE){
NSString *mFunc = [CopyArrInfo objectAtIndex:8];
[mySlider3 setValue:[mFunc integerValue]]; // Function
mySlider3.continuous=NO;
myCell.textLabel.text = @"Functionality";
if (myCell != nil) {
[myCell.contentView addSubview:mySlider3];
[mySlider3 release];
Function = (UISlider *)[myCell viewWithTag:203];
if (myPath.row == 3){
UISlider *mySlider4 = [[UISlider alloc] initWithFrame:CGRectMake(126, 0, 150, 50)];
mySlider4.maximumValue = 10;
mySlider4.minimumValue = 1;
mySlider4.tag =204;
if (isEdit == TRUE){
NSString *mPro = [CopyArrInfo objectAtIndex:9];
[mySlider4 setValue:[mPro integerValue]]; // Profit
mySlider4.continuous=NO;
myCell.textLabel.text = @"Profitable";
if (myCell != nil) {
[myCell.contentView addSubview:mySlider4];
[mySlider4 release];
Profit = (UISlider *)[myCell viewWithTag:204];
if (myPath.row == 4){
UISlider *mySlider5 = [[UISlider alloc] initWithFrame:CGRectMake(126, 0, 150, 50)];
mySlider5.maximumValue = 10;
mySlider5.minimumValue = 1;
mySlider5.tag =205;
if (isEdit == TRUE){
NSString *mFun = [CopyArrInfo objectAtIndex:10];
[mySlider5 setValue:[mFun integerValue]]; // Fun
mySlider5.continuous=NO;
myCell.textLabel.text = @"Fun";
if (myCell != nil) {
[myCell.contentView addSubview:mySlider5];
[mySlider5 release];
Fun = (UISlider *)[myCell viewWithTag:205];
if (myPath.section == 3) {
if (myPath.row == 0){
UILabel *myLbl = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, 280, 25)];
if (isEdit == TRUE){
myLbl.text = [CopyArrInfo objectAtIndex:11];
}else{
myLbl.text = @"Not Updated Yet";
if (myCell != nil) {
[myCell.contentView addSubview:myLbl];
[myLbl release];
if (myPath.section == 4) {
if (myPath.row == 0){
UIButton *myBnt = [[UIButton alloc] initWithFrame:CGRectMake(10, 10, 280, 25)];
if (isEdit == TRUE){
[myBnt setTitle:@"Update" forState:UIControlStateNormal];
}else{
[myBnt setTitle:@"Submit" forState:UIControlStateNormal];
[myBnt setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
[myBnt setTitleColor:[UIColor redColor] forState:UIControlStateSelected];
[myBnt addTarget:self action:@selector(Submit:) forControlEvents:UIControlEventTouchDown];
if (myCell != nil) {
[myCell.contentView addSubview:myBnt];
[myBnt release];
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
if (section == 0){
return 3;
if (section == 1){
return 1;
if (section == 2){
return 5;
if (section == 3){
return 1;
if (section == 4){
return 1;
return 0;
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section{
if (section == 0){
return @"App Information";
if (section == 1){
return @"App Description";
if (section == 2){
return @"App Feasibility";
if (section == 3){
return @"App Status";
if (section == 4){
return @"Actions";
return 0;
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
if (CopyArrInfo == nil) CopyArrInfo = [SelInfoArr copy];
if ([CopyArrInfo count] > 1) {
MyCell = [NSString stringWithFormat: @"i%:%d:%d",[CopyArrInfo objectAtIndex:1], [ indexPath indexAtPosition: 0 ], [ indexPath indexAtPosition:1 ]];
}else {
MyCell = [NSString stringWithFormat: @":%d:%d", [ indexPath indexAtPosition: 0 ], [ indexPath indexAtPosition:1 ]];
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyCell];
if (cell == nil) {
cell = [[[UITableViewCell alloc ] initWithFrame: CGRectZero reuseIdentifier: MyCell] autorelease ];
cell.selectionStyle = UITableViewCellSelectionStyleNone;
[self CreateUIFieldWithData:indexPath :cell];
return cell;
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
return 5;
- (void) viewDidAppear:(BOOL)animated{
[TVD reloadData];
NSIndexPath *mPath = [NSIndexPath indexPathForRow:0 inSection:0];
[TVD scrollToRowAtIndexPath:mPath atScrollPosition:UITableViewScrollPositionTop animated:YES];
[super viewDidAppear:animated];
- (IBAction)Back{
isEdit == FALSE;
if (CopyArrInfo != nil) CopyArrInfo = nil;
[self.parentViewController dismissModalViewControllerAnimated:YES];
can you help me in that how to delete data from reuse que?
as on VIew 1 i am just showing the view 2 like
[self presentModalViewController:_View2 animated:YES];

Similar Messages

  • Not able to reload the data from DB using finder methods

    Hi all,
    <p>
    I am facing a weird problem while using finder methods.
    I am using weblogic 8.1 SP3 and entity beans are CMP with DB concurrency.DB is oracle
    </p>
    <h4>Problem Description</h4>
    <p>
    I am having one session bean which internally interacts with my entity beans,
    Now say my transaction is getting initiated in one of the session bean and I use some finder in it.
    </p>
    <p>
    To make the problem more clear lets say my entity bean is loanBean with loanId as primary key.
    Now say method A of session bean initiates the transaction and I use something like
    <br>
    LoanLocal loanLocal =loanLocalHome.findByLoanId(loanId);
    <br>
    <b>Note that I am not using findByPrimaryKey method</b>
    <br>
    now this method A calls some other method B on some session bean which is having Required as its transaction attribute.
    <br>
    But before the call of B some other thread or background process updates the DB for this loanId and commits,
    <br>
    now when I fire the same finder in method B I am still getting the old data, ie I am not getting the data which has been modified in DB and committed by some other thread, I still get the old data and when I tried to generate the SQL queries which weblogic is firing, I see
    it fires the SQL for every finder other that findByPrimaryKey.
    <br>
    <b>
    Now my problem is I am getting the old data only and I need the new updated data of DB. isolation-level of DB and beans is READCOMMITTED.
    Note:: I cant use new transaction to read the data.
    </b>
    <br>
    And I couldn't understand that when weblogic is firing query for every finder then why it should not refresh the data in its cache. Is there any way to disable this kind of caching and say that everytime when i use finder just go to DB and get me the last committed data.
    </p>
    <br>
    Any help in this regard would be very helpful to me.
    <br>
    Thanks and Regards
    <br>
    Manish Garg.
    </p>

    Hi,
    In my understanding, cache is not involved in this scenario. As you
    observed, the container fires sql every time when you invoke this finder.
    So, it should just give the result that it got from the DB. Is there a
    possibility that the DB is using repeatable_read or serializable for
    isolation level?
    You can debug further by doing couple of things -
    1. Instrument the code in the generated RDBMS java file for the entity bean
    (if you use -keepgenerated option for weblogic.ejbc, u can get the source of
    this file). This class will have the implementation for ejbFindByLoanId. You
    can just print the result set data after the query is fired.
    2. Try the same scenario without the ejb container. Like, write a jsp which
    will start a user tx and fire the query twice such that there is an update
    between the two queries. Note that, you need to use a TxDataSource to get
    the JDBC connection so that it will be tx aware.
    --Sathish
    <Manish Garg> wrote in message news:[email protected]...
    Hi all,
    <p>
    I am facing a weird problem while using finder methods.
    I am using weblogic 8.1 SP3 and entity beans are CMP with DB
    concurrency.DB is oracle
    </p>
    <h4>Problem Description</h4>
    <p>
    I am having one session bean which internally interacts with my entity
    beans,
    Now say my transaction is getting initiated in one of the session bean and
    I use some finder in it.
    </p>
    <p>
    To make the problem more clear lets say my entity bean is loanBean with
    loanId as primary key.
    Now say method A of session bean initiates the transaction and I use
    something like
    <br>
    LoanLocal loanLocal =loanLocalHome.findByLoanId(loanId);
    <br>
    <b>Note that I am not using findByPrimaryKey method</b>
    <br>
    now this method A calls some other method B on some session bean which is
    having Required as its transaction attribute.
    <br>
    But before the call of B some other thread or background process updates
    the DB for this loanId and commits,
    <br>
    now when I fire the same finder in method B I am still getting the old
    data, ie I am not getting the data which has been modified in DB and
    committed by some other thread, I still get the old data and when I tried
    to generate the SQL queries which weblogic is firing, I see
    it fires the SQL for every finder other that findByPrimaryKey.
    <br>
    <b>
    Now my problem is I am getting the old data only and I need the new
    updated data of DB. isolation-level of DB and beans is READCOMMITTED.
    Note:: I cant use new transaction to read the data.
    </b>
    <br>
    And I couldn't understand that when weblogic is firing query for every
    finder then why it should not refresh the data in its cache. Is there any
    way to disable this kind of caching and say that everytime when i use
    finder just go to DB and get me the last committed data.
    </p>
    <br>
    Any help in this regard would be very helpful to me.
    <br>
    Thanks and Regards
    <br>
    Manish Garg.
    </p>

  • Refresh/reload the data of a particular sector/subform/object

    Hey,
    I've searched the forum for performance optimization, but I found only hints why a form may be slow.
    For example, a lot of data in drop down boxes or inactive caching on server side......
    But that doesn't help me really.
    Is it possible not to reload the whole form?  For example, to reload the data of a subform or a  single table.
    In this Threada: [Hiring Adobe Form-Performance problem]
    its a similar question, but I think it was not really answered if it works.
    It was only dissuaded him from this....
    Regards Florian

    Hello,
    in the latest releases the form is regenareted completely upon actions. There is only an XML data transmission to the server, and it returns an "update xml" what is merged into the PDF file by the reader.
    In older releases unfortunatelly the form is always regenerated from the data and template.
    Best regards,
    Dezso

  • View the .rtf file not display the data in BI Publisher Enterprise.

    Hi,
    Platform: OBIEE 10g in NT XPsp2
    View the .rtf file not display the data in BI Publisher Enterprise.
    Step 1, I created Answer-request, create .rtf file with Word and add the request name, Add bar chart and table, preview PDF is working fine with data, Upload this template to Answers, View Template from Answer is working fine with data.
    Step 2, Answers – More Products > BI Publisher > My Folders > Create a new report > Edit > Data Model > New > Type: SQL Query > Data Source: Oracle BI EE > Query Builder > from SupplierSales assign Customer, Periods, Sales Facts (select Region, state, Year, Units Shipped) > Results > Save > Save
    Click Layouts > New > enter Name ….. > Click Layouts > borrows .rtf file in Manage T file > Upload > Save > Click View
    It is showing only the .rtf file without data. Why there is no data?
    Please guide me to solve this issue.
    Thanks,
    Jo

    Thanks for you reply,
    Our scenario is this report is basically a dissconnected mode report... we are developing these reports for mobile clients.
    We dint face this kind of issue while developing other reports.
    So please let us know if you have any idea on why we are facing this issue.
    Regards,
    Maneesh

  • Strange scenario,Oracle can not display the data in mysql correctly

    I use Heterogeneous Service+ODBC to achieve "oracle access mysql"(any other method?),and now i find Oracle can not display the data in mysql correctly:
    -------mysql------------
    mysql> create table tst(id int,name varchar(10));
    Query OK, 0 rows affected (0.00 sec)
    mysql> insert into tst values(1,'a');
    Query OK, 1 row affected (0.00 sec)
    mysql> select * from tst;
    ------------+
    | id | name |
    ------------+
    | 1 | a |
    ------------+
    1 row in set (0.00 sec)
    mysql> show create table tst\G
    *************************** 1. row ***************************
    Table: tst
    Create Table: CREATE TABLE `tst` (
    `id` int(11) DEFAULT NULL,
    `name` varchar(10) DEFAULT NULL
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8
    1 row in set (0.00 sec)
    -------------oracle ------------------
    SQL> select count(*) from "tst"@mysql;
    COUNT(*)
    49
    SQL> select * from "tst"@mysql;
    id
    1
    SQL> desc "tst"@mysql;
    Name Null? Type
    id NUMBER(10)

    You can make the following query on the result page:
    "select * from the_table where movietitle = ? and cinema = ?"
    then you set movietitle and cinema to those which the user selected. If the resultset contains more than 0 rows, that means the movie is available.
    Below is the sample code, it assumes you have a connection to the database:
    PreparedStatement stat = myConnection.prepareStatement("select * from the_table where movietitle = ? and cinema = ?");
    stat.setString(1, usersMovieTitleSelection);
    stat.setString(2, usersCinemaSelection);
    ResultSet res = stat.executeQuery();
    if (res.next()) {
    out.print("The movie is available");
    } else {
    out.print("The movie is not available");
    }Now just add that to your JSP page. Enjoy ! =)

  • " Can not interpret the data in file " error while uploading the data in DB

    Dear All ,
    After running the below report I am getting the " Can not interpret the data in file " error.
    Need to upload the data in DB through excel or .txt file.
    Kindly advise to resolve the issue.
    REPORT  ZTEST_4.
    data : it like ZPRINT_LOC occurs 0 with header line,
    FILETABLE type table of FILE_TABLE,
    wa_filetable like line of filetable,
    wa_filename type string,
    rc type i.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
    CHANGING
    FILE_TABLE = filetable
    RC = rc.
    IF SY-SUBRC = 0.
    read table filetable into wa_filetable index 1.
    move wa_filetable-FILENAME to wa_filename.
    Else.
    Write: / 'HI'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    start-of-selection.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = wa_filename
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = 'X'
    TABLES
    DATA_TAB = it.
    IF SY-SUBRC = 0.
    Write: / 'HI'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    insert ZPRINT_LOC from table it.
    if sy-subrc = 0.
    commit work.
    else.
    rollback work.
    endif.
    Regards
    Machindra Patade
    Edited by: Machindra Patade on Apr 9, 2010 1:34 PM

    Dear dedeepya reddy,
    Not able to upload the excel but have sucess to upload the .csv file to db through the below code. Thanks for your advise.
    REPORT  ZTEST_3.
             internal table declaration
    DATA: itab TYPE STANDARD TABLE OF ZPRINT_LOC,
          wa LIKE LINE OF itab,
          wa1 like line of itab.
                       variable  declaration
    DATA: v_excel_string(2000) TYPE c,
           v_file LIKE v_excel_string VALUE    'C:\Documents and Settings\devadm\Desktop\test.csv',  " name of the file
            delimiter TYPE c VALUE ' '.         " delimiter with default value space
         read the file from the application server
      OPEN DATASET v_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    write:/ 'error opening file'.
      ELSE.
        WHILE ( sy-subrc EQ 0 ).
          READ DATASET v_file INTO wa.
          IF NOT wa IS INITIAL.
            append wa TO itab.
          ENDIF.
          CLEAR wa.
        ENDWHILE.
      ENDIF.
    CLOSE DATASET v_file.
    EXEC SQL.
         TRUNCATE TABLE "ZPRINT_LOC"
    ENDEXEC.
    *------display the data from the internal table
    LOOP AT itab into wa1.
    WRITE:/ wa1-mandt,wa1-zloc_code,wa1-zloc_desc,wa1-zloc,wa1-zstate.
    ENDLOOP.
    insert ZPRINT_LOC from table itab.

  • Any idea what this errorr means? the data type of the reference does not match the data type of the variable

    I am using Veristand 2014, Scan Engine and EtherCat Custom Device.  I have not had this error before, but I was trying to deploy my System Definition File (run) to the Target (cRio 9024 with 6 modules) and it failed. It wouldn't even try to communicate with the target. I get the 'connection refused' error.  
    I created a new Veristand project
    I added the Scan Engine and EtherCat custom device.
    I changed the IP address and auto-detected my modules
    i noticed tat Veristand didn't find one of my modules that was there earlier. (this week)
     So, i went to NiMax to make sure software was installed and even reinstalled Scan Engine and Veristand just to make sure.
    Now, it finds the module, but when i go to deploy it getsto the last step of deploying the code to the target, and then it fails.
    Any thoughts?
    Start Date: 4/10/2015 11:48 AM
    • Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2014\Projects\testChassis\testChassis.nivssdf
    • Initializing TCP subsystem...
    • Starting TCP Loops...
    • Connection established with target Controller.
    • Preparing to synchronize with targets...
    • Querying the active System Definition file from the targets...
    • Stopping TCP loops.
    Waiting for TCP loops to shut down...
    • TCP loops shut down successfully.
    • Unloading System Definition file...
    • Connection with target Controller has been lost.
    • Start Date: 4/10/2015 11:48 AM
    • Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2014\Projects\testChassis\testChassis.nivssdf
    • Preparing to deploy the System Definition to the targets...
    • Compiling the System Definition file...
    • Initializing TCP subsystem...
    • Starting TCP Loops...
    • Connection established with target Controller.
    • Sending reset command to all targets...
    • Preparing to deploy files to the targets...
    • Starting download for target Controller...
    • Opening FTP session to IP 10.12.0.48...
    • Processing Action on Deploy VIs...
    • Setting target scan rate to 10000 (uSec)... Done.
    • Gathering target dependency files...
    • Downloading testChassis.nivssdf [92 kB] (file 1 of 4)
    • Downloading testChassis_Controller.nivsdat [204 kB] (file 2 of 4)
    • Downloading CalibrationData.nivscal [0 kB] (file 3 of 4)
    • Downloading testChassis_Controller.nivsparam [0 kB] (file 4 of 4)
    • Closing FTP session...
    • Files successfully deployed to the targets.
    • Starting deployment group 1...
    The VeriStand Gateway encountered an error while deploying the System Definition file.
    Details:
    Error -66212 occurred at Project Window.lvlibroject Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi
    Possible reason(s):
    LabVIEW: The data type of the reference does not match the data type of the variable.
    =========================
    NI VeriStand: NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi >> NI VeriStand Engine.lvlib:VeriStand Engine.vi >> NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi >> NI VeriStand Engine.lvlib:Initialize Inline Custom Devices.vi >> Custom Devices Storage.lvlib:Initialize Device (HW Interface).vi
    • Sending reset command to all targets...
    • Stopping TCP loops.
    Waiting for TCP loops to shut down...
    • TCP loops shut down successfully.
    • Unloading System Definition file...
    • Connection with target Controller has been lost.

    Can you deploy if you only have the two 9401 modules in the chassis (no other modules) and in the sysdef?  I meant to ask if you could attach your system definition file to the forum post so we can see it as well (sorry for the confusion).  
    Are you using any of the specialty configurations for the 9401 modules? (ex: counter, PWM, quadrature, etc)
    You will probably want to post this on the support page for the Scan Engine/EtherCAT Custom Device: https://decibel.ni.com/content/thread/8671  
    Custom devices aren't officially supported by NI, so technical questions and issues are handled on the above page.
    Kevin W.
    Applications Engineer
    National Instruments

  • Refernce Nav igational Attribute is not getting the data in Infoprovider

    Hi,
    I am facing the issue with Reference Characteristic which is  a navigational attribute for which data  is not getting populated in the cube.Please find the below scenario.
    We have three characteristics 0RECV_WBS_E , 0WBS_ELEMT, ZPSBUSA .Char 0RECV_WBS_E is reference of 0WBS_ELEMT.
    0RECV_WBS_E__ZPSBUSA,0WBS_ELEMT__ZPSBUSA are the Navigational attributes of ZPSBUSA, these two are maintained as Navigational attributes in the cube and at info object level. The Nav Attribute  0RECV_WBS_E__ZPSBUSA is not getting the data in infocube where as 0WBS_ELEMT__ZPSBUSA is getting the data .The data is available for the two Nav attributes in the info object ZPSBUSA .Can you please suggest why this reference Nav attribute  0RECV_WBS_E__ZPSBUSA is not getting data in the infocube.
    Thanks,
    SUbhash

    Hi,
    I am facing the issue with Reference Characteristic which is a navigational attribute for which data is not getting populated in the cube.Please find the below scenario.
    We have three characteristics 0RECV_WBS_E , 0WBS_ELEMT, ZPSBUSA .Char 0RECV_WBS_E is reference of 0WBS_ELEMT.
    0RECV_WBS_E__ZPSBUSA,0WBS_ELEMT__ZPSBUSA are the Navigational attributes of 0WBS_ELEMT, these two are maintained as Navigational attributes in the cube and at info object level. The Nav Attribute 0RECV_WBS_E__ZPSBUSA is not getting the data in infocube where as 0WBS_ELEMT__ZPSBUSA is getting the data .The data is available for the two Nav attributes in the info object 0WBS_ELEMT .Can you please suggest why this reference Nav attribute 0RECV_WBS_E__ZPSBUSA is not getting data in the infocube.
    Thanks,
    SUbhash
    Edited by: MarkSubhash on Dec 9, 2011 11:11 AM

  • "BP Category 1 does not fit the data in category 2"  "Replies Appreciated"

    Hi Gurus,
    When i am trying to create an "Individual Account" in UI, I am getting the error "BP Category 1 does not fit the data in category 2".
    If i try to create a "group" then it says "BP Category 3 does not fit the data in category 2".
    It allows me to create only "Corporate Account" i..e. Category 2.
    What should i do to create "Individual Account" and "Group". (Category1 & Category 3).
    Individual Account (Category 1) - "BP Category 1 does not fit the data in category 2".
    Corporate Account (Category 2) - Able to create only Corporate Account
    Group (Category 3) - "BP Category 3 does not fit the data in category 2".
    Thanks & Regards
    Rohan

    Hi Rohan,
    Hope this SAP Note : 1232459, Solves your problem.
    You might have created a custom configuration for corporate accounts.
    Unfortunately in case of custom configurations exist, they are selected with higher priority.
    So in this case the configuration for corporate accounts is also shown for individual accounts,
    this causes error.
    In order to solve this problem, create a custom configuration for individual account also,
    i.e for view BP_HEAD/AccountDetails. Object type BP_ACCOUNT and object subtype INDIVIDUAL.
    Please make sure that the custom configuration includes the fields firstname and lastname for
    persons instead of name1 and name2 which are only allowed for corporate accounts.
    I hope the above information resolves your problem.
    Best Regards
    Shiven

  • Final user's can not see the data due to limited authorization.

    We have created a InfoSet with three info Objects, 0Account, 0Costcenter and 0COMP_CODE. 0Costcenter have an attribute retail location  0RT_LOCATIO.
    0RT_LOCATIO is an authorization relevant object. We as consultants can execute the infoset properly, but final user's with limited authorizations can not see the data because of authorization failier
    We hae several options to solve the issue, deleselect the auth. flag in the infoobject; delete the infoobject from the attributes of the cost center or create an authorization object and assign it to the final user's profile. But we don't want to go that way.
    My question is, is there any way to avoid including this attribute in the infoset definition? We are not using it in the query and we don't need it, so if we could delete it from the infoset (in the same way you add or delete infoobjects from an Infocube) without changing the cost center aster data, we will have our problem solved.
    Does anyone how to do this (if possible)?
    Thanks in advance!

    Just do two things to find the authorization check failed for that user.
    1. Execute SU53 output and find out the authoirzation check failed. If yes, please send that to BASIS Team.
    2. Next one, switch on the authorization trace in ST01 and ask that user to see that data. if the user is failed with authorization issue. switch off the trace in ST01 and find out the issue.
    Do this way, if it is not successful you can go for any other alternate way.
    Hope this would help you.

  • I am not getting the data in Bex from the cube

    Hi Experts,
    i am not getting the data from the cube to Bex,
    cube having the data, but i am not able to see this data in the Bex result area.
    Can  any one help me.
    Best regards,
    Bhaskar

    Hi
    In the manage cube, is reporting symbol is there for your requests
    If you have any red requests delete them and refresh
    If all requests having reporting symbols you may check the BEx without any filters or selection criterions
    Regards
    N Ganesh

  • Who worked with ICS' Model 4896 GPIB? I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    Hello. Most of the engineers in developer exchange are more familiar
    with NI products. Contacting ICS for technical support is a better
    course of action.

  • CRM 2007 IC : error "BP category 2 does not fit the data in category 1"

    Hi Guys,
    When I am trying to save the data on the Bupacreate page it gives the error as follows.
    "BP category 2 does not fit the data in category 1".
    Can anyone suggest what is causing this error to happen and how this error can be corrected.
    thanks & regards
    Sandy

    Hi,
    This error usually occrus when you try to set field in without specifing bptype ie person, group etc. In our scenario we were trying to set field in Person which was not present in group. but since do_prepare_output method is same in both, that feild was getting set for group as well. When we placed restriction this error got removed.
    Best regards
    Pankaj Kumar

  • Fire Fox sent not all the data in text form. Reached only piece of information. Where can I find the cache of sent text?

    Fire Fox sent not all the data in text form. Reached only piece of information. Where can I find the cache sent the text?
    For example, I posted an article on a news site, but found that only a small part of my article was posted.

    I'm not sure whether Firefox saved that information. There is a chance that it is in the session history file, especially if you haven't closed that tab yet. To check that:
    Open your currently active Firefox settings folder (AKA your Firefox profile folder) using
    Help > Troubleshooting Information > "Show Folder" button
    Find all files starting with the name sessionstore and copy them to a safe working location (e.g., your documents folder). In order to read a .js file, it is useful to rename it to a .txt file. Or you could drag it to Wordpad or your favorite word processing software.
    The script will look somewhat like gibberish, but if you search for a word in your article that doesn't normally appear in web pages, you may be able to find your data.
    Any luck?
    For the future, you might want to consider this add-on, although I don't know how long it saves data after you submit a form: [https://addons.mozilla.org/en-US/firefox/addon/lazarus-form-recovery/].

  • Not showing the Data in VC application

    Hi I have developed the application in VC.
    It is showing the data some times , it is not showing the data. Can u please let me know what is the problem.
    when i checked using the Test Data service . It is showing the data. Then i have developed step by step, in between the time i use to run the application , it was showing the data. finally i have assigned to some role and user id. then also it is showing the data.
    Next day after i run the application , it is not  showing the data. displaying the message .
    "No Data Found".
    But when i run  the BAPI at the back end R/3 it is giving the data properly.
    Can u tell me what might be the problem
    REgards
    Vijay

    Hi Krishna,
    check the logs in the NWA. It seems that your connection is broken down sometimes, maybe a timeout. How many records does your data service return?
    Check it with external debugging of the BAPI, when you can reconstruct the error.
    Best Regards,
    Marcel

Maybe you are looking for

  • Update Approval Status of parent Folder based on approval status of folder items

    Hi, I have a SharePoint list which contains folders. Each folder contains one or more items. I wish to update the folder approval status to "Approved" when all the items inside the folder are approved. The workflow should trigger whenever the approva

  • Supressing repeated values in hierarchy.

    Hi, this is what i wanna do. I have a hierarchy in query in my rows and another char also in the rows. When i run the query, the hierarchy node shows along with the other char in rows and the required KF's in columns. So far so good. But when i expan

  • Recordset paging without refresh

    Hi i have some recordset paging halfway down my page and when i click next prev the page refreshs and it goes to the top of the page which is annoying as you have to scroll down again to see the next set of records. I tried using anchors to get the p

  • Attachments within ROS? is it possible?

    Hello, I'm looking for some documents to try to ask vendors to upload some documents within ROS as part of questionnaires... If you have any input on this, please let me know... Regards, Gerardo.

  • Populate Table from RFC in WD-Java Adobe Form

    Hi Experts, I have a Table in WD-Java Adbe Form. The first column is EMPLOYEE_ID and rest of the columns are EMPLOYEE_DETAILS. I provide the EMPLOYEE_ID as input in the first column and then on clicking of the CHECK button, I want to get the remainin