Drop Indexes from Data Object in DOE

Hi,
          I have created the index for data object by using Mobile Appli Attrib tab in DOE workbench. But now I need to remove it. Everytime I remove checkbox and index name and save it. Now I open the data object again index will be there,it will not be removed. 
Thanks & Regards,
Manisha Dabour.

Hi Monisha,
I tried the same in 710 SP11 system and I could delete the  index name and uncheck check boxes.
Below are the steps I did.
-- Selected the root node of a DO.
-- Clicked on "Mobile Appln Attribute.
-- Chose client type in the popup as "JAVACLNT" .
-- Checked few fields and entered a index name.
-- Saved the changes.
-- repeated the above and uncheckd fields/removed index and did some changes.
Observed that everytime my latest changes were captured.
Can you please open a OSS message for the same.
Regards
Rohith

Similar Messages

  • Runtime error when Transfering data from data object to a file

    Hi everybody,
    I'm having a problem when I transfer data from data object to file. The codes like following :
    data : full_path(128).
    OPEN DATASET full_path FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    and transfer data from flat structure to this file full_path
      move:    tab                 to c_output-tab_5,
                  tab                 to c_output-tab_4,
                  tab                 to c_output-tab_3.
      transfer c_output to full_path.      // Error Line
    The detail error like the following:
    For the statement
       "TRANSFER f TO ..."
    only character-type data objects are supported at the argument position
    "f".
    In this case. the operand "f" has the non-character-type "u". The
    current program is a Unicode program. In the Unicode context, the type
    'X' or structures containing not only character-type components are
    regarded as non-character-type.
    transfer c_output to full_path. " Line error
    Please help me to fix this issue !
    Thank you in advance !
    Edited by: Hai Nguyen on Mar 4, 2009 10:55 AM

    Hi Mickey,
    Thanks for your answer,
    I found out that the structure c_output have the field with data type X. I know that the cause of the issue.
          begin of c_output,
             vbeln(10),
             tab_5 like tab,
             posnr(6),
             tab_4 like tab,
             topmat(18),
             tab_3 like tab,
         end  of c_output.
    data : tab type X value 9.
    Could you tell me how to fix it ? What I have to do in this situation ?
    Thank you very much !

  • Unable to import merep text file as a data object in DOE

    Dear All,
    I have exported a sync bo from MI 2.5 system, to a text file. Then i have tried importing the same text file into DOE. Then the following error has occured.
    "No active nametab exists for ZEFLMI_DOC_HDR_T51".
    I am unable to understand what could be the problem. Can someone please help me, how to resolve this issue, so that syncbo can be imported as a data object.
    Regards,
    Kiran.

    Hi,
    The backend for middleware should be same as what it was in MI.
    the erro comes when the corrosponding structure in a bapi doesnot exists in current backend.
    Please check if the structure ZEFLMI_DOC_HDR_T51 exists in backend.
    Thanks,
    Rohit

  • Error while activating Data object in DOE workbench

    Hi all,
    I created a Data Object and when I try to activate  that DO it is showing an error as below.
    Mobile Java client attributes not maintained.
    Please give some clue to resolve this.
    Thanks and Regards,
    Rajesh.A

    Hi Rajesh,
    I believe you had created an SWCV that is enabled for Backward Compatibility 'Uses NW04/NW04s MI application' and created a Data Object in this SWCV. Ideally, when the SWCV is enabled for Backward Compatibility, the Data Objects should be created by importing the text file as Data Objects from a MI 7.0 server. Since you have not done that way, you are getting this error.
    I would suggest that you create a new SWCV and do not check the option 'Uses NW04/NW04s MI application'. Now create the Data Object again and try to activate it and you should be able to activate it.
    Best regards,
    Vinodh

  • Getting Day, month and year from Date object

    hello everybody,
    Date mydate = Resultset.getDate(indexField);
    Now i would like to get day, month and year from mydate.
    In another words, i'm looking for something equivalent to
    mydate.getDay() as this method is deprecated.
    Can somebody help me out please?
    Thank you in advance,

    swvc2000,
    Here is a sample class that demonstrates two ways in which to do this.import java.util.*;
    import java.text.*;
    public class DateSplitter {
       public static void main(String args[]) {
          /* even though your date is from a result set,
             pretend the following date is your date that
             you are using. The try catch block is used
             because I hand-crafted my date using
             SimpleDateFormat.  Substitute your date.*/
          Date yourDate = null;
          try {
             SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
             yourDate = formatter.parse("05/06/2000");
          } catch (ParseException e) { }
          //the following gets the current date
          Calendar c = Calendar.getInstance();
          //use the calendar object to set it to your date
          c.setTime(yourDate);
          //note months start at zero
          int month = c.get(Calendar.MONTH);
          int year = c.get(Calendar.YEAR);
          int dayOfMonth = c.get(Calendar.DAY_OF_MONTH);
          System.out.println("Calendar Month: "+month);
          System.out.println("Calendar Day: "+dayOfMonth);
          System.out.println("Calendar Year: "+year);
          System.out.println();
          /* Simple date format can also be used to strip them
             out of your date object.  When you use it, notice that
             months start at 1.  Also, it returns string values.  If
             you need integer values, you will have to use
             Integer.parseInt() as I did below.  If you are
             only concerned about the string values, just remove
             the Integer.parseInt part. */
          DateFormat formatter = new SimpleDateFormat("M");
          month = Integer.parseInt(formatter.format(yourDate));
          System.out.println("SDF Month: "+ month);
          formatter = new SimpleDateFormat("d");
          dayOfMonth = Integer.parseInt(formatter.format(yourDate));
          System.out.println("SDF Day: "+ dayOfMonth);
          formatter = new SimpleDateFormat("yyyy");
          year = Integer.parseInt(formatter.format(yourDate));
          System.out.println("SDF Year: "+ year);
       }//end main
    }//end DateSplitter classtajenkins

  • Need to recover dropped indexes from SQL Server 2008 R2

    Hi All,
    we are reestablishing the transaction replication all non-clustered indexes dropped due to this activity now we are suffering from performance issue is there any way ,we can recover all the dropped indexes.
    Regards,
    Pawan Singh
    Thanks

    Hi Pawan,
    I had blogged about this in the past
    http://sqllearnings.com/2012/04/04/subscription-re-initialization-and-non-clustered-indexes/
    When you re-initialize there is an option which you need to set to true for the non-clustered indexes to be applied in the subscriber end.
    If your replication re-initialization is pretty fast then you can set the option to true and then re-apply the snapshot..
    Else easiest option is to script the indexes from publisher and create them in the subscriber.
    HTH
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Split Index from data

    Hello together,
    I have a strange question to you where I'm not sure, if that work and if how that will work.
    Let's say I have a Oracle DB 11.2.0.3, I think OS will be not important in that case.
    I have a tablespace with some tables in there. On that tables I've created Indexes for the performance. But now, for the overview or whatever, i want to create a second tablespace and split the Index from the data so that the Index itself with it's runtime data will save in the new tablespace, but the data for which the tablespace is lies in the old tablespace.
    I think, that is not possible, because an index is just a logical unit and the tablespace is a level to high. But a friend of me means it is possible.
    What can you tell me to this?
    Thanks and regards,
    David

    Thanks a lot for quick answering!
    Don't misunderstand me for such a question: that was a discussion, how we could increase the performance of a tool, that is using a 11.2.0.3 DB. It is a kind of monitoring tool, that stores data in a DB and how greater the tablespace / datafile gets so longer the tool needs to analyze. But I think also the way to split the idexes won't bring some performance because if you have some documents printed out in one big box and you search just one side in the box normally you would take the same time to find that document as you split the documents into two or three or four… boxes and you have to search in each on them. Because you can’t separate, that the document is in box 1 or 2 or 3…..
    Thanks a lot!

  • Issue while activating data objects in doe

    Hi All,
      Im very new to Netweaver mobile 7.1 development. I created bappiwarappers using wizard and and completed it successfully. But when im trying to activate the data objects it goes into runtime error stating eceution time exceeded. I increased my execution time and tried still it goes into dump.
      But when i come back and see data objects its status under data objects details shows active but the light is still yellow which should be green.
      Lastly when i try to activate backend adapter it says "Unable to find generated objects in repository". I think im missing something how to identify he issue?
    Regards,
    Asif.

    You can check the status of the data download in administration portal
    If you are using SP09 or below:
    Goto NW Mobile Administration -> Monitoring -> Logs & Traces -> BACKEND_INTEGRATION and provide SWCV Name and click on "Go" button. It will display the load information of all the objects where on expansion of the nodes will give you the exact status. whether load failed or success. We will get a clue based on the status.
    If you are using SP10:
    Goto NW Mobile Administration -> Monitoring -> Process Monitoring. Here you can get the status of all the data downloads.
    Regards,
    Siva.

  • Field Catalog from data object..

    Hi all,
    data:
    g_head_ref      TYPE REF TO data,
           g_item_ref      TYPE REF TO data.
        CALL BADI handle->set_header_item_data
          EXPORTING
            i_document_type    = g_document_type
            i_head_item        = g_head_item
            i_ab_document_type = doc_typ
            i_header_table     = g_header_table
            i_item_table       = g_item_table
            i_map_fields       = g_map_fields
          IMPORTING
            e_subrc            = l_subrc
            e_head_ref         = g_head_ref
            e_item_ref         = g_item_ref.
    here i get the g_data_ref and g_item_ref filled with the values..
    now i assigned these object to field symbols to display the same in the ALV.....
    Issues is follwoing-->
    I dont know the table structure or table name with which these ref object or the field symbols is type of now....
    (in this case it can be a local prog type defined structure..)..
    how can i create a fieldcatlog out of it..??
    I have already tried
    FM 'REUSE_ALV_FIELDCATALOG_MERGE' --> need an internal table with defined type...
    cl_abap_structdescr=>describe_by_data --> need a DDIC structure (in this case it can be a local prog type defined structure..)..
    if the class cl_abap_structdescr is the correct way to do it...please let me know exact flow of methods...if there is some other solution do let me know.
    Regards,
    Yadesh

    Hi
    i don't know what the variable g_map_fields, perhaps has it the definition of the table? if it's so you can use it to fill catalog table for ALV, else you can use CL_ABAP_STRUCTDESCR
    data: g_head_ref TYPE REF TO data.
    data: g_item_ref TYPE REF TO data.
    field-symbols: <fs_head> type table.
    field-symbols: <fs_wa> type any.
    data: l_comp type flag.
    DATA: MY_STRUCT TYPE REF TO CL_ABAP_STRUCTDESCR.
    ASSIGN g_head_ref->* TO <fs_head>.
    LOOP AT <fs_head> ASSIGNING <fs_wa>.
        MY_STRUCT ?= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_DATA( <fs_wa> ).
        EXIT.
    ENDLOOP.
    Now in MY_STRUCT->COMPONENTS you have the definition of the table and u can use it in order to fill the catalog table for ALV
    Max

  • Adding new Data Object while migrating from MI 2.5 to NM7.1

    Dear All,
          We have a custom MI 2.5 application which we need to migrate to 7.1. While migration, we want to add a newly created data object also in migrated application. But when I try to import MBO model, it is not letting me import new data object. The import finishes successfully. But changes in merepmeta.xml are not done. It creates a file with back up of existing merepmeta.xml i.e. merepmeta.xml.bak and create new merepmeta.xml but it is blank. Am I missing something???
           When I import MBO only with existing data objects (syncbos), it is allowing me perfectly. It is changing the merepmeta.xml accordingly as well without creating backup.
    Thanks in advance,
    Saptak Kulkarni.

    Dear Arjun,
         To answer your questions, previously all the SyncBOs were downloaded independently taking username as the import parameter in getList. (Default values). Yes we can provide the same with 7.1 but we wanted to have some sorts of associations between all SyncBOs.
         So first of all, we changed all the BAPI wrappers of old SyncBOs to download all the data independent of user. Now we created new Data Object to only download user specific data. We associated all other Data Objects on this DO. Created a rule for this data object to only download the sync user instance. We were expecting that whenever a user syncs, a single instance of new user data object will get downloaded and subsequently all other data objects having relationship on user will get downloaded. I hope this is not much confusing.
          Now while we import the MBO model, if we don't import new user data object, then also other data object instance get downloaded and fortunately properly filtered. We don't receive any kind of error over here.
          The new data object is not used anywhere in the application. The associations are in new data object and not in the older one. New data object is the leading one wherein others follow.
          Not a single instance is getting dropped for other Data Objects.
          The xml is blank only when we try to import the new Data Object and correctly it gives an error as expected when I try to deploy the application.
    Thanks in advance,
    Saptak.

  • Color dropped from pasted objects

    This is a new one for me. About a month ago, InDesign CS3 began dropping color from some objects (we build ads for a newspring tabloid), when the ads are copied from one doc to another. A black or yellow background will turn transparent in the new doc. This happens on both Intel iMacs (one 10.5.8, one 10.6.8). The doc is on a shared server (FAT) connected through an Apple timemachine router. I've used every possible combination of clipboard handling possible, no change. To make things worse, it's intermittent; sometimes color, mostly not. I've tried importing the patches from the original doc to the new before copy paste - doesn't help.
    Any suggestions would be appreciated.
    Jay Gamel

    Thanks for the suggestion, Fred. It turned out to be a mismatch of object styles. Once I figured that out, reset the styles, no more problem. It took a while to track down though.

  • Need help for ALE Remote lock while dropping indexes in process chain

    Hi Gurus,
    Object requested is currently locked by ALE Remote is the message i got while dropping indexes from the process chain and is red
    Entire chain is now status R. I tried by repeat still the dropping indexes step fail in the process chain.
    Could u please advise me.
    Thanks,
    Srikar

    Hi,
    Even check any lock is happened for the cube in SM12. If it not rectified with all possible solutions please paste  error log in batch monitor tab.
    Regard's
    Suman

  • How to get 24 hour clock from date

    I want to get time from date object in 24 hour clock format,how do I do that?
    thanks

    Use SimpleDateFormat
    http://java.sun.com/products/jdk/1.2/docs/api/java/text/SimpleDateFormat.html

  • Parse Date object for AM/PM

    how do we parse whether it is AM /PM from Date() object?

    You asked this question yesterday already with the same degree of vagueness.
    Please return to your thread from yesterday and continue posting vague dribblings as they occur to you there http://forum.java.sun.com/thread.jspa?threadID=5198538

  • Unable to create Model from DOE Data Object

    Hi,
    I created a Mobile Laptop WebDynpro DC in NWDS 7.1, the build and deploy work fine.
    The problem is that when I attempt to create a Model based on a Data Object from the
    Mobile Middleware 7.1 DOE, I always get an exception when the Data Object metadata is
    imported (the last step of the Model Creation Wizard).
    Here's the exception :
    Status ERROR
    Plugin : com.sap.ide.cmi.core
    code=0
    Internal error
       Plugin name: Common Model Tools Core
       Internal error  : com.sap.ide.cmi.core
       Class      : com.sap.tc.mobile.dt.metaimp.ModelImportWizard
       Method     : run(IProgressMonitor)
       Message    : Failed to create model
       Exception  : com.sap.ide.metamodel.general.exception.ObjectRequiredException: ModelClassPropertySetting "//WebDynpro/ModelClass:ca.test.sandbox.mitest1.test3.ZTESTDATAOBJ/Property:ACTUAL/Setting:backendKey", Role "SettingDefinition": A minimum of 1 object(s) is required
    ObjectRequiredException: ModelClassPropertySetting "//WebDynpro/ModelClass:ca.test.sandbox.mitest1.test3.ZTESTDATAOBJ/Property:ACTUAL/Setting:backendKey", Role "SettingDefinition": A minimum of 1 object(s) is required
    at com.sap.ide.metamodel.webdynpro.implementation.ModelClassPropertySettingProxy._validate(ModelClassPropertySettingProxy.java:358)
    at com.sap.ide.metamodel.core.DevelopmentObjectProxy.validate(DevelopmentObjectProxy.java:825)
    at com.sap.tc.mobile.dt.metaimp.MBOModelImporter.doImport(MBOModelImporter.java:170)
    at com.sap.tc.mobile.dt.metaimp.ModelImportWizard.createModel(ModelImportWizard.java:200)
    at com.sap.ide.cmi.core.model.importer.CMIWizard$2.run(CMIWizard.java:197)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    I know this is not related to Middleware authorization, I tested with a userid with full DOE authorization.
    When I display the Data Object metadata from the Middleware, it shows as status 'active'.
    The exception seems to complain about the backend key, but there is a backend key field in
    the Data Object.
    I have the same exception even with any SAP delivered Data Objects (MAM30_001, etc..).
    any thoughts on what the problem is ?
    thanks,
    Yanick.

    Hi Yannick,
    This type of error can occur with local non-dc Mobile App when some jars required for the model generation are missing.                                                         
    The easiest way to fix this is to create a DC for your Mobile app from the
    Mobile App Offline perspective. 
    Let me know if it works
    Genevieve

Maybe you are looking for