MSG Programming Issues

Can a producer please tell me why the NY Rangers are broadcast on two HD channels and the Islanders are on SD (81).  It makes absolutely no sense.  
Please let me know.

MSG2 HD was added last week, and when an overflow game is not shown, it just shows the same thing as MSG HD. Unfortunately, Verizon did not add MSG+2 HD at the same time, but word is that it's on the way. Of course, no one at Verizon will say when. When MSG+2 HD is added, it will most likely be the same thing as MSG+ HD when there's not a different live event scheduled. I hope this makes sense. Verizon is very particular about passing on the signals from the providers without altering them, so they simply will not use one channel to switch between two overflow feeds.
In my region, MASN2 HD just shows ESPNEWS HD when there's not a live event, and CSN+ HD just shows a "Comcast SportsNet" logo floating with stars moving around it. It's got to be frustrating to see two Rangers games, but hopefully you'll get all the Islanders & Devils games in HD soon.

Similar Messages

  • Itunes wont open get this msg. program can't open MSVCR80.dll missing from your computer

    itunes wont open getting this msg. program can't open MSVCR80.dll is missing from your computer I got this after insatlling a update.

    Hi there Tberg01,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    -Griff W.

  • Bank transfer program issue in Indian Payroll

    Dear Experts,
    We have successfully made ban transfer using Pc00_M40_cdta program followed by payroll run and posted the results to FI.
    But now issue is when i run the program Pc00_m40_ffom in MT100 format, there is no output coming and amount is displayed 0.
    Thats why may be, in FDTA transaction from FI side, no output coming in bank transfer tab in spite of line items showing in Data medium.
    And also i am unable to delete my bank transfer results using program RPCDTFD0 due to error in country code happening.
    Please help to resolve the issues, what are the steps i need to carry out for creating the ban transfer document is FI also and how to delete the bank transfer results in Indian scenario.
    Regards
    Tan

    Hi,
    Thanks for your reply. Actually Pre-DME is done successfully with set flag transfer and i could not delete the bank transfer results due to error in country code error as mentioned above.
    Issue is with PC00_M40_FFOM program, where while selecting my document details in MT100 format, transferred amount is showing zero in the output document.
    Please suggest how to get my transferred amount displayed there
    Regards
    Tan

  • Windows 8.1 - Microsoft Office 2013 Program Issues

    After 8.1 Windows and Malicious software updates installed, I cannot open my MS Office 2013 programs without the Error with shortcut coming up and "The item Outlook.exe that the shortcut refers to has been changed or moved, so the shortcut will no longer
    work properly.  Do you want to delete it?"  Also when just clicking on a file, a window comes up to ask how do I want to open this file (see below).  I didn't do anything.  The PC just did updates upon shut down last night. 
    System restore didn't fix issue either.  Please help.

    It sounds as though the executable (.exe) files are configured to open with notepad. Unfortunately you cannot manage .exe association with a launched application from the Default Programs Control Panel applet. You will need to reset the configuration of
    the .exe association within the registry. The default configuration is:
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\.exe]
    @="exefile"
    "Content Type"="application/x-msdownload"
    [HKEY_CLASSES_ROOT\.exe\PersistentHandler]
    @="{098f2470-bae0-11cd-b579-08002b30bfeb}"
    I have exported these keys to a .reg file which you can download and merge on your system to replace the corrupted keys,
    the link is here.
    Disclaimer: As editing the registry can produce an unstable system or even prevent the system from booting, it is only recommended for advanced users comfortable with the ramifications. It is recommended to
    back up any keys that might be edited and to have a
    recovery environment available.                                  
    Brandon
    Windows Outreach Team- IT Pro
    The Springboard Series on TechNet

  • ABAP program issue

    Dear All,
    I have written an ABAP program by which it writes few things on application server (overwrite mode).
    I have included this program in the Process Chain but it is giving dump first time when it is running "DATASET_NOT_OPEN" whereas the path and all directories are created on application server.
    When i try to repeat the process chain it is running successfully.
    Please help on the same.
    Regards,
    SS

    Check these links.
    Re: SHORT DUMP! Exception: CX_SY_FILE_OPEN_MODE
    CX_SY_FILE_OPEN_MODE - short dump on production but not in Dev and Test
    Re: catching an exception 'CX_SY_FILE_OPEN_MODE'
    Re: Issue in Uploading file to application server
    Thanks.

  • Automatic Payment Program - issue

    Hi,
    When we are executing the foreign currency payment through F110 we are getting the below issue.
    Scenario:
    Company code currency: INR
    House bank (for example Citi Bank) and APP customization is already for local payments. Now we have done customization for foreign payments. steps are as mentioned below.
    1. SET UP PAYMENT METHODS PER COMPANY CODE FOR PAYMENT TRANSACTIONS - here we selected "foreign currency allowed"
    2. SET UP BANK DETERMINATION FOR PAYMENT TRANSACTIONS - under BAN ACCOUNTS - we have customized as mentioned below.
    House Bank            Payment method          Currency         Account ID           Bank sub-account
    CITI                                   C                              USD              CITI1                      212002
    3. Payment method is assigned to VENDOR.
    when we are running F110 that time when we are selecting the above payment method and account id that time system is throwing the below error message.
    "Only the following accounts can be used: 000"
    This "000" is the Account ID for local payments. when i select this Account ID then system is allowing the payment but when I am selecting the Account ID "CITI1" (which is having USD currency) that time it is throwing the above error.
    So friends can you please share your thoughts on this issue.
    Thanks in advance.
    Rams N

    HEllo,
    I"m not sure if I understood all you have done but I'll try to explain:
    The payment program, in bank determination-bank accounts,  can only                        
    assign one account id for every house bank, payment method and currency.
    So,  this means that for one payment method in one of your house-banks                        
    you can only use one account ID.    
    In fact, there are bank account checks are processed at document level and the         
    functionality of changing the bank account at payment document level       
    is not available in the standard system.                                             
    On the other side, you have the opportunity to define a second and                   
    third house bank with the same bank key to meet your requirements.
    REgards.
    REnan

  • Payment Program issues

    Hi all...
    when i am creating a automatic payment program in the parameters tab, when i am entering the vendor code range, iam not able to exclude some range of vendor codes, as it was possible in any other screen with multiple selection button.why the same is not available in APP parameters screen?
    and even in free selection tab i am not able to exclude values for vendor codes? (in the field name column there is no field with name LFA1-LIFNR to exclude for the proposal?
    and what payment medium Program and Payment transfer medium can be maintained in the customisation for the payment method T (Bank Transfer).
    kindly give your valuable suggestions to fix these issues ASAP
    i will assign points to each helpful answer
    Thanks in advance
    SRINU

    Hello Srinu,
    Regarding your second question, the payment medium program normally differs from country to country.
    Please look for programs with these names...RFFO[country code]T
    Reward points if the info helps you further.
    With Regards
    Vijay Gajavalli

  • ABAP program issues..Unicode program "ITAB" must have the same structure?

    Dear Expert,
    I coded below code in se38, but system give below error message, could please kindly advie issue reason? Thanks!!
         Error message: A line of "ITAB" and "LINE" are not mutually convertible. In a Unicode program "ITAB" must have the same structure layout as "LINE" independent of the length of a . Unicode character. Unicode character.          
    REPORT  ZTEST_HIHIHI.
    Data: begin of line,
    num type i,
    sqr type i,
    end of line,
    itab type standard table of line with key table_line.
    Do 5 times.
    line-num = sy-index.
    line-sqr = sy-index ** 2.
    append line to itab.
    enddo.
    loop at itab into line.
    write: / line-num, line-sqr.
    endloop.
    clear itab.

    Hello Hoo Laa,
    This is because the way you have defined LINE, it is a structure & not a data type. Hence you are facing the issue
    You have to change the data declaration to:
    itab LIKE STANDARD TABLE OF line WITH KEY table_line.
    BR,
    Suhas

  • Macbook Program Issues

    I've had my Macbook for almost two months now and so far it has been great, other than one issue. Lately I've been getting a yellow line running across random program windows and only in the windows, so when I minimize they minimize with the window. They happen randomly and during random programs. When I restart they will go away. I'm assuming this is a software issue, maybe something I installed is conflicting? Any advise would be appreciated. Should I bring it into the apple store and have them check it out?
    Thanks!

    One of the easiest steps you could take is to create a new user account, log into it and see if the problem exists there. That eliminates it as login items for your account and gives you new property lists (preferences) for that account.
    If it's still problematic you might want to take a quick look in the startup items folders in all your libraries (who knows w/ some installers) for anything you recognize as new and possibly recall installing around the time of the problem.
    If you have haxies remove those and if you rethemed your mac I consider reverting it.
    The most important thing you can do is backup your machine.
    It shouldn't take long to go through what I said, oh yeah, you can do the usual voodoo. Reset the SMU/PMU (shutdown, unplug everything, remove battery, hold down the power button for 10 seconds or something like that, put back together and restart. You can use disk utility to repair permissions, and of course you can probably restart while holding down command + option + p + r and let the machine beep at least once (zap the pram).
    Then call up apple.
    There is one other thing... you can boot from the install cd and see if the lines occur when booted from that (just in the installer or in disk utility that is on that disk. or the startup disk pref (it's all in the menus, just don't install the OS. If it's there when booted from the installer I think you may need a bit of repair action.
    Good Luck,
    -j

  • Programing issue

    Hi Gurus,
    Can someone please help me with one issue. I copied the program from this forum and adopted it with my selections and it works ok before Unicode. Now we will have an Unicode system and the program doesn't work anymore.
    The xls file is created and also send to the Pearson, but there is file without name and data just an xls blank file...
    Can anybody help me with that?
    BR
    Saso
    *& REPORT ZSENDMAIL_SIMOBIL_STOCK                                      *
    *& Example of sending external email via SAPCONNECT                    *
    REPORT zsendmail_simobil_stock .
    TABLES: mard, makt, mara, somlreci1.
    SELECT-OPTIONS: matnr FOR mard-matnr.
    SELECT-OPTIONS: werks FOR mard-werks.
    SELECT-OPTIONS: labst FOR mard-labst.
    SELECT-OPTIONS: matkl FOR mara-matkl.
    SELECT-OPTIONS: lgort FOR mard-lgort.
    SELECT-OPTIONS receiver FOR somlreci1-receiver NO INTERVALS.
    *PARAMETERS: p_email TYPE somlreci1-receiver
                                     DEFAULT '   '.
    PARAMETERS: p_subj TYPE epsf-epsfilnam.
    PARAMETERS: p_filen TYPE epsf-epsfilnam.
    TYPES: BEGIN OF t_mard,
      maktx TYPE makt-maktx,
      matnr TYPE mard-matnr,
      werks TYPE mard-werks,
      lgort TYPE mard-lgort,
      labst TYPE mard-labst,
      matkl TYPE mara-matkl,
    END OF t_mard.
    DATA: it_mard TYPE STANDARD TABLE OF t_mard WITH HEADER LINE,
          wa_mard TYPE t_mard.
    TYPES: BEGIN OF t_charekpo,
       maktx(40) TYPE c,
       matnr(18) TYPE c,
       werks(4) TYPE c,
      lgort(4) TYPE c,
      labst(18) TYPE c,
      matkl(3) TYPE c,
      kolicina(15) TYPE c,
    END OF t_charekpo.
    DATA: wa_charekpo TYPE t_charekpo.
    DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            w_cnt TYPE i,
            w_sent_all(1) TYPE c,
            w_doc_data LIKE sodocchgi1,
            gd_error    TYPE sy-subrc,
            gd_reciever TYPE sy-subrc.
    INCLUDE rfts7001.
    INITIALIZATION.
    *No intervall for value help
      CLEAR opt_list.
      MOVE 'JUST_EQ'  TO opt_list-name.
      MOVE 'X' TO opt_list-options-eq.
      APPEND opt_list TO restrict-opt_list_tab.
      CLEAR ***.
      MOVE: 'S'          TO ***-kind,
            'RECEIVER'   TO ***-name,
            'I'          TO ***-sg_main,
            'JUST_EQ'    TO ***-op_main.
      APPEND *** TO restrict-***_tab.
      CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
        EXPORTING
          restriction = restrict.
    *$001 ins end
    *START_OF_SELECTION
    START-OF-SELECTION.
      Retrieve sample data from table ekpo
      PERFORM data_retrieval.
      Populate table with detaisl to be entered into .xls file
      PERFORM build_xls_data_table.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Populate message body text
      PERFORM populate_email_message_body.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   TABLES it_message
                                          it_attach
                                   using p_email
                                     USING receiver
                                          p_subj
                                    'Naročilnica Simobil'
                                          'XLS'
                                          p_filen
                                         'filename'
                                 CHANGING gd_error
                                          gd_reciever.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
    PERFORM initiate_mail_execute_program.
    *&      Form  DATA_RETRIEVAL
          Retrieve data form MARD table and populate itab it_mard
    FORM data_retrieval.
      SELECT * FROM mard WHERE ( matnr IN matnr ) AND
                               ( labst IN labst ) AND
                               ( werks IN werks ) AND
                               ( lgort IN lgort ).
        SELECT * FROM mara WHERE ( matnr = mard-matnr ) AND
                                  ( matkl IN matkl ).
          SELECT SINGLE * FROM makt WHERE ( matnr = mard-matnr ) AND
                                          ( spras = 'E' ).
          IF sy-subrc = 0.
            CLEAR it_mard.
            MOVE mard-matnr TO it_mard-matnr.
       MOVE mard-lgort TO it_mard-lgort.
       MOVE mard-werks TO it_mard-werks.
       MOVE mard-labst TO it_mard-labst.
            MOVE mara-matkl TO it_mard-matkl.
            MOVE makt-maktx TO it_mard-maktx.
            APPEND it_mard.
          ENDIF.
        ENDSELECT.
      ENDSELECT.
    ENDFORM.                    " DATA_RETRIEVAL
    *FORM data_retrieval.
    SELECT ebeln ebelp aedat matnr
      UP TO 10 ROWS
       FROM ekpo
       INTO TABLE it_ekpo.
    *ENDFORM.
    *&      Form  BUILD_XLS_DATA_TABLE
          Build data table for .xls document
    FORM build_xls_data_table.
    CONSTANTS: con_cret TYPE x VALUE '0D',  "OK for non Unicode
                con_tab TYPE x VALUE '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    class cl_abap_char_utilities definition load.
      CONSTANTS:
          con_tab  TYPE c VALUE cl_abap_char_utilities=>horizontal_tab,
          con_cret TYPE c VALUE cl_abap_char_utilities=>cr_lf.
      CONCATENATE 'Opis Materiala' 'Material' 'Količina'
    'Skladišče' 'Zaloga' 'obrat' 'Mat. grupa'
             INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
      LOOP AT it_mard INTO wa_mard.
        CLEAR wa_charekpo.
        MOVE-CORRESPONDING wa_mard TO wa_charekpo.
        CONCATENATE wa_charekpo-maktx wa_charekpo-matnr
       wa_charekpo-lgort wa_charekpo-labst
       wa_charekpo-WERKS wa_charekpo-MAKTX wa_charekpo-MATKL
                                    INTO it_attach SEPARATED BY con_tab.
        CONCATENATE con_cret it_attach  INTO it_attach.
        APPEND  it_attach.
      ENDLOOP.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment TABLES pit_message
                                              pit_attach
                                          USING p_email
                                        using receiver
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     CHANGING p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
    ld_email   = p_email.
      ld_email   = receiver.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
        ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
         ( w_cnt + 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = pit_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      LOOP AT receiver.
    t_receivers-receiver = ld_email.
        t_receivers-receiver = receiver-low.
        t_receivers-rec_type = 'U'.
        t_receivers-com_type = 'INT'.
        t_receivers-notif_del = 'X'.
        t_receivers-notif_ndel = 'X'.
        APPEND t_receivers.
      ENDLOOP.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data              = w_doc_data
          put_in_outbox              = 'X'
          sender_address             = ld_sender_address
          sender_address_type        = ld_sender_address_type
          commit_work                = 'X'
        IMPORTING
          sent_to_all                = w_sent_all
        TABLES
          packing_list               = t_packing_list
          contents_bin               = t_attachment
          contents_txt               = it_message
          receivers                  = t_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.                    "send_file_as_email_attachment
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    *FORM initiate_mail_execute_program.
    WAIT UP TO 2 SECONDS.
    SUBMIT rsconn01 WITH mode = 'INT'
                   WITH output = 'X'
                   AND RETURN.
    *ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
           Populate message body text
    FORM populate_email_message_body.
      REFRESH it_message.
      it_message =
      'Pozdravljeni! Želimo Vam lep in uspešen dan Sales Support'.
      APPEND it_message.
    ENDFORM.                    " POPULATE_EMAIL_MESSAGE_BODY

    hi had u appended the data to the file ...this is the problem with the append statements...after moving the data from wa to table you need to append the data...like this...
    hi check this example program which is working fine..
    REPORT  ZMAIL.
    TABLES: ekko.
    PARAMETERS: p_email   TYPE somlreci1-receiver .
      TYPES: BEGIN OF t_ekpo,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
    END OF t_ekpo.
    DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
          wa_ekpo TYPE t_ekpo.
    TYPES: BEGIN OF t_charekpo,
      ebeln(10) TYPE c,
      ebelp(5)  TYPE c,
      aedat(8)  TYPE c,
      matnr(18) TYPE c,
    END OF t_charekpo.
    DATA: wa_charekpo TYPE t_charekpo.
    DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            w_cnt TYPE i,
            w_sent_all(1) TYPE c,
            w_doc_data LIKE sodocchgi1,
            gd_error    TYPE sy-subrc,
            gd_reciever TYPE sy-subrc.
    *START_OF_SELECTION
    START-OF-SELECTION.
      Retrieve sample data from table ekpo
      PERFORM data_retrieval.
      Populate table with detaisl to be entered into .xls file
      PERFORM build_xls_data_table.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Populate message body text
      perform populate_email_message_body.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_message
                                          it_attach
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'XLS'
                                          'filename'
                                 changing gd_error
                                          gd_reciever.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
      PERFORM initiate_mail_execute_program.
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp aedat matnr
       UP TO 10 ROWS
        FROM ekpo
        INTO TABLE it_ekpo.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  BUILD_XLS_DATA_TABLE
          Build data table for .xls document
    FORM build_xls_data_table.
      data: ld_store(50) type c.  "Leading zeros
      CONSTANTS: con_cret(5) TYPE c VALUE '0D',  "OK for non Unicode
                 con_tab(5) TYPE c VALUE '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
       con_cret type c value cl_abap_char_utilities=>CR_LF.
      CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR' INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
      LOOP AT it_ekpo INTO wa_charekpo.
    *Modification to retain leading zeros
      inserts code for excell REPLACE command into ld_store
      =REPLACE("00100",1,5,"00100")
        concatenate '=REPLACE("' wa_charekpo-ebelp '",1,5,"'
                                 wa_charekpo-ebelp '")' into ld_store .
      concatenate ld_store into .xls file instead of actual value(ebelp)
        CONCATENATE wa_charekpo-ebeln ld_store  wa_charekpo-aedat wa_charekpo-matnr  INTO it_attach SEPARATED BY con_tab.
        CONCATENATE con_cret it_attach  INTO it_attach.
        APPEND  it_attach.
      ENDLOOP.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables pit_message
                                              pit_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = pit_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    FORM initiate_mail_execute_program.
      WAIT UP TO 2 SECONDS.
      SUBMIT rsconn01 WITH mode = 'INT'
                    WITH output = 'X'
                    AND RETURN.
    ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
           Populate message body text
    form populate_email_message_body.
      REFRESH it_message.
      it_message = 'Please find attached a list test ekpo records'.
      APPEND it_message.
    endform.                    " POPULATE_EMAIL_MESSAGE_BODY
    regards,
    venkat.

  • LSO Course Program Issues (Need Instructions)

    We are currently investigating the need for the course program functionality at our organization and have setup a few with mixed results.  We are running LSOFE603 and have been live for over a year so the portal and configuration appears to be correct.  If I subscribe to the course program then a course program can not be found error is displayed.  In addition to this I can book in the seperate course types from the learner portal but titles seems to be missing from the display.   
    Does anyone know where I can find clear step by step instructions on how to setup a course program? Everything checks out okay from our setup but we continue to have issues.  Thank you in advance for your response(s).
    Regards,
    Matt

    use lso_pvct > Create Course program
    Enter abbrev, name, language, & save
    when you save, it will ask you to manage course blocks.
    you can create sequential or non-sequential course blocks.
    You must save the blocks before you can add course types to them.
    Once saved, edit the course program > Course blocks
    add your course types to the blocks; either sequenced or non-sequenced.
    config for course programs is
    1) number range intervals
    2) relationships for the course type object EK
    3) Define object type > Structure search LSO-l-ek
    4) Followup for course type EK

  • Error msg dump issue?

    hi
    i am having a issue in using the method raise_error_message.
    I am using it for displaying a msg if the customer is locked.
    currently if my system has locked a customer & i try to access it through,its give me the msg for user locked by user name.
    but now i am facing a problem,if the some other user has locked the customer & me or any other system try to access the same customer,than this raise_error_message gives the dump & error message is not raised.
    below is my code:
        CALL FUNCTION 'ENQUEUE_EZMDAP_OCM'
         EXPORTING
           mode_zmdap_stat_hist       = 'E'
      MANDT                      = SY-MANDT
           kunnr                      = ls_cr_gen_data-kunnr
      X_KUNNR                    = ' '
      _SCOPE                     = '2'
      _WAIT                      = ' '
      _COLLECT                   = ' '
         EXCEPTIONS
           foreign_lock               = 1
           system_failure             = 2
           OTHERS                     = 3
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 into lv_msgtxt.
                  get message manager
                  DATA lo_api_controller     TYPE REF TO if_wd_controller.
                  DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
                  lo_api_controller ?= wd_this->wd_get_api( ).
                  CALL METHOD lo_api_controller->get_message_manager
                    RECEIVING
                      message_manager = lo_message_manager.
                  report message
                  CALL METHOD lo_message_manager->raise_error_message----<dump coming here for WebDynpro Exception
                    EXPORTING
                      message_text  = lv_msgtxt.
    Edited by: Vipin on Nov 9, 2009 3:39 PM

    Hi,
    you can even do in the following way..
    CALL FUNCTION 'ENQUEUE_EZLOCK_PCT'
    EXPORTING
       MODE_ZRM_C_CV_OPEC       = 'E'
       MANDT                    = SY-MANDT
       USERID                   = LV_USERID
       LANG                     = LV_LANG
    *   INDEX1                   =
    *   X_USERID                 = ' '
    *   X_LANG                   = ' '
    *   X_INDEX1                 = ' '
    *   _SCOPE                   = '2'
    *   _WAIT                    = ' '
    *   _COLLECT                 = ' '
    EXCEPTIONS
       FOREIGN_LOCK             = 1
       SYSTEM_FAILURE           = 2
       OTHERS                   = 3
    CALL METHOD lo_message_manager->report_t100_message
          EXPORTING
            msgid =  sy-msgid
            msgno =  sy-msgno
            msgty =  sy-msgty
            p1    = sy-msgv1
            p2    = sy-msgv2
            p3    = sy-msgv3.
    Using this you can even catch the exceptions thrown by the FM
    Hope this helps you.
    Priya

  • Programming issues?

    Hi again you guys,
    like i said previously, i'm new to LV and my english is not the best...
    I'm constructing a VI to aquire analogic signals from 4 pressure transductors...I
    I need the aquired data on a excel file (table) and the waveform chart on a datasheet file...
    The data exported to excel file should be 2 values each second, and I'm getting something like...700 samples per second....what turns my excel file very extensive....and 1 time column for each channel, I just need 1 time column to all channels....
    Another issue: The x-axis values ( set to 0-300 seconds) when i run program it changes to something else that i don´t really know what is....
    For last, i don´t know how to automatically export the waveform chart to a datasheet file at the elapsed time (like it's happening with the excel export)...
    Can anyone, please, teach or show me how to solve this issues???
    Sorry for  my bad english...
    Best regards
    Jimmy
    Solved!
    Go to Solution.
    Attachments:
    Estanq. CG.vi ‏200 KB

    You need to adjust the sample rate on on DAQ step.  Double click on the DAQ assistant, go down to the bottom right box and enter a different number in the Rate (Hz) box.  You currently have 1k = 1000 samples/sec.  If you only need 2 samples per second, change this to two.  You can also wire in the number 2 to the input called "rate" on the DAQ assistant.
    If I were you, I would use the Write Measurement File VI instead of the export data to Excel.  It will write a file with a *.lvm extension.  But if you double click on the file and tell it to open with Excel, Excel can read it just fine.  You can find this function under Express-Output-Write Meas File.   Place one of these on a block diagram and then read the help about it.
    Craig

  • Good Wife Programming Issues

    IF VERIZON DOES NOT FIX THE PROGRAM GUIDE ISSUES WITH THE GOOD WIFE BY NEXT WEEK, I AM CHANGING SERVICES IMMEDIATELY. TGW is scheduled to come on at 9p, but doesn't start until 9:10 or so. Therefore, when I schedule my DVR to record I miss the last 15 minutes of the show and have to watch on demand. I don't know if the time is a CBS network decision or what, but Verizon needs to fix this error or accommodate the time difference in their guide. I have so many issues with Verizon Fios sub-par service especially when it comes to DVR, but this is really getting on my nerves & will force me to change.

    The guide data is not updated when the schedule is shifted by Sports events.  TGW last night by the MASTERS (PGA) that went a bit over schedule.  This is a common problem with ALL DVR's and not unique to Verizon.

  • Server socket programming issue

    Hi there and thanks for visiting my post,
    I'm writing a instant message application. I've written a multi-threaded server that constant listens for socket connections on port 4001. When a connection is received by the server, it adds the thread (client) connection to an array (of fixed size, I allow a max of 100 connections or so) and starts the thread. Here's the code:
    import java.io.*;
    import java.util.*;
    import java.net.*;
    * @author Stephen
    public class Main {
        static ServerSocket         sock = null;
        static pmClientHandler      conn;
        static Socket               client = null;  
        static int                  port = 4001;
        static int                  MAX_CONNECTIONS = 100;
        static pmClientHandler      t[] = new pmClientHandler[MAX_CONNECTIONS]; // array that holds threads holds a max of 100 now
        /** Creates a new instance of Main */
        public Main() { }
         * Instantiate server listener
         * @param args the command line arguments
        public static void main(String[] args) {
            // TODO code application logic here
            try {
                sock = new ServerSocket(port);  // listen on port
            } catch (IOException e) {
                System.out.println("Cannot create server on port "+port+".");
                System.exit(1);
            System.out.println("Pita messenger server ready on port  "+port+". Listening for connections...\n\n");
            while (true) {    // infinite loop to listingen for many connections
                try {
                client = sock.accept();  // accept connection
                for (int i =0; i < MAX_CONNECTIONS; i++) {
                    if (t[i] == null) {
                       (t[i] = new pmClientHandler(client,t,MAX_CONNECTIONS)).start();
                       break;      
                } catch (IOException e) {  // ERROR ACCEPTING CONNECTION 
            } // end infini. loop listening for remote socket connections
    }Again, each instance thread object of pmClientHandler constantly listens for incoming messages from the client application. Here's the code for that class.
    import java.util.*;
    import java.net.*;
    import java.io.*;
    public class pmClientHandler extends Thread {
    public String       username = "";
    private boolean     userValidated = false;
    public boolean      userAway = false;
    public boolean      userInvisible = false;
    public boolean      userBusy = false;
    private ArrayList   currentBuddyList;
    public Socket      connection;
    public pmClientHandler t[];
    private Scanner     reciever;
    public PrintStream  sender = null;
    private int         MAX_CONNECTIONS;
    private boolean     isConnected = false;
        /** Creates a new instance of pmClientHandler */
        public pmClientHandler(Socket s, pmClientHandler[] newThread, int maxc) {
            connection = s; // hand over socket
            MAX_CONNECTIONS = maxc;
            t = newThread; // hand over thread. We now have new populate array of clients in t[]
            isConnected = true;  // user connected
            try {  // create IO streams for this particular client
                reciever = new Scanner(connection.getInputStream()); 
                sender = new PrintStream(connection.getOutputStream(), true);  //auto flush true
            } catch (IOException e) { close(); }
         * Required method by threads. Method is called when thread is executed.
         public void run() {
          String clientMessage;
          pmServerMessenger resource = new pmServerMessenger();
          while(isConnected) { 
            // Determine username and password request
            clientMessage = reciever.nextLine().trim();
            ///////////////////////  HANDLE PROTOCOL / MESSAGES  /////////////////////////////////
            // So we know user has established a connection to the server but has not yet logged in yet.
            if (clientMessage.toUpperCase().startsWith("ECHO")) { sender.println("ECHO BACK, HELLO CLIENT"); }
            if (clientMessage.startsWith("LOGIN")) {  // client wishes to log in
                clientMessage = clientMessage.substring(5).trim();
                if (clientMessage.indexOf(" ") != -1) {
                    String suppliedUsername, suppliedPassword;
                    suppliedUsername = clientMessage.substring(0, clientMessage.indexOf(" ")).trim();
                    suppliedPassword = clientMessage.substring(clientMessage.indexOf(" ")).trim();
                    // Valid user
                    if (resource.validateUser(suppliedUsername, suppliedPassword)) {    
                        sender.println("ACDFG324323DSSDGTRR54745345DFGDFSE3423423DHDFHER4565DFGDFGERT");  // send key to client
                        userValidated = true;   // set flag to allow user to access server resources.
                        this.username = suppliedUsername;
                    } else {
                        sender.println("INVALIDLOGIN");
                } else {
                    sender.println("INVALIDLOGIN");
                    this.close();
            } // end user login routine //////////////////////////////////////////////
            if (clientMessage.toUpperCase().startsWith("LOADBUDDYLIST")) {
                if (isConnected && userValidated) {
                    ArrayList thisUsersBuddyList = resource.getBuddyList(this.username);
                    for (int i = 0; i < thisUsersBuddyList.size(); i++) {
                        String currBuddy = (String) thisUsersBuddyList.get(i);
                        if (currBuddy != "" && currBuddy != null) {
                            sender.println(currBuddy);
                    sender.println("ENDBUDDYLIST");  // let client know we're done sending client buddy list
            if (clientMessage.toUpperCase().startsWith("ISONLINE")) {
                String usrToCheck = clientMessage.substring(8).trim();
                if (isOnline(usrToCheck)) {
                    sender.println("YES "+usrToCheck);
                } else {
                    sender.println("NO "+usrToCheck);
            if (clientMessage.toUpperCase().startsWith("ISAWAY")) {
                String usrToCheck = clientMessage.substring(6).trim();
                if (isUserAway(usrToCheck)) {
                    sender.println("Z "+usrToCheck);  // is away
                } else {
                    sender.println("X "+usrToCheck);  // not away
            if (clientMessage.toUpperCase().startsWith("CLIENTAWAY")) {
                String usrToCheck = clientMessage.substring(10).trim();
                if (!usrToCheck.trim().equals("")) {
                    setClientAsAway(usrToCheck);
            if (clientMessage.toUpperCase().startsWith("CLIENTBACK")) {
                String usrToCheck = clientMessage.substring(10).trim();
                if (!usrToCheck.trim().equals("")) {
                    setClientAsBack(usrToCheck);
            // Exit the clients connection to the server.
            if (clientMessage.toUpperCase().startsWith("EXIT")) {
                sender.println("GOODBYE");
                this.close();
            if (clientMessage.toUpperCase().startsWith("WHOISONLINE")) {
                whoisOnline();
            if (clientMessage.toUpperCase().startsWith("DISPATCHIM")) {
                String imStr = clientMessage.substring(1).trim();
                String to = imStr.substring(0,imStr.indexOf(" ")).trim();
                String imMsg = imStr.substring(imStr.indexOf(" ")).trim();
                dispatchIM(to,imMsg);  
          }  // end while is connected
        } // End run method
         public synchronized void addIMToQueue(String from, String msg) {
             instantMessage im = new instantMessage(from,msg);
             imQueue.addLast(im);
         private synchronized void getInstantMessages() {
             while (!imQueue.isEmpty()) {
                 instantMessage tmpMsg = imQueue.remove();
                 String tmpHandle = tmpMsg.getHandle();
                 String tmpImMsg = tmpMsg.getMsg();
                 sender.println("L "+tmpHandle+" "+tmpImMsg);
             sender.println("IMPOPDONE");
         private void dispatchIM(String to, String m) {
            for (int i = 0; i < MAX_CONNECTIONS; i++) {
                if (t[i] != null) {
                    if (t.username.trim().equals(to)) {
    pmClientHandler x = t[i];
    PrintStream ps = x.sender;
    ps.println("IMMSG "+this.username+" "+m);
    * Method will relay back to client a list of who's online. When it's finished
    * the command DONELISTING is dispatched.
    private void whoisOnline() {
    for(int i=0; i < MAX_CONNECTIONS; i++) {
    if (t[i] != null && t[i].username.trim() != "")
    sender.println(t[i].username);
    sender.println("DONELISTING"); // so client knows we're done
    } // END whoisOnline METHOD
    private boolean isOnline(String user) {
    boolean isOn = false;
    for (int i = 0; i < MAX_CONNECTIONS; i++) {
    if (t[i] != null && t[i].username.trim().equals(user.trim())) {
    isOn = true; break;
    return isOn;
    private boolean isUserAway(String user) {
    boolean tmpIsAway = false;
    for (int i = 0; i < MAX_CONNECTIONS; i++) {
    if (t[i] != null) {
    if (t[i].username.trim().equals(user)) {
    if (t[i].userAway) {
    tmpIsAway = true;
    break;
    } else {
    break;
    return tmpIsAway;
    private void setClientAsAway(String user) {
    //this.userAway = true;
    for (int i = 0; i < MAX_CONNECTIONS; i++) {
    if (t[i] != null) {
    if (t[i].username.trim().equals(user)) {
    t[i].userAway = true;
    private void setClientAsBack(String user) {
    //this.userAway = false;
    //this.userBusy = false;
    //this.userInvisible = false;
    for (int i = 0; i < MAX_CONNECTIONS; i++) {
    if (t[i] != null) {
    if (t[i].username.trim().equals(user)) {
    t[i].userAway = false;
    t[i].userBusy = false;
    t[i].userInvisible = false;
    private boolean isUserBusy(String user) {
    boolean tmpIsBusy = false;
    for (int i = 0; i < MAX_CONNECTIONS; i++) {
    if (t[i] != null) {
    if (t[i].username.trim().equals(user)) {
    if (t[i].userBusy) {
    tmpIsBusy = true;
    break;
    } else {
    break;
    return tmpIsBusy;
    private boolean isUserInvisible(String user) {
    boolean tmpIsInvisible = false;
    for (int i = 0; i < MAX_CONNECTIONS; i++) {
    if (t[i] != null) {
    if (t[i].username.trim().equals(user)) {
    if (t[i].userInvisible) {
    tmpIsInvisible = true;
    break;
    } else {
    break;
    return tmpIsInvisible;
    * Method will close the connection to the server.
    * It will also free up array location for any new connections
    private void close() {
    if (isConnected) {
    try {
    connection.close();
    isConnected = false;
    userValidated = false;
    System.out.println("User " + username + " has disconnected from the Pita Messenger server.");
    for(int i=0; i < MAX_CONNECTIONS; i++)
    if (t[i]==this) t[i]=null; // set array element to null so we can accept another
    // connection had we been maxed out
    } catch (IOException e) { }
    } // end pmClientHandler class
    Now finally for my problem...this all works EXACTLY as expected when I telnet to the server. My client GUI application has an issue though. When I want to send an IM to a particular user...the thread code above that listens for *DISPATCHIM* get's who the IM is to and what the message is in the following protocol format *DISPATCHIM to msg* and call the following private method:private void dispatchIM(String to, String m) {
    for (int i = 0; i < MAX_CONNECTIONS; i++) {
    if (t[i] != null) {
    if (t[i].username.trim().equals(to)) {
    pmClientHandler x = t[i];
    PrintStream ps = x.sender;
    ps.println("IMMSG "+this.username+" "+m);
    Basically, if not obvious, what I'm doing here is iterating through the array of client connection threads and finding the client thread that belongs who this message is to, and accessing the sender object and dispatching to the IM to that client. Again, all works perfectly in telnet. However, my client GUI is not recieving any data. With all my testing, it seems that I am only able to access and modify strings and boolean variables, however it's like I've lost the sender object (only in my GUI app). This is really bugging the hell out of me and I've spent days trying to figure this out. Something is just not right. My client app has a dispatcher thread that constantly listens for incoming connects (if a buddy is online, or an instant message). This is the run method of that class:public void run() {
    String data;
    while(true) {
    try {
    try {
    data = reciever.nextLine();
    if (!data.trim().toUpperCase().startsWith("YES") && !data.trim().toUpperCase().startsWith("NO") && !data.trim().toUpperCase().startsWith("X") && !data.trim().toUpperCase().startsWith("Z")) {
    System.out.println("Foreign command: "+data);
    } catch (Exception e) { System.out.println("ERR: "+e); break; }
    // pass any data returned at any time during to the serverListener method
    serverListener(data);
    } catch (Exception e) { }
    * Method is used to handle all incoming messages from the server.
    private void serverListener(String data) {
    if (data.trim().toUpperCase().startsWith("IMMSG")) {   // Handle incoming im
    String imStr = data.substring(1).trim();
    String imFrom = imStr.substring(0,imStr.indexOf(" ")).trim();
    String imMsg = imStr.substring(imStr.indexOf(" ")).trim();
    // Check to see if we have any IM sessions open already
    if (isChatWithBuddyOpen(imFrom)) {
    imWindow thisIMSession = getIMSession(imFrom);
    thisIMSession.appendBuddyMessage(imMsg);
    thisIMSession.setVisible(true);
    } else {
    newIMSession(imFrom);
    imWindow thisIMSession = getIMSession(imFrom);
    thisIMSession.appendBuddyMessage(imMsg);
    thisIMSession.setVisible(true);
    // Garbage collection for old IM sessions
    if (!imSessions.isEmpty()) {
    for (int i = 0; i < imSessions.size(); i++) {
    imWindow isGarbageIM = imSessions.get(i);
    if (isGarbageIM == null || isGarbageIM.chatBuddy.trim().equals("")) {
    imSessions.remove(i);
    } else if (data.trim().toUpperCase().startsWith("Z")) {  // Handle user is away response
    String userResponse = data.substring(1).trim();
    clientGUI.handleUserAwayMsg(userResponse, true);
    } else if (data.trim().toUpperCase().startsWith("X")) {  // Handle user is online response
    String userResponse = data.substring(1).trim();
    clientGUI.handleUserAwayMsg(userResponse, false);
    } else if (data.trim().toUpperCase().startsWith("ISBUSY")) { // Handle user is busy response
    } else if (data.trim().toUpperCase().startsWith("NOTBUSY")) { // Handle user is not busy
    } else if (data.trim().toUpperCase().startsWith("ISINVISIBLE")) { // Handle user is invisible
    } else if (data.trim().toUpperCase().startsWith("NOTINVISIBLE")) { // Handle user is  not invisible
    } else if (data.trim().toUpperCase().startsWith("YES")) {  // Handle user is online
    String userResponse = data.substring(3).trim();
    clientGUI.handleUserOnlineMsg(true,userResponse);
    } else if (data.trim().toUpperCase().startsWith("NO")) {  // Handle user is offline
    String userResponse = data.substring(3).trim();
    clientGUI.handleUserOnlineMsg(false,userResponse);
    } // end serverListener method
    It's like my receiver object gets NOTHING. Again, this only occurs with my GUI app, in telnet. Can anyone PLEASE advise as to what might be occuring. Thanks very much. If you might really be able to help I could post the entire app and server zipped up so that you can poke through. If you help me figure this out and I understand why it's not working, I'll buy you a case of your favorite beer ;) Thanks!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    A couple of things.
    In future Networking related questions should be posted into the Networking forum.
    There is too much code here and too much page width. It's a bit overwhelming. You'll need to narrow this down a bit. From looking so far I see some potential
    portocol related issues. Like the readLine. Are you sure you are always writing line breaks on the other side? And then there's the substring bits which are
    going to be brittle.
    My suiggestion would be to trace things through and be able to point out exactly where the code is getting stuck/failing. Even getting it narrowed down to a method
    would be very helpful.

Maybe you are looking for

  • An error in RMI please clarify

    When I try to connect an RMI Server by giving IP address, I'm getting the following error. But the same works well when I use localhost. C:\>java time.TimeClient java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: j

  • Error on execution of a report

    Hi all, when am executing a report calling smart forms i can get the output in 300 client. But when i transported to pre production, after giving the parameters in the report and on execution it throws the following error Unable to generate form Rega

  • What is the last version of NUServer64.

    What is the last version of

  • Getting a list of distinct values

    Hello, I'm using Toplink named queries with an sql-expression (in JDev Studio 10.1.0.3.) but I'm having trouble to get distinct values. I want to create a dropdown list containing all pricerange possibilities, the basic data comes from a table with f

  • Unloading external image

    import flash.display.Loader; stage.focus = myTextBox; myButton.addEventListener(MouseEvent.CLICK, findTarget); function findTarget(evt:MouseEvent):void           var writer:String;           var tester = String(myTextBox.text).toLowerCase()