ACE for CRM 2007-AFO method not getting called!

Hi Experts,
I am trying to implement ACE for CRM 2007.The only issue/concern is the Actor From Object(AFO) method is not being called even once.
I was assuming that every method is called at the time of right's activation.
I placed breakpoints in all the 5 methods, but only method Actor from User(AFU) and Object by Filter(OBF) were being called.
Can anybody suggest at what point the method-Get Actors From Objects is called?
Thanks and Regards,
Rohit

Hi Rohit,
the method Actors-For-Object isnt used any more by SAP. Always use method Actors-For-Objects.
This method should be called, when objects pass the method "object_by_filter" (runtime --> check_object..., activation --> get_object..).
Perhaps there are no objects passing your OBF-methods? Can you check the output of your method?
Regards,
Mario

Similar Messages

  • Getter & Setter Method not getting called for a field enhanced through AET

    Hello,
    I am new to SAP CRM 7.0 and working on a requirement.
    A Z-field was added by our functional guy in CRM 7.0 WebGui through AET in the 'Create Opportunity' transaction (Header data).
    Now the requirement is, as soon as the opportunity is created through the WebGui, I should post a document in R/3 and paste that document number back to the enhanced Z-field in opportunity.
    Work done by me:
    I pressed F2 on the enhanced Z-field in the WebGui screen and took the details of view, component name etc. After this I went to normal SAP CRM system and open tcode "BSP_WD_CMPWB", located the corresponding view "BT111H_OPPT/Details" and right clicked & enhanced the same.
    Then I opened the structure of this view, expanded context node, located context "BTOPPORTH" and inside this, located my Z-attribute. Now right clicked on the Z-attribute & selected the option "Generate SETTER & GETTER Methods" and these were generated successfully.
    Problem:
    The problem is even after putting external break points in these methods, these methods are not getting called while creating, modifying & displaying the Opportunity in WebGui.
    I hope that for the requirements that I have, I have to do the coding in "Getter & Setter" methods. But since these are not getting called, I am unable to proceed.
    Please help/suggest how to achieve this.
    Thanks in anticipation.
    Best Regards,
    Rahul Malani

    Hi,
    If you can see the field in UI and still get_ method is not being triggered then try to regenerate these methods. If it still doesn't work then please look for SAP notes or raise an OSS.
    There should be some note for the issue you faced.
    please refer:
    Help Needed immediately - AET getter setter methods not getting triggered
    Regards,
    BJ

  • EXIT_SAPLV01Z_013 for Batch master Update is not getting called for MSC1n

    Hello,
    I am facing the same issue I want to update a date 6 field while the user create a Batch thurogh MSC1n.
    I am using the EXIT_SAPLV01Z_013 to update the same.
    But This Exit is not called as there is a condition which fails while this exit is called thru FM VB_CREATE_BATCH.
    the field NO_CFC_CALLS is set to "X" in Include LCHRGF02.
    CALL FUNCTION 'VB_CREATE_BATCH'
    EXPORTING
    ymcha = akt_mchx
    new_lgort = dfbatch-lgort
    bypass_lock = 'X'
    kzcla = ' '
    xkcfc = ' '
    no_check_of_qm_char = 'X'
    no_change_document = ' '
    check_external = space
    check_customer = space
    no_cfc_calls = 'X'.
    Can you please help how do we resolve this issue i am using SAP 4.7.
    Thanks
    Solanki Ritesh

    hello
    Any suggestion do we have any OSS note for the same???
    thanks
    Solanki Ritesh

  • EJB module for a 3rd party adapter not getting called

    Hello All,
    I have written and adapter module EJB code and calling it from Sender 3rd party Ariba cXML adapter.
    This EJB is successfully build and deployed on the server but after I added it in channel in ID....the cXML channel stopped picking up the messages. When I removed the config from the channel, it started working again.
    I think its a known bug in Ariba adapter that the audit logs can not be seen in RWB so it has made it more dificult for me to trouble shoot.
    How can i check if the adapter was called at all and what went wrong ?
    Is there a different way of adding custom modules in 3rd part adapters ?
    Please help.

    Hi Ranjeeth,
    Even I had same issue...after lot of debugginh realise path specified in CC for calling adapter module was incorrect...please check if you are pointing to correct location where you have deployed your module...
    Check this doc here:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
    According to it, if you properly configure the ejb-j2ee-engine.xml file, then you'd call your module using "localejbs/<JNDIName>".
    Hope this will help.
    Nilesh

  • CommandButton actions not getting called when "disabled" element present

    MyObjectForm.jsp contains commandButtons for "add", "update" and "delete" that are enabled/disabled according to the value of the bound id field.
    MyObjectForm.jsp
    <html>
    <body>
    <f:view>
    <h:form id="create">
    <h:inputHidden id="id" value="#{myObjectBean.id}" />
    <h:panelGrid columns="3" border="0">
    Name: <h:inputText id="name"
    requiredMessage="*"
    value="#{myObjectBean.name}"
    required="true"/>
    <h:message for="name"/>
    // other fields
    <h:commandButton id="add"
    value="Add" disabled="#{myObjectBean.id!=0}"
    action="#{myObjectBean.add}"/>
    <h:commandButton id="update"
    value="Update" disabled="#{myObjectBean.id==0}"
    action="#{myObjectBean.update}"/>
    <h:commandButton id="delete"
    value="Delete" disabled="#{myObjectBean.id==0}"
    action="#{myObjectBean.delete}"/>
    <h:commandButton id="delete2"
    value="Delete (no disabled element)"
    action="#{myObjectBean.delete}"/>
    </h:form>
    </f:view>
    </body>
    </html>In its managed bean, MyObjectBean, if an id parameter is found in the request, the record is read from the database and the form is populated accordingly in an annotated @PostConstruct method:-
    MyObjectBean.java
    public class MyObjectBean {
    private int id;
    /** other properties removed for brevity **/
    public MyObjectBean() {
    LOG.debug("creating object!");
    @PostConstruct
    public void init() {
    String paramId = FacesUtils.getRequestParameter("id");
    if(paramId!=null && !paramId.equals("")){
    getById(Integer.parseInt(paramId));
    LOG.debug("init id:"+id);
    }else{
    public String delete(){
    LOG.debug("delete:"+id);
    MyObjectVO myObjectVO = new MyObjectVO();
    ModelUtils.copyProperties(this, myObjectVO);
    myObjectService.removeMyObjectVO(myObjectVO);
    return "";
    public String add(){
    LOG.debug("add");
    MyObjectVO myObjectVO = new MyObjectVO();
    ModelUtils.copyProperties(this, myObjectVO);
    myObjectService.insertMyObjectVO(myObjectVO);
    return "";
    public String update(){
    LOG.debug("update:"+id);
    MyObjectVO myObjectVO = new MyObjectVO();
    ModelUtils.copyProperties(this, myObjectVO);
    myObjectService.updateMyObjectVO(myObjectVO);
    return "";
    public void getById(int id){
    MyObjectVO myObjectVO= myObjectService.findMyObjectById(id);
    ModelUtils.copyProperties(myObjectVO, this);
    /** property accessors removed for brevity **/
    }When no parameter is passed, id is zero, MyObjectForm.jsp fields are empty with the "add" button enabled and the "update" and "delete" buttons disabled.
    Completing the form and clicking the "add" button calls the add() method in MyObjectBean.java which inserts a record in the database. A navigation rule takes us to ViewAllMyObjects.jsp to view a list of all objects. Selecting an item from the ViewAllMyObjects.jsp list, adds the selected id to the request as a paramter and a navigation rule returns us to MyObjectForm.jsp, populated as expected. The "add" button is now disabled and the "update" and "delete" buttons are enabled (id is no longer equal to zero).
    Action methods not getting called
    This is the problem I come to the forum with: the action methods of commandButtons "update" and "delete" are not getting called.
    I added an extra commandButton "delete2" to the form with no "disabled" element set and onclick its action method is called as expected:-
    commandButton "delete2" (no disabled element) - works
    <h:commandButton id="delete2"
    value="Delete (no disabled element)"
    action="#{myObjectBean.delete}"/>Why would "delete2" work but "delete", not?
    commandButton "delete" (disabled when id is zero) - doesn't work
    <h:commandButton id="delete"
    value="Delete" disabled="#{myObjectBean.id==0}"
    action="#{myObjectBean.delete}"/>The obvious difference is the "disabled" element present in one but not the other but neither render a disabled element in the generated html.
    Am I missing something in my understanding of the JSF lifecycle? I really want to understand why this doesn't work.
    Thanks in advance.
    Edited by: petecknight on Jan 2, 2009 1:18 AM

    Ah, I see (I think). Is the request-scoped MyObjectBean instantiated in the Update Models phase? If so then the id property will not be populated at the Apply Request Values phase which happens before this, making the commandButton's disabled attribute evaluate to true.
    Confusingly for me, during the Render Response phase, the id property is+ set, so the expression is false (not disabled) giving the impression that the "enabled" buttons would work.
    So, is this an flaw in my parameter passing and processing code or do you see a work around?

  • Bookmark method for a page is not getting called

    Hi,
    I am developing a simple ADF application which contains two jspx pages, in JDEVELOPER 11g (build JDEVADF_MAIN_GENERIC_080910.1420.5124).
    I have a commandLink in Page1 which takes me to the Page2.I have a bookmark method for Page2, which gets called when I load the page.
    When I access the Page2 directly,the corresponding bookmark method is getting called.But when I navigates it through commandLink provided in Page1,the bookmark method is not getting called.
    Page1.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:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document maximized="true">
    <af:form>
    <af:commandLink text="Go to Page2" action="page2" />
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Page2.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"
    xmlns:bib="http://xmlns.oracle.com/dss/adf/faces">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document maximized="true">
    <af:form>
    <af:outputText value="This is Page2"/>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    adfc-config.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <view id="page1">
    <page>/page1.jspx</page>
    </view>
    <view id="page2">
    <page>/page2.jspx</page>
    <bookmark>
    <method>#{mBean.bookMarkMethod}</method>
    </bookmark>
    </view>
    <control-flow-rule>
    <from-activity-id>page1</from-activity-id>
    <control-flow-case>
    <from-outcome>page2</from-outcome>
    <to-activity-id>page2</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <managed-bean>
    <managed-bean-name>mBean</managed-bean-name>
    <managed-bean-class>view.ManagedBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    </adfc-config>
    ManagedBean.java:
    public class ManagedBean {
    public ManagedBean() {
    super();
    public void bookMarkMethod() {
    System.out.println("Inside bookmark method");
    Please look into this...........

    Hi Frank,
    I need to provide the af:commandLink inside af:table component and the values which I pass to page2 depends on the row I select at runtime.
    so,I am trying to use ad:setActionListener inside af:commandLink.
    If I use FacesContext.getCurrentInstance.getExternalContext.redirect() inside the actionListener of af:commandLink, I need to extract all the required values in the actionListener.
    Isn't there any way so that, I can pass the values using af:setActionListener inside af:commandLink and a method ( which will initialise the managed bean) will be called when page2 loads ???
    Regards,
    Lokesh.

  • Where can we get the media for CRM 2007?

    We want to get the media for CRM 2007 to begin our upgrade. My understanding is that it is now in general release.
    Where can we get the media? There are no links in the marketplace.
    Thanks

    I believe this is released for United States and Germany only.  I know you can order the physical media by submitting an OSS message under component: XX-SER-SWFL-SHIP.  You can also talk to your SAP account executive about getting the software.
    Take care,
    Stephen

  • Implementing ACE in CRM 2007

    Hi,
    Has anybody implemented ACE in CRM 2007, would it work with new Web UI.
    Regards,
    Karunakar.K

    Well , Here is what i found out .
    1) The ACE methods Gets called  when you Activate the ACE Rights the first time .i.e You have set up a ACE Rule ->Right Newly and when you activate the
    Right your Z classes gets called .
    2) Later on You have made the changes to your Z classes . In this case we ran  the Scheduler manually ,  and our Z classes gets called again.
    Hope this is helpful to you . But the best way i found ( to save time and not to worry abt this  unstable / buffered ACE ) i wrote a Z program and in the report called the methods of Z class in that particular order .
    We still facing one issue , if you/anybody knows the solution  that would be great .
    Question :
    1) Our Business Scenario :
    Orders ( Say opportunities ) Should  only be seen by
    employees who have created them + Who have Employee responsible on Opportunity +  Managers of the Employee responsible ( Head of the organization which ER belongs to ).
    I have coded for the same and everything works fine initially .
    But later on if i Change the Employee resp ( SAY ER1)
    to Employe Resp ER2 in an opportunity  what should happen is ER1 and his manager should NOT see this opportunity anymore and ER2 and his manager should start seeing this opportunity.
    This should happen automatically , i mean as soon as i save the changed opportunity .
    But this is not happening right now.
    But if i run the scheduler again ( Manually ) it triggers the changes and everything looks fine.
    Is this a normal behaviour ? or am i missing anything ..?
    i have writtin  the code in GET_ACTORS_FROM_OBJECT method also.
    Regards,

  • Authorization restriction for CRM 2007

    Dear Experts,
    We are in process of defining the authorization matrix for CRM 2007 for end users who will be using Web UI.
    Here my requirement is the service orders created by USER1 should not be displayed by USER2 and vice-versa when they do a search in both Web UI and GUI in Tx CRMD_ORDER for service orders.
    Please let me know how can I acheive this and what is the auth. object for the same.
    Thanks & Regards,
    Sharath

    Dear babu,
    If I understood your request, you want that, only one user will be able to access the document. If you want to do that, this is the answer:
    At tcode PFCG you shoud set:
    First you must set what type of document will be avaible to the user, in this case Z020.
    CRM_ORD_PR: PR_TYPE 'Z020',ACTVT '*'
    Next you must set which activities they will be able to do (notice, you must set the same field in the previsou object(
    CRM_ACT: ACTVT u2018*u2019
    And then you set which partner function or partner category are able to access the document, here is the main point !
    In this example I set that only users who has Partner Category (not partner function) Employee Responsible (std partner category 0008) are able to access the document
    CRM_ORD_OP: ACTVT '', PARTN_FCT '', PARTN_FCTT '0008'
    Here you can notice again field ACTVT, here you will set what user are able to do, "*" means everything, "1" = create, "2" = modify, etc. (I can see the list at PFCG, adding the auth. object to the PFCG profile).
    I notice only std partner function or partner category works with this object. I sent a message to sap support, and they confirm that, so if your user has Z partner funcition or category it is not possible to do that.
    Summary, your user must be present in the partner list of the document, and they must have a partner function or partner category std. It is possible to set together both values PARTN_FCT  and PARTN_FCTT, but I think it is not necessary.
    The easy way to do that is, user who will be able to access the document, must be the employee responsible.
    This help is very usefull
    http://help.sap.com/saphelp_crm60/helpdata/en/4a/b9f63a8ab2c745e10000000a114084/frameset.htm
    Regards,
    Lalas
    ps.: As you should know, only one partner function must have partner category Employee Responsible, in the partner det. procedure, otherwise, you will get error message in your application.

  • Error while building B2B for CRM 2007

    Hi All
    I am trying to make few changes in B2B application for CRM 2007.
    I have created projects for crmisawebb2bsap.com and  crmhomeshrextsap.com
    But whenever I try to build anyone of them.
    There is a error.
    Build log -
    Development Component Build (2009-07-28 12:14:18)
      Component name: crm/b2b_2
      Component vendor: sap.com
      SC compartment: sap.com_SAP-CRMAPP_1
        Source code location: http://xxx/sap.com_SAP-CRMAPP/dev/inactive/DCs/sap.com/crm/b2b_2/_comp/
      DC root folder: C:\Documents and Settings\.dtc\4\DCs\sap.com\crm\b2b_2\_comp\
      DC type: J2EE
      DC subtype: Enterprise Application
    DC Model check:
              [dcmake] All used DCs are available locally
              [dcmake] ERROR: Check for used DCs failed: Cannot build because used component is broken: sap.com/crm/isa/web/b2b( sap.com_SAP-SHRWEB_1)
              [dcmake] Build failed with errors.
    Please advice me how to proceed.
    Thanks
    Pratyush

    Did you find the issue? I'm trying to install binutils and the gcc toolchain on my laptop.  I was able to get it to work (randomly) on my desktop a year ago (http://nakedproof.blogspot.com/2012/09/ … linux.html), but the same steps aren't working anymore.

  • Disp+work.EXE stopped when installing NW07 for CRM 2007 on Maxdb Windows

    Hi,
    I am installing NW07 for CRM 2007 on Maxdb 7.7 and Windows 2004 64bit.
    The installer cannot start the dispatcher on step 32. The dispatcher starts with green and is running  a while but Dialog queue is standstill. After few secodes the dispatcher changes to yellow as become disp+work.EXE stopped.
    Any advice? I have checked the RAM and log sizes etc and they seem to be ok. Database is running ok.
    System cannot connect the database?
    Here is dev_w0 file contets:
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      01
    sid        XCR
    systemid   562 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    144
    intno      20050900
    make:      multithreaded, Unicode, 64 bit, optimized
    pid        2260
    Sun Nov 16 16:56:01 2008
    kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (01 2260) [dpxxdisp.c   1243]
         shared lib "dw_xml.dll" version 144 successfully loaded
         shared lib "dw_xtc.dll" version 144 successfully loaded
         shared lib "dw_stl.dll" version 144 successfully loaded
         shared lib "dw_gui.dll" version 144 successfully loaded
         shared lib "dw_mdm.dll" version 144 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3901
    Sun Nov 16 16:56:06 2008
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5371]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >ESITV016LAB_XCR_01                      <
    DpShMCreate: sizeof(wp_adm)          25168     (1480)
    DpShMCreate: sizeof(tm_adm)          5652128     (28120)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    DpShMCreate: sizeof(comm_adm)          552080     (1088)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (104)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1864)
    DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 000000000EE70050, size: 6348592)
    DpShMCreate: allocated sys_adm at 000000000EE70050
    DpShMCreate: allocated wp_adm at 000000000EE72150
    DpShMCreate: allocated tm_adm_list at 000000000EE783A0
    DpShMCreate: allocated tm_adm at 000000000EE78400
    DpShMCreate: allocated wp_ca_adm at 000000000F3DC2A0
    DpShMCreate: allocated appc_ca_adm at 000000000F3E2060
    DpShMCreate: allocated comm_adm at 000000000F3E3FA0
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 000000000F46AC30
    DpShMCreate: allocated gw_adm at 000000000F46ACB0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 000000000F46ACE0
    DpShMCreate: allocated wall_adm at 000000000F46ACF0
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 4096 kByte.
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 127 blocks reserved for free list.
    ES initialized.
    Sun Nov 16 16:56:07 2008
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1633]
    ***LOG Q0K=> DpMsAttach, mscon ( ESITV016LAB) [dpxxdisp.c   11822]
    DpStartStopMsg: send start message (myname is >ESITV016LAB_XCR_01                      <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 144
    Release check o.K.
    Sun Nov 16 16:56:47 2008
    ERROR => DpHdlDeadWp: W0 (pid 1608) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W1 (pid 3940) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W2 (pid 636) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W3 (pid 3484) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W4 (pid 3504) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W5 (pid 1108) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W6 (pid 3512) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W7 (pid 3592) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W8 (pid 3616) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W9 (pid 3608) died [dpxxdisp.c   14532]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => DpHdlDeadWp: W10 (pid 3368) died [dpxxdisp.c   14532]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => DpHdlDeadWp: W11 (pid 1388) died [dpxxdisp.c   14532]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => DpHdlDeadWp: W12 (pid 3276) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W13 (pid 1256) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W14 (pid 3400) died [dpxxdisp.c   14532]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => DpHdlDeadWp: W15 (pid 2376) died [dpxxdisp.c   14532]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => DpHdlDeadWp: W16 (pid 3032) died [dpxxdisp.c   14532]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=421
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Nov 16 16:56:57 2008
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long)               Sun Nov 16 14:56:57 2008
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program          Cl  User         Action                    Table
    0 DIA     1608 Ended         no      1   0        0                                                                         
    1 DIA     3940 Ended         no      1   0        0                                                                         
    2 DIA      636 Ended         no      1   0        0                                                                         
    3 DIA     3484 Ended         no      1   0        0                                                                         
    4 DIA     3504 Ended         no      1   0        0                                                                         
    5 DIA     1108 Ended         no      1   0        0                                                                         
    6 DIA     3512 Ended         no      1   0        0                                                                         
    7 DIA     3592 Ended         no      1   0        0                                                                         
    8 DIA     3616 Ended         no      1   0        0                                                                         
    9 DIA     3608 Ended         no      1   0        0                                                                         
    10 UPD     3368 Ended         no      1   0        0                                                                         
    11 ENQ     1388 Ended         no      1   0        0                                                                         
    12 BTC     3276 Ended         no      1   0        0                                                                         
    13 BTC     1256 Ended         no      1   0        0                                                                         
    14 BTC     3400 Ended         no      1   0        0                                                                         
    15 SPO     2376 Ended         no      1   0        0                                                                         
    16 UP2     3032 Ended         no      1   0        0                                                                         
    Dispatcher Queue Statistics               Sun Nov 16 14:56:57 2008
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    2
    2000
    6
    6
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          12
    wake_evt_udp_now     0
    wake events           total     8,  udp     7 ( 87%),  shm     1 ( 12%)
    since last update     total     8,  udp     7 ( 87%),  shm     1 ( 12%)
    Dump of tm_adm structure:               Sun Nov 16 14:56:57 2008
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Sun Nov 16 14:56:57 2008
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=421
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Nov 16 16:57:02 2008
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >ESITV016LAB_XCR_01                      < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes
    Stop gateway
    killing process (4076) (SOFT_KILL)
    Stop icman
    killing process (3800) (SOFT_KILL)
    Terminate gui connections
    wait for end of work processes
    wait for end of gateway
    [DpProcDied] Process lives  (PID:4076  HANDLE:388)
    waiting for termination of gateway ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=421
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Nov 16 16:57:03 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:4076  HANDLE:388)
    wait for end of icman
    [DpProcDied] Process lives  (PID:3800  HANDLE:396)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=421
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Nov 16 16:57:04 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:3800  HANDLE:396)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=421
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Nov 16 16:57:05 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:3800  HANDLE:396)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=421
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Nov 16 16:57:06 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:3800  HANDLE:396)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=421
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Nov 16 16:57:07 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:3800  HANDLE:396)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=421
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Nov 16 16:57:08 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:3800  HANDLE:396)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=421
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Nov 16 16:57:09 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:3800  HANDLE:396)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=421
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Nov 16 16:57:10 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:3800  HANDLE:396)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=421
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Nov 16 16:57:11 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:3800  HANDLE:396)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=421
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Nov 16 16:57:12 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:3800  HANDLE:396)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=421
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Nov 16 16:57:13 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:3800  HANDLE:396)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=421
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Nov 16 16:57:14 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:3800  HANDLE:396)
    DpStartStopMsg: send stop message (myname is >ESITV016LAB_XCR_01                      <)
    NiIMyHostName: hostname = 'ESITV016LAB'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 189 bytes
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=562,pac=1,MESG_IO)
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name                    -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    NiIRead: read for hdl 2 timed out (0ms)
    DpHalt: no more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=114,pac=1,MESG_IO)
    MsINiWrite: sent 114 bytes
    send msg (len 110+4) to name           MSG_SERVER, type 0, key -
    MsSndName: MS_NOOP ok
    Send 4 bytes to MSG_SERVER
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    NiIPeek: peek successful for hdl 2 (r)
    NiIRead: hdl 2 received data (rcd=114,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=114
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 114 bytes
    MSG received, len 110+4, flag 3, from MSG_SERVER          , typ 0, key -
    Received 4 bytes from MSG_SERVER                             
    Received opcode MS_NOOP from msg_server, reply MSOP_OK
    MsOpReceive: ok
    MsSendKeepalive : keepalive sent to message server
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    Sun Nov 16 16:57:15 2008
    NiIPeek: peek for hdl 2 timed out (r; 1000ms)
    NiIRead: read for hdl 2 timed out (1000ms)
    DpHalt: no more messages from the message server
    DpHalt: sync with message server o.k.
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   12168]
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiBufISelUpdate: new MODE -- (r-) for hdl 2 in set0
    SiSelNSet: set events of sock 312 to: ---
    NiBufISelRemove: remove hdl 2 from set0
    SiSelNRemove: removed sock 312 (pos=2)
    SiSelNRemove: removed sock 312
    NiSelIRemove: removed hdl 2
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/17
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)
    MBUF component DOWN
    NiICloseHandle: shutdown and close hdl 2 / sock 312
    NiBufIClose: clear extension for hdl 2
    MsIDetach: detach MS-system
    cleanup EM
    EsCleanup ....
    EmCleanup() -> 0
    Es2Cleanup: Cleanup ES2
    ***LOG Q05=> DpHalt, DPStop ( 2260) [dpxxdisp.c   10421]
    Good Bye .....
    BR,
    Kari

    Hi,
    here is the right log content:
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Mon Nov 17 10:24:39 2008
    B  create_con (con_name=R/3)
    B  *** ERROR => Invalid profile parameter dbms/type (or environment variable dbms_type) = <undef>, cannot load DB library
    [dbcon.c      4537]
    M sysno      01
    M sid        XCR
    M systemid   562 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    144
    M intno      20050900
    M make:      multithreaded, Unicode, 64 bit, optimized
    M pid        2184
    M
    M  kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    M  length of sys_adm_ext is 576 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 2184) [dpxxdisp.c   1305]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

    M Mon Nov 17 10:24:40 2008
    M  DpShMCreate: sizeof(wp_adm)          25168     (1480)
    M  DpShMCreate: sizeof(tm_adm)          5652128     (28120)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    M  DpShMCreate: sizeof(comm_adm)          552080     (1088)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (104)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1864)
    M  DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 0000000010E70050, size: 6348592)
    M  DpShMCreate: allocated sys_adm at 0000000010E70050
    M  DpShMCreate: allocated wp_adm at 0000000010E72150
    M  DpShMCreate: allocated tm_adm_list at 0000000010E783A0
    M  DpShMCreate: allocated tm_adm at 0000000010E78400
    M  DpShMCreate: allocated wp_ca_adm at 00000000113DC2A0
    M  DpShMCreate: allocated appc_ca_adm at 00000000113E2060
    M  DpShMCreate: allocated comm_adm at 00000000113E3FA0
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 000000001146AC30
    M  DpShMCreate: allocated gw_adm at 000000001146ACB0
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 000000001146ACE0
    M  DpShMCreate: allocated wall_adm at 000000001146ACF0
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Mon Nov 17 10:24:41 2008
    M  ThInit: running on host ESITV016LAB
    M  calling db_connect ...
    B  create_con (con_name=R/3)
    B  *** ERROR => Invalid profile parameter dbms/type (or environment variable dbms_type) = <undef>, cannot load DB library
    [dbcon.c      4537]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 008192) [thxxhead.c   1440]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10468]

    M  Info for wp 0

    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    attachedVm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server ESITV016LAB_XCR_01 on host ESITV016LAB (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Mon Nov 17 10:24:41 2008
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10688
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   724]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  261]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 2184) [dpnttool.c   327]
    BR,
    Kari

  • Method in custom controller not getting called from view

    Hi experts,
    I have a very strange problem. My web dynpro application works fine on the development portal. i am in the process of deploying to the production portal there is no issue it deploys perfectly without any problems. However i have noticed that some methods in my custom controlller which are called from the view do not run. there is no error message or anything data just doesnt get picked because the execute function which fills the context are in the custom controller methods.
    For some reason the method in the custom controller does not get called even though i'm calling it for the view. I have this problem with two methods. the other methods work without any issue.
    Now i overwrote what i have on production at the moment so am stuck and in need for a solution.
    I have tried undeplying, restarting and re-deploying to no avail. what could be wrong?
    thanks and regards,
    dilanke

    Deal all
    This is the code. basically im calling it from the plug on the detail screen.
    This is the method that doesnt get called anymore.
    wdThis.wdGetGetPurchaseOrderCustController().getPODetail();
    The reportSuccess() works fine.
    regards,
    Dilanke
      public void onPlugFromListView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onPlugFromListView(ServerEvent)
         try
             String po = wdThis.wdGetGetPurchaseOrderCustController().wdGetContext().currentContextElement().getPO_Id();
              wdContext.currentZGETPODETAILS_INPUTElement().setI_Ebeln(po);
              wdThis.wdGetGetPurchaseOrderCustController().getPODetail();
              wdComponentAPI.getMessageManager().reportSuccess(po);
              String fileName = "F://XML_Downloads//" + po + ".xml";
              IWDResource resource = WDResourceFactory.createResource(new FileInputStream(new File(fileName)),fileName,WDWebResourceType.XML,true);
              wdContext.currentContextElement().setXml_Resource(resource);
         catch(Exception e)
              e.printStackTrace();     
        //@@end

  • Get method of HtmlPanelGrid is not getting called

    Hi,
    I'm creating components dynamically.
    I have a dropdown. Based on the selection of dropdown, the corresponding values are displayed and the get method of HtmlPanelGrid should be called.
    First time the panel grid getmethod is getting called. But when i change the value of drop down, panel grid get method is not getting called and its not rendering.
    This is the code:
    JSF:
    Drop Down
    <h:panelGroup>
    <t:selectOneMenu id="selectProjectTypes" onchange="sbmitform();" immediate="true" valueChangeListener="#{ProjectController.projectTypeChanged}" value="#{ProjectController.project.selectProjectTypes}">
    <f:selectItem itemLabel="--------------------" itemValue="-1"/>
    <f:selectItems value="#{ProjectController.projectTypesList}"/>
    </t:selectOneMenu>
    </h:panelGroup>
    Panel Grid
    <h:panelGrid columns="2" rendered="#{ProjectController.projects}" id="test" binding="#{ProjectController.defaultValues}" columnClasses="hunderadfifty" cellpadding="5" />
    Controller:
    public void projectTypeChanged(ValueChangeEvent event) throws AbortProcessingException,Exception {
    String nodeTypeId = null;
    String selectedValue = (String)event.getNewValue();
    getSessionCache().addValue("test", 0, "1");
    if(selectedValue.equalsIgnoreCase(selectedValue)){
    try
    // this.getDefaultValues().setRendered(true);
    // defaultValues=this.getDefaultValues();
    } catch (Exception e)
    e.printStackTrace();
    FacesContext.getCurrentInstance().renderResponse();
    Panel Grid Method
    *public HtmlPanelGrid getDefaultValues() throws Exception {*
    String devlues = (String)getSessionCache().getValue("test");
    Application app = FacesContext.getCurrentInstance().getApplication();
    labelList = nodeTypeFieldsService.getFixedFields(this.getRpUserData(), this.getAuthUser());
    HtmlPanelGrid panelGrid = (HtmlPanelGrid)app.createComponent(HtmlPanelGrid.COMPONENT_TYPE);
    for(int i = 0; i<labelList.size(); i++)
    HtmlOutputText heading = (HtmlOutputText)app.createComponent(HtmlOutputText.COMPONENT_TYPE);
    HtmlPanelGroup panelGroup = (HtmlPanelGroup)app.createComponent(HtmlPanelGroup.COMPONENT_TYPE);
    HtmlInputText inputText = (HtmlInputText)app.createComponent(HtmlInputText.COMPONENT_TYPE);
    String fieldHeading =((ProjectField)labelList.get(i)).getFieldHeading();
    int fieldLength = ((ProjectField)labelList.get(i)).getFieldLength();
    String fieldDescription = ((ProjectField)labelList.get(i)).getFieldDescription();
    String fieldType = ((ProjectField)labelList.get(i)).getFieldType();
    inputText.setValueBinding("value", (ValueBinding) app.createValueBinding("#{ProjectController.newProj}"));
    if(fieldType.equalsIgnoreCase("3"))
    heading.setValue(fieldHeading);
    heading.setTitle(fieldDescription);
    inputText.setMaxlength(fieldLength);
    inputText.setSize(fieldLength);
    UIRDDialog dialog = (UIRDDialog)app.createComponent(UIRDDialog.COMPONENT_TYPE);
    dialog.setTitle("Object Type Dialog");
    dialog.setHeight("370");
    dialog.setWidth("350");
    dialog.setUrl("searchObjectTypeDialog.jsf");
    UIRDIconButton iconButton = (UIRDIconButton)app.createComponent(UIRDIconButton.COMPONENT_TYPE);
    iconButton.setType("button");
    iconButton.setTitle("Search for Object Types");
    iconButton.setIcon("/image/icon/portalicon_search.gif");
    iconButton.setActivateDialog("searchObjectTypeDialog");
    panelGroup.getChildren().add(inputText);
    panelGroup.getChildren().add(iconButton);
    panelGroup.getChildren().add(dialog);
    panelGrid.getChildren().add(panelGroup);
    }else
    panelGroup.getChildren().add(inputText);
    heading.setValue(fieldHeading);
    inputText.setMaxlength(fieldLength);
    inputText.setSize(fieldLength);
    heading.setTitle(fieldDescription);
    panelGrid.getChildren().add(panelGroup);
    panelGrid.getChildren().add(heading);
    panelGrid.getChildren().add(panelGroup);
    HtmlCommandButton createButton = (HtmlCommandButton)app.createComponent(HtmlCommandButton.COMPONENT_TYPE);
    createButton.setId("create");
    createButton.setTitle("Create");
    createButton.setValue("Skapa");
    createButton.setAction(app.createMethodBinding("#{ProjectController.saveProject}", null));
    HtmlCommandButton backButton = (HtmlCommandButton)app.createComponent(HtmlCommandButton.COMPONENT_TYPE);
    backButton.setId("back");
    backButton.setTitle("Cancel");
    backButton.setValue("Avbryt");
    backButton.setAction(app.createMethodBinding("#{ProjectController.cancel}", null));
    panelGrid.getChildren().add(createButton);
    panelGrid.getChildren().add(backButton);
    return panelGrid;
    /* } else {
    return null;
    kindly help me out.
    regards
    venkatraman.P

    Hi,
    I'm having the exact same problem, and it's freaking me out!!! The setGridPanel method is always called but not the getGridPanel. This one is only called the first time the page is rendered, and when I change a drodpdownlist it never gets the gridPanel again! I'm using an HtmlPanelGrid. Anyone can help please?
    Thanks in advance,
    Raquel

  • DidReceiveData not getting called for consuming a SOAP webservice

    I am trying to access a webservice in iphone. didReceiveResponse connectionDidFinishLoading is getting called however didReceiveData is not getting called. I checked NSHTTPURLResponse allHeaderFields where Content-length is 0 and statusCode is 400. I am not getting why I am getting this HTTP status code. Can someone please help me in finding this error. Here is my code:
    - (IBAction)buttonClickedid)sender {
    NSString *soapMsg =
    [NSString stringWithFormat:
    @"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
    "<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xlmns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n"
    "<soap:Body>\n"
    "<GetAllCarsJson xmlns=\"http://cscserver2.carrollu.edu/tshah2/\">\n"
    "</GetAllCarsJson>\n"
    "</soap:Body>\n"
    "</soap:Envelope>"];
    //---print it to the Debugger Console for verification---
    //NSLog(@"%@",soapMsg);
    NSURL *url = [NSURL URLWithString:@"http://cscserver2.carrollu.edu/tshah2/CarService.asmx"];
    NSMutableURLRequest *req = [NSMutableURLRequest requestWithURL:url];
    //---set the headers---
    NSString *msgLength = [NSString stringWithFormat:@"%d",[soapMsg length]];
    [req addValue:@"text/xml; charset=utf-8" forHTTPHeaderField:@"Content-Type"];
    [req addValue:@"http://cscserver2.carrollu.edu/tshah2/GetAllCarsJson" forHTTPHeaderField:@"SOAPAction"];
    [req addValue:msgLength forHTTPHeaderField:@"Content-Length"];
    //---set the HTTP method and body---
    [req setHTTPMethod:@"POST"];
    [req setHTTPBody: [soapMsg dataUsingEncoding:NSUTF8StringEncoding]];
    //[activityIndicator startAnimating];
    conn = [[NSURLConnection alloc] initWithRequest:req delegate:self];
    [conn start];
    NSLog(@"Connection = %@", conn);
    if (conn)
        //webData = [[NSMutableData data] ];
        webData = [[NSMutableData alloc] initWithCapacity:2048];
        //[[NSMutableData data] retainArguments];
    - (void) connection NSURLConnection *) connection didReceiveResponse NSURLResponse *)response
        NSLog(@"soapMsg1: %d", [webData length]);
        //webData = [[NSMutableData alloc] initWith:
        [webData setLength:0];
    - (void) connection NSURLConnection *) connection didReceiveData NSData *)data
        NSLog(@"DONE1111");
        [webData appendData:data];
        //NSLog(webData);
    - (void) connection NSURLConnection *) connection didFailWithError NSError *)error
        NSLog(@"ConnectionFailed");
        //[webData release];
        //[connection release];
    - (void) connectionDidFinishLoading NSURLConnection *) connection
        NSLog(@"DONE. Received Bytes: %d", [webData length]);
        NSString *theXML = [[NSString alloc] initWithBytes:[webData mutableBytes] length:             [webData length] encoding:NSUTF8StringEncoding];
        //shows the XML
        NSLog(theXML);
        //[theXML release];
        //[activityIndicator stopAnimating];
        //[connection release];
        connection = nil;
        webData =nil;

    Hi,
    If you can see the field in UI and still get_ method is not being triggered then try to regenerate these methods. If it still doesn't work then please look for SAP notes or raise an OSS.
    There should be some note for the issue you faced.
    please refer:
    Help Needed immediately - AET getter setter methods not getting triggered
    Regards,
    BJ

  • HT204053 I am having trouble setting up icloud on MAC. In system preference it is listed as mobile me, it asks for member name and password. It also has a learn more button under "try mobileme for free". I am not getting anywhere

    I am having trouble setting up icloud on MAC. In system preference it is listed as mobile me, it asks for member name and password. It also has a learn more button under "try mobileme for free". I am not getting anywhere

    It's evident that you are using Snow Leopard or earlier (or very early Lion) since you have the now obsolete MobileMe preference pane.
    The minimum requirement for iCloud is Lion 10.7.5 (Mountain Lion preferred): the iCloud Preference Pane does not appear on earlier systems - the MobileMe pane appears on Lion and earlier but is non non-functional - you cannot now open or access a MobileMe account.
    To make use of iCloud you will have to upgrade your Mac to Lion or Mavericks, provided it meets the requirements.
    The requirements for Lion are:
    Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of memory
    OS X v10.6.6 or later (v10.6.8 recommended)
    7GB of available space
    Lion is available in the Online Apple Store ($19.99). Mountain Lion (10.8.x) is also available there at the same price but there seems little point as the system requirements are the same for Mavericks (10.9.x) - which is free - unless you need to run specific software which will run on Mountain Lion only.
    The requirements for Mountain Lion and Mavericks are:
    OS X v10.6.8 or later
    2GB of memory
    8GB of available space
      and the supported models are:
    iMac (Mid 2007 or newer)
    MacBook (Late 2008 Aluminum, or Early 2009 or newer)
    MacBook Pro (Mid/Late 2007 or newer)
    Xserve (Early 2009)
    MacBook Air (Late 2008 or newer)
    Mac mini (Early 2009 or newer)
    Mac Pro (Early 2008 or newer)
    It is available from the Mac App Store (in Applications).
      You should be aware that PPC programs (such as AppleWorks) will not run on Lion or above; and some other applications may not be compatible - there is a useful compatibility checklist at http://roaringapps.com/apps:table
      If you are running Leopard on an Intel Mac you will have to upgrade to Snow Leopard to access the Mac App Store - it's available in the online Apple Store. However if you have a PPC Mac you cannot run Snow Leopard and cannot proceed further.

Maybe you are looking for

  • How to open Nikon D7000 NEF Files in Photoshop CS3

    i have installed the 4.6 camera raw update but it does not recognise the D7000 NEF Files... same for Bridge.  what can i do to view files directly in CS3?

  • Vertical Pictures Cut Off in Photo Album Page

    On my photo albums page, the picture I want to use as the first picture is a vertical picture. But on the albums page, the albums are all horizontal. So when someone goes to look at my albums page, they just see these cut-off pictures with heads miss

  • Smart Playlists not working on 80gig classic

    Anybody have smart playlist problems. i have a complicated smart playlist that includes other smart playlist and before in my 4th generation ipod when a song finished on one playlist it will go away, now they just stay there as if i didn't play it. I

  • Creating PDF from PowerPoint results in lines around images

    I've researched this topic on the forums and have seen some related posts but none that directly hit the issue I'm having. Have a PP file with some images and when I create PDF, the resulting file shows random "outline" lines partially around some of

  • How to unlock my iphone 5 when i forgot my passcode

    how to unlock my iphone 5 when i forgot my passcode it keeps saying I have to shut off Fine my phone but I cant because I cant get into my phone.