Questions on SortedMap & regards on implementing compareTo.

the problem: im trying to run search algorithms on TreeMaps which contain string keys and values. these algorithms generally require the known first and last key. the interface Sorted Map, implemented by TreeMap, gives the methods firstKey() and lastKey(), however im having trouble dealing with them.
what gets me is that all keys inserted into the map must implement the Comparable interface. this requires me to define compareTo in my code but im having trouble with this. how do i compare the value of two strings together without using equals() which uses compareTo? im in a loop =)
all i want to do is run a binary search on the contents of a TreeMap!
can anyone help?

When you put String keys and values into a TreeMap, you don't need to implement anything. String implements the Comparable interface.
// file Test.java
import java.util.*;
public class Test {
  public static void main(String args[]) {
    TreeMap tree = new TreeMap();
    tree.put("a", "object a");
    tree.put("c", "object c");
    tree.put("b", "object b");
    System.out.println(tree.firstKey());
    System.out.println(tree.lastKey());
}This will show the following output.
a
cWhen you use a different class for your keys, that class should implement the Comparable interface, as in:
// file MyKey.java
import java.lang.*;
public class MyKey implements Comparable {
  private String s;
  public String getS() { return s; }
  public MyKey(String s) {
    this.s = s;
  public int compareTo(Object o) {
    if( o instanceof MyKey ) return s.compareTo(((MyKey)o).getS());
    else throw new ClassCastException("object is not an instance of MyKey");
  public String toString() { return s; }
}When you change the testprogram a little, you can add keys of class MyKey.
// file test2.java
import java.util.*;
public class Test2 {
  public static void main(String args[]) {
    TreeMap tree = new TreeMap();
    tree.put(new MyKey("a"), "object a");
    tree.put(new MyKey("c"), "object c");
    tree.put(new MyKey("b"), "object b");
    System.out.println(tree.firstKey());
    System.out.println(tree.lastKey());
}This will show the same output as the first program. Hope this will help.

Similar Messages

  • Standard Business Questions for new FI/CO implementation

    Hello,
        Can anybody please provide a standard lists of questions to ask Business persons for FI/CO implementation or suggest where can it be found/available. kindly send to this email : [email protected]
    Please assist in this reagard as it is very urgent.
    Points will be given generously.
    Thanks

    Hi Ashwin,
    Please Find below the some of the general questions asked for a new implementation.
    1)     Describe in as much detail as possible of the business at your location and its processes regarding
    2)     Prepare a complete list on all legally required reports, forms and templates (e.g. Financial Statement Versions Balance, P&L, Cash Flow Report, Expense Report, Reconciliation Report about Diff. US GAAP / local Tax Law, etc).
    3)     Will you need an interface to other external software? (e.g. payroll, taxes, barcode, etc.).
    Please list and give a brief explanation.
    4)     Please list all your required payment terms.
    5)     For the creation of vendor tolerance groups (price, no quantity) please give appropriate details.
    6)     For the creation of automated journal entries, please give a complete overview on the assignment of cost elements to cost centers.
    7)     As a preparation on the mapping of the chart of accounts, please prepare a complete list of all required accounts that will have to be assigned to the new number ranges, in the Global Chart of Accounts.
    8)     Is there a legal requirement for an alternative chart of accounts for your entity?
    9)     Please prepare a complete list of all the common payment methods you have in use
    10)     Please deliver a complete list of national bank indicators and codes
    11)     Will you need different payment formats for different countries? Please give an overview. 
    12)     Provide An Organisation Chart (Bring a copy with you)
    13)     Provide your Current Chart of Accounts Listing (Bring a copy with you)
    14)     Provide a list of Cost Centres
    15)     Request from the bank complete bank directory listing relevant bank information for all banks in your country.
    16)     What types of transactions are typical for each account
    17)     Approximately how many transactions are processed daily on each bank account?
    18)     Do you currently receive bank Statements in manual or electronic format? 
    19)     How do customers typically pay
    20)     Please provide a list of all the currencies you currently deal with
    21)     Prepare a sample each of the month- end / year- end closing schedule
    Please assign points if found useful
    Regards
    Genie

  • My question is in regard to pc to mac migration. How do I migrate information from my pc with specific user account to an existing user account on my mac? I do not want to use multiple mac user accounts.

    My question is in regard to pc to mac migration. How do I migrate information from my pc with specific user account to an existing user account on my mac? I do not want to use multiple mac user accounts.

    https://discussions.apple.com/message/16371308#16371308

  • Question, in a client server implemention

    Question, in a client server implemention using only basic sockets and datagrams, what happens if a method is being called at the server side while the same method is already being called/running for another client?
    Example:
    Client 1 calls Method 1 at Server Side. Method 1 runs.
    Client 2 calls Method 1 at Server Side. Method 1 is still running for Client 1. Does it create another Thread and runs for Client 2? Or do I have to implement a seperate Thread for each Client myself?

    Thanks!
    Don't want to start a new thread so might as well ask this here,
    Is there a way to pass or at least update the value of a variable from the outside into a Thread that is running? And this value needs to be seen and be the same for all Threads.
    I am thinking of creating new a class that to hold the value I want to update, and passing an object of the class in to the Threads before they runs. Since objects hold reference to the location of the actual object or something like that; people always get worked up over this if I phrase this incorrectly, but I think I got the point across, so that's okay. If I change the value of the object at runtime in the main method, like assign it with a new value according to user input. All the Threads will get the new value right?
    Something like that.
    public class valueToUpdate {
    String value;
    public valueToUpdate(String value) {
    this.value = value;
    public String getValue() {  
    return value;  
    public class Main {  
    public static void main(String[] args) {  
    String str = "abc";  
    valueToUpdate vTU = new valueToUpdate(str);  
    ThreadClass tc1 = new ThreadClass(vTU);  
    Thread thread1 = new Thread(tc1).start();  
    ThreadClass tc2 = new ThreadClass(vTU);  
    Thread thread2 = new Thread(tc2).start();   
    public class ThreadClass implements Runnable {  
    valueToUpdate vTU;  
    public ThreadClass(valueToUpdate vTU) {  
    this.valueToUpdate = valueToUpdate;  
    public void run() {  
    System.out.println(valueToUpdate.getValue());  
    }Okay, something like that. I know I need to add in a TimerTask for ThreadClass too for it to run for a certain period. But if I were to ask for user input at the main method while the TimerTask in running, and I change the value of vTU, will the output for both Threads be changed to the value of the user input?
    Or is there a better way to do it?

  • Help Required - Regarding New Implementation

    Hello Experts,
    Implementing a new SAP ... and got bit confused about the April 1 opening balances and March closure.
    On 1st March 2014 we entered the following Opening Balances -
    1. Open POs
    2. Open Sales Orders
    3. Stock Opening Balances
    Then for the month of March we have been running SAP and the legacy system in parallel , making the following transactions –
    1.       Sales Order (Invoiced in March only)
    2.       Deliveries
    3.       All AR Invoices
    4.       All Purchase Orders
    5.       All GRNs
    6.       All AP Invoices
    7.       No Bank receipts or payments were created. End of the month both AR and AP invoices will be Open for bank receipts and payments respectively.
    The main question is which transactions need to be created/ closed to have opening balances in SAP.
    (In other words ...
    What is required now to create the correct opening balances? Can we close the invoices, both sales and purchases, without creating receipts and payments, respectively?
    How do we need to enter the customer and supplier opening balances when we have already created all the invoices for the month of march?)
    Your help will be much appreciated...
    Thank you.
    Best Regards

    Hi, Venkat
    I think that your Subject is not relevant to your problem
    For Search Help problem please follow the test the following code.
    PARAMETERS: ppernr LIKE pa0001-pernr.
    DATA: i_return TYPE ddshretval OCCURS 0 WITH HEADER LINE,
          c TYPE c VALUE 'S'.
    * Search Help for Pernr
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR ppernr.
      TYPES: BEGIN OF t_pernr,
        pernr LIKE pa0001-pernr,
        ename LIKE pa0001-ename,
      END OF t_pernr.
      DATA: it_pa0001 TYPE STANDARD TABLE OF t_pernr WITH HEADER LINE.
      SELECT pernr ename from pa0001
        INTO CORRESPONDING FIELDS OF TABLE it_pa0001
        where pa0001~endda = '99991231' .
    *    WHERE zsdo~kunnr IN sokunnr.
      DELETE it_pa0001 WHERE pernr = '00000000'.
      SORT it_pa0001 BY pernr.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'PERNR'
          dynpprog    = sy-repid
          dynpnr      = sy-dynnr
          dynprofield = 'PERNR'
          value_org   = c
        TABLES
          value_tab   = it_pa0001
          return_tab  = i_return.
    Pleae Reply if any Issue,
    and If above is also not solution too, than Please Explain your Problem
    Kind Regards,
    Fasial
    Edited by: Faisal Altaf on Jan 17, 2009 2:46 PM

  • Regarding SCM Implementation Documentation

    Dear
    Presently i am woking on SCM moudles,
    This is the first project in SCM...
    Can any one help me the regarding documents on this flow....
    currently on desigin phase of manufacturing and job orders.
    which docs have to be made such as BR100 in financials.
    and
    We are using 11.5.10
    and process is discrete manufacturing....
    Pls if any one has send me on [email protected]
    it will be usefull for me to have good deliverables.
    Thanks
    Mujeeb
    Ksa.

    Hello
    This question is very generic, if you pin point to specific phase of implementation, specific module you want to implement, than it would be easy for forum to put on some details for you
    If you extract AIM Tool, you may get templates for various phases of lifecycle.
    Remember, THESE are TEMPLATES..
    All you can do is standardise your documentation, however, content varies from project to project and business area to different business area,
    If you need specific help, do not hesitate to get in touch with me on [email protected] and i will see if I can be of some help to you
    ================
    Rgds
    Kamal

  • Questions on SSO and OID implementation on oracle EBIZ R12.0.6 ID 376811.1

    Hello Guys,
    IS ORACLE 10g enterprise edition is same oracle identity management because I am bit confused what is going on when we logged an SR we have been told to use oracle 10g AS (10.1.3.5) but in the note its always says oracle 10g AS 10.1.4.X. which is in turn an Identity management so we need install oracle 10gAS (10.1.3.5) then on top of that we install oracle identity management which comprises of OSSO and OID . is it correct ??
    in reference note 376811.1
    please advise
    thanks
    MN

    Hello Hussien,
    Anyways I upgraded to 10.1.3.5 patch_set 10gAs on ebiz r12.0.6
    I have other question regarding the doc ID 376811.1
    in there is section
    Pre-Install Task 4: Apply the latest certified Application Server Patchset
    Oracle E-Business Suite Release 12 is certified with the Application Server Patch Sets listed in the table below:
    Certified AS Patchset Download Location One-off Patch details (if any)
    Oracle Identity Management 10g Release 3 Patch Set 1 (10.1.4.2) 5983637 8811442
    Oracle Identity Management 10g Release 3 Patch Set 2 (10.1.4.3) 7215628 8811442
    Oracle Application Server and Oracle Developer Suite 10g Release 2 (10.1.2) Patch Set 2 (10.1.2.2.0) 4960210
    Oracle Application Server and Oracle Developer Suite 10g Release 2 (10.1.2) Patch Set 3 (10.1.2.3.0)
    5983622
    Follow the installation instructions provided in the patch README to install the patch on your Identity Management Server and to check supported operating systems.
    Oracle always recommends latest certified AS patchset for E-Business Suite customer
    I installed oracle 10gas 10.1.4.0.1 its up and running so do i need to just apply the patchset oracle Identity management 10gR3 patcheset (10.1.4.3)
    or  I have to apply  both 10.1.4.3 and the oracle Application server 10g release 2 (10.1.2)patch set 3(10.1.2.3.0) ???
    because in enterprise manager application server control it says version 10.1.2.0.2 and identity management components show 10.1.4.0.1 .
    thanks in advance.

  • Question for Database EXPERTS about implementing an Embedded Database

    One of my current projects is to implement a Embedded pure java database with a smaill subset of SQL. Since I estimate it will take me at least 400 man hours (based on my intial unfinished attempt) to build something robust and usable, I thought I'd ask my fellow java folks for suggestions. The SQL and parsing is no problem, but the best way to implement the records structure is. My first approach would be to represent each table in a seperate file (file defined as a standard OS file). Each record would have a fixed byte length, say 256.
    A seperate definition file would containt the column names, type, and maximum byte length for the column. So the data file would be a repetitive list of 256 byte rows, some arbitrary byte value could be used as a 'filler' for the part of a row not being used. When a row is deleted, the entire row is merely overwritten with the filler. The next inserted record would then take its place.
    String types, numeric types, and small strings would be written directly to the data file at their appropriate byte offset from the start of its respective byte row position.
    Complex or large data types like multimedia and memos would merely have a filename string pointing to another file. Things like security and encryption (hopefully) could be added on later. My main concerns are about how to implement an efficient indexing algorithm, and how to minimize the space required for each table, while maintaining simplicity.
    Furthermore I currently plan to use the most basic and common classes to implement this (Java I/O API, and of course some of the SQL API to implement JDBC). Any advice on other APIs that may benefit this? Any red flags come up yet?

    One of my current projects is to implement a Embedded
    pure java database with a smaill subset of SQL. [ ... ]
    fellow java folks for suggestions. The SQL and parsing
    is no problem, but the best way to implement the
    records structure is.I once (1981) did it this way: a database file consists of consecutive pages, all of equal size; say, 4KB per page. Every page consists of consecutive cells; every cell can store a short, so 2K cells can be stored in a page.
    Cells in a page serve two purposes. From the bottom to the top, the cells represent offsets in the page where the records are stored and from the top to the bottom the cells are used for the actual data. The first cell of the page contains the offset to the first free cell in the page; the second cell contains the offset to the first occupied (data) cell in the page. Any record offset cell containing zero (0) is a free record offset cell.
    This scenario implies that the maximum record length is 4KB - 4*3 bytes.
    A record takes up one offset cell, as many cells that are needed for the acual data, preceeded by a cell containing the length of the record. The offset cell contains the cell number where the record starts (the length cell).
    Records are addressed by their page number and by their cell offset number [PR]. The R number points to the cell containing the actual offset of the record. The [PR] number doesn't change during the lifetime of the record. (this is important).
    Inserting a record is easy: find a page with enough room and store the record in that page. If no page is available, add another page to the database file. Deleting a record is simple too: delete the record, zero out the offset cell and compact the data part of the page. Updating a record is a bit more complicated. If the record size shrinks, stuff is easy. If the record size grows, and it doesn't fit in that page anymore, another page has to be found. The old data is removed and a small 'indirection record' is inserted instead. This new record contains the actual [PR] number where the new (larger) record is stored. The original R cell has a few more bits available. 2K different numbers take up 11 bits. The cell itself can store 16 bits, so one bit can be used, indicating that it's not pointing to an actual data record, but its offset is pointing to an 'indirection' record instead. Some careful fiddling takes care that subsequente updates of a record keep this indirection stuff limited to just one indirection (this is true, believe me).
    Pages are loaded in core, and swapped out whenever necessary. Every loaded page has a page number and a 'dirty bit' attached to it. Whenever this bit is set, the page has to be written back to disk if it needs to be flushed from memory (due to memory exhaustion etc.) otherwise, the memory can simply be released. A simple LRU (Least Recently Used) list does wonders here.
    B-tree records can be stored as ordinary records too; this implies that the indexes of the tables (a bunch of records) are ordinary records too. Note that these spare 5 bits (one taken indicating an 'indirect' record) can do wonders here. As a matter of fact, a bit indicating that its cell is pointing to a B-tree node came in very handy. And still three bits free for other miracles! ;-)
    I better quit before I turn another message into a novel again.
    kind regards,
    Jos

  • Question of SAP Methodology of Implementation esp. System Testing and Test Script

    Dear SAP Member,
    As a very new and inexperienced customer to the SAP and the business. My company is preparing for the retail shop establishment which part of the preparation includes SAP implementation.
    At first, we strongly believe SAP can fit and serve our business need well. Also, the standard methodology of implementation will be able to deliver the system with expected quality. However, the local implementor disappoint my firm with poor quality delivery and control that result in the perception of uncertainty of the system to be lived.
    The methodology proposed by the implementor composed with
    1) Preparation
    2) Blueprint
    3) Realization
    a) Program development and unit test by vendor
    b) Training
    4) Final Preparation
    a) Integration test by Users
    b) Data conversion preparation
    5) Go-Live and Support
    My problem comes up with phase 4-5
    Problem 1: Unit/functional test performed by implementor . For this activities, how could customer ensure that every single function has been developed or implemented according to the requirement and without error?
    Problem 2: Vendor  provides slot for integration test for 7 days. Is it normal practice that test can be done within this short period?
    Problem 3: Does SAP methodology has the standard quality control, test enter and exit criteria and issue/incident management?
    Problem 4: How should the standard test script look like? What i received from implementor was like functional list rather than script.
    Problem 5: what should be step for conversion apart from the data preparation by users? The local implementor does not explain/elaborate the detailed activities.
    Last but not least, as the customer do not satisfy with the SAP partner (local implementor quality). What should be the process for feedback as to prevent other new customer to face the same problem?
    SK

    SK,
    Thamil has given his view.  Here is another.
    how could customer ensure that every single function has been developed or implemented according to the requirement and without error?
    If this is an issue to you, you can insist that members of your test team participate in unit testing.  You are, after all, the client, and it is your money being spent.  As long as you can furnish testers, who are competent to evaluate unit testing scenarios, you can have them work with the vendor during unit testing.
    Vendor  provides slot for integration test for 7 days. Is it normal practice that test can be done within this short period?
    It depends on what is being implemented.  I have seen implementations which contained over a hundred test scenarios and  over 2000 test scripts; each of which must be tested by multiple functional groups.  1 week is not enough to complete Integration testing in this case.
    Also remember that it is necessary to allow time to correct 'bugs' found during integration testing, and then to re-test after the bugs are fixed.  Except in the simplest of implementations, 1 week may not be enough to accommodate the bug fixes and retests.
    Does SAP methodology has the standard quality control, test enter and exit criteria and issue/incident management?
    Which 'SAP methodology' are you talking about?  Bottom line, the client must insist that the vendor incorporate any methodologies that are required for his business.  Don't assume that your vendor will automatically bring these items to the table, YOU may have to bring them to the table.
    How should the standard test script look like? What I received from implementer was like functional list rather than script.
    ?????  It should look like whatever you want it to look like.  Many companies have existing templates.  If your company doesn't have such a template, ask your vendor for one.  Go over it together with him and make appropriate modifications that meet your business requirements.
    what should be step for conversion apart from the data preparation by users? The local implementer does not explain/elaborate the detailed activities.
    It is impossible to say at the beginning of the project.  Sometime during realization, the client and the vendor will jointly develop a detailed cutover plan.  More importantly, the client will develop a change management plan for the client company, in which all stakeholders in the client company will come to understand how and when ALL of the client's business processes will need to change, and to develop plans for all affected groups.
    Best Regards,
    DB49

  • Regarding BADI implementation in Debugging

    Hi,
       i have a doubt regarding BADI.There are multiple badi implementations for VA02 transaction. now i am processing the VA02 transaction. Can i know which implementation is processing for the transaction.

    Hi Praveen,
    Use this code to find out the BADI of a Transaction code:
    *& Report ZGET_BADI
    REPORT ZGET_BADI.
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    *Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    *Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    *For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    endcase.
    Reward if useful
    Regards
    Ravi

  • Interview questions to ask regarding companies network

    I had a quick phone interview the other day for a network engineering position and was asked to have another interview.  They asked me to have questions for next time regarding their network?
    Any good questions that I should be asking regarding their network?

    Depending upon the type of position, I would tend to ask questions regarding Design and Support. Always ask the questions in a manner that allows YOU to follow up and highlight how your skills would be beneficial to the company - don't just aks questions and listen to the response, use the answer as an opportunity.
    Design:
    Routing protocols used?
    Firewalls used?
    Switches/routers used?
    Level of redundancy?
    Type of Service? i.e. MPLS, VPN, etc.
    and many, many more
    Support:
    Is the network fully documented via diagrams?
    Are procedures documented?
    Expectations of support for the environment?
    Change procedures?
    and many, many more
    However, equally important is the stability of the company & department you would be working for:
    How long has the person been the Manager for the team?
    Why is there an opening? i.e Did someone leave or is the company expanding?
    Always ask for a tour of the facilities where you would be working
    Try to meet some of the staff before starting
    The key is the company is looking for someone that will suit THEM. You, in turn, should be looking for a company where you would feel comfortable and fit in with the team. Most people know within the first 5 minutes of meeting someone whether or not there is any interest - that's why first impressions are so important.
    Good luck,
    Steve

  • Question to Adobe Regarding "Content Preparation" and Why ...

    ... it can't be turned off.
    I now have 10, and am pulling my hair out over this "content preparation" issue. I have to read many, many large PDFs in the course of a day, and I lose a huge amount of time waiting while the document is analysed. This problem has been around for a number of iterations of Acrobat (since at least, I believe, 8). The various work arounds that are rolling around on the net (such as renaming plug-ins and the like) have not worked for me--and in any event, the fact that the work-arounds involve gutting the program raises further issues such as--does Adobe even care?
    Adobe's standard response (when it makes one) is: turn off accessibility in other programs. This of course begs the the following question--If I can turn it off in other programs, why can't I turn it off in Acrobat? Acrobat usually doesn't bother to answer THAT question, or it hides behind some reference to US laws regarding accessibilty, thereby suggesting that the non-disabled users (that is, those that don't need to use the "accessibility" feature) are unfeeling ingrates.
    The other problem with Adobe's non-response of course is that it doesn't tell you how to turn it off in the "other" programs. I suspect it would say "well, we can't be expected to provide support for other programs." Fair enough, but IF Adobe DOES know how to turn accessibility off in other programs why doesn't it simply tell us? I suspect it's because (a) it doesn't actually know how, or (b) it knows that its suggestion is not in fact accurate.
    In the end then we're left with a mystery. Why did Adobe introduced a "feature" without at the same time introducing a way to turn it off? It can't be that it's software programmers don't know how--is it?

    Thanks for the suggestion. My guess is that no one from Adobe does read the forums or, when they do, they don't bother paying attention--at least to this problem.
    Augustus M. Richardson, QC
    Ad+Rem ADR Services
    1141 Cartaret Street
    Halifax, NS  B3H 3P2
    Ph: (902) 422-6729
    Fx: (902) 422-0142
    visit my booking calendar at www.gusrichardson.com

  • Plz point me on ODI documentation regarding production implementation ?

    Hi
    First of all,i am very thankful to u for your kind reply.
    i also need ODI Development Documentation for understanding the migration mechanism from Development to production Implementation.
    Hope for your reply.
    With Warm Regards,
    Ankush

    Hi ,
    Export existing master- and work-repository in a dump-file using Oracle db export feature
    Import the master- and work-repository into your new schema
    Create a new connection to the imported master-repository when you connect to the Topology Manager in ODI
    Create a new connection to the imported work-repository when you connect to the Designer manager in ODI
    please see the below thread also.
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=929534
    link:
    http://iadviseblog.wordpress.com/2007/05/31/migrate-existing-odi-from-dev-to-test-to-production/
    I think the same process we will follow during the migration.
    Hope it will helpful for you.

  • Basic Help regarding JavaTV implementation

    Hi,
    I am very new to JavaTV and even to SetTopBox Domain. I want to implement the org.davic.* packages.
    could anyone suggest me how shud I proceed with the implementation of API provided in this package?
    Or is there any example showing the implementation of these packages are available.
    Thanks & Regards
    raj@tata

    Hi
    Currently, public davic implementation packege locates in the url "http://xletview.sourceforge.net/". I have never seen another site.
    Xletview is mhp emulator under gnu.
    All davic implementation is not ended. You check it out though http://xletview.sourceforge.net/status/status-current.html.
    I hope to help you
    Sincerely
    YongHwan

  • General query regarding the implementation of a Flash Streaming Server

    Hey lads,
    I'm looking at setting up an Adobe Flash Streaming Server at
    work. It will be used primarily to stream training videos across
    our Intranet - we have ~1000 users at the moment, with the capacity
    to expand to ~2000). We are looking at both filming with a camera
    and screencasting (using either
    Camtasia or Adobe
    Captivate) and then encoding to .FLV
    Camtasia can encode directly to FLV, however I'm not too sure
    of the quality, so the Adobe Flash Media Live Encoder looks like a
    good option too. For the time being we will just be concentrating
    on the screencasting though.
    The good thing is i can download a development server for
    free from Adobe which gives me complete access with just a
    restriction on the amount of users that can access the content
    (10).
    From what i can gather the (simple) way it works (and that
    I want it to work) is that you have a standard template SWF
    file containing relevant actionscript (sitting in most probably in
    a html/php/asp/ect file on the webserver), which then calls the FLV
    file from the flash server and streams the content to the clients
    PC. I assume i will pass a variable to the SWF file (the video ID i
    want), and that will then be used to call the corresponding FLV
    file.
    So effectively a YouTube website, i.e:
    watch?
    v=WjK6wNIWzts
    I just wanted to know if anyone had any general tips on how i
    should approach this? Obviously quality vs file size will be a big
    point - deciding on a standard FLV format will be a mission,
    however i do have the benefit of an internal network so can anyone
    recommend some good encoding tips? I was actually thinking of
    encoding a low quality and high quality version, but i don't think
    that's really sustainable/effective.
    There is a bit of documentation around for this, but they
    tend not to answer the basic questions. Am i heading in the right
    direction?
    Thanks for your help :)

    If you are not able to find older version of connector on Metalink then raise an SR with Oracle and give proper Business Justification for the same.

Maybe you are looking for