TreeTable : My successful sorting

Hi,
I have a tree table with a personal tree model.
So, here my work.
I have a bean Person.java :
import java.util.ArrayList;
import java.util.List;
*public class Person {*
*public Person(String name, String firstname) {*
_name = name;*
_firstname = firstname;*
_kids = new ArrayList<Person>();*
*public String getName() {*
*return _name;*
*public String getFirstname() {*
*return _firstname;*
*public List getKids() {*
*return _kids;*
*private final String _name;*
*private final String _firstname;*
*private final List<Person> _kids;*
I have a backing bean arbo3Bkb.java :
import java.util.ArrayList;
import java.util.List;
import org.apache.myfaces.trinidad.model.ChildPropertyTreeModel;
import org.apache.myfaces.trinidad.model.TreeModel;
import view.treeModel.bean.Person;
*public class Arbo3Bkb {*
*private TreeModel _model = null;*
private List<Person> people;
*public Arbo3Bkb() {*
super();
Person john = new Person("Smith", "John");
Person kim = new Person("Smith", "Kim");
Person tom = new Person("Smith", "Tom");
Person ira = new Person("Wickrememsinghe", "Ira");
Person mallika = new Person("Wickremesinghe", "Mallika");
john.getKids().add(kim);
john.getKids().add(tom);
ira.getKids().add(mallika);
*// create the list of root nodes:*
people = new ArrayList<Person>();
people.add(john);
people.add(ira);
*public void setModel(TreeModel _model) {*
*this._model = _model;*
*public TreeModel getModel() {*
*if (_model == null) {*
_model = new ChildPropertyTreeModel(people, "kids");*
*return _model;*
And I have a jspx : arbo3.jspx
*<?xml version='1.0' encoding='UTF-8'?>*
*<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"*
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
*<jsp:directive.page contentType="text/html;charset=UTF-8"/>*
*<f:view>*
*<af:document id="d1">*
*<af:messages id="m1"/>*
*<af:form id="f1">*
*<af:panelCollection id="pc1">*
*<f:facet name="menus"/>*
*<f:facet name="toolbar"/>*
*<f:facet name="statusbar"/>*
*<af:treeTable value="#{backingBeanScope.backing_arbo3.model}"*
var="node" id="tt1" rowSelection="single"
contentDelivery="immediate">
*<f:facet name="nodeStamp">*
*<af:column sortable="true" sortProperty="firstName"*
headerText="FirstName" id="c2" width="300">
*<af:outputText value="#{node.firstName}" id="ot1"/>*
*</af:column>*
*</f:facet>*
*<af:column sortable="true" headerText="Name" id="c1" width="300"*
sortProperty="name">
*<af:outputText value="#{node.name}" id="ot2"/>*
*</af:column>*
*</af:treeTable>*
*</af:panelCollection>*
*</af:form>*
*</af:document>*
*</f:view>*
*</jsp:root*
I get something like that :
- John
Kim
Tom
- Ira
Mallika
if I do an ascending sort, I get that :
- Ira
Mallika
- John
Kim
Tom
BUT it's not really what I want to get.
I would rather get this result :
- Ira
Mallika
- John
Tom
Kim
Do you see something wrong on my code?
Could you help me?
Regards,
Thomas

Thank you for answering my question!
But, I can't sort the children collection.
there is a BUG on METALINK : BUG:11929722 - CHANGE API TO BE ABLE TO USE THE SORT FEATURE IN TREE TABLES USING ADF BINDING. (There is no default sort support in ChildPropertyTreeModel and RowKeyPropertyTreeModel. This is intended for performance reasons.)
Regards,
Thomas

Similar Messages

  • 10.3.9 Upgrade Successful - Sort of

    Just wanted to share my experience for others running 10.3.9 who are considering upgrading to Leopard.
    My Configuration: MDD 1Ghz Dual processor G4, 512MB, Radeon 9600 Video Card, Sonnett 11g wireless card and USB 2.0 card, Apple SCSI Card.
    Since I have quite a few 3rd party cards I did a little research and nothing came up so I took the plunge.
    Prep:
    1) Backed up apps, documents, pictures and iTunes libraries to my external drive. (Saved Me)
    2) Set admin password. Was blank but I read it make cause keychain problems
    3) Wrote down all my email incoming and outgoing mail server info (Saved Me)
    4) Repaired Disk Permissions (Old Habit)
    Upgrade:
    I chose archive and install. The DVD verify took a long time. About 50 min. Then the upgrade started. It was estimating 4hrs 20 min. I watched it for awhile then went to bed.
    When I checked it in the am all looked fine at first.
    Problems I hit.
    1) Keychains lost. Had to reenter various passwords. .Mac, email etc... Not a big deal
    2) Video a little quirky. A little square would not refresh right around the mouse when moving windows. Reinstalled the drivers from the ATI Radeon CD and the problem went away.
    3) .Mac mail came up ok but my POP accounts did not. Then after closing mail and then opening again Mail began crashing as reported by others. Ended up recreating my accounts and importing from my backup.
    All my apps work fine including an old version of v.X MS Office. No wireless network issues connecting to an Airport Extreme. Overall performance is snappier than 10.3.9 although things seemed to have slowed a bit after applying 10.5.1.
    So in short. Backup your data before upgrading!
    Hope this was useful for some of the G4 MDD owners out there. Getting a lot of milage and value out of this machine.
    Alan

    Alan Yang wrote:
    Just wanted to share my experience for others running 10.3.9 who are considering upgrading to Leopard.
    My Configuration: MDD 1Ghz Dual processor G4, 512MB, Radeon 9600 Video Card, Sonnett 11g wireless card and USB 2.0 card, Apple SCSI Card.
    Since I have quite a few 3rd party cards I did a little research and nothing came up so I took the plunge.
    Prep:
    1) Backed up apps, documents, pictures and iTunes libraries to my external drive. (Saved Me)
    2) Set admin password. Was blank but I read it make cause keychain problems
    3) Wrote down all my email incoming and outgoing mail server info (Saved Me)
    4) Repaired Disk Permissions (Old Habit)
    Upgrade:
    I chose archive and install. The DVD verify took a long time. About 50 min. Then the upgrade started. It was estimating 4hrs 20 min. I watched it for awhile then went to bed.
    When I checked it in the am all looked fine at first.
    Problems I hit.
    1) Keychains lost. Had to reenter various passwords. .Mac, email etc... Not a big deal
    2) Video a little quirky. A little square would not refresh right around the mouse when moving windows. Reinstalled the drivers from the ATI Radeon CD and the problem went away.
    3) .Mac mail came up ok but my POP accounts did not. Then after closing mail and then opening again Mail began crashing as reported by others. Ended up recreating my accounts and importing from my backup.
    All my apps work fine including an old version of v.X MS Office. No wireless network issues connecting to an Airport Extreme. Overall performance is snappier than 10.3.9 although things seemed to have slowed a bit after applying 10.5.1.
    So in short. Backup your data before upgrading!
    Hope this was useful for some of the G4 MDD owners out there. Getting a lot of milage and value out of this machine.
    Alan
    Great, and it proves that with proper planning and an intelligent path it works.
    Ahh, that everyone would be as meticulous as you. This board would be practically empty.

  • Sort Dataset by Date

    I have imported data from an external xml file and have it
    displayed on screen.
    I wish to sort the data based upon a date.
    How would I format the date in my xml file? 01-01-2007,
    01/01/2007 or what?
    Also, how would I declare the resulting dataset to be classed
    as a date? I known that an integer can be class as a 'number' so it
    gets treated like a number as per:
    DataSet.setColumnType("columnName", "number");
    but how would I specify a date instead of a number?

    you can use setColumnType("columnName","date")
    i've had success sorting by date with dates and datetime.
    i've typically been using 01/01/2007 12:12:12 PM style format,
    although i'd imagine that any date format that javascript
    recognizes as a date would work fine

  • Table Sorting First Time - show arrow up or down

    Hello colleagues,
    I successfully sorted table's column without clicking on it using the following code:
    usersTableNode.sortElements( GenericNodeElementComparator.asc("userName") );
    The code was taken from this thread:
    Usage of the Node-Function "sortElements"
    <b>I have to show an arrow up or down, without clicking on the column header.</b>I'm dealing with NW04.
    Please help me to show this arrow

    Hi,
    Unfortunately, I'm using NW04 and not NW04s.
    Is it possible to show an arrow without clicking on the column's header before?
    David

  • Parameter-driven group sorting?

    Post Author: craibuc
    CA Forum: General
    i have a report that is grouped by employee name.  the report has 7 columns, displaying a summarized field in the group header.  the summarized values are based on formulae that are evaluation in the Details section.i would like to be able to dynamically sort the group based on a parameter value.  the parameter would allow the user to sort either on one of the week days or on the employee name.in the past, i have been successful sorting the Details section based on a parameter, but sorting a group is challenging. has anyone been able to do this?

    Post Author: Charliy
    CA Forum: General
    If you want to do Parameter driven grouping:  You have a formula:  IF {?GroupBy} = 1 THEN {table.EmployeeName} else IF {?GroupBy} = 2 THEN {table.SomethingElse}
    You may have to use Totext or some other function to make them the same data type.  Group on that formula.  If one of the options is something like day of week, or a date or portion of a date (YYYYMM), then create another formula for display in the group header.
    IF you're talking about sorting within a group -  same formula, you just use the sort expert to put it after the grop field in the sort sequence

  • How do I fix Mail in Snow Leopard where I cannot send emails from my account to another account I've set up in Mail, but the reverse works fine?

    I have a problem with Mail in Snow Leopard in that I cannot set up two email accounts for myself and my wife with the same ISP and have them operate properly.  I've set up the accounts in strict accordance with my ISP's instructions for setting up email accounts on Mac Mail but I cannot send an email from my account to my wife's without a drop-down message appearing that Mail 'cannot send the email from this server.  Please edit the server list'.  No amount of tweaking appears to work.  Applecare consultants have so far been unable to get it to work and a recent visit to the local Genius Bar in the Apple Store was fruitless also.  My ISP's help line was unable to solve the problem even with a supervisor level consultant.  The ISP concluded it was some kind of 'bug' in Mail.
    I could send emails from my wife's account to mine, but not vice versa; I could send emails to other addresees without any problem and I can send emails from my account to my wife's using the ISP's webmail.
    Does anyone please have a solution to my problem?  At the moment we're operating one account (mine) on my Macbook and my wife's is set up on her iPad2.  As we prefer to use the Macbook for storage and (using Time Machine) for back-up of our data, the two accounts on separate machines is a nuisance.
    Another factor is that I prefer to control when I download emails and set my preferences accordingly.  One of the so-called 'fixes' that were tried wound up downloading emails regardless of settings, even after removing my wife's account; the matter was remedied only after I had removed all accounts form Mail and started afresh from scratch.

    You'll have to pardon my ignorance of some  computer terminology; I'm a retired manager and not a computer technician, hence my muddling up of client and server terminology.
    Re your comment about Port 339: I did qualify this with (?).  As I wrote, it all happened at lightining speed and the guy at the Genius Bar didn't bother explaining what he was doing.  Port designation contained 3s and 9s to the best of my recollection.
    That said, you seem to be spot on re setting up a 'dummy' client in Mail.  I set it up as you suggested and I can send to and receive from this client without a problem.  You appear to have identified the solution, notwithstanding the claims of the ISP's 'experts'.
    The next problem I have now is sorting out my wife's mailbox that is so troublesome whenever I set it up on Mail.
    All the other set-up advice to date yielded a similar result; inability to send from my account to her inbox.  Perhaps deleting her details from the account altogether and setting them up again from scratch may be the solution and I shall try that in due course.  The impediment that I have with this at the moment is that my ISP admits that it has 'a technical problem with its email servers' and some of its related web pages that prevent my doing this myself.  I will have to go through the telephone 'help' line and ask the technician to set it up at their end on my instructions.  This has some disadvantages in that I have to divulge the password to the account to the operator rather than keeping it anonymous by doing it on-line.   You may have solved the problem, but until I can successfully sort out a working mailbox for my wife i cannot definitively say so.
    Many thanks for your perseverance.  You've made more sense than anyone else so far and that deserves some points, surely?

  • I was charged for the same app twice, but I only had enough money to purchase it once. I used a prepaid Mastercard, and cannot remove it from my account. I am also unable to download anything from iTunes. How do I fix this?

    The "none" option is nowhere to be found, and I can't remove my card. I don't really want to create a new account.

    You'll have to pardon my ignorance of some  computer terminology; I'm a retired manager and not a computer technician, hence my muddling up of client and server terminology.
    Re your comment about Port 339: I did qualify this with (?).  As I wrote, it all happened at lightining speed and the guy at the Genius Bar didn't bother explaining what he was doing.  Port designation contained 3s and 9s to the best of my recollection.
    That said, you seem to be spot on re setting up a 'dummy' client in Mail.  I set it up as you suggested and I can send to and receive from this client without a problem.  You appear to have identified the solution, notwithstanding the claims of the ISP's 'experts'.
    The next problem I have now is sorting out my wife's mailbox that is so troublesome whenever I set it up on Mail.
    All the other set-up advice to date yielded a similar result; inability to send from my account to her inbox.  Perhaps deleting her details from the account altogether and setting them up again from scratch may be the solution and I shall try that in due course.  The impediment that I have with this at the moment is that my ISP admits that it has 'a technical problem with its email servers' and some of its related web pages that prevent my doing this myself.  I will have to go through the telephone 'help' line and ask the technician to set it up at their end on my instructions.  This has some disadvantages in that I have to divulge the password to the account to the operator rather than keeping it anonymous by doing it on-line.   You may have solved the problem, but until I can successfully sort out a working mailbox for my wife i cannot definitively say so.
    Many thanks for your perseverance.  You've made more sense than anyone else so far and that deserves some points, surely?

  • MP600 Printer Driver

    I just got an AEBS, and successfully sorted out printing and disks over wireless, for both my macbook and a PC. I understand that not all options will work when using wireless (i.e. scanning etc), but I am still having a couple of issues, mainly the "supply levels" option does not work, so I cannot view the ink details in the same way as I can via USB. Also, the "printer utility" button in the queue window is greyed out.
    Is this normal? It's not terribly important, as the printer has a screen where I can check these things when I pick my prints up, but it would be nice to see it working. I appear to be using driver version 5.8.3.
    Thanks all,
    Dan

    Thanks very much - it's as I suspected. On the plus side, I have just noticed that the onboard card reader on the printer also shows up as an airdisk when I have a card in it

  • Regarding using of LDB PNPCE  in sap hr

    Can some one please tell me how to disable some of the selection screen fields and blocks of LDB PNPCE selection-screen which are not used in my report selection-screen?
    Thanks,
    Phanisreedhar.L

    *: Report:  ZP_POSTCODE                                                :
    *: Author:  www.SAPDev.co.uk                                           :
    *: Date  :  2004                                                       :
    *: Description: Displays report of employees by postcode area,         :
    *:              includes current travelling allowances (i.e. parking   :
    *:              permit or transport card etc..)                        :
    *: Use:         Help encourage the use of car sharing and public       :
    *:              transport where appropriate.                           :
    REPORT  zp_postcode.
    type-pools: slis.                                      "ALV Declarations
    NODES: pernr.
    INFOTYPES: 0000, 0001, 0002, 0006, 0008, 0014, 0105, 0121.
    SELECTION-SCREEN BEGIN OF BLOCK pcode WITH FRAME TITLE text-s01.
    SELECT-OPTIONS: so_pcode FOR p0006-pstlz.
    SELECTION-SCREEN END OF BLOCK pcode.
    TYPES: BEGIN OF t_output,
      pernr       TYPE p0001-pernr,   "personnel name
      anredtxt    TYPE t522t-atext,   "title (based on p0002-anred)
      fname       TYPE p0002-vorna,   "first name
      lname       TYPE p0002-nachn,   "last name
      orgtx       TYPE t527x-orgtx,   "dept
      fte         TYPE p0008-bsgrd,   "fte
      parking(20) TYPE c,
      payslip     TYPE t526-sachn,        "payslip address
      telno       TYPE p0105-usrid_long,  "tel number(p0105-usrty = 0020)
      email       TYPE p0105-usrid_long,  "email (p0105-usrty = MAIL)
      postcode    type p0006-pstlz,
    END OF t_output.
    DATA: it_output TYPE STANDARD TABLE OF t_output INITIAL SIZE 0,
          wa_output TYPE t_output.
    *ALV data declarations
    data: fieldcatalog   type slis_t_fieldcat_alv with header line,
          gd_tab_group   type slis_t_sp_group_alv,
          gd_layout      type slis_layout_alv,
          gd_repid       like sy-repid,
          gt_events      type slis_t_event,
          gd_prntparams  type slis_print_alv,
          gd_count(6)    type n,
          gd_outtext(70) type c,
          gd_lines       type i.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    clear: gd_count.
    GET pernr.
    Infotype 0121 is used to store multiple contracts for personnel.
    Field p0121-hpern contains the personnel number for the main contract.
      PROVIDE * from p0121 between pn-begda and pn-endda.
      Check if main contract
        if p0121-pernr ne p0121-hpern.
          reject.
        endif.
      ENDPROVIDE.
      add 1 to gd_count.
      concatenate 'Processing personnel data'(m10) gd_count into gd_outtext
                separated by ' '.
    Display indicator for employee count
      perform progress_indicator using gd_outtext.
    Retrieve datd from infotypes
      rp_provide_from_last p0000 space pn-begda pn-endda.
      rp_provide_from_last p0001 space pn-begda pn-endda.
      rp_provide_from_last p0002 space pn-begda pn-endda.
      rp_provide_from_last p0006 space pn-begda pn-endda.
      rp_provide_from_last p0008 space pn-begda pn-endda.
      rp_provide_from_last p0014 space pn-begda pn-endda.
    Check post code
      CHECK p0006-pstlz IN so_pcode.  "cp
    Post code
      wa_output-postcode = p0006-pstlz.
    Personnel number
      wa_output-pernr = pernr-pernr.
    Personnel title
      SELECT SINGLE atext
        FROM t522t
        INTO wa_output-anredtxt
       WHERE sprsl EQ sy-langu AND
             anred EQ p0002-anred.
    First name
      wa_output-fname = p0002-vorna.
    Last name
      wa_output-lname = p0002-nachn.
    Organizational Unit text (dept)
      SELECT SINGLE orgtx
        FROM t527x
        INTO wa_output-orgtx
       WHERE sprsl EQ sy-langu AND
             orgeh EQ p0001-orgeh AND
             endda GE sy-datum.
    FTE
      wa_output-fte = p0008-bsgrd.
    Parking / travel deducted?
      CASE p0014-lgart.
        WHEN '7180' OR '7181' OR '7182'.
          wa_output-parking = text-002.
        WHEN '7183'.
          wa_output-parking = text-001.
        WHEN '7171' OR '7172' or '7173' or '7174' or
             '7175' or '7176' or '7177' or '7178'.
          wa_output-parking = text-003.
      ENDCASE.
    Payslip Address
      SELECT SINGLE sachn
        FROM t526
        INTO wa_output-payslip
       WHERE werks EQ p0001-werks AND
             sachx EQ p0001-sacha.
      PROVIDE * from p0105 between pn-begda and pn-endda.
      Telephone numbers
        if p0105-usrty = '0020'.
           wa_output-telno = p0105-usrid_long.
        endif.
      Email address
        if p0105-usrty = 'MAIL'.
           wa_output-email = p0105-usrid_long.
        endif.
      ENDPROVIDE.
      append wa_output to it_output.
      clear: wa_output.
    *END-OF-SELECTION.
    END-OF-SELECTION.
    describe table it_output lines gd_lines.
    if gd_lines gt 0.
      perform build_fieldcatalog.
      perform build_layout.
      perform display_alv_report.
    else.
      message i003(zp) with 'No records found'.
    endif.
    *&      Form  PROGRESS_INDICATOR
          Displays progress indicator on SAP screen
    form progress_indicator using p_text.
      call function 'SAPGUI_PROGRESS_INDICATOR'
          exporting
            PERCENTAGE = 0
               text       = p_text.
    endform.                    " PROGRESS_INDICATOR
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
      fieldcatalog-fieldname   = 'PERNR'.
      fieldcatalog-seltext_m   = 'Personnel No.'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
    fieldcatalog-emphasize   = 'X'.
    fieldcatalog-key         = 'X'.
    fieldcatalog-do_sum      = 'X'.
    fieldcatalog-no_zero     = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'ANREDTXT'.
      fieldcatalog-seltext_m   = 'Title'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'FNAME'.
      fieldcatalog-seltext_m   = 'First Name'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'LNAME'.
      fieldcatalog-seltext_m   = 'Last Name'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'ORGTX'.
      fieldcatalog-seltext_m   = 'Department'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'FTE'.
      fieldcatalog-seltext_m   = 'FTE'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PARKING'.
      fieldcatalog-seltext_m   = 'Parking/Metrocard'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PAYSLIP'.
      fieldcatalog-seltext_m   = 'Payslip Add.'.
      fieldcatalog-col_pos     = 7.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'TELNO'.
      fieldcatalog-seltext_m   = 'Telephone'.
      fieldcatalog-col_pos     = 8.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'EMAIL'.
      fieldcatalog-seltext_m   = 'E-mail'.
      fieldcatalog-col_pos     = 9.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'POSTCODE'.
      fieldcatalog-seltext_m   = 'Post code'.
      fieldcatalog-col_pos     = 10.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
      gd_layout-zebra             = 'X'.
    endform.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
                i_save                  = 'X'
           tables
                t_outtab                = it_output
           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_ALV_REPORT
    The following program allows you to retrieve all the individuall sickpay values for a given period and person.This data is then exported to memory using the memory id entered on the selection screen. This thereforeallows you to submit this program from another program and then process the data within the calling programby importing the data from memory.  Click here for example .
    Report:  ZSXP_ABSENCE_DATA                                           **                                                                      ** Author:  www.SAPdev.co.uk                                            **                                                                      ** Date  :  12.02.2003                                                  **                                                                      ** Description: Retrieve maternaty/Sickness Absence data*                                                                      ************************************************************************REPORT ZSXP_ABSENCE_DATA      LINE-SIZE 100 NO STANDARD PAGE HEADING                MESSAGE-ID 5g.TABLES: t554s, pernr, pcl1, pcl2.INCLUDE rpclst00.INCLUDE rpc2rx09.                      "Payroll results datadefns-Intl.INCLUDE rpc2rxx0.                      "Payroll results datadefns-Intl.INCLUDE rpc2rgg0.                      "Payroll results datadefns-GBINCLUDE rpcfdcg0.                      "Payroll results datadefns-GBINCLUDE rpcdatg0.INCLUDE rpc2cd00.                      "Cluster Directory defns.INCLUDE rpc2ps00.                      "Cluster: Generierte SchematasINCLUDE rpc2pt00.INCLUDE rpcfdc10.INCLUDE rpcfdc00.INCLUDE rpppxd00.INCLUDE rpppxd10.INCLUDE rpcfvp09.INCLUDE rpcfvpg0.INCLUDE rpppxm00.INFOTYPES: 0001,                       "Organisational assignment           0002,                       "Personal Data           0003,                       "Payroll Status           0088,                                            "SMP           2001,                       "Absences           0086.                       "SSP/SMP ExlclusionsDATA:   ssp_weeks TYPE p DECIMALS 2 VALUE 0.DATA:   ssp_total TYPE p DECIMALS 2 VALUE 0,        total_val TYPE p DECIMALS 2 VALUE 0,        smp_weeks TYPE p DECIMALS 2 VALUE 0,        smp_value TYPE p DECIMALS 2 VALUE 0,        gross     LIKE pc207-betrg,        dis_gross TYPE p DECIMALS 2 VALUE 0.DATA: gd_begda(10) TYPE c,      gd_endda(10) TYPE c.DATA: ld_orgtxt LIKE t527x-orgtx.DATA: name(30).DATA: BEGIN OF itab OCCURS 0,      pernr LIKE p0002-pernr,      perid LIKE p0002-perid,      name  LIKE name,      END OF itab.TYPES: BEGIN OF t_report,   pernr   TYPE pernr-pernr,   "8   name    TYPE name,          "30   awart   TYPE p2001-awart,   "4   begda   TYPE p2001-begda,   "10   endda   TYPE p2001-endda,   "10   wkspaid TYPE p DECIMALS 2,  "10   amtpaid TYPE p DECIMALS 2,  "10  END OF t_report.DATA: it_report TYPE STANDARD TABLE OF t_report INITIAL SIZE 0,      wa_report TYPE t_report.DATA: moabw LIKE t001p-moabw.DATA: printheader TYPE i VALUE 1,      gd_success  TYPE i. NCALE declarationsTYPES : BEGIN OF pfra0_pcale,           annee(4) TYPE c.        INCLUDE STRUCTURE pcint.TYPES : END OF pfra0_pcale.TYPES : pfra0_tab_pcale  TYPE  pfra0_pcale  OCCURS 0.DATA:  it_ncale TYPE STANDARD TABLE OF pcnat INITIAL SIZE 0,       wa_ncale TYPE pcnat,       it_pcale TYPE  pfra0_tab_pcale,       pcale  TYPE  pfra0_tab_pcale.* SMP/SSP absence datadata begin of it_msa occurs 0.        include structure pc27j.data end of it_msa.parameters: p_memid type char30.************************************************************************STAR-OF-SELECTIONSTART-OF-SELECTION.gd_begda = pn-begda.gd_endda = pn-endda.gd_begda6(2) = '01'.gd_endda6(2) = '01'.refresh: it_msa.clear:   it_msa.GET pernr.*    PERFORM IMPORT_PC USING GD_SUCCESs.  PERFORM get_rgdir.  while gd_begda le gd_endda.    PERFORM get_new_rg USING gd_begda.    CALL FUNCTION 'CALCULATE_DATE'        EXPORTING*             DAYS        = '0'             MONTHS      = '1'             START_DATE  = gd_begda        IMPORTING             RESULT_DATE = gd_begda.  endwhile.  msa[] = it_msa[].  EXPORT msa TO MEMORY ID p_memid.&---------------------------------------------------------------------&      Form  GET_RGDIR&-------------------------------------------------------------------FORM get_rgdir.  rp-init-buffer.  CLEAR rgdir.  REFRESH rgdir.  MOVE pernr-pernr(8) TO cd-key-pernr.  rp-imp-c2-cd.  IF rp-imp-cd-subrc = 0.                                "rgdir success    SORT rgdir BY seqnr ASCENDING.    CLEAR rgdir.  ENDIF.ENDFORM.-----------------------------------------------------------------**       FORM get_new_rg                                               **-----------------------------------------------------------------**       ........                                                      **-------------------------------------------------------------------**  >  search_date                                                   **-----------------------------------------------------------------FORM get_new_rg USING search_date.  DATA: rg_day TYPE d,        rgbeg  TYPE d,        rgend  TYPE d.  MOVE: search_date TO rg_day.  CLEAR: msa.  LOOP AT rgdir WHERE void NE 'V'.    MOVE: rgdir-fpbeg TO rgbeg,          rgdir-fpend TO rgend.    IF ( rgbeg <= rg_day ) AND       ( rgend >= rg_day ) AND       rgdir-srtza = 'A'.        "Must be periods actual set of results      EXIT.    ENDIF.  ENDLOOP.  UNPACK rgdir-seqnr TO rx-key-seqno.  MOVE pernr-pernr(8) TO rx-key-pernr(8).  rp-imp-c2-rg.  append lines of msa to it_msa.  IF rp-imp-rg-subrc <> 0.   rg fail  ELSE.*   rg success  ENDIF.ENDFORM.Text elements------------------------------------------------------*  001     Sickness History for SSP 1*  002     Employee Name.*  003     National Insurance Number.*  004     Payroll Number.*  005     Sickness Start Date*  006     Sickness End Date*  007     Number of weeks paid*  008     system-error:*  009     No SSP / SMP record found*  010     Absence type*  011     No. weeks paid*  012     Amount*  013     Organisation Unit.*  T01     Sickness Absence typesSelection texts--------------------------------------------------------* SO_SAP          SAP Att./absence types* SO_SMP          SMP Att./absence types* SO_SPP          SPP Att./absence types* SO_SSP          SSP Att./absence types
    Uses Logical database 'PNP'(entered in program attributes) to retrieve various personnel data and downloadit to an excel / tab delimited file.
    .......................................................................: Report:  ZDOWNEMPDATA                                               ::                                                                     :: Author:  www.SAPDev.co.uk                                           ::                                                                     :: Date  :  2004                                                       ::                                                                     :: Description: Downloads employee data to TAB delimited flat files    ::                                                                     ::.....................................................................:.......................................................................: Report:  ZDOWNEMPDATA                                               ::                                                                     :: Author:  www.SAPDev.co.uk                                           ::                                                                     :: Date  :  2004                                                       ::                                                                     :: Description: Downloads employee data to TAB delimited flat files    ::                                                                     ::.....................................................................:REPORT  zdownempdata                                         .INFOTYPES: 0000, 0001, 0007, 0008, 0121, 0615.NODES: pernr.TABLES: t001p.TYPES: BEGIN OF t_employee,*        INCLUDE STRUCTURE hrms_biw_io_occupancy.  begda     TYPE begda,  endda     TYPE endda,  pernr     TYPE pernr_d,  rfpnr     TYPE rfpnr,  bukrs     TYPE bukrs,  werks     TYPE persa,  btrtl     TYPE btrtl,  persg     TYPE persg,  persk     TYPE persk,  orgeh     TYPE orgeh,  stell     TYPE stell,  plans     TYPE plans,  kokrs     TYPE mast_coar,  kostl     TYPE mast_cctr,  abkrs     TYPE abkrs,  molga     TYPE molga,  trfar     TYPE trfar,  trfgb     TYPE trfgb,  trfkz     TYPE trfkz,  trfgr     TYPE trfgr,  trfst     TYPE trfst,  bsgrd     TYPE bsgrd,  ansal     TYPE ansal_15,  ancur     TYPE ancur,  empct     TYPE empct,  stat2     TYPE stat2,  ncsdate     TYPE hiredate,  sltyp     TYPE p_sltyp,  slreg     TYPE p_slreg,  slgrp     TYPE p_slgrp,  sllev     TYPE p_sllvl,  ansvh     TYPE ansvh,  vdsk1     TYPE vdsk1,  sname     TYPE smnam, END OF t_employee.DATA: it_employee TYPE STANDARD TABLE OF t_employee INITIAL SIZE 0,      wa_employee TYPE t_employee.TYPES: BEGIN OF t_emptexts,*        INCLUDE STRUCTURE hrms_bw_txt_employee.  DATEFROM     TYPE RSDATEFROM,  DATETO     TYPE RSDATETO,  PERNR     TYPE PERSNO,  TXTMD     TYPE EMNAM, END OF t_emptexts.DATA: it_emptexts TYPE STANDARD TABLE OF t_emptexts INITIAL SIZE 0,      wa_emptexts TYPE t_emptexts.TYPES: BEGIN OF t_contract,*        INCLUDE STRUCTURE pa0615.  pernr TYPE p0615-pernr,  begda TYPE p0615-begda,  endda TYPE p0615-endda,  aedtm TYPE p0615-aedtm,  ctype TYPE p0615-ctype,  cbeg  TYPE p0615-cbeg,  cend  TYPE p0615-cend, END OF t_contract.DATA: it_contract TYPE STANDARD TABLE OF t_contract INITIAL SIZE 0,      wa_contract TYPE t_contract.DATA: it_tabemp TYPE filetable,      gd_subrcemp TYPE i,      it_tabempt TYPE filetable,      gd_subrcempt TYPE i,      it_tabcont TYPE filetable,      gd_subrccont TYPE i.DATA: gd_downfile TYPE string.SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.PARAMETERS: p_emp   LIKE rlgrap-filename,            p_empt  LIKE rlgrap-filename,            p_cont LIKE rlgrap-filename.SELECTION-SCREEN END OF BLOCK block1.***********************************************************************at selection-screenAT SELECTION-SCREEN ON VALUE-REQUEST FOR p_emp.  REFRESH: it_tabemp.  CALL METHOD cl_gui_frontend_services=>file_open_dialog    EXPORTING      window_title      = 'Select File'      default_filename  = '.xls'      initial_directory = 'C:\'      multiselection    = ' '  "No multiple selection    CHANGING      file_table        = it_tabemp      rc                = gd_subrcemp.  LOOP AT it_tabemp INTO p_emp.  ENDLOOP.***********************************************************************at selection-screenAT SELECTION-SCREEN ON VALUE-REQUEST FOR p_empt.  REFRESH: it_tabemp.  CALL METHOD cl_gui_frontend_services=>file_open_dialog    EXPORTING      window_title      = 'Select File'      default_filename  = '.xls'      initial_directory = 'C:\'      multiselection    = ' '  "No multiple selection    CHANGING      file_table        = it_tabempt      rc                = gd_subrcempt.  LOOP AT it_tabempt INTO p_empt.  ENDLOOP.***********************************************************************at selection-screenAT SELECTION-SCREEN ON VALUE-REQUEST FOR p_cont.  REFRESH: it_tabcont.  CALL METHOD cl_gui_frontend_services=>file_open_dialog    EXPORTING      window_title      = 'Select File'      default_filename  = '.xls'      initial_directory = 'C:\'      multiselection    = ' '  "No multiple selection    CHANGING      file_table        = it_tabcont      rc                = gd_subrccont.  LOOP AT it_tabcont INTO p_cont.  ENDLOOP.************************************************************************START-OF-SELECTION.START-OF-SELECTION.GET pernr. Selecting the latest infotype record  rp_provide_from_last p0000 space pn-begda pn-endda.  rp_provide_from_last p0001 space pn-begda pn-endda.  rp_provide_from_last p0007 space pn-begda pn-endda.  rp_provide_from_last p0008 space pn-begda pn-endda.  rp_provide_from_last p0121 space pn-begda pn-endda.  rp_provide_from_last p0615 space pn-begda pn-endda.  MOVE-CORRESPONDING p0001 TO wa_employee.  wa_employee-rfpnr = p0121-rfp01. "?????  MOVE-CORRESPONDING p0007 TO wa_employee.  MOVE-CORRESPONDING p0008 TO wa_employee.  MOVE-CORRESPONDING p0000 TO wa_employee.  SELECT SINGLE molga    FROM t001p    INTO wa_employee-molga   WHERE werks EQ p0001-werks AND         btrtl EQ p0001-btrtl.  SELECT SINGLE trfkz    FROM t503    INTO wa_employee-trfkz   WHERE persg EQ p0001-persg AND         persk EQ p0001-persk.  CALL FUNCTION 'HR_ENTRY_DATE'    EXPORTING      persnr                     = pernr-pernr*   RCLAS                      =*   BEGDA                      = '18000101'*   ENDDA                      = '99991231'*   VARKY                      =   IMPORTING      entrydate                  = wa_employee-ncsdate* TABLES*   ENTRY_DATES                = EXCEPTIONS   ENTRY_DATE_NOT_FOUND       = 1   PERNR_NOT_ASSIGNED         = 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.  ENDIF.* append employee data  APPEND wa_employee TO it_employee.  CLEAR: wa_employee.  wa_emptexts-datefrom = p0001-begda.  wa_emptexts-dateto   = p0001-endda.  wa_emptexts-pernr    = p0001-pernr.  wa_emptexts-txtmd    = p0001-ename.* append employee texts data  APPEND wa_emptexts TO it_emptexts.  CLEAR: wa_emptexts.  MOVE-CORRESPONDING p0615 TO wa_contract.* append employee contract data  APPEND wa_contract TO it_contract.  CLEAR: wa_contract.************************************************************************END-OF-SELECTION.END-OF-SELECTION. download employee data  IF NOT p_emp IS INITIAL.    gd_downfile = p_emp.    CALL FUNCTION 'GUI_DOWNLOAD'      EXPORTING        filename              = gd_downfile        filetype              = 'ASC'        write_field_separator = 'X'      TABLES        data_tab              = it_employee.    IF sy-subrc EQ 0.      WRITE:/ 'Employee file downloaded to',              gd_downfile.    ELSE.      WRITE:/ 'There was an error downloading Employee file to',              gd_downfile.    ENDIF.  ENDIF.* download employee texts data  IF NOT p_empt IS INITIAL.    gd_downfile = p_empt.    CALL FUNCTION 'GUI_DOWNLOAD'      EXPORTING        filename              = gd_downfile        filetype              = 'ASC'        write_field_separator = 'X'      TABLES        data_tab              = it_emptexts.    IF sy-subrc EQ 0.      WRITE:/ 'Employee text file downloaded to',              gd_downfile.    ELSE.      WRITE:/ 'There was an error downloading Employee text file to',              gd_downfile.    ENDIF.  ENDIF.* download contract data  IF NOT p_cont IS INITIAL.    gd_downfile = p_cont.    CALL FUNCTION 'GUI_DOWNLOAD'      EXPORTING        filename              = gd_downfile        filetype              = 'ASC'        write_field_separator = 'X'      TABLES        data_tab              = it_contract.    IF sy-subrc EQ 0.      WRITE:/ 'Employee contract file downloaded to',              gd_downfile.    ELSE.      WRITE:/ 'There was an error downloading Employee contract file to',              gd_downfile.    ENDIF.  ENDIF.

  • Sainsbury voucher not arrived

    Hi,
    My 1st post here. Here goes.
    I am yet to receive my voucher which was stated that I would get it within 30 days. Still yet to arrive.
    I have contacted customer service a number of times only to be passed all around the place, even in live chat.
    This place is my last resort.
    Please please can somebody help??
    I have noticed that a lot of problems with these vouchers have been successfully sorted out. So please if possible can you help me out
    Thanks in advance
    Matty

    Hi Matty,
    Welcome to the forum, we can chase this up with the vouchers team.  Please use the 'contact the mods' link in my forum profile to send in your details. You can find the link by clicking on my username.
    Thanks
    Neil
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Flip video problems

    I am having problems getting my kids videos from the flip video ultra into i movie. I can download them onto my macbook pro and watch them in quicktime but they wont import into i movie (on ilife 08). I have downloaded the latest updates and still cant do it. please help. thanks

    I have QTPro so I'm a happy camper but for those unaware, the CODEC shipping with the Flip Cam appears to have formats from Microsoft:
    _Source (AVI) from Flip Cam - wife holding kid washing hands_
    Format: XviD (3ivx), 640 x 480, Millions, Microsoft ADPCM, Mono, 44.100 kHz
    FPS: 30
    *Data Size:* 4.00MB
    *Data Rate:* 3673.94 kbits/s
    *Normal Size:* 640 x 480
    *Current Size:* 640 x 480 (Actual)
    _Export (MOV) Using QuickTime Pro - Movie to QuickTime Movie / LAN/Intranet_
    Format: XviD (3ivx), 640 x 480, Millions, Microsoft ADPCM, Mono, 44.100 kHz
    FPS: 30.09
    *Data Size:* 1.67MB
    *Data Rate:* 1532.30 kbits/s
    *Normal Size:* 640 x 480
    *Current Size:* 640 x 480 (Actual)
    Quality
    I see no discernible quality difference between these two clips.
    _iLife '08 Tests_
    (1) Drag Flip Cam VID00001.AVI file to iPhoto
    - SUCCESS! Imports perfectly into library
    (2) Publish to .Mac Gallery from iPhoto
    - SUCCSS! Publishes flawlessly and builds web page properly.
    (3) Review from .Mac Gallery
    - FAILURE! Video is pixelated and jittery
    - NOTE: the QTMOV file renders perfectly
    (4) Export from iPhoto
    - FAILURE! Menu options for exportation are disabled
    (5) Drag Flip Cam VID00001.AVI file to GarageBand
    - SUCCESS! Adds Movie Video track and Movie Sound track
    (6) Export Movie to Disk from Garage Band as MOV
    - SUCCESS, sort of ... format is not MOV though
    - Though still 640 x 480 it's actually larger 4.1MB but with a lower data rate (2555 kbp/s) compared to the source AVI file
    (7) Import to iMovie
    - FAILURE! Cannot read AVI format from Finder
    QuickTime
    As a previous Windows users and like many Windows friends, I used to be really turned off by Apple's continual badgering to "go pro" with QT. I finally did it, however, after listening to some pundits on a podcast - I think it was MacBreakWeekly. Here's why.
    Export Options
    For $30, not only can you convert nearly any source video format into any destination video format:
    Movie to 4G
    Movie to AppleTV
    Movie to AVI
    Movie to DV Stream
    Movie to FLC
    Movie to Hinted Movie
    Movie to Image Sequence (yes, make a "movie" of a directory of still images)
    Movie to iPHone
    Movie to iPHone (celluar)
    Movie to iPod
    Movie to MPEG-4
    Movie to Picture
    Movie to QuickTime Media Link
    Movie to QuickTime Movie
    Movie to Windows Media
    Sound to AIFF
    Soudn to AU
    Sound to Wave
    And, most of these export options have pre-built data rates that make it easy to choose from
    Default Settings
    Most Recent Settings
    LAN/Intranet
    Broadband - HIGH
    Broadband - MED
    Broadband - LOW
    Dial-up
    Dial-up Audio Only
    Streaming - Medium
    Streaming - Low
    (ii) Editing
    You can also edit videos better than you can in the Flip Video for Mac s/w. Have a 3 minute clip of your kid eating ice cream with tons of dead space? Why spend time importing that video into iMovie? Just use the scrub control on QTPro and pick on the portion of the video you care about and share that with others. QT is a much better product and software interface than the included software with the Flip Cam. Personally I feel imprisoned by the software on the Flip Video. First thing I did was run the Flip Video for Mac software which installed the 3ivx layer on top of QT. Now I just drag and drop the DCIM directory's AVI files to my Finder and use QTPro from there.
    (iii) Export to Web
    In addition to the wealth of Export options it provides, QTPro even has an export for web option which, in one fell swoop, creates three files:
    1. desktop
    2. iphone
    3. iphone celluar
    (iv) Poster Frame
    You know that video icon you see on your desktop? QTPro allows you to set that frame of your video that is your desired icon for quick reference later!
    (v) Share Options
    With nearly a single click you can share your movie via:
    Email
    HomePage
    Podcast Producer
    In the sizes of
    Small
    Medium
    Large

  • HT6065 How do I fix mail it self attaches my saved documents to new emails.

    Why does mail do this... i have a new message from lets say Pottery Barn but when I open the email it is actually a saved document for my files from like 2008 or 2008.  How do I fix this? This is only on my iMac as far as I know. If I open the same email on my iPhone 5S it is the correct email. 

    You'll have to pardon my ignorance of some  computer terminology; I'm a retired manager and not a computer technician, hence my muddling up of client and server terminology.
    Re your comment about Port 339: I did qualify this with (?).  As I wrote, it all happened at lightining speed and the guy at the Genius Bar didn't bother explaining what he was doing.  Port designation contained 3s and 9s to the best of my recollection.
    That said, you seem to be spot on re setting up a 'dummy' client in Mail.  I set it up as you suggested and I can send to and receive from this client without a problem.  You appear to have identified the solution, notwithstanding the claims of the ISP's 'experts'.
    The next problem I have now is sorting out my wife's mailbox that is so troublesome whenever I set it up on Mail.
    All the other set-up advice to date yielded a similar result; inability to send from my account to her inbox.  Perhaps deleting her details from the account altogether and setting them up again from scratch may be the solution and I shall try that in due course.  The impediment that I have with this at the moment is that my ISP admits that it has 'a technical problem with its email servers' and some of its related web pages that prevent my doing this myself.  I will have to go through the telephone 'help' line and ask the technician to set it up at their end on my instructions.  This has some disadvantages in that I have to divulge the password to the account to the operator rather than keeping it anonymous by doing it on-line.   You may have solved the problem, but until I can successfully sort out a working mailbox for my wife i cannot definitively say so.
    Many thanks for your perseverance.  You've made more sense than anyone else so far and that deserves some points, surely?

  • Unresolved CS6 photoshop download failure!!

    I pay a subscription for creative cloud. Why can't I download CS6 Photoshop. I have spent the last two days installing and uninstalling, trying this trying that. I need to use it!! I have tried everything including a long hopeless conversation with an online support person who just guided me through the steps I had already tried. Frustrating is not the word!!  I feel like Adobe are laughing all the way to the bank. I'll be laughing all the way to a psychiactric ward if I don't get this sorted out!

    OK Adobe support have successfully sorted this out now. Looking at my case file he suggested that I delete a profiles folder within my library folder on my Mac. I did delete the folder and tried the install again. This time no 'exit 6' error message and the application has opened OK.

  • Error 10822

    I can't download adobe flash player. I get so far and then 'error' 10822 is quoted. Disabling Javascript in Firefox and Safari did not help. my system is MAC OS X 10.5.8. Has anyone else had this and successfully sorted it?

    What version of Flash are you trying to download? You can't use the latest ( 11.2.202.235 ) That's for Snow Leopard and later.
    You need 10.3. something. Go to http://get.adobe.com/flashplayer/otherversions/ and select the versions for OS 10.4 - 10.5.

  • PROBLEM ACCESSING OWA FROM THE INTERNET TO THE CHILD DOMAIN MAIL SERVER.

    Dear All,
    Referring to the forum that I sent to the group sometime back which was successfully sorted. I have received a call from the users in the child domain, where they are not able to access OWA from the Internet. below is the error they are getting
    Log OffOutlook Web Access could not connect to Microsoft Exchange. If the problem continues,
    contact technical support for your organization.Click here to continue working.RequestUrl:
    https://mail.mydomain.com:443/owa/forms/basic/BasicReadMessage.aspx?ae=Item&t=IPM.Note&id=
    RgAAAADaPzSfz396RJbcAffXnu8fBwCXRKkddfkskskZ0zGXAAAAACF9AACXRKFoskTMSrrSWkkksAAAACgcAAAJUser: mynameEX Address: /o
    =First Organization domain/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=myname1SMTP Address:
    [email protected]
    version: 8.3.348.2ExceptionException type:Microsoft.Exchange.Data.Storage.ConnectionFailedTransientExceptionException
    message: Cannot open mailbox /o=First Organization domain/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/
    cn=Recipients/cn=myname1.Call stackMicrosoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn,
    String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreF
    lag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry)Microsoft.Exchange.Data.Storage.
    ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object
    identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString,
    Boolean secondTry)Microsoft.Exchange.Data.Storage.MailboxSession.Connect()Microsoft.Exchange.Clients.Owa.Core.
    UserContext.get_MailboxSession()Microsoft.Exchange.Clients.Owa.Basic.OwaForm.OnLoad(EventArgs e)Microsoft.Exchange.
    Clients.Owa.Basic.ReadMessage.OnLoad(EventArgs e)System.Web.UI.Control.LoadRecursive()System.Web.UI.Page.
    ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)Inner
    ExceptionException type: Microsoft.Mapi.MapiExceptionNetworkErrorException message: MapiExceptionNetworkError:
    Unable to make connection to the server. (hr=0x80004005, ec=2423) Diagnostic context: ...... Lid: 13720 dwParam:
    0x6BA Msg: EEInfo: Flags: 0 Lid: 11672 dwParam: 0x6BA Msg: EEInfo: NumberOfParameters: 0 Lid: 16280 dwParam: 0x6BA
    Msg: EEInfo: ComputerName: n/a Lid: 8600 dwParam: 0x6BA Msg: EEInfo: ProcessID: 18036 Lid: 12696 dwParam: 0x6BA Msg:
    EEInfo: Generation Time: 2014-12-12 12:01:11:86 Lid: 10648 dwParam: 0x6BA Msg: EEInfo: Generating component: 18 Lid:
    14744 dwParam: 0x6BA Msg: EEInfo: Status: 11004 Lid: 9624 dwParam: 0x6BA Msg: EEInfo: Detection location: 320 Lid:
    13720 dwParam: 0x6BA Msg: EEInfo: Flags: 0 Lid: 11672 dwParam: 0x6BA Msg: EEInfo: NumberOfParameters: 1 Lid: 8856
    dwParam: 0x6BA Msg: EEInfo: prm[0]: Unicode string: MX4 Lid: 19778 Lid: 27970 StoreEc: 0x977 Lid: 17730 Lid: 25922
    StoreEc: 0x977 Call stackMicrosoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Int32 ec,
    DiagnosticContext diagCtx)Microsoft.Mapi.ExRpcConnection.Create(ConnectionCache connectionCache,
    ExRpcConnectionCreateFlag createFlags, ConnectFlag connectFlags, String serverDn, String userDn, String user,
     String domain, String password, String httpProxyServerName, Int32 ulConMod, Int32 lcidString, Int32 lcidSort,
    Int32 cpid, Int32 cReconnectIntervalInMins, Int32 cbRpcBufferSize, Int32 cbAuxBufferSize)
    Microsoft.Mapi.ConnectionCache.OpenMapiStore(String mailboxDn, Guid mailboxGuid, Guid mdbGuid,
    ClientIdentityInfo clientIdentity, String userDnAs, OpenStoreFlag openStoreFlags,
    CultureInfo cultureInfo, String applicationId)Microsoft.Mapi.ConnectionCache.
    OpenMailbox(String mailboxDn, Guid mailboxGuid, Guid mdbGuid, WindowsIdentity
    windowsIdentityAs, String userDnAs, OpenStoreFlag openStoreFlags, CultureInfo cultureInfo,
    String applicationId)Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String
    serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity,
    ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString,
    Boolean secondTry)
    Your Usual support will b greatly appreciated.
    Regards
    Michael

    Hello,
    Edge server is not used for client comunication (OWA, ActiveSync etc). You should configure firewall rules to point to your CAS server or (more secure method) reverse proxy.
    Hope it helps,
    Adam
    www.codetwo.com
    If this post helps resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others
    find the answer faster.

