Dynamic Customize Local Object

Here is my situation,
1) I wanna to send the whole object over the network to the devices that run on KVM. But i cannot do it because CLDC does not support API to convert byte to object. So the only solution is create a local object at the devices that run KVM and then customize it over network.
2) Here is the problem, how can i set the event listener and item at the local object of the KVM devices over network? (by string???)
I need some experience point on this problems.thx
best regards
chauryih

If I understand you correctly, you want to serialize an object and send it to a KVM device and "re-instantiate" that object. But, unfortunately CLDC does not support serializeable - correct?
If this is the case, I would
1. write a generic HTTP client/server application and the KVM device would request messages from the server.
2.write my own interface which implemented a method which would serialize the state of the object into a byte array and deserialize the object (doing the reverse).
The KVM device would request messages from the server - a message could be a serialized byte array of of an object. On the device, the client could then instantiate the object and then pass the byte array to the serialize method of the object and viola the object now exists on the client. Note, there are other factors which you must address, e.g. the object still exists on the server, which may be a problem.
Good luck, sounds like fun
Don

Similar Messages

  • How to append contents of a local object to dynamic internal table ?

    Dear ABAP-Specialists,
    i am trying to append contents of a local object to a dynamic table. The most relevant lines are the ones written in bold
    I guess the append is the problem due to the reason that a unknown format has to be assigned to a fixed format somehow.
    +METHOD wddomodifyview .+
      +DATA lo_ui_root                TYPE REF TO  if_wd_view_element.+
      +DATA lo_container              TYPE REF TO  cl_wd_uielement_container.+
      +DATA lo_table                  TYPE REF TO  cl_wd_table.+
      +DATA lo_table_column           TYPE REF TO  cl_wd_table_column.+
      +DATA lv_tabname                TYPE         tabname.+
      +DATA lt_output                 TYPE TABLE OF sychar512.+
      +DATA lo_data TYPE REF TO data.+
      +DATA:+
        +lo_node_output_data                    TYPE REF TO if_wd_context_node,+
        +lo_node_table_list                     TYPE REF TO if_wd_context_node,+
        +lo_node_differences                    TYPE REF TO if_wd_context_node,+
        +lo_node_output                         TYPE REF TO if_wd_context_node,+
        +lt_all_elem_differences                TYPE        wdr_context_element_set,+
        +lo_elem_table_list                     TYPE REF TO if_wd_context_element,+
        +lo_elem_differences                    TYPE REF TO if_wd_context_element,+
        +ls_differences                         TYPE        if_table_differences=>element_differences,+
        +lt_differences                         TYPE STANDARD TABLE OF if_table_differences=>element_differences.+
      +FIELD-SYMBOLS:+
                     +<ls_output> TYPE ANY,+
                     +<lt_output> TYPE ANY TABLE.+
    +     ....+
        +*CREATE DATA lo_data TYPE TABLE OF (lv_tabname).*+
        +*ASSIGN lo_data->* TO <lt_output>.*+
        +*LOOP AT lt_differences INTO ls_differences.*+
    +**      APPEND ls_differences-ct_line TO lo_data->*.*+
        +*ENDLOOP.*     ....+
    +ENDMETHOD.+
    Thanks a lot in advance for your Ideas.
    Best regards
    Carsten Klatt
    Please post in the correct forum and use code tags to format your code
    Edited by: Rob Burbank on Oct 1, 2010 1:27 PM

    This might help - you should not reference the data reference directly:
    DATA: lt_t001 TYPE TABLE OF t001,
          ls_t001 TYPE t001.
    DATA: lr_dref    TYPE REF TO data.
    DATA: lv_tabname TYPE tabname.
    FIELD-SYMBOLS: <lfs>      TYPE table,
                   <lfs_line> TYPE ANY.
    lv_tabname = 'T001'.
    TRY.
        CREATE DATA lr_dref TYPE TABLE OF (lv_tabname).
        ASSIGN lr_dref->* TO <lfs>.
      CATCH cx_sy_create_data_error.
    *     Do something
    ENDTRY.
    SELECT * FROM t001 INTO TABLE lt_t001.
    LOOP AT lt_t001 INTO ls_t001.
      ASSIGN ls_t001 TO <lfs_line>.
      APPEND <lfs_line> TO <lfs>.
    ENDLOOP.

  • Requirement to check the syntax error of Customize SAP Objects in existing landscape.

    Hi All,
    I have two requirements which are a s follows :
    1 )    Check the syntax error of customize SAP Objects in existing landscape except using the Tools which are already given by SAP( Example : Code           Inspector , Extended Syntax Check etc.). I have to create a program to fulfill this requirement.
    2 )    In case of SAP Upgrade is it possible to know the syntax error in advance that the existing source code will not work in the upgrade version?
      Please help me out to solve my issues. Thanks in advance.

    Dear Abhishek,
    For the code inspector, the syntax check and the extended syntax check, you can define a set of objects to be teste thru SCI:
    Go to SCI
    In the block 'Object Set', you can create a set. For ths, you have to give it a name, select with the icon left of the textbox if this is a global (for all users) or a local set and click the create Icon.
    in the next field, you can define which objects ... are part of the object set.
    When using SCII to execute the code inspector, you can specify this set instead of a transport(s) or programming objects.
    To run only the syntax check and or the extend syntax check, you can specify a check variant in SCI (third screen block) which contains only those tests or you can in SCII uncheck all tests except those 2.
    Regards,
    Hans

  • Customizing Transport Request Assignment process to Local Objects

    Hi,
    I am developing custom report, which will find out all dependent and local objects for given transport request. When we select the local objects and save, it has to show standard saving process screens...like package and TR screens.
    I am trying the above problem using 'TRINT_TADIR_POPUP', 'TRINT_ORDER_CHOICE' and 'TRINT_APPEND_TO_COMM_ARRAYS' function module, but this function module 'TRINT_APPEND_TO_COMM_ARRAYS' giving exception ob_check_obj_error.
    So, please let me know anyone have solution for assigning local objects to package and TR through customization (Programmatically).
    Thanks,
    Param..:-)

    Hi Sheetal,
    Thanks for the reply.
    For this function module ADD_TO_PACKAGE, I can't import package name or Transport Request.
    I need to have a save screen's, which generally we get during saving of any R/3 Object.
    Thanks,
    Param...:-)

  • Tip: Loading dynamic plugins locally

    One of the questions we've heard on a number of occasions is "why can't I load a dynamic plugin locally?"  For a while I assumed this was related to Flash Player security, but I finally got around to looking into this yesterday, and realized that this was due to a bug in our code.  So if you sync to the latest in public trunk, then it should be possible to run a player app locally, and have that app load a dynamic plugin locally, provided that the plugin is specified with a "file:" prefix.  For example, if you run the AkamaiPluginSample, you can paste the following URL into the "URL" box (assuming that this is the path to the compiled plugin on your system):
    file:///C:/Dev/osmf/public/trunk/plugins/SMILPlugin/bin-debug/SMILPlugin.swf
    This should make plugin development/debugging a bit easier, as you won't have to post the plugin to a server after every change (or run from localhost).

    Great. I think it would be flexible to be able to specify the application domain that the player wants to load the plugin into. Similar to the way you can specify whether or not to use the current security domain. We have a swc-swf model where the player has a small api swc integrated and all the logic is loaded at runtime from the swf. Loading into the same application domain allows us to share typed class instances between the player, swc and swf rather than passing them around as raw objects.

  • Creating Authorization Field as Local Object

    Hello All,
    I was creating new Authorization field and while saving, i was asked to save it as "Local Object"....
    Can someone tell me what is meant by "Local Object" and what will be the benefits by doing so?
    Adance Many thanks,
    Regards
    Geetha.

    Hi,
    Local Object means these Enhancement / Modification / Customization are not going to be included into any Package. Any change requests are of two types: Transportable or Local. If you decide not include your changes in any packages and thus not make this Transportable, i.e. the release and export phenomena will not be applicable there and you won't be able to create any task for a Local object.
    Of course the authorization class, object and fields need to be moved through the Landscape and thus you need to include them into a Package. Preferably you should create a new Custom package (or may be already available) to move your changes though that package.
    Let me know if you have any further query.
    Regards,
    Dipanjan

  • How to get Date Format from Local Object.

    Hi All,
    I am new to Web Channel.
    I need to know Date format From date of locale.
    suppose there is a date "01/25/2010" date in date field I want to get string "mm/dd/yyyy". Actually I have to pass date format to backend when I call RFC. 
    Is there any way to get Date format from "Locale" object. I should get date format for local object
    I get local object from "UserSessionData" object but how to get Date format from it.
    I am not looking for Date value. I am looking for current local date format ("mm/dd/yyyy or dd/mm/yyyy or mon/dd/yyyy) whatever local date format.  I could not find example which show how to get date format from "Locale" object.
    Any help will be appreciated with rewards.
    Regards.
    Web Channel

    Hi,
    You can get it from "User" or "Shop" business object.
    Try to get User or Shop Business Object as shown below.
    BusinessObjectManager bom = (BusinessObjectManager) userSessionData.getBOM(BusinessObjectManager.ISACORE_BOM);
    User user = bom.getUser();
    char decimalNotation = user.getDecimalPointFormat().getGroupingSeparator();
    If you are seeing "1,234.00" then above code will return "."
    I hope this information help you to resolve your issue.
    eCommerce Developer.

  • Customize Local Layout in SAP R/3 Web GUI?

    We are using IC WebClient with a link to R/3 4.6c for order entry.  The users want to be able to have the same control in the R/3 Web GUI that they do in the native R/3 GUI (eg. automatic tabbing at end of field).  In native R/3, this is controlled via the 'Customize Local Layout' icon on the toolbar, but this icon does not exist in the Web GUI.  Does anyone know if this kind of control is available with the R/3 Web GUI?
    Thanks for your consideration.
    Kathleen McCullough

    Per OSS - "Differently from SAPGUI, Web UI is built in a navigator envinronment (Internet Explorer, Mozilla, Safari...). Thus the requested functionality depends on the browser, not on any SAP setting.
    To my knowledge, this feature is not available in Internet Explorer, butyou can always write a simple Java routine that does the job. I found an article that you can use to start your investigation. Please, check it here:
    http://articles.techrepublic.com.com/5100-10878_11-6069857.html "

  • A perticular Project automatically saving in the local Object

    Hi,
    I have an issue regarding ther local Object .. I have different projects need to save in Transport Requests. I observed a perticular project while saving it is generating a transport request number but saving in local object.
    Can you please give me more suggessions to solve this problem ...
    Thanks in advance ..
    Shashi,Samal

    Hi Shashi,
    If it is getting assigned to a TR then it can't be local object.
    Can you give some more details. Also which system, version you are on.
    Regards,
    Atish

  • A question about creating packages as local objects in ABAP

    Hi,
    I have a question about creating packages with SE80. Whenever I create a new package it is assigned a new transport request. After that, I can create new programs inside this package, and each time I can choose whether to assign the new program to a transport request or just save it as a local object (I often do this for test programs that I don't transport and I remove them once my tests have been done).
    What I would like to ask is that, is it possible to create a package (and not just programs inside a given package) as a local object? so that every new object created in this package will be considered as a local object?
    Thanks in advane,
    Kind Regards,
    Dariyoosh

    Thomas Zloch wrote:
    Please also check the F1 help for the package field e.g. in SE80, SAP standard is in range A-S and U-X, namespaces start with "/", so you should be save. I am using the T namespace for temporary stuff since a long time and did not have a problem so far.
    > Thomas
    >
    > P.S. this applies to the package name only, of course
    Thank you very much for this remark, I checked F1 help for the package field and in fact as you mentioned these ranges are for local objects.
    Once again, thank you very much for your help.
    Kind Regards,
    Dariyoosh

  • How to pass a locale object into another function?

    Greetings,
    i like to pass a locale object into another function. These are my code below
    import java.util.*;
    public class Locales{
         public static void main(String[] args){
              Locale locale= new Locale("EN", "US");
              convert(locale);
    public void convert(Locale convert)
         String language = convert.getDisplayLanguage();
         System.out.println(language);          
    }I got this error:
    Locales.java:6: non-static method convert(java.util.Locale) cannot be referenced from a static content
                    convert(locale);
                    ^How do i correct it?
    Thanks

    Did you bother to do a search?
    Did you bother to read any of the material that the search would have linked you to?
    If you had then you would be able to understand where you are going wrong and how to fix it yourself. Instead of being spoonfed by us.

  • Dynamic Positioning of Objects in a Grid (rows and columns) AS3 Tutorial

    The topic of a dynamic positioning of objects in a right grid (rows and columns) comes up often so I decided to post an AS3 solution here:
    http://flashascript.wordpress.com/2010/12/25/arranging-objects-into-2d-dynamic-grid-with-a ctionscript-3/

    Hard to tell from your description but this might help:
    http://dtptools.com/product.asp?id=atid
    Bob

  • Dynamic Positioning of Objects in a Grid (rows and columns) with AS3 Tutorial

    The topic of a dynamic positioning of objects in a right grid (rows and columns) comes up often so I decided to post an AS3 solution here:
    http://flashascript.wordpress.com/2010/12/25/arranging-objects-into-2d-dynamic-grid-with-a ctionscript-3/

    Hard to tell from your description but this might help:
    http://dtptools.com/product.asp?id=atid
    Bob

  • Screen 910 getting saved in Local object - not even asking for Package

    Hi ABAPers,
    I am using Enhancement CONFPP07 and for this created Z project in CMOD.
    When I am creating the screen 910 for the screen exit SAPLCORU_S of that Z Project, that 910 is getting created in Local object not even asking for the Package and the request.
    I tried to create that screen from the SE80 in the function group XCOF, there also it is getting saved in local object.
    I tried to do it from SE51 also, but arrived that screen in the local object only.
    Please Suggest me with your valuable comments.
    Thanks and Regards
    Pinaki Mukherjee

    Do a version management on the screen and see if it was ever created before and then deleted. If so, reassign it to the package you want.
    Rob

  • Copying from client through se71 is getting saved as local object only?

    hi.
    i am copying the form from std to z form through se71.but after doing copy from client,it is getting saved automatically s a local objct $tmp.
    Also,there is no option enabled to save it to transportable object.
    in se80,in the object list also that object is not reflecting.

    check it
    Re: local object to transport request for a form
    just go to SE03  > object  Directory > change object directory entries

Maybe you are looking for