Need some tips for start up

Hello everybody,
Very first post here and absolutely a beginner to java.Looking 4 a flying start.This is what i would like to do and if somebody can guide me how i could go step by step would be greatful.Here it goes...........
At first, a program should be written that runs on two PCs, at least one of the PCs having Matlab installed. There should be a stand-alone user interface which is connected to the main program via network sockets, i.e. via the internal loopback interface. The user can select files belonging to a project, specify a string giving the
Matlab command for the desired function and give the names of the variables he wants to get back. Furthermore, IP-address of the desired remote machine, password and so on have to be input.
If all inputs are done and given to the main program, this program connects to the chosen remote entity and sends the files, commands and variables to it.
I would be glad if somebody can gimmi a start up.
Thanks in advance

first of all try doing what your trying to do in a stand alone enviorment.... it sould not be that complecated....
to execute external commands have a look at Runtime, Process etc
http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Runtime.html
http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Process.html
then create a client server interface, and start by getting the client and server comunicate by simple messaging and then do the other more complecated data exchanges....
to get the comunication part done have a look at ServerSocket, Socket etc.
http://java.sun.com/j2se/1.4.1/docs/api/java/net/ServerSocket.html
http://java.sun.com/j2se/1.4.1/docs/api/java/net/Socket.html
hope this helps
oaq