Maybe you are looking for

  • PHP Binary for Sun OS 5.8

    Is there a PHP Binary download available for a SunOS 5.8 Generic_108528-19 sun4u sparc SUNW,Ultra-80 ? I don't have access to a compiler on my Sun box (and downloading and installing isn't an option) nor do I have access to the CD/DVD that may have P

  • 1 IDoc message type to send to multiple ports

    Hi all, Currently I have one port and already configure to send Material Master(MATMAS) to outbound to target XML port successfully. We have additional requirement from another system to send out the same message structure to File port in order to ge

  • Any way to stop automatic file names?

    When I try to save anything, whatever the cursor happens to point at is inserted as the file name. That is extremely annoying. Either a file already has a name or I will give it the name I want. Is there any way to turn off this feature?

  • C7280 - Cannot scan. Error message says another program has control over the device

    I opened the HP Device Manager to do a scan. I accepted the settings and the scan started. But part way through the scan, I stopped the scan as I realized that I wanted to change the resolution. I quit the Device Manager  and restarted it but when I

  • All files on USB turn into .ink files

    Whenever I put a flashdirve on my macbook all the files and folders on the usb turn into .ink files and I cant open them on a mac. I need to solve this problem ASAP because Im afraid to put my hard disk and loose all the files on it. This happened to