Handling OS Functionalities

Hi,
IM tryin to build a network management system in java. can anyone tell me how can i call operating system(Windows) functionalities i.e. like Windows task manager, etc in java?

Runtime and ProcessBuilder classes, and Java Native Interface (JNI)

Similar Messages

  • Action for handling YES/NO functionality in create_popup_to_confirm

    Hi all,
    I am creating several Popup window in the View using method create_popup_to_confirm of interface IF_WD_WINDOW_MANAGER.Is there any restrictions of creating Actions YES/NO only for button kind 'YESNO'.
    For each Popup can i create different actons for handling corresponding functionalities in different Methods.
    Can i use any suitable Action name for handling YES/NO functionality.
    Points will be sured.
    Thanks
    Sanket sethi

    Hi Sanket,
    Yes you can make the actions as you want by assigning the action name to YES/NO events.
    call method lr_wd_window_manager->create_popup_to_confirm
            exporting
              text         = lt_text
              button_kind  = '4'
              window_title = 'title'
            receiving
              result       = lr_wd_window.
      lr_wd_window->subscribe_to_button_event(
             exporting
               button            = if_wd_window=>co_button_yes
               action_name       = 'ACT_YES'
               action_view       = lr_view_controller
    lr_wd_window->subscribe_to_button_event(
            exporting
              button            = if_wd_window=>co_button_no
              action_name       = 'ACT_NO'
              action_view       = lr_view_controller
    Regards
    Amol Deshmukh

  • Replacement for QSIMG, AU015 and XEDT in payroll schema Q000 in ERP 6.0

    Hi SAP Gurus,
    I am involved in SAP HR upgrade from R/3 4.6c to ERP 6.0 for country AU.
    Now, there are three functions - namely QSIMG, AU015 & XEDT - that have become obsolete in payroll schema Q000 in ERP 6.0. Can anyone please let me know what are the replacements for these functions in payroll schema Q000 in ERP 6.0.
    How is SAP handling the functionalities of these functions - QSIMG, AU015, XEDT in payroll schema Q000 in ERP 6.0
    Any pointers in this regard will be highly appreciated.
    Regards,
    Vivek

    I`d say contact SAP . I did check following OSS notes , but no-luck !
    FYI
    1. 0.760 PY-AU 1003724 IT0014 wagetype processed differently in QSIMG and P0014 13.12.2006
    2. 0.400 PY-AU 931854 Termination Payment incorrect because of Infotype 14 15.03.2006
    3. 0.290 PY-AU 626989 Taxation on Lump Sum Payments as Arrears 27.04.2004
    4. 0.570 PY-AU 369575 Termination using delimited infotype 14 records 09.07.2001
    5. 0.340 PY-AU 210623 PY-AU: Bonus combined with Adv Pays causing problems 04.07.2000
    6. 0.470 PY-AU 208953 PY-AU: WPBPC not working in termination simulation

  • InternetExplorer display problem with Forms6i

    The form we have designed does not get showed fully in the normal view of the browser nor in the full screen view(screen resolution - 800 * 600), since it(the form) is intended to handle many functionalities. So a scrollbar(vertical) comes..On scrolling down, in the Internet Explorer(5.x), the applet seems to get painted over and over and the form display is totally distorted. But the same thing works fine in the Netscape Navigator browser..Is there any solution for this..Please give some suggestions..
    Ranjith..

    Thank you very very much...
    It works ok!!! both in IE and NS !! i.e, the form gets displayed just like it is done when we "run form web" in the Forms Builder, and it works almost like normal C.S form..
    Thank you, thank you!!!
    (P.S: But, IE would surely, make problem, if we put it like it was earlier, wouldn't it? So, always, giving separateFrame=True would be the one safe solution??)
    Regards
    Ranjith...
    Well this proves the case the the problem is as I described (and IE problem).
    You can set the width and height parameters in the HTML to give yuo more room or even set separateFrame = True which will display the forms outside the browser.
    Let me know fi this helps
    Regards
    Grant Ronald

  • Problem in increasing the size of the fields in predifined forms.

    Hello All,
                      I am facing aproblem while increasing the size of a field in predefined forms.I want to increase the size of remark field from 254 character to like 400 characters in A/R Invoice form of sales A/R module.
                                    I tried to update the related field (OINV- Comments) directly from sqlserver but its not reflecting in sSAP form and still remark field is taking 254 characters only.
                        Please help to how to Increase the size of the fields in predifined forms.
    Please reply ASAP, its very urgent.
    Regards,
    Nagababu.

    First of all you loose support as soon as you modify any table directly from SQL Server.  You should NOT change any fields since this may affect how SBO works.  Just by resizing a field doesn't mean that it will get resize in the form since you still have the programming part of it.
    If you have new functionality or changes of that type I would suggest to post a message to support on the partner portal and/or post a comment in the SAP B1 forum here at SDN on the forum that handles new functionalities request.
    Regards,
    WB
    PS.- Do a search at the SDK forum and there is a post where there is a list of what you can and CAN NOT do to tables beloging to SAP B1.

  • Limiting connections to FMS

    I was wondering if there is a notion of (to use a Java
    metaphor) "static" shared objects. That is objects/streams shared
    across FMS instances.
    Currently Flash clients connect to various instances of my
    FMS app with each instance providing a whole bunch of shared
    objects to handle various functionalities; this works well. But I
    also want to provide global chat/messaging so that clients
    connected to various instances of my app will be able to
    communicate with each other. Right now I'm handling this by making
    a separate connection. So for each user I maintain two connections
    to the FMS.. this seems like a waste, and I'm hoping that there is
    a better way to do this.
    Any ideas?

    Here it is an excerpt of the file.
    The <Allow> tag is the only thing i've modified :
    <!-- This tag specifies a comma delimited list of domains that are   -->
    <!-- allowed to connect to this vhost. If this tag is empty, then    -->
    <!-- only connections from the same domain that is being connected   -->
    <!-- to will be allowed. If this tag is not empty, then only the     -->
    <!-- domains explicitly listed will be accepted. For example,        -->
    <!-- <Allow>macromedia.com, yourcompany.com</Allow> will only allow  -->
    <!-- connections from the macromedia.com & yourcompany.com domains.  -->
    <!-- If you wish to allow localhost connections, you will specify    -->
    <!-- "localhost". For example, <Allow>localhost</Allow>. To allow    -->
    <!-- all domains, specify "all".  For example, <Allow>all</Allow>.   -->
    <Allow>www.mywiicenter.com</Allow>
    I have a page, on the site specified in <Allow>, with an SWF that shows a video on demand, taken from the "media" subfolder of the VOD application.
    The FMS is in a different server.
    When there it was "all" in place of my site, the connection were established, and i watched the video.
    Now, the swf can't connect from either my site nor from any other one (i've also tried putting the swf on a different webserver with another domain name).
    The FMS administration console tells me that a connection was attempted, but it was refused (see image below):
    And i've tried both with IE7 and Opera 9.
    I think there's a simpler way than rewriting the VOD application , isn't it?

  • Can Web Service Consumption in SAP CRM 7.0 handle multiple records

    Hi All,
    I have a requirement where in I need to Consume a web service in SAP CRM. The response of the web service will have multiple records.
    My questions is will Web Service Consumption in SAP CRM 7.0 be able to handle these records in a popup or not.
    I would like to know whether it is feasible or not.
    Thanks,
    Deepika

    Hi Kavita,
    There is a standard column in UWL with name 'Sent Date'. Other functionalities in UWL for example deadline monitoring (Due date column) are based on this sent date. This shows an employee what was the date workitem was created (sent date) and when it will get escalated (due date). Displaying forwarding date in Sent date will not give clear picture to employee as the deadline will be calculated based on sent date only not based on forwarding date. this was just an example.
    even though if your client is insisting, i dont think it can be done without any enhancement in UWL web dynpro com sort of thing. you can check with your portal consultant too.
    Regards,
    Ibrahim

  • How to handle the more than once from the same jsp files

    Hi,
    i have a one jsp file with three buttons.each one having for different functionalities. like one for cancel, second for edit the values and third for save the values in databse. so i want to handle all these 3 buttons. how can test that which button is coming for action..
    Is there any validation necessary for buttons....
    give me the suggestion to do this.......
    help meeeeeeee
    thanks
    123

    Hint: Its something you need to handle using javascript by setting the hidden variables during submit.
    I would expect you to think on this and reply the simple solution.

  • How to Configure E-mail and Chat functionalities

    Dear all,
    How to configure E-mail and Chat functionalities for IC Webclient.
    through IC Webclient ICI interface how can we configure E-mail functionality, As per my understanding, E-mails can be handled in a similar way of receiving phones.
    Where these E-mails can be stored?, Where we define agent E-mail id?
    being ICI is a multi channel support does it need SMPT server support? If No, would there be any difference in the functionality?
    How does CHAT functionality works?
    Please educate in above scenarios to get a better understanding.
    Your help will be highly appreciated.
    Best wishes
    Raghu ram

    Do you make any effort to search for your answers before you post your questions?  ERMS is the email response system
    The 2nd post on this board - Documentation for Interaction Center (IC) WebClient
    There is tons of stuff here to answer your questions as well as show you the configuration.  You need a 3rd party CTI solution to do chat that you will read about in the blog.
    SAP Notes
    759923 Frequently Asked Questions about IC WebClient
    940882 Frequently Asked Questions about ERMS
    882653 Frequently Asked Questions about Agent Inbox
    1114557 SAP CRM 2007 Internet Browser Releases
    1118231 Supported user interfaces for SAP CRM
    981710 Support for Microsoft Internet Explorer 7.0
    1144511 Blank screen when starting CRM WebClient or IC WebClient
    1115493 CRM Web UI: Mandatory SICF services for CRM framework
    992848 Mandatory ICF nodes for CRM WebClient UI Framework
    IC WebClient Consultant Cookbook for CRM 2005
    Online Documentation
    Online Knowledge Products
    Blog: How to Configure Contact Center Simulator User Interface (CCSUI)
    Blog: What is Computer Telephony Integration (CTI)

  • Creating a Web Service to handle flow between BPEL process and XML Gateway

    I am new to Web Services. I have never created one, yet I have the task of designing the following for a project.
    Any help as to what steps I need to take would be very very helpful. There is a lot of information on XML, SOA and WSDL out there that it can get very confusing, and sometimes you just need someone to point the way
    What I need to do is create a Custom Send and a Custom Receive Program (both web services) handle the message flow between an Enterprise BPEL processes and a Deployed XML Gateway.
    BPEL compresses this XML business object document (for faster transmission), and sends remotely to this Custom Receive web service, which in turn calls a decompress java program and then send the document to the XML gateway inbound web service.
    The Custom Send web service does just the opposite. It needs to take the business object document from XML gateway, call the compress java program and then send to the Enterprise BPEL.
    In a nutshell...these Custom Send/Receive Web services handle the message flow between the Enterprise BPEL process and the Deployed XML Gateway.
    What I need help on...
    -Creating this in JDeveloper- where do I get started?
    -How does a web service receive a compressed file sent to me via BPEL? Does it just sit there waiting for it?
    -Is this a synchronous or asynchronous design?
    -Will this be 2 web services (Send and Receive) or do I make 1 with 2 functionalities
    -How do I call the java compress/decompress program within the web service? (this java function is already created and ready to be called)
    -Is this decompressed business object file an XML schema and an XML message? Or just a message?
    -I need to send this to the XML Gateway Web Service to load. How does that work?
    -I have a Generic XML Gateway WSDL file...I assume I need to take all the info I get and map it to this template? Is this true? How do I do that?
    Like I said, any help would be appreciated. Links answers to my many questions would be fabulous.
    -Jason

    If you are talking about simple XML transformation of the SOAP payload between the client calling your service and the final destination of the message you are routing, the ESB approach may be a better fit.
    If you have more complex transformation in mind, with major processing and rework of the message in the intermediary, you may be better of with using the POJO approach. Write your service and embed a callout to the other service in your implementation. If the two services share the same Java Model, you may even be able to re-use the same Java Bean.
    To get SOAP Element instead of Java bean, you just need to use the noDataBinding option with either genProxy and topDownAssemble (or assemble). See the WS-Guide [1] for details. Chapter 18 will give you all the details about the different WSA command line parameters.
    Hope this helps,
    -Eric
    [1] http://download-west.oracle.com/docs/cd/B31017_01/web.1013/b28974/toc.htm

  • Smartform print program to handle different mediums(1,2,5,6)

    Hi ...
    Iam writing a custom print program without copying any standard print program for a smartform..
    This smartform will be configured for the mediums 1,2,5 and 6..
    Can someone tell me like if other than normal code in the print program should we write any specific code to handle for different mediums (1,2,5 and 6) or else just the sameprogram that is used for medium 1 can handle all other mediums also...
    Appreciate if someone can clearly state your views on this...
    Thanks,
    Kanthi..

    Hi Kanthi,
    i dont think merely a Print program will be able to give the the functionality of mediums 2,5 & 6.. u need to write additional code for that... this u can chk by lookin into any standard print program say for PO u can look into sapfm06p in NACE, u may find that there may be separate programs for separate functionalities..
    hope it helps..

  • Handling multiple events in web application

    We are converting a window application to a web application. We are facing an issue while implementing the web application with Java on front end and Oracle DB in back end. Consider a field with a car registration number which needs to be verified if it exists in the DB and fetch the remaining values related to the car and display it. At the same time we also need to save the car registration number in the form (displayed in the browser) so that other operations (such as invoicing) can happen on the car. We have a constraint that we cannot touch any of the server procedures in the DB (which handles all DB calls) but could only play with the functions in the UI.
    Now the verification of the reg. no. happens whenever we go 'out of focus' from the text box where the reg.no. is written. However, if the user presses 'save' button to save the reg.no., verification should also occur and data should be saved. Now the problem we are facing is that on pressing the save button, two events are occurring simultaneously - 1. textbox with reg.no. is getting 'out of focus' and 2. save button is getting pressed resulting in verifying the reg.no. again. Due to this two events happening simultaneously, one or other method is failing leading to the car reg.no. not getting verified and saved as it should be.
    Could anyone think of any solution to overcome the issue?
    /Mayank

    Hi,
    Your assumptions are all correct. Indeed there is Javascript code executing on focus change and AJAX is doing the validations by inturn calling an oracle procedure through some Java rountine. The two requests are overlapping and hence blocking the complete execution of either, leading to the validation not taking place at all.
    The webpage gets refreshed everytime an event occurs and thus the next event can take place only after the page has refreshed once (after completing all the validations linked to that event). The problem is occuring since the page is not getting time to refresh. With simultaneous execution of 2 events, the validations related to 'Out of focus' remains incomplete before the 'save function' starts. I am constrained not to put the validation related to 'Out of Focus' in the beginning of 'save' event since that would alter functionality of the 'save' event. Again, I am not allowed to change any of the server procedures on the DB side and have to pass exactly the same i/o parameters for it to function properly.
    What I am trying to find is: Whether it is possible to find out (using some global variables) that when the 2 events are happening simultaneously, their functionalities could be combined and serialized in just one refresh of the webpage. and how?
    I am trying to get this project done by Java resources and am myself not very technical with Java. If a solution exists and I get to know it exists, I can guide the programmers to try out the approach that come up.
    Thanks so much :)

  • Handle "Enter" inside Custom Container

    Hi all,
    I am having 4 to 5 fields in my module pool screen and at the same time i am having a custom container wherein, there is editable ALV.
    Here in editable ALV, i am having an editable field called dealer code.When i enter dealer code in editable ALV and press enter
    my dealer name and dealer address in editable ALV [inside Custom Container] should get populated.
    But when the cursor is inside the custom container [in that editable field] none of my screen events[Module pool events]
    are getting triggered [Hence my values are not getting populated.When the cursor is outside the custom container all my module pool events are working fine, hence values are getting populated....
    Is there anyway to handle this???
    I am using OOPS Editable ALV inside a custom container...
    Waiting for your repiles...

    Hello,
    You have to implement events in order to handle your ALV, take a llok to this PDF:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Take a look on section EVENT BASED ADDITIONAL FUNCTIONALITIES->Making ALV Grid Editable
    Bye!!
    Gabriel P-

  • SALV Methods ---  ALV GRID functionalities reqd.....points for sure

    Hi all
    I am using <b>factory methods for my alv grid display.</b>
    I have a list of functionalities, for which i am not able to find a correct method..
    1) Header of alv(with all the values of the selection-screen) along with labels
    2)How to give text to a subtotal(ed) column, i.e. if i subtotal a qty field against a sorted field, i want to display ==> Nett Wt. = 123.00 (for first header entry) and so on for each header entry.
    3)how to remove the zeroes from a quantity field?
    4) Displaying the cells as blanks where data is 0( for quantity fields if i have a cell with zero value, it should be blank.)
    5) double click on a cell to open a transaction with the cell's value.
    6) how to have multiple subtotal columns, without disturbing the sort order  of grid display
    Any help on this would be appreciated.
    Points will be rewarded for sure...
    Thanks & Regards
    Ravish Garg

    Hello Ravish
    Regarding the handling of the <u>double-click</u> event have a look at sample report <b>ZUS_SDN_CL_SALV_TABLE_INTERACT</b>.
    *& Report  ZUS_SDN_CL_SALV_TABLE_INTERACT
    REPORT  zus_sdn_cl_salv_table_interact.
    TYPE-POOLS: abap.
    DATA:
      gt_knb1        TYPE STANDARD TABLE OF knb1.
    DATA:
      go_table       TYPE REF TO cl_salv_table,
      go_events      TYPE REF TO cl_salv_events_table.
    *       CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS:
          handle_double_click FOR EVENT
              if_salv_events_actions_table~double_click
              OF cl_salv_events_table
              IMPORTING
                row
                column.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
    *       CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_double_click.
    *   define local data
        DATA:
          lo_table   TYPE REF TO cl_salv_table,
          lt_orders  TYPE STANDARD TABLE OF bapiorders,
          ls_knb1    TYPE knb1.
        READ TABLE gt_knb1 INTO ls_knb1 INDEX row.
        IF ( syst-subrc = 0 ).
          CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
            EXPORTING
              customer_number             = ls_knb1-kunnr
              sales_organization          = '1000'
    *         MATERIAL                    =
    *         DOCUMENT_DATE               =
    *         DOCUMENT_DATE_TO            =
    *         PURCHASE_ORDER              =
    *         TRANSACTION_GROUP           = 0
    *         PURCHASE_ORDER_NUMBER       =
    *       IMPORTING
    *         RETURN                      =
            TABLES
              sales_orders                = lt_orders.
    *     Create ALV grid instance
          TRY.
              CALL METHOD cl_salv_table=>factory
    *        EXPORTING
    *          LIST_DISPLAY   = IF_SALV_C_BOOL_SAP=>FALSE
    *          R_CONTAINER    =
    *          CONTAINER_NAME =
                IMPORTING
                  r_salv_table   = lo_table
                CHANGING
                  t_table        = lt_orders.
            CATCH cx_salv_msg .
          ENDTRY.
          lo_table->display( ).
    **      SET PARAMETER ID 'BUK' FIELD ls_knb1-bukrs.
    **      SET PARAMETER ID 'KUN' FIELD ls_knb1-kunnr.
    **      CALL TRANSACTION 'XD03' AND SKIP FIRST SCREEN.
        ENDIF.
      ENDMETHOD.                    "handle_double_click
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    START-OF-SELECTION.
      SELECT        * FROM  knb1 INTO TABLE gt_knb1
             WHERE  bukrs  = '1000'.
    * Create ALV grid instance
      TRY.
          CALL METHOD cl_salv_table=>factory
    *    EXPORTING
    *      LIST_DISPLAY   = IF_SALV_C_BOOL_SAP=>FALSE
    *      R_CONTAINER    =
    *      CONTAINER_NAME =
            IMPORTING
              r_salv_table   = go_table
            CHANGING
              t_table        = gt_knb1.
        CATCH cx_salv_msg .
      ENDTRY.
    * Create event instance
      go_events = go_table->get_event( ).
    * Set event handler
      SET HANDLER:
        lcl_eventhandler=>handle_double_click FOR go_events.
      go_table->display( ).
    END-OF-SELECTION.
    Regards
      Uwe

  • BAPI of Handling Units

    Hi,
    Good day.
    I need the following BAPI for Handling Units:
    (1) One that will create an HU under a certain Shipment
    (2) In the said Shipment, Pack HUs into an HU
    These functionalities are similar to that of VT02N.
    Please advise if you know the BAPIs that perform the said functionalities.  And if possible, kindly provide sample codes.
    Thank you very much!
    Best regards.
    Brando

    Hi,
    I am using BAPIs to perform the following steps:-
    1) Create HU (BAPI_HU_CREATE)
    2) Add a single product (and its serial number) to the HU
    Code:
    pack1 =  hu_key.
    item-hu_item_type   = '1'.
    item-pack_qty         = '1'.
    item-material           = p_matnr.
    item-plant             = p_werks.
    item-stge_loc          = p_sloc.
    item-no_of_serial_numbers  = '1'.
    SERIALNO-SERIALNO = p_serial.
    append SERIALNO.
    call function 'BAPI_HU_PACK'
      exporting
        hukey         = pack1
        itemproposal  = item
      importing
        huitem        = hu_item
        huheader      = hu_head
      tables
        serialnumbers = serialno
        return        = ret.
    BAPI_HU_PACK

Maybe you are looking for

  • "and" function in filter in Bridge?

    I give multiple keywords to my pictures, such as name of person and date taken. If I want all pictures of person A of date X and cross the relevant keywords in filter, I get ALL the pictures of person A as well as ALL the pictures taken on date X. Th

  • How can I transfer files from my computer to my wifes computer wirelessly in the same room?

    Thanks, Doug Miura

  • Final cut pro to compressor

    Hi, I am having trouble exporting a sequence from Final Cut Pro to compressor. When I export, FCP creates a new bizzarely named project, and generates an alert that "A file of that name already exists". Compressor then opens and appears normal, excep

  • Sync fails on all devices

    My sync fails with all devices. iPhone 5 iPod 5 iPad 2 all previously backed up. Ever since the first backup they have failed. several updates in iOS and iTunes. I am upgrading my HDD on my PC running Win 7. Every piece of software is a fresh install

  • All settings gone

    I installed an sad and envy thing works fine. When I randomly rebooted my system all my settings were gone. Like I did a clean install. All my apps are this in de application folder and my library is still in place but somehow no setting is loaded. D