Similar Messages

  • Need some tips for Database Developer Role.

    Dear All,
    Next week, I'm going to face an Interview for Database Developer role.
    For this, I need some more & useful information on these recommended points.
    1. Involve in a designing part of Data warehouse from
    scratch 
    2. Create complex analytic queries on large data sets.
    3. Analyse trends in key metrics.
    4. Monitoring and optimizing the performance of the database.
    Please help get the vital information on these points.
    All help will be highly appreciated.
    Thanks,

    1. Involve in a designing part of Data warehouse from
    scratch
    Design Database...
    This needs lot of information about business and its fonctionnalités, and so many.. Tables,  relationships etc...
    http://technet.microsoft.com/en-us/library/ms187099%28v=sql.105%29.aspx
    Code Design...
    SP's, Funcitions, Views, Sub queries, Joins, Triggers etc...
    DW Design
    DB size and number of reports and historical data details, reduce the normalization and etc....
    http://technet.microsoft.com/en-us/library/aa902672%28v=sql.80%29.aspx
    2. Create complex analytic queries on large data sets.
    Its all based on your current database design, size, required output, data, performance etc..
    4. Monitoring and optimizing the performance of the database.
    Perfmon, Activity monitor, spotlight, custom queries, DMV's sp_whoisactive, execution plans, and many other thirdparty tools.. and may be best experience will give best view and clarity :)
    Note : This is very big topic and its not easy to answer in few words or lines... :) goole it for more details...
    Raju Rasagounder Sr MSSQL DBA

  • Need some tips for premiere cs6 video editing

    I have recorded professionally in a sound proof room with a microphone mc's, it's really good video quality and the sound quality is perfect too.
    I have recorded with 2 different devices at different angles i'm going to remove sound from both video clips and use the recorded mp3 file made in Adobe Audition CS6 (amazing program) I want to have the 2nd angle recording put in the video so it shows the main video then the 2nd in a little box in the top corner, how can i do this?
    Also any tips people can suggest for me on Speedgrade CS6 or After effects CS6 that will improve the viewing experience will be very appreciated.
    Last thing playback in Premiere and after effects is very slow, no computer faults my laptop is extremely fast but one thing i've had this laptop about 8 months and not updates the graphics card, would it be that or is there a way to fix this? when i try playblack in after effects it says something like '0.9/29 frames (not real time), i downloaded quicktime i thought this was real time?
    Thank you in advanced

    Here are some Tutorials
    http://www.youtube.com/playlist?list=PL507B3498B4479B96&feature=plcp
    http://forums.adobe.com/thread/913334
    http://forums.adobe.com/thread/845731
    http://forums.adobe.com/message/3234794
    A "crash course" http://forums.adobe.com/thread/761834
    A Video Primer for Premiere http://forums.adobe.com/thread/498251
    Premiere Tutorial http://forums.adobe.com/thread/424009
    And http://forums.adobe.com/message/2738611
    And http://blogs.adobe.com/kevinmonahan/2012/08/28/free-video-tutorial-samples-from-learning-p remiere-pro-cs6/
    -and more from Kevin http://forums.adobe.com/message/4714153
    http://blogs.adobe.com/premiereprotraining/2010/06/video_tutorials_didacticiels_t.html
    And http://blogs.adobe.com/premiereprotraining/2010/06/how_to_search_for_premiere_pro.html
    And http://bellunevideo.com/tutlist.php
    Premiere Pro Wiki http://premierepro.wikia.com/wiki/Main_Page
    Tutorial http://www.tutorialized.com/tutorials/Premiere/1
    Tutorial http://www.dvxuser.com/V6/forumdisplay.php?f=21
    Tutorial HD to SD w/CS4 http://bellunevideo.com/tutorials/CS4_HD2SD/CS4_HD2SD.html
    Exporting to DVD http://help.adobe.com/en_US/premierepro/cs/using/WS3E252E59-6BE5-4668-A12E-4ED0348C3FDBa.h tml
    And http://help.adobe.com/en_US/premierepro/cs/using/WSCDE15B03-1236-483f-BBD4-263E77B445B9.ht ml
    Color correction http://forums.adobe.com/thread/892861
    After Effects Tutorials http://www.videocopilot.net/
    Surround Sound http://forums.adobe.com/thread/517372
    Photo Scaling for Video http://forums.adobe.com/thread/450798
    -Too Large May = Crash http://forums.adobe.com/thread/879967
    -And another crash report http://forums.adobe.com/thread/973935
    CS6 http://www.dvxuser.com/V6/showthread.php?282290-New-Tutorial-Working-Faster-in-Premiere-Pr o-CS6
    Video Scaling https://blogs.adobe.com/premiereprotraining/2010/10/scaling-in-premiere-pro-cs5.html
    Encore http://tv.adobe.com/show/learn-encore-cs4/
    Authoring http://www.videocopilot.net/tutorials/dvd_authoring/
    Encore Tutorial http://www.precomposed.com/blog/2009/05/encore-tutorial/
    And more Encore http://library.creativecow.net/articles/devis_andrew/
    Regions and NTSC vs PAL http://forums.adobe.com/thread/951042
    -and Regions http://forums.adobe.com/thread/895223
    PDF http://blogs.adobe.com/adobecustomersuccess/2011/05/14/help-support-pages-for-creative-sui te-applications/

  • Please I need some tips of video editing.

    Hi! My name is Bruno Rauch, i'm brazilian and I need some tips for video editing..
    Here below I'm going to put a link of two videos that I had made days ago...And I'm very grateful if you guys could see and tell me some tips to encrease my video quality.
    Bubble Gun Treffen 2014 - Águas de Lindóia - SP - YouTube
    Trip to San Pedro of Atacama - YouTube
    Thanks for your help.

    What I can suggest is that you look into using image stabilization. I know that the vehicle bounces around, but if you have the front of the car in the shot, or a mountain range in the distance, the software should be able to stabilize your footage some.
    Having said that, I should also point out that there are ways to move more smoothly with your camera. There are devices available to steady the camera, called Steadycam. Here is a link.
    B&H Photo Video
    If you can't afford a Steadycam, just using a tripod can help. keep it folded up, put the camera on it, pick it up under the head, and it acts as a balancing weight to smooth out the movement.
    Using such things will also help you keep the horizon straight (except when the car is turning).
    One more thing. Carry a bottle of window cleaner and lots of clean rags.

  • I need some help for an explanation. Loop for 1 minute.

              int minute=1;
              long currentTime=System.currentTimeMillis();          
              long stoppingTime = currentTime + (minute * 60 * 1000);
              while (currentTime<stoppingTime) {
                   // do x;
                   currentTime=System.currentTimeMillis();
              }I want to have the loop to run for 1 minute. It does not seem to work.
    What did I miss? I need some help for an explanation.

    Ran:
    class PrintTimeAsProcess {
      public static void main(String[] argv)  throws Exception {
        int minute=1;
        long currentTime=System.currentTimeMillis();
        long stoppingTime = currentTime + (minute * 15 * 1000);
        System.out.println("START Time: "+currentTime);
        while (currentTime<stoppingTime) {
          currentTime=System.currentTimeMillis();
        System.out.println("END Time: "+currentTime);
    }Got:
    START Time: 1149278202718
    END Time: 1149278217718
    1149278217718
    -1149278202718
    15000

  • I need some parts for my MuVo V100, can anyone help?

    I need some parts for my MuVo V00, can anyone help I couldn't find any thread this would belong in, but if I've made a mistake, I'm sorry.
    I have a Creative Labs MuVo V00 2 gig player. I love it. The only problem is that the back peice of plastic that holds the battery in somehow has fallen off and has disappeared. I really, really, would like to replace it, but I can't find anywhere where parts like this are sold.
    So, does anyone know where I can buy this part Or does anyone have one they are willing to sell me If I have to get the whole little "docking bay" that holds the batery and the unit, that would be fine too. I'm not going to pay huge money for it, seeing that I can still get a new one at a few places, but if anyone has one that broke, or that they just aren't using, and wouldn't mind making a few bucks + postage, I would really appreciate it.
    Thanks for your time.

    Re: I need some parts for my MuVo V00, can anyone help As far as I'm concerned the subject is closed. I was just irritated that I asked for help, and got some glib little reply, telling me something that anyone who's been on the internet for more than ten seconds should know about. Because to be honest, him replying with those three words, might have made someone overlook the post, thinking, "Someone is handling that, let's move on." Someone who actually might have what I needed.
    But, as it turns out, I could order a reconditioned MuVo from Creative directly for about 6 bucks. (vs. 45+ if I'd gone through ebay) so the problem is resolved. If I could figure out a way to erase this entire post, I would do it. If you can do so, being a mod, I would appreciate it.
    Sorry if I upset you Loi-CL, I understand you're a moderator, but I don't take kindly to being treated like I'm stupid and that's exactly what coachop94 was doing. If he didn't have anything important or useful to tell me, he could have just skipped over my post.

  • Give Me Some Tips For doing this report.

    hi frd. help me in this report.
    parameter : plant,material no,company code,storage location.
    display: material no, material desc, UOM, ROL, warehouse, open po, open po qty, open pr no, open pr qty.
    Kindly Give me tips for doing this report.
    thank u
    Pari Vendhan.R

    Hi,
    Its will not fullfill ur requirement but upto some extent...just have a look.
    TYPE-POOLS : slis.
    TABLES : mkpf,
             mseg,
             t001w,
             t001l.
    TYPES : BEGIN OF ty_t001w,
              werks TYPE t001w-werks,
              name1 TYPE t001w-name1,
            END OF ty_t001w,
            BEGIN OF ty_makt,
              matnr TYPE makt-matnr,
              maktx TYPE makt-maktx,
            END OF ty_makt,
            BEGIN OF ty_t001l,
              lgort TYPE t001l-lgort,
              lgobe TYPE t001l-lgobe,
            END OF ty_t001l.
    DATA :  BEGIN OF it_mat OCCURS 0,
            mbln LIKE mseg-mblnr,         " Number of Material Document
            zeile LIKE mseg-zeile,         " Item in Material Document
            mjahr LIKE mseg-mjahr,         " Material Document Year
            bwart LIKE mseg-bwart,         " Movement Type
            matnr LIKE mseg-matnr,         " Material Number
            erfmg LIKE mseg-erfmg,         "Quantity in unit of entry
            erfme LIKE mseg-erfme,         "Unit of entry
            werks LIKE mseg-werks,          "Plant
            lgort LIKE mseg-lgort,          "Storage location
            umwrk LIKE mseg-umwrk,          "Receiving plant/issuing plant
            umlgo LIKE mseg-umlgo,      "Receiving/issuing storage location
            bldat LIKE mkpf-bldat,       "Document Date in Document
            budat LIKE mkpf-budat,       "Posting Date in the Document
            maktx LIKE makt-maktx,           "Material description
            name1 LIKE t001w-name1,           "Name
            name2 LIKE t001w-name1,           "Name
            lgobe LIKE t001l-lgobe,         "Description of storage location
            lgobe1 LIKE t001l-lgobe,     "Description of storage location
            END OF it_mat.
    DATA : it_t001w TYPE TABLE OF ty_t001w
                     WITH HEADER LINE,
           it_makt TYPE TABLE OF ty_makt
                   WITH HEADER LINE,
           it_t001l TYPE TABLE OF ty_t001l
                    WITH HEADER LINE.
    DATA : ls_layout TYPE slis_layout_alv,
           it_fcat TYPE slis_t_fieldcat_alv ,
           wa_fcat TYPE slis_fieldcat_alv,
           "lh TYPE slis_t_listheader,
          " ls TYPE slis_listheader,
           i_events TYPE slis_t_event WITH HEADER LINE ,
           "ls_event TYPE slis_alv_event ,
           w_var TYPE i.
    DATA : l_date(10).
    DATA : l_date1(20),
           ztabix LIKE sy-tabix.
    SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS : s_werks FOR mseg-werks,
                     s_lgort FOR mseg-lgort,
                     s_umwrk FOR mseg-umwrk,
                     s_umlgo FOR mseg-umlgo,
                     s_bwart FOR mseg-bwart,
                     s_budat FOR mkpf-budat,
                     s_mjahr FOR mkpf-mjahr NO-EXTENSION.
    SELECTION-SCREEN END OF BLOCK a1.
    AT SELECTION-SCREEN.
      SELECT SINGLE * FROM t001w INTO t001w
                                WHERE werks IN s_werks.
      IF sy-subrc <> 0.
        MESSAGE e000(8i) WITH 'Enter a Valid Supplying Plant'.
      ENDIF.
      SELECT SINGLE * FROM t001w INTO t001w
                              WHERE werks IN s_umwrk.
      IF sy-subrc <> 0.
        MESSAGE e000(8i) WITH 'Enter a Valid Receiving Plant'.
      ENDIF.
      SELECT SINGLE * FROM t001l INTO t001l
                              WHERE lgort IN s_lgort.
      IF sy-subrc <> 0.
        MESSAGE e000(8i) WITH 'Enter a Valid Supplying St.Loc'.
      ENDIF.
      SELECT SINGLE * FROM t001l INTO t001l
                              WHERE lgort IN s_umlgo.
      IF sy-subrc <> 0.
        MESSAGE e000(8i) WITH 'Enter a Valid Receiving St.Loc'.
      ENDIF.
    START-OF-SELECTION.
      PERFORM field_cat.
      PERFORM get_data.
    *END-OF-SELECTION.
      IF it_mat[] IS INITIAL.
        MESSAGE i000(8i) WITH 'No data Found'(m01).
    *    EXIT.
      ELSE.
        PERFORM process_data.
        PERFORM display_data.
      ENDIF.
    *&      Form  field_cat
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM field_cat .
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'MBLN'.
      wa_fcat-key = 'X'.
      wa_fcat-hotspot = 'X'.
      wa_fcat-ref_fieldname = 'MBLNR'.
      wa_fcat-ref_tabname = 'MSEG'.
      wa_fcat-seltext_m = 'Material Doc'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'ZEILE'.
      wa_fcat-ref_fieldname = 'ZEILE'.
      wa_fcat-ref_tabname = 'MSEG'.
      wa_fcat-seltext_m = 'Item No'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'MJAHR'.
      wa_fcat-ref_fieldname = 'MJAHR'.
      wa_fcat-ref_tabname = 'MSEG'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'BWART'.
      wa_fcat-ref_fieldname = 'BWART'.
      wa_fcat-ref_tabname = 'MSEG'.
      wa_fcat-seltext_m = 'Mvmt Type'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'BLDAT'.
      wa_fcat-ref_fieldname = 'BLDAT'.
      wa_fcat-ref_tabname = 'MKPF'.
      wa_fcat-seltext_m = 'Document Date'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'BUDAT'.
      wa_fcat-ref_fieldname = 'BUDAT'.
      wa_fcat-ref_tabname = 'MKPF'.
      wa_fcat-seltext_m = 'Posting Date'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'MATNR'.
      wa_fcat-ref_fieldname = 'MATNR'.
      wa_fcat-ref_tabname = 'MSEG'.
      wa_fcat-seltext_m = 'Material No'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'MAKTX'.
      wa_fcat-ref_fieldname = 'MAKTX'.
      wa_fcat-ref_tabname = 'MAKT'.
      wa_fcat-seltext_m = 'Material Description'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'ERFMG'.
      wa_fcat-ref_fieldname = 'ERFMG'.
      wa_fcat-ref_tabname = 'MSEG'.
      wa_fcat-seltext_m = 'Quantity'.
      wa_fcat-do_sum = 'X'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'ERFME'.
      wa_fcat-ref_fieldname = 'ERFME'.
      wa_fcat-ref_tabname = 'MSEG'.
      wa_fcat-seltext_m = 'Uom'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'WERKS'.
      wa_fcat-seltext_m = 'Supplying Plant'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'NAME1'.
      wa_fcat-seltext_m = 'S.Plnt Desc.'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'LGORT'.
      wa_fcat-seltext_m = 'Supplying St.Loc'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'LGOBE'.
      wa_fcat-seltext_m = 'Su.St.Loc Desc.'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'UMWRK'.
      wa_fcat-seltext_m = 'Receiving Plant'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'NAME2'.
      wa_fcat-seltext_m = 'R.Plnt Desc.'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'UMLGO'.
      wa_fcat-seltext_m = 'Receiving St.Loc'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
      wa_fcat-col_pos = w_var.
      wa_fcat-tabname = 'IT_MAT'.
      wa_fcat-fieldname = 'LGOBE1'.
      wa_fcat-seltext_m = 'Re.St.Loc Desc.'.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
      ADD 1 TO w_var.
    ENDFORM.                    " field_cat
    *&      Form  get_data
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM get_data .
      SELECT a~mblnr a~zeile a~mjahr a~bwart a~matnr
                a~erfmg a~erfme a~werks a~lgort a~umwrk a~umlgo
                b~budat  b~bldat
                INTO CORRESPONDING FIELDS OF TABLE it_mat
                FROM mseg AS a INNER JOIN mkpf AS b
                ON a~mblnr = b~mblnr
                AND a~mjahr = b~mjahr
                CLIENT SPECIFIED
               WHERE a~mandt EQ sy-mandt
                 AND a~werks IN s_werks
                 AND a~lgort IN s_lgort
                 AND a~umwrk IN s_umwrk
                 AND a~umlgo IN s_umlgo
                 AND a~bwart IN s_bwart
                 AND b~budat IN s_budat
                 AND b~mjahr IN s_mjahr.
      IF sy-subrc EQ 0.
        SELECT matnr maktx
         INTO TABLE it_makt FROM makt
         CLIENT SPECIFIED
         FOR ALL ENTRIES IN it_mat
          WHERE matnr = it_mat-matnr AND mandt EQ sy-mandt.
      ENDIF.
      SELECT werks name1
       INTO TABLE it_t001w FROM t001w
        CLIENT SPECIFIED
       WHERE mandt EQ sy-mandt.
      IF sy-subrc <> 0.
        MESSAGE e000(zmss).
      ENDIF.
      SELECT lgobe INTO TABLE it_t001l FROM t001l
       CLIENT SPECIFIED
    WHERE mandt EQ sy-mandt.
      IF sy-subrc <> 0.
        MESSAGE e000(zmss).
      ENDIF.
    ENDFORM.                    " get_data
    *&      Form  process_data
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM process_data .
      LOOP AT it_mat.
        ztabix = sy-tabix.
        READ TABLE it_makt WITH KEY matnr = it_mat-matnr.
        IF sy-subrc = 0.
          it_mat-maktx = it_makt-maktx.
        ENDIF.
        IF it_mat-bwart+2(1) = '2'.
          it_mat-erfmg = - ( it_mat-erfmg ).
        ENDIF.
        READ TABLE it_t001w WITH KEY werks = it_mat-werks.
        IF sy-subrc = 0.
          it_mat-name1 = it_t001w-name1.
        ENDIF.
        READ TABLE it_t001w WITH KEY werks = it_mat-umwrk.
        IF sy-subrc = 0.
          it_mat-name2 = it_t001w-name1.
        ENDIF.
        READ TABLE it_t001l WITH KEY lgort = it_mat-lgort.
        IF sy-subrc = 0.
          it_mat-lgobe = it_t001l-lgobe.
        ENDIF.
        READ TABLE it_t001l WITH KEY lgort = it_mat-umlgo.
        IF sy-subrc = 0.
          it_mat-lgobe1 = it_t001l-lgobe.
        ENDIF.
        MODIFY it_mat INDEX ztabix .
      ENDLOOP.
    ENDFORM.                    " process_data
    *&      Form  display_data
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM display_data .
      REFRESH i_events.
      i_events-form = 'TOP'.
      i_events-name = 'TOP_OF_PAGE'.
      APPEND i_events.
      CLEAR i_events.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
    *   I_INTERFACE_CHECK                 = ' '
    *   I_BYPASSING_BUFFER                = ' '
    *   I_BUFFER_ACTIVE                   = ' '
         i_callback_program                = SY-CPROG
    *   I_CALLBACK_PF_STATUS_SET          = ' '
    *   I_CALLBACK_USER_COMMAND           = ' '
        i_callback_top_of_page            = 'TOP'
    *   i_callback_html_top_of_page       = 'TOP'
    *   I_CALLBACK_HTML_END_OF_LIST       = ' '
    *   I_STRUCTURE_NAME                  =
         i_background_id                   = 'ALV_BACKGROUND'
    *   I_GRID_TITLE                      =
    *   I_GRID_SETTINGS                   =
    *   IS_LAYOUT                         = LS_LAYOUT
         it_fieldcat                       = it_fcat[]
    *   IT_EXCLUDING                      =
    *   IT_SPECIAL_GROUPS                 =
    *   IT_SORT                           =
    *   IT_FILTER                         =
    *   IS_SEL_HIDE                       =
    *   I_DEFAULT                         = 'X'
    *   I_SAVE                            = ' '
    *   IS_VARIANT                        =
         it_events                         = i_events[]
    *   IT_EVENT_EXIT                     =
    *   IS_PRINT                          =
    *   IS_REPREP_ID                      =
    *   I_SCREEN_START_COLUMN             = 0
    *   I_SCREEN_START_LINE               = 0
    *   I_SCREEN_END_COLUMN               = 0
    *   I_SCREEN_END_LINE                 = 0
    *   I_HTML_HEIGHT_TOP                 = 0
    *   I_HTML_HEIGHT_END                 = 0
    *   IT_ALV_GRAPHICS                   =
    *   IT_HYPERLINK                      =
    *   IT_ADD_FIELDCAT                   =
    *   IT_EXCEPT_QINFO                   =
    *   IR_SALV_FULLSCREEN_ADAPTER        =
    * IMPORTING
    *   E_EXIT_CAUSED_BY_CALLER           =
    *   ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = it_mat
    * EXCEPTIONS
    *   PROGRAM_ERROR                     = 1
    *   OTHERS                            = 2
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " display_data
    *&      Form  top
    *       text
    FORM top.
      DATA : idate(10),
               idate1 TYPE sy-datum.
      DATA : ls_line TYPE slis_listheader,
             i_listheader TYPE slis_t_listheader .
      CLEAR ls_line.
      ls_line-typ = 'H'.
      ls_line-info = sy-repid.
      APPEND ls_line TO i_listheader.
      CLEAR ls_line.
      ls_line-typ = 'S'.
      ls_line-info = 'MATERIAL DOCUMENT LIST'.
      APPEND ls_line TO i_listheader.
      CLEAR ls_line.
      idate1 = sy-datum.
      WRITE idate1 TO idate USING EDIT MASK '__/__/____'.
      ls_line-typ = 'S'.
      ls_line-info = idate.
      APPEND ls_line TO i_listheader.
      CLEAR ls_line.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = i_listheader
          i_logo             = 'LOGO'.
    *   I_END_OF_LIST_GRID       =
    ENDFORM.                    "TOP

  • Need Some Material For XI.

    Hi all,
    I need some material to prepare XI.
    Apart SAP Help site ...pls help me out in finding good material for XI learning for beginner.
    Thanks in advance.
    Regards,
    Harsha.

    I think it is a good start
    https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/thread.jspa%3FforumID%3D44%26threadID%3D42795
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    /people/sap.user72/blog/2005/03/15/using-xslt-mapping-in-a-ccbpm-scenario
    /people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
    https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/thread.jspa%3FforumID%3D44%26threadID%3D41493%26messageID%3D409257%23409257
    https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/thread.jspa%3FthreadID%3D52541%26messageID%3D541927
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/sdn/developerareas/dotnet.sdn?node=linkDnode1-2
    Hope this helps!
    regards
    roberti

  • Need some examples for smartforms and scripts

    hi
    now i am working in scripts and smartforms. so i need some examples and some information for scripts and smartforms. where i can find that information.

    hi jyothsna,
    i have given below a simple example
    this is the report program,
    *& Report  ZSCRIPT1                                                    *
    REPORT  ZSCRIPT1                                .
    TABLES : EKKO,
             EKPO,
             KNA1,
             USR01,
             MARA,
             MAKT.
    DATA : BEGIN OF ZOPTION.
            INCLUDE STRUCTURE ITCPO.
    DATA : END OF ZOPTION.
    PARAMETERS: P_EBELN LIKE EKKO-EBELN,
                P_EBELP LIKE EKPO-EBELP.
    CLEAR EKPO.
    SELECT SINGLE * FROM EKPO
           WHERE EBELN = P_EBELN AND
                 EBELP = P_EBELP.
    CLEAR KNA1.
    SELECT SINGLE NAME1 FROM KNA1
                  INTO KNA1-NAME1
                  WHERE KUNNR = EKPO-KUNNR.
    CLEAR MAKT.
    SELECT SINGLE MAKTX FROM MAKT
                  INTO MAKT-MAKTX
                  WHERE MATNR = EKPO-MATNR AND
                        SPRAS = SY-LANGU.
    CLEAR USR01.
    SELECT SINGLE * FROM USR01 WHERE BNAME = SY-UNAME.
    ZOPTION-TDDEST    = USR01-SPLD.        "Output device (printer)
    ZOPTION-TDIMMED   = 'X'.               "Print immediately
    ZOPTION-TDDELETE  = 'X'.               "Delete after printing
    ZOPTION-TDPROGRAM = 'ZPQRPRNT'.        "Program Name
    CALL FUNCTION 'OPEN_FORM'
         EXPORTING
             APPLICATION        = 'TX'
            ARCHIVE_INDEX      = ' '
            ARCHIVE_PARAMS     = ' '
             DEVICE             = 'PRINTER'
             DIALOG             = ' '
             FORM               = 'ZFORM1'
             LANGUAGE           = SY-LANGU
             OPTIONS            = ZOPTION
         IMPORTING
              LANGUAGE           = SY-LANGU
           EXCEPTIONS
             OTHERS     = 1.
    CALL FUNCTION 'WRITE_FORM'
         EXPORTING
             ELEMENT       = 'HEADER'
            FUNCTION      = 'SET'
            TYPE          = 'BODY'
             WINDOW        = 'HEADER'
         EXCEPTIONS
              ELEMENT       = 1.
    CALL FUNCTION 'WRITE_FORM'
         EXPORTING
             ELEMENT       = 'MAIN'
            FUNCTION      = 'SET'
            TYPE          = 'BODY'
             WINDOW        = 'MAIN'
         EXCEPTIONS
              ELEMENT       = 1.
    CALL FUNCTION 'WRITE_FORM'
         EXPORTING
             ELEMENT       = 'FOOTER'
            FUNCTION      = 'SET'
            TYPE          = 'BODY'
             WINDOW        = 'FOOTER'
         EXCEPTIONS
              ELEMENT       = 1.
    CALL FUNCTION 'CLOSE_FORM'
         EXCEPTIONS
              UNOPENED = 1
              OTHERS   = 2.
    This is the layout Set
    Layout set           Z_TESTSCRIPT
    Description          Test SAP script
    Standard attributes
      First page          FIRST
      Default paragraph   P1
      Tab-stop            1.00 CH
      Page format         DINA4
      Orientation         Landscape
      Lines/inch            6.00
      Characters/inch      10.00
    Font attributes
      Font family         COURIER
      Font size           12.0 Point
      Bold                No
      Italic              No
      Underlined          No
    Characters    Attributes
      B           Character String Bold
                  Standard attributes
                  Marker            No
                  Font attributes
                  Bold              Yes
    Paragraphs    Attributes
      P1          Default Paragraph
                  Standard attributes
                  Line spacing      1.00 LN
                  Left margin       1.00 CM
                  Alignment         Left-aligned
                  Font attributes
                  Font family       TIMES
                  Font size         12.0 Point
      P2          Header Paragraph
                  Standard attributes
                  Line spacing      1.00 LN
                  Left margin       4.50 CM
                  Alignment         Left-aligned
                  Font attributes
                  Font family       TIMES
                  Font size         18.0 Point
                  Bold              Yes
      P3          Undelined paragraph
                  Standard attributes
                  Line spacing      1.00 LN
                  Alignment         Left-aligned
                  Font attributes
                  Font family       TIMES
                  Font size         12.0 Point
                  Underlined        Yes
    Windows       Attributes
      MAIN        Main window
                  Window type       MAIN
      HEADER      Main window
                  Window type       CONSTANT
      FOOTER      Main window
                  Window type       CONSTANT
    Pages         Attributes
      FIRST       First Page
                  Standard attributes
                  Next page         FIRST
                  Page counter
                  Mode              START
                  Numbering type    Arabic numerals
                  Page window
                  HEADER               Left margin          00.00 CM
                                       Upper margin         00.00 CM
                                       Window width         20.00 CM
                                       Window height        04.00 CM
                  MAIN                 Left margin          00.00 CM
                                       Upper margin         05.00 CM
                                       Window width         20.00 CM
                                       Window height        20.00 CM
                  FOOTER               Left margin          00.00 CM
                                       Upper margin         25.00 CM
                                       Window width         20.00 CM
                                       Window height        04.00 CM
    Text elements for following windows:
    HEADER
    Element HEADER
    /: POSITION XORIGIN 2 CM YORIGIN '-0.5 CM'
    /: BOX XPOS 1 CM YPOS 1 CM WIDTH 18 CM HEIGHT 1 CM FRAME 10 TW INTENSITY 10
    P2     ,,<B>TEST PURCHASE ORDER</>
    MAIN
    Element MAIN
    P1  <B>Customer/Supplier:</>,,&KNA1-NAME1&
    P1  <B>PO No:</>,,&EKPO-EBELN&
    P1  <B>Part No:</>,,&MAKT-MATNR&
    P1  <B>Description:</>,,&MAKT-MAKTX&
    P1  <B>Quantity:,,</>&EKPO-MENGE&
    P1  <B>Sign:</>&uline(81)&
    P1  <B>Date:</>&EKKO-AEDAT&
    FOOTER
    Element FOOTER
    /: POSITION XORIGIN 2 CM YORIGIN '-0.5 CM'
    /: BOX XPOS 1 CM YPOS 1 CM WIDTH 18 CM HEIGHT 1 CM FRAME 10 TW INTENSITY 10
    P2     ,,<B>PLEASE SIGN THE PO BEFORE DISPATCH</>
    <b>reward if useful :)</b>

  • Need some tips

    Hi friends,
    I am very new to Java and swing. I have done a couple of swing applications, but they don't involve a lot of complex GUI actions. They are like supporting applications.
    But, now I got a project which is basically a GUI only project which needs to be developed in swing. And I don't know how swing applications are developed in a more commercial environment.
    So, how can I prepare myself to develop a solid swing application with quality coding. What are all the things that I must follow and I must avoid.
    If I can look at some really nice open source software which is swing based, then I may get an idea.
    Thank you all and I hope all the gurus and experts in swing will have some advice for me.
    Thank you.

    Start with a good IDE! If you are not already using
    an IDE that allows you to do visual GUI design take a
    look at NetBeans or Eclipse (with the Visual Editor
    plugin).Thank you John for replying, I use Eclipse. But I don't use VE, and I won't be using it too because of my project limitations.
    But, what are all you think is necessary for GUI applications to be very appealing and very user friendly, i mean a solid swing application.
    I heard many people say that we should forget about look and feel if we do projects on swing, how much of it is true. Can't we create attractive GUIs using swing.
    I just saw a commercial application called jdiskreport from jgoodies i suppose, and it was looking great. What's your opinion friends. Did you see any swing app that is stunning, both visually and performance wise.

  • I REALLY NEED SOME TIPS TO GET SOME GB'S PLEASE!!!!

    Please help

    If you are referring to your Mac's startup disc getting full,
    You should never, EVER let a conputer hard drive get completely full, EVER!
    With Macs and OS X, you shouldn't let the hard drive get below 15 GBs or less of free data space.
    If it does, it's time for some hard drive housecleaning.
    Follow some of my tips for cleaning out, deleting and archiving data from your Mac's internal hard drive.
    Have you emptied your Mac's Trash icon in the Dock?
    If you use iPhoto, iPhoto has its own trash that needs to be emptied, also.
    If you store images in other locations other than iPhoto, then you will have to weed through these to determine what to archive and what to delete.
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Delete any old or no longer needed emails and/or archive to disc, flash drives or external hard drive, older emails you want to save.
    Look through your other Mailboxes and other Mail categories to see If there is other mail you can archive and/or delete.
    STAY AWAY FROM DELETING ANY FILES FROM OS X SYSTEM FOLDER!
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive to disc, flash drives, ext. hard drives or delete any old documents you no longer use or immediately need.
    Look in your Applications folder, if you have applications you haven't used in a long time, if the app doesn't have a dedicated uninstaller, then you can simply drag it into the OS X Trash icon. IF the application has an uninstaller app, then use it to completely delete the app from your Mac.
    Download an app called OnyX for your version of OS X.
    When you install and launch it, let it do its initial automatic tests, then go to the cleaning and maintenance tabs and run the maintenance tabs that let OnyX clean out all web browser cache files, web browser histories, system cache files, delete old error log files.
    Typically, iTunes and iPhoto libraries are the biggest users of HD space.
    move these files/data off of your internal drive to the external hard drive and deleted off of the internal hard drive.
    If you have any other large folders of personal data or projects, these should be archived or moved, also, to the optical discs, flash drives or external hard drive and then either archived to disc and/or deleted off your internal hard drive.
    Good Luck!

  • Some Tips for Cablecard Users with HBO

    I have been using a cablecard with my Hauppauge DCR-2650 digital tuner and Windows Media Center on my Windows 7 PC for 3 months with no problems on any of the Prime HD channels. I just subscribed to HBO and was not able to access any of the HBO channels, SD or HD. The message "Subscription Required" would appear after a few seconds, along with a message saying I needed to obtain a subscription to HBO. After Live Chatting to 3 techs over 3 days, I was finally able to access the HBO channels. I'm not sure this solution is permanent, but this is what I did. First I updated the firmware and drivers for my Hauppauge device. Then when I Live Chatted with the technician, he performed a "manual cablecard validation". During this process he asked for my cablecard ID, the Host ID, the Data ID and the activation code. He had me switch channels from an HBO channel to a non-HBO channel, then back again. Voila! It worked. So if my HBO disappears in the future I'll be asking for a tech who knows how to perform a "manual cablecard validation".  Now I had my HBO channels in HD, but the picture was flickering a bit, enough to make it annoying to watch. After Googling "HBO HD flicker" I found that the problem was not with the cablecard or Fios, but with the graphics adapter settings. I have an integrated graphics chip on my PC, an Intel 3000 graphics chip. I opened the graphics properties page and in the "Media" category under "Image Enhancement Option" I turned off the "Adaptive Contrast Enhancement" feature. This fixed the flicker. Hopefully this post will help those few who are using a cablecard with their Home Theater PCs.

    hi,
      hardwork is the tip for completing the certification,do not believe in any bogus material read  tfin 52 book of siemens which is very helpful to clear the course
    regards,
    ram

  • I need some idea for my last project about Java

    Hi my name is suzanna from Indonesia. I have lots of interest with Java programming and I want make something about it for my last project. It's very important and I need some idea...could u give me some topic? I'm sorry if my english is very bad.thx,bye

    Here's some popular ideas:
    image steganography, chat client/server, spyware, client/server file transfer, forum content management/enforcement, anything with reflection, anything with communicating with an external device such as camera or modem or robot, writing your own replacement for the java.util.Calendar class, anything with custom class loaders, splitting a string into a string[]
    And for an extra challenge:
    dominition-based repetition, implementing a JVM which represents 'null' values internally using some other integer value than 0

  • Need some Idea for my final year project to increase buffer size

    hi...i need some idea from someone to give some idea, advice or some excersice/toturial about " how to increase buffer size" on my final year project, i have try find the solution..but it's still have problem on my oscilloscope.VI. I was design my final year project using LabVIEW 8.6 and now i state my design for someone to refer my project.
    Thank You  
    Attachments:
    Oscilloscope A.llb ‏166 KB

    Don't know if this is what you're searching for, and I don't know if there is such a function in LV 8.6, but I'm using LV 2010 and under DAQmx Pallete, you go to "Advanced Task Options", there is a function "Configure Output Buffer", in which you can configure the buffer size you want.

  • I need some help , for create some paper on air

    Hi everyone
    I need some help , i work in a static sequence from Tehran street (1 frame), i paint damages on this frame in Photoshop because i need war atmosphere, then i add some smoke and cloud with particular .
    but i think this sequence is not realistic yet
    now i want add some moving paper in air and on street
    do u have any solution for how can i make this paper and moving those
    Thanks a lot
    and pardon me for bad English
    Ali Molavi

    The best tool to add this kind of particle is After Effects.
    If you have the Creative Cloud then I recommend you download that.
    Slightly annoying voice over, but here is a youtube tutorial you can follow top make floating particals. You can adjust it to make it look exactly as you want.
    http://www.youtube.com/watch?v=dq2op6yqvFk&noredirect=1

Maybe you are looking for

  • Customer Sevice , warranty master  creation

    Dear All Experts, 1. I am creating a task for an equipment in IA01 to which i have created a service master  and a agreement, to which i have created an equipment and asingned task to that. 2.I have created a single cycle plan in which i have called

  • Session data not carried over. with IE6SP1 and WL7

    Hi, We recently upgraded our clustered WL to WL7x and after that we started seeing a strange problem regarding session data of our HTML/Servlet pages. When we access the pages through this cluster, the session data(browser cookies not accepted) is no

  • Do you guys remember any of the bugs specific to 9.2.0.8?

    One of our client is thinking of moving to Oracle Version 9.2.0.8. Do you guys remember any of the bad bugs that you've encountered in 9.2.0.8?

  • Cannot Publish--Need to Upgrade?

    Hi. I'm running a version of iWeb that was loaded on my MB Pro when I got it in 2006. I'm wondering if I need to upgrade to iWeb 09 in order to keep publishing new pages and new sites. I've not been able to publish for more than a year now. Each time

  • Features for online forms

    At some point in the future will there be the ability to save forms that are created in Adobe FormsCentral and then embedded in websites?  For longer forms, this would be a great help so that individuals could complete the form at their own pace.