Obsolete user id

when trying to update my apps, i continually am asked for a password from an old user id which i have not used for about three years, the email address no longer exists and there is nothing on my phone that is assosiated with it. this senario is intermitent however when i am asked for my current active password, it is accepted and then imediatly aborts the update. i try again and same thing happens. this goes on repeatedly until i am eventually asked once again for the old user id's password! AAARRRRRGGGGGHHHHH. consequently i cannot update anything!

Hi lachjohno,
No AppleID is ever obsolete. Whatever AppleID you used to purchase an application with will forever be linked to that application, and you will be required to use the password to that AppleID in order to update that application. Your best bet is to go into Manage My Apple ID, and update the password on that old id to match the pasword on your new one. That way, when apps need to be updated, it won't matter which AppleID they are needing the password for, since they both will be the same.
When you manage that old ID, you do not have to worry about whether or not the email address exists or not. All the apps care about is whether or not the password associated with that ID is the one being keyed in to do the update.
Here is a link to manage your old AppleID to change the password to match the password on your new ID:
https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
Cheers,
GB

Similar Messages

  • Obsolete User Exit's n BADI's

    Hi,
    Where can I get a list of Obsolete User Exit's n BADI's when I am upgrading a system from 4.7 to ECC6.0
    Also, what is the way forward for dealing with the obsolete exit's n badi's. i.e. how can they be changed to make them compatible with ECC6.0 version?
    Thanks,
    Ajay.
    Edited by: ajay singh on Dec 11, 2009 8:16 AM

    Hi!
    In most of the cases obsolete exits and badis are working correctly, without any additional coding or modification.
    However they are marked as obsolete by SAP, because they will stop using they in the far future, and there are much more useful and more modern ways to handle the same problem.
    This means, you don't have to modifying all obsolete stuffs in a big haste until the end of the year, but you have to avoid using them in new developments, and you only have to modify them if they cause problems.
    Regards
    Tamá

  • OBSOLETE users

    We have Workflow 7.2 sync'd with our Active Directory LDAP however a number of users are marked as OBSOLETE in the EDCPRINCIPALENTITY table. We originally had sync'd the entire AD tree, but that was too inclusive so we deleted the Directory and the Domain from the workflow Domain Management.
    After re-syncing, all users were marked OBSOLETE.
    We then created a couple new Directories, this time narrowing down the specific AD branches. Users that fell back into scope were marked back as CURRENT. But for some reason, there are still many users that are marked OBSOLETE. They are most definitely in the same AD branches of other CURRENT users and the accounts are valid and enabled.
    Any ideas why only some AD accounts are not being marked as CURRENT?

    Hi
    The obsolete users probably belong to the directory you deleted.
    You'll probably find a second entry for each of them that is marked as Current.
    It's generally best practise to make sure that you have your LDAP synch very well specified before you actually synch, because of the problems you're encountering. Removing and re-adding directories is also a bad idea. Even worse is removing and re-adding a directory with the same name as the first - this seems to cause some internal confusion (although it may have been fixed in more recent versions.)
    The LDAP synch never actually deletes anyone, because that could potentially break referential integrity for historical information related to that user - so it just marks people as Obsolete. Theoretically, if none of the obsolete people have ever been involved in a LC interaction, you could delete the records manually from the database - however, I suspect Adobe support would frown on this (i.e. not support you), and it could potentially cause problems. I'd advise against it.
    If this is a fairly new system, with not much data in it yet, I think the best thing you can do is drop the whole database, recreate the database, and start with a clean slate. However, this might not be feasible.
    Good luck,
    Howard
    http://www.avoka.com

  • Obsolete User Names appearing

    I cannot seem to get rid of some account names: when I view activity manager I see mdworker with user names that I have deleted (accounts deleted) One was a non-admin account and one was an old admin account. The non-admin account shows up on other things too. Can anyone explain to me why and what it means, and also if there is a safe way to remove the name (old flame no longer flaming) Please note that I reformatted my entire disk (actually replaced it with a much bigger one with 1TG) when I upgraded to Snow and restored preferences from Time Machine. In doing so, I lost the ability to access the prior Time Machine back-ups even though everything transferred okay.
    Thanks for the help in advance. Cheers.

    How did you delete those old users? Note that if you just deleted the user folders, that doesn't actually delete the user, which would have to be done from System Preferences -> Accounts. If you already did it the right way, then I'll leave you in the hands of anyone else with a better idea.

  • Obsolete and batch users can receive work items

    Dear Experts,
    Currently, we have found a problem that obsolete and batch users can receive work items by manual forwarding from someone. The roles and responsibilities of obsolete users were removed and users have been locked. For Batchuser, it's only created for some certain job with limited roles.
    Could you help advise if this's a behavior of workflow or it's from some authorization problem? We have concern for business impact since no one is really handling work items and important messages are out of sight.
    Thank you very much in advance.
    Regards, Kae

    Hello,
    This is standard behaviour. It is even possible to send work items to users who do not yet exist (e.g. someone who is due to join the company).
    The easiest way to workaround is to set up a substitution for any users that get locked and for background users. Personal substitutes can be maintained directly in table HRUS_D2, you could possibly write your own maintenance transaction for this if it is to be an ongoing issue.
    Hope that helps,
    Mike
    Message was edited by:
            Mike Pokraka

  • Granting permissions to manage my sites site collections and user profiles

    We currently have no governance in place to deal with user profiles and my site site collections.
    So the farm has quite a large number of both profiles and site collections which are orphaned. We do not currently run the timer job that deletes my site site
    I have a few questions about handling this kind of thing.
    1. We have administrative staff who handle the "off boarding" process. They send out mail to people asking whether project folders continue to be needed, etc. and give project members a month to make copies of the important info. Right now, there
    are a few of these staff which have site collection admin rights on normal projects.
    Is there a way that a powershell script could be constructed to give them the ability to delete obsolete user profiles and site collections without giving them full farm admin rights?
    2. Is there a way to set up an AD or SharePoint group and then use that group as a secondary site collection admin on the my site site collections?
    3. With appropriate permissions, would they be able to grant someone else permission to look at data in the my site collection to determine whether any of it needed to be kept?
    I have been requested as a sharepoint admin to work with the offboarding process staff so that they include the sharepoint my site data in the data that they recommend people check before deleting the data.
    I would like to automate as much of the dealings they have to have with the system as possible, just to reduce unrelated accidental actions.

    1. We have administrative staff who handle the "off boarding" process. They send out mail to people asking whether project folders continue to be needed, etc. and give project members a month to make copies of the important info. Right now, there
    are a few of these staff which have site collection admin rights on normal projects.
    Is there a way that a powershell script could be constructed to give them the ability to delete obsolete user profiles and site collections without giving them full farm admin rights?
    Inder : 
    http://blogs.msdn.com/b/kaevans/archive/2012/06/25/top-recommendations-for-managing-the-my-site-cleanup-timer-job.aspx
    http://www.harbar.net/archive/2011/02/10/account-deletion-and-sharepoint-2010-user-profile-synchronization.aspx
    http://blogs.technet.com/b/seanearp/archive/2009/03/04/sharepoint-profile-cleanup.aspx
    2. Is there a way to set up an AD or SharePoint group and then use that group as a secondary site collection admin on the my site site collections?
    Inder: NO, it has to be a user. But you can go to site action > site settings > site collection administrator > Add that group here.
    3. With appropriate permissions, would they be able to grant someone else permission to look at data in the my site collection to determine whether any of it needed to be kept?
    Inder:  Yes
    If this helped you resolve your issue, please mark it Answered

  • How can you delete users without losing what their username is tied to.

    Hi,
    I'm trying to delete obsolete users out of the system, but if I do I lose anything their user name is still associated with associated with(ex. purchase orders, material request etc.) Can anyone help?

    >
    JC wrote:
    > Just wondering is that an SAP best practice recommendation ? I have never seen anything in the SAP Security Guides indicating that though.
    > Another aspect is that access to any protected program variants is lost. There is a SAP program that unprotects them though.
    This was through some discussions via OSS.  I've always preferred to keep them myself, but there are always exceptions.  The client decided to ask SAP direct and the final recommendation was not to delete the ID's but just expire them.

  • Deleting all user level customizations

    In our WebCenter Portal 11g, PS5 with latest bundle patch, we have quite a few user-level customizations stored in MDS.
    However, we have just changed our user base (different LDAP), so many of the users are no longer valid.
    Does anyone know of a nifty way to delete all the existing user level customizations (and whatever else is stored in MDS on the user level)?

    Hi Jaap.
    I think that you will need to code some Java using MDS API to achieve your purpose.
    I though in a solution based on next ideas:
    1) Analyze metadata paths used by WebCenter in adf-config.xml (It indicates root path folders where apply customizations).
    You have to take entries that are using oracle.webcenter.webcenterapp.internal.metadata.WebCenterUserCC customization class
    2) Use MDS API to go every possible /cust/user folder of preconfigured paths of MDS and remove it. You can decompile previous class to check how and where is storing User customization class.
    However the approach couldn't be good. Why?.
    1) If you download and double check MDS paths (where user customizations are) always is using user name encrypted and then isn't easy generate MDS path to remove user customizations. Should investigate where and how is encrypting user when storing.
    2) You have to know what users are obsolete because you have to generate the path based on that userID (encrypted).
    It's only an idea in my mind. Don't know if exists better approach or something OOTB to delete User customization of obsolete users.
    I hope this help you.
    Regards.

  • How to catch PERNR number  linked to Portal User

    Hello All,
    Just working on some webdynpro demo and examples. I have a question to you all experts. Just want to know how to capture the pernr attached to a poral user.
    Ex:
    I want to display home and office address in iView. For some portla user1 there is attached pernr1.
    How will I be able to identify the pernr number?
    Thanks,
    Raj

    catch(Exception e)
    //wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("Exception"+e.getMessage());
    //@@end
    The following code section can be used for any Java code that is
    not to be visible to other controllers/views or that contains constructs
    currently not supported directly by Web Dynpro (such as inner classes or
    member variables etc.). </p>
    Note: The content of this section is in no way managed/controlled
    by the Web Dynpro Designtime or the Web Dynpro Runtime.
    //@@begin others
    IRepository repository;
    public int getPernr(String user)
    int ret = 0;
    double pool = Math.random();
    //the repository we gonna be using
    try{
    // Add a connection pool for the specified system
    JCO.addClientPool(
    "test1"+pool, //alias for this pool
    100,
    //max. number of connections
    "", //SAP client
    "", //userid
    "", //password
    "EN", //language
    "", //host name
    "00" //system number
    // Create a new repository
    repository = JCO.createRepository(
    "MYRepository", "test1"+pool);
    catch(JCO.Exception ex) {
    wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(
    "Exceptionwwwwwwx"+ex.getMessage());
    JCO.Client client =
    null;
    try{
    // Get a function template from the repository
    System.out.println(
    "start");
    //wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("ExceptWWWW");
    JCO.Function function = repository.getFunctionTemplate(
    "CRIF_GET_EMPLOYEE_FOR_USER").getFunction();//it is a function module u need to write that takes user_name as input and gives employeenumber as output
    //wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("ExceptioWWW");
    // Fill in input parameters
    JCO.ParameterList input = function.getImportParameterList();
    input.setValue(user,
    "USER_NAME" );
    //input.setValue(String.valueOf(new Date()), "BEGINDATE" );
    //input.setValue(String.valueOf(new Date()), "ENDDATE" );
    // Get a client from the pool
    //wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("ExceptionQQ");
    client = JCO.getClient(
    "SB1");
    //wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("Exception");
    // Execute function the remote system
    client.execute(function);
    System.out.println(
    "2");
    // Print return message
    ret=function.getExportParameterList().getInt(
    "EMPLOYEENUMBER");
    System.out.println(
    "3");
    System.out.println(
    "RETURN MESSAGE: " + ret);
    catch(Exception ex) {
    System.out.println(
    "Caught an exception333: " + ex);
    finally{
    // Always release client !!!
    JCO.releaseClient(client);
    //try
    return ret;
    //@@end
    content of obsolete user coding area(s) -
    //@@begin obsolete:javadoc:getPerNr()
    // /** Declared method. */
    //@@end
    //@@begin obsolete:getPerNr()
    //@@end
    xxxxxxxxxxxxxxxxxxxxxxxxxx
    Bala
    Edited by: Armin Reichert on Jan 1, 2008 3:57 PM

  • Unable to call the RFC from the WD java Program

    Hi All,
    I have a table and three buttons Create, Edit, Save in the layout.
    If no record available in the R3 the the end user will click on create and then he will click on save so that the insert RFC will be called accordingly and the record will be inserted.My table is limited to 5 records only. If  i enter all the 5 records and Click on submit the record is inserting in the backend , but if i enter less than 5 records im unable to call the RFC what might be the issue. 
    My insert RFC takes one Table node and 4 import parameters i'm passing all of the all the mentioned import parameters.
    Code:-
    View Controller code
    // This file has been generated partially by the Web Dynpro Code Generator.
    // MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
    // ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
    package com.gmr.ess;
    // IMPORTANT NOTE:
    // ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
    // BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
    // AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateAPPView).
    // OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
    // A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
    // OF IMPORT STATEMENTS.
    //@@begin imports
    import java.math.BigDecimal;
    import java.util.Date;
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Calendar;
    import java.util.Collection;
    import java.util.Iterator;
    import com.gmr.ess.wdp.IPrivateAPPView;
    import com.gmr.pck.Zst_Hr_Nominee;
    import com.sap.tc.webdynpro.progmodel.api.IWDMessageManager;
    import com.sap.tc.webdynpro.services.sal.um.api.IWDClientUser;
    import com.sap.tc.webdynpro.services.sal.um.api.WDClientUser;
    //@@end
    //@@begin documentation
    //@@end
    public class APPView
    Logging location.
      private static final com.sap.tc.logging.Location logger =
        com.sap.tc.logging.Location.getLocation(APPView.class);
      static
        //@@begin id
        String id = "$Id$";
        //@@end
        com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
    Private access to the generated Web Dynpro counterpart
    for this controller class.  </p>
    Use <code>wdThis</code> to gain typed access to the context,
    to trigger navigation via outbound plugs, to get and enable/disable
    actions, fire declared events, and access used controllers and/or
    component usages.
    @see com.gmr.ess.wdp.IPrivateAPPView for more details
      private final IPrivateAPPView wdThis;
    Root node of this controller's context. </p>
    Provides typed access not only to the elements of the root node
    but also to all nodes in the context (methods node<i>XYZ</i>())
    and their currently selected element (methods current<i>XYZ</i>Element()).
    It also facilitates the creation of new elements for all nodes
    (methods create<i>XYZ</i>Element()). </p>
    @see com.gmr.ess.wdp.IPrivateAPPView.IContextNode for more details.
      private final IPrivateAPPView.IContextNode wdContext;
    A shortcut for <code>wdThis.wdGetAPI()</code>. </p>
    Represents the generic API of the generic Web Dynpro counterpart
    for this controller. </p>
      private final com.sap.tc.webdynpro.progmodel.api.IWDViewController wdControllerAPI;
    A shortcut for <code>wdThis.wdGetAPI().getComponent()</code>. </p>
    Represents the generic API of the Web Dynpro component this controller
    belongs to. Can be used to access the message manager, the window manager,
    to add/remove event handlers and so on. </p>
      private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
      public APPView(IPrivateAPPView wdThis)
        this.wdThis = wdThis;
        this.wdContext = wdThis.wdGetContext();
        this.wdControllerAPI = wdThis.wdGetAPI();
        this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
      //@@begin javadoc:wdDoInit()
      /** Hook method called to initialize controller. */
      //@@end
      public void wdDoInit()
        //@@begin wdDoInit()
        try{
              IWDMessageManager manager1 = wdComponentAPI.getMessageManager();
              IWDClientUser user = WDClientUser.getLoggedInClientUser();
              String logUser= user.getSAPUser().getUniqueName();
              wdContext.currentContextElement().setUserid(logUser);
              wdThis.wdGetAPPController().executeBapi_Employee_Getdata_Input();//Returns the user id for the employee
              Collection nomineeList = new ArrayList();
              wdThis.wdGetAPPController(). executeZ_Hrfm_Nominee_Disp_Input( );          
              int nomineeTableSize = wdContext.nodeZ_Hrfm_Nominee_Disp_Input().nodeOutput_Nominee().nodeNominee().size();
              for(int i=0;i< nomineeTableSize;i++){          
                IPrivateAPPView.IDisplay_table_nodeElement ele = wdContext.nodeDisplay_table_node().createDisplay_table_nodeElement();
                ele.setAddr(wdContext.nodeZ_Hrfm_Nominee_Disp_Input().nodeOutput_Nominee().nodeNominee().getNomineeElementAt(i).getAddr());
                ele.setDob(wdContext.nodeZ_Hrfm_Nominee_Disp_Input().nodeOutput_Nominee().nodeNominee().getNomineeElementAt(i).getDob());
                ele.setGuard(wdContext.nodeZ_Hrfm_Nominee_Disp_Input().nodeOutput_Nominee().nodeNominee().getNomineeElementAt(i).getGuard());
                ele.setName(wdContext.nodeZ_Hrfm_Nominee_Disp_Input().nodeOutput_Nominee().nodeNominee().getNomineeElementAt(i).getName());
                ele.setPerc(wdContext.nodeZ_Hrfm_Nominee_Disp_Input().nodeOutput_Nominee().nodeNominee().getNomineeElementAt(i).getPerc());
                ele.setRelat(wdContext.nodeZ_Hrfm_Nominee_Disp_Input().nodeOutput_Nominee().nodeNominee().getNomineeElementAt(i).getRelat());
                nomineeList.add(ele);
              wdContext.nodeDisplay_table_node().bind(nomineeList);
              wdContext.currentContextElement().setEdit_val_attr(true);
              if(nomineeTableSize<=0){
                   wdContext.currentContextElement().setCreateButtonEnable(true);
                   wdContext.currentContextElement().setEditButtonEnable(false);
              else{
                   wdContext.currentContextElement().setCreateButtonEnable(false);
                   wdContext.currentContextElement().setEditButtonEnable(true);
        catch(Exception e){
              wdComponentAPI.getMessageManager().reportException("",true);
        //@@end
      //@@begin javadoc:wdDoExit()
      /** Hook method called to clean up controller. */
      //@@end
      public void wdDoExit()
        //@@begin wdDoExit()
        //@@end
      //@@begin javadoc:wdDoModifyView
    Hook method called to modify a view just before rendering.
    This method conceptually belongs to the view itself, not to the
    controller (cf. MVC pattern).
    It is made static to discourage a way of programming that
    routinely stores references to UI elements in instance fields
    for access by the view controller's event handlers, and so on.
    The Web Dynpro programming model recommends that UI elements can
    only be accessed by code executed within the call to this hook method.
    @param wdThis Generated private interface of the view's controller, as
           provided by Web Dynpro. Provides access to the view controller's
           outgoing controller usages, etc.
    @param wdContext Generated interface of the view's context, as provided
           by Web Dynpro. Provides access to the view's data.
    @param view The view's generic API, as provided by Web Dynpro.
           Provides access to UI elements.
    @param firstTime Indicates whether the hook is called for the first time
           during the lifetime of the view.
      //@@end
      public static void wdDoModifyView(IPrivateAPPView wdThis, IPrivateAPPView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
        //@@end
      //@@begin javadoc:onActionGetData(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionGetData(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionGetData(ServerEvent)
        //$$begin ActionButton(-535519310)
        //wdThis.wdGetAPPController().executeZ_Hrfm_Nominee_Disp_Input();
        //$$end
        //@@end
      //@@begin javadoc:onActionEdit(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionEdit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionEdit(ServerEvent)
       //$$begin ActionButton(-535519310)
       displayTablesize=wdContext.nodeDisplay_table_node().size(); 
       if(displayTablesize<5){
         for(int i=0;i<size-displayTablesize;i++){           
              IPrivateAPPView.IDisplay_table_nodeElement ele = wdContext.nodeDisplay_table_node().createDisplay_table_nodeElement();
              wdContext. nodeDisplay_table_node().addElement(ele);               
       operation="MOD"; 
       wdContext.currentContextElement().setTableReadOnly(true);
       wdContext.currentZ_Hrfm_Nominee_Ins_Mod_InputElement().setOperation(operation);                                 
        //$$end
        //@@end
      //@@begin javadoc:onActionCreate(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionCreate(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionCreate(ServerEvent)
         int month=0,year=0,day=0;
         String month1,day1,year1;   
         try{
              displayTablesize=wdContext.nodeDisplay_table_node().size();
              wdContext.currentContextElement().setEdit_val_attr(false);
              if(wdContext.nodeDisplay_table_node().isEmpty()){                    
                   if(displayTablesize<5){
                        Calendar cal=Calendar.getInstance();
                        month=cal.get(Calendar.MONTH)+1;
                        if(month==1||month==2||month==3||month==4||month==5||month==6||month==7||month==8||month==9){
                             month1="0"+month;
                        else{
                             month1=""+month;                                   
                        day = cal.get(Calendar.DAY_OF_MONTH);
                             if(day==1||day==2||day==3||day==4||day==5||day==6||day==7||day==8||day==9){
                             day1=  "0"+day;
                        else{
                             day1=""+day;
                        year = cal.get(Calendar.YEAR);
                        year1=""+year;
                        String strFormat=day1"."month1"."year1;                    
                        wdContext.currentOutput_NomineeElement().setBegda(strFormat);
                        wdContext.currentOutput_NomineeElement().setEndda("31.12.9999");                         
                        for(int i=0;i<size-displayTablesize;i++){           
                             IPrivateAPPView.IDisplay_table_nodeElement ele = wdContext.nodeDisplay_table_node().createDisplay_table_nodeElement();
                             wdContext. nodeDisplay_table_node().addElement(ele);               
                   operation="INS";
                   wdContext.currentZ_Hrfm_Nominee_Ins_Mod_InputElement().setOperation(operation);                    
              wdContext.currentContextElement().setTableReadOnly(true);          
         catch(NullPointerException npe){
              wdComponentAPI.getMessageManager().reportException("No Data Available",true);
        //@@end
      //@@begin javadoc:onActionSaveData(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionSaveData(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionSaveData(ServerEvent)
         float percentage=0;
         float dupePercentage=0;
         boolean isTest = false;
         Collection DispTList =      new ArrayList();
         IWDMessageManager manager1 = wdComponentAPI.getMessageManager();
         try{
              displayTablesize = wdContext.nodeDisplay_table_node().size();
              //for(int     i=1;i<=displayTablesize;i++){
              for(int     i=0;i<displayTablesize;i++){
                   BigDecimal share = wdContext.nodeDisplay_table_node().getDisplay_table_nodeElementAt(i).getPerc();
                   String name =  wdContext.nodeDisplay_table_node().getDisplay_table_nodeElementAt(i).getName();
                   percentage = share.floatValue();
                   dupePercentage = dupePercentage + percentage;
                   if(name!=null && share!=null){                    
                        Zst_Hr_Nominee nominee = new Zst_Hr_Nominee();
                        nominee.setAddr(wdContext.nodeDisplay_table_node().getDisplay_table_nodeElementAt(i).getAddr());
                       manager1.reportSuccess(wdContext.nodeDisplay_table_node().getDisplay_table_nodeElementAt(i).getAddr());               
                        nominee.setDob(wdContext.nodeDisplay_table_node().getDisplay_table_nodeElementAt(i).getDob());     
                        manager1.reportSuccess(""+wdContext.nodeDisplay_table_node().getDisplay_table_nodeElementAt(i).getDob());               
                        nominee.setGuard(wdContext.nodeDisplay_table_node().getDisplay_table_nodeElementAt(i).getGuard());     
                       manager1.reportSuccess(""+wdContext.nodeDisplay_table_node().getDisplay_table_nodeElementAt(i).getGuard());               
                        nominee.setName(wdContext.nodeDisplay_table_node().getDisplay_table_nodeElementAt(i).getName());
                       manager1.reportSuccess(""+wdContext.nodeDisplay_table_node().getDisplay_table_nodeElementAt(i).getName());                    
                        nominee.setPerc(wdContext.nodeDisplay_table_node().getDisplay_table_nodeElementAt(i).getPerc());
                       manager1.reportSuccess(""+wdContext.nodeDisplay_table_node().getDisplay_table_nodeElementAt(i).getPerc());
                        nominee.setRelat(wdContext.nodeDisplay_table_node().getDisplay_table_nodeElementAt(i).getRelat());     
                       manager1.reportSuccess(""+wdContext.nodeDisplay_table_node().getDisplay_table_nodeElementAt(i).getRelat());               
                        DispTList.add(nominee);     
                   wdContext.nodeZ_Hrfm_Nominee_Ins_Mod_Input().nodeNominee_ins().bind(DispTList);
              if((dupePercentage)!=100)
              wdComponentAPI.getMessageManager().reportException(
                        "The sum of the share Percentages is not 100. Modify the percentages accordingly",true);
              wdContext.nodeZ_Hrfm_Nominee_Ins_Mod_Input().nodeNominee_ins().bind(DispTList);
              IWDMessageManager manager = wdComponentAPI.getMessageManager();
              String beginDate = wdContext.currentOutput_NomineeElement().getBegda();
              manager.reportSuccess(wdContext.currentOutput_NomineeElement().getBegda());
              String endDate=wdContext.currentOutput_NomineeElement().getEndda();
              manager.reportSuccess(wdContext.currentOutput_NomineeElement().getEndda());
              wdContext.currentZ_Hrfm_Nominee_Ins_Mod_InputElement().setBegda(beginDate);
              wdContext.currentZ_Hrfm_Nominee_Ins_Mod_InputElement().setEndda(endDate);          
              wdContext.currentZ_Hrfm_Nominee_Ins_Mod_InputElement().setOperation(operation);
              wdComponentAPI.getMessageManager().reportSuccess(operation);     
              wdThis.wdGetAPPController().executeBapi_Employee_Getdata_Input();
              wdThis.wdGetAPPController().executeZ_Hrfm_Nominee_Ins_Mod_Input();           
              //wdContext.currentContextElement().setTableReadOnly(false);
         catch(Exception e){
              e.getMessage();
        //@@end
    The following code section can be used for any Java code that is
    not to be visible to other controllers/views or that contains constructs
    currently not supported directly by Web Dynpro (such as inner classes or
    member variables etc.). </p>
    Note: The content of this section is in no way managed/controlled
    by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
      int nomineeTableSize = 0;
      int displayTablesize = 0;
      String operation= null;
      int size=5;
    // float dupePercentage=0;
      //String mod_op="MOD";
      //@@end
    content of obsolete user coding area(s) -
    //@@begin obsolete:javadoc:onActionSave(ServerEvent)
    //  /** Declared validating even
    Component controller code
    // This file has been generated partially by the Web Dynpro Code Generator.
    // MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
    // ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
    package com.gmr.ess;
    // IMPORTANT NOTE:
    // ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
    // BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
    // AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateAPP).
    // OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
    // A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
    // OF IMPORT STATEMENTS.
    //@@begin imports
    import java.util.Iterator;
    import com.gmr.ess.wdp.IPrivateAPP;
    import com.gmr.pck.Bapi_Employee_Getdata_Input;
    import com.gmr.pck.Bapip0002B;
    import com.gmr.pck.Z_Hrfm_Nominee_Disp_Input;
    import com.gmr.pck.Z_Hrfm_Nominee_Ins_Mod_Input;
    import com.gmr.pck.Zst_Hr_Nominee;
    import com.sap.lcr.api.util.SetProfileConnect;
    import com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException;
    import com.sap.tc.webdynpro.progmodel.api.IWDMessageManager;
    //@@end
    //@@begin documentation
    //@@end
    public class APP
    Logging location.
      private static final com.sap.tc.logging.Location logger =
        com.sap.tc.logging.Location.getLocation(APP.class);
      static
        //@@begin id
        String id = "$Id$";
        //@@end
        com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
    Private access to the generated Web Dynpro counterpart
    for this controller class.  </p>
    Use <code>wdThis</code> to gain typed access to the context,
    to trigger navigation via outbound plugs, to get and enable/disable
    actions, fire declared events, and access used controllers and/or
    component usages.
    @see com.gmr.ess.wdp.IPrivateAPP for more details
      private final IPrivateAPP wdThis;
    Root node of this controller's context. </p>
    Provides typed access not only to the elements of the root node
    but also to all nodes in the context (methods node<i>XYZ</i>())
    and their currently selected element (methods current<i>XYZ</i>Element()).
    It also facilitates the creation of new elements for all nodes
    (methods create<i>XYZ</i>Element()). </p>
    @see com.gmr.ess.wdp.IPrivateAPP.IContextNode for more details.
      private final IPrivateAPP.IContextNode wdContext;
    A shortcut for <code>wdThis.wdGetAPI()</code>. </p>
    Represents the generic API of the generic Web Dynpro counterpart
    for this controller. </p>
      private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdControllerAPI;
    A shortcut for <code>wdThis.wdGetAPI().getComponent()</code>. </p>
    Represents the generic API of the Web Dynpro component this controller
    belongs to. Can be used to access the message manager, the window manager,
    to add/remove event handlers and so on. </p>
      private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
      public APP(IPrivateAPP wdThis)
        this.wdThis = wdThis;
        this.wdContext = wdThis.wdGetContext();
        this.wdControllerAPI = wdThis.wdGetAPI();
        this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
      //@@begin javadoc:wdDoInit()
      /** Hook method called to initialize controller. */
      //@@end
      public void wdDoInit()
        //@@begin wdDoInit()
        //$$begin Service Controller(1490375209)
    //    wdContext.nodeZ_Hrfm_Nominee_Ins_Mod_Input().bind(new Z_Hrfm_Nominee_Ins_Mod_Input());
         Z_Hrfm_Nominee_Ins_Mod_Input input = new Z_Hrfm_Nominee_Ins_Mod_Input();
         input.addNominee(new Zst_Hr_Nominee());
         wdContext.nodeZ_Hrfm_Nominee_Ins_Mod_Input().bind(input);
        //$$end
        //$$begin Service Controller(-932523997)
        wdContext.nodeZ_Hrfm_Nominee_Disp_Input().bind(new Z_Hrfm_Nominee_Disp_Input());
        //$$end
        //$$begin Service Controller(-368783613)
        wdContext.nodeBapi_Employee_Getdata_Input().bind(new Bapi_Employee_Getdata_Input());
        //$$end
        //@@end
      //@@begin javadoc:wdDoExit()
      /** Hook method called to clean up controller. */
      //@@end
      public void wdDoExit()
        //@@begin wdDoExit()
        //@@end
      //@@begin javadoc:wdDoPostProcessing()
    Hook called to handle data retrieval errors before rendering.
    After doModifyView(), the Web Dynpro Framework gets all context data needed
    for rendering by validating the contexts (which in turn calls the supply
    functions and supplying relation roles). In this hook, the application
    should handle the errors which occurred during validation of the contexts.
    Using preorder depth-first traversal, this hook is called for all component
    controllers starting with the current root component.
    Permitted operations:
    - Flushing model queue
    - Creating messages
    - Reading context and model data
    Forbidden operations:
    - Invalidating model data
    - Manipulating the context
    - Firing outbound plugs
    - Creating components
    @param isCurrentRoot true if this is the root of the current request
      //@@end
      public void wdDoPostProcessing(boolean isCurrentRoot)
        //@@begin wdDoPostProcessing()
        //@@end
      //@@begin javadoc:wdDoBeforeNavigation()
    Hook before the navigation phase starts.
    This hook allows you to flush the model queue and handle any
    errors that occur. Firing outbound plugs is allowed in this hook.
    Using preorder depth-first traversal, this hook is called for all component
    controllers starting with the current root component.
    @param isCurrentRoot true if this is the root of the current request
      //@@end
      public void wdDoBeforeNavigation(boolean isCurrentRoot)
        //@@begin wdDoBeforeNavigation()
        //@@end
      //@@begin javadoc:wdDoApplicationStateChange()
    Hook that informs the application about a state change.
    <p>
    This hook is called e.g. to tell the application that will be
    <ul>
    <li>left via a suspend plug and therefore should go into a suspend/sleep
         mode with minimal need of resources. errors that occur. Firing
         outbound plugs is allowed in this hook.
    <li>left due to a timeout and could write it's state to a data base if the
         user comes back later on
    </ul>
    The concrete reason is available via IWDApplicationStateChangeInfo
    <p>
    <b>Important</b>: This hook is called for the top level component only!
    @param stateChangeInfo contains the information about the nature of the state change
    @param stateChangeReturn allows the application to ask for a different state change.
           The framework is allowed to ignore it considering i.e. the current resources situation.
      //@@end
      public void wdDoApplicationStateChange(com.sap.tc.webdynpro.progmodel.api.IWDApplicationStateChangeInfo stateChangeInfo, com.sap.tc.webdynpro.progmodel.api.IWDApplicationStateChangeReturn stateChangeReturn)
        //@@begin wdDoApplicationStateChange()
        //@@end
      //@@begin javadoc:executeBapi_Employee_Getdata_Input()
      /** Declared method. */
      //@@end
      public void executeBapi_Employee_Getdata_Input( )
        //@@begin executeBapi_Employee_Getdata_Input()
        //$$begin Service Controller(1705750894)
        IWDMessageManager manager = wdComponentAPI.getMessageManager();
         Iterator itrGetData = null;
                             Bapip0002B out = null;
        try
          wdContext.currentBapi_Employee_Getdata_InputElement().modelObject().execute();
          wdContext.nodeOutput().invalidate();
           itrGetData = wdContext.currentOutputElement().modelObject().getPersonal_Data().iterator();
           while (itrGetData.hasNext()) {
               out = (Bapip0002B) itrGetData.next();
          empNo = out.getPerno();
          wdContext.currentZ_Hrfm_Nominee_Disp_InputElement().setPernr(empNo);
         wdContext.currentZ_Hrfm_Nominee_Ins_Mod_InputElement().setPernr(empNo);
    //      manager.reportSuccess(empNo);
         //wdThis.executeZ_Hrfm_Nominee_Disp_Input();
        catch(WDDynamicRFCExecuteException e)
          manager.reportException(e.getMessage(), false);
        //$$end
        //@@end
      //@@begin javadoc:executeZ_Hrfm_Nominee_Disp_Input()
      /** Declared method. */
      //@@end
      public void executeZ_Hrfm_Nominee_Disp_Input( )
        //@@begin executeZ_Hrfm_Nominee_Disp_Input()
        //$$begin Service Controller(-366407911)
        IWDMessageManager manager = wdComponentAPI.getMessageManager();
        try
          wdContext.currentZ_Hrfm_Nominee_Disp_InputElement().modelObject().execute();
          wdContext.nodeOutput_Nominee().invalidate();
        catch(WDDynamicRFCExecuteException e)
          manager.reportException(e.getMessage(), false);
        //$$end
        //@@end
      //@@begin javadoc:executeZ_Hrfm_Nominee_Ins_Mod_Input()
      /** Declared method. */
      //@@end
      public void executeZ_Hrfm_Nominee_Ins_Mod_Input( )
        //@@begin executeZ_Hrfm_Nominee_Ins_Mod_Input()
        //$$begin Service Controller(1524028406)
        IWDMessageManager manager = wdComponentAPI.getMessageManager();
        try
          wdContext.currentZ_Hrfm_Nominee_Ins_Mod_InputElement().modelObject().execute();
          wdContext.nodeOutput_nominee_ins_mod().invalidate();
        catch(WDDynamicRFCExecuteException e)
          manager.reportException(e.getMessage(), false);
        //$$end
        //@@end
    The following code section can be used for any Java code that is
    not to be visible to other controllers/views or that contains constructs
    currently not supported directly by Web Dynpro (such as inner classes or
    member variables etc.). </p>
    Note: The content of this section is in no way managed/controlled
    by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
      String empNo = null;
      //@@end
    Suman
    Edited by: sumankumar kurimilla on Dec 23, 2008 9:26 AM

    Hi,
    I have checked from RFC side that is working fine only java app its not working can you tell any thing needs to be changed from my application end.
    Please check in Savedata action.
    Regards,
    Suman
    Edited by: sumankumar kurimilla on Dec 23, 2008 11:01 AM

  • WebDynpro : 500 Internal Server Error

    Hi All,
            We are devloping WebDynpro Project with RFC Model, in that project we created two application's we are deploying that applicaton's into devlopment server, it was excuted successfully, now that same webdynpro project we are deploying to production, that first application was excuted successfully, but when are excuting second application we are getting below error.....
    500   Internal Server Error
    SAP NetWeaver Application Server 7.00/Java AS 7.00 
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.NullPointerException
        at com.stepan.app.DetailsView.getProcessOrderVisibilityProcessOrderVisibility(DetailsView.java:574)
        at com.stepan.app.wdp.InternalDetailsView.getProcessOrderVisibilityProcessOrderVisibility(InternalDetailsView.java:340)
        at com.stepan.app.wdp.IPrivateDetailsView$IProcessOrderVisibilityElement.wdGetObject(IPrivateDetailsView.java:3521)
        at com.sap.tc.webdynpro.progmodel.context.AttributePointer.getObject(AttributePointer.java:158)
        at com.sap.tc.webdynpro.clientserver.data.DataContainer.getObject(DataContainer.java:881)
        ... 61 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
    Version null
    DOM version null
    Client Type msie7
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0011.20070125102926.0000 (release=645_VAL_REL, buildtime=2007-01-31:20:18:32[UTC], changelist=434634, host=pwdfm101), build date: Thu Jul 12 10:54:43 CDT 2007
    J2EE Engine No information available
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_12-b03, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: x86
    Session & Other
    Session Locale en_US
    Time of Failure Tue Sep 11 09:13:06 CDT 2007 (Java Time: 1189519986156)
    Web Dynpro Code Generation Infos
    local/CalenderDashBoard
    SapDictionaryGenerationCore 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:24:21[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates (unknown)
    SapGenerationFrameworkCore 7.0009.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:12:57[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:30:00[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:13:46[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:13:38[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0009.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:21:59[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0009.20060428190938.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:26:52[UTC], changelist=400815, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:45:29[UTC], changelist=413534, host=pwdfm101)
    SapWebDynproGenerationCore 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:30:11[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:45:29[UTC], changelist=413534, host=pwdfm101)
    sap.com/tcwddispwda
    No information available null
    sap.com/tcwdcorecomp
    No information available null
    Detailed Error Information
    Detailed Exception Chain
    java.lang.NullPointerException
         at com.stepan.app.DetailsView.getProcessOrderVisibilityProcessOrderVisibility(DetailsView.java:574)
         at com.stepan.app.wdp.InternalDetailsView.getProcessOrderVisibilityProcessOrderVisibility(InternalDetailsView.java:340)
         at com.stepan.app.wdp.IPrivateDetailsView$IProcessOrderVisibilityElement.wdGetObject(IPrivateDetailsView.java:3521)
         at com.sap.tc.webdynpro.progmodel.context.AttributePointer.getObject(AttributePointer.java:158)
         at com.sap.tc.webdynpro.clientserver.data.DataContainer.getObject(DataContainer.java:881)
         at com.sap.tc.webdynpro.progmodel.view.UIElement.getVisible(UIElement.java:620)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.FlowLayoutAdapter.setViewAndNodeElement(FlowLayoutAdapter.java:94)
         at com.sap.tc.webdynpro.clientserver.uielements.adaptmgr.URAdapterManager.getAdapterFor(URAdapterManager.java:285)
         at com.sap.tc.webdynpro.clientserver.uielements.adaptmgr.URAdapterManager.getAdapterFor(URAdapterManager.java:93)
         at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.AbstractAdapter.getAdapterFor(AbstractAdapter.java:495)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GroupAdapter.getContent(GroupAdapter.java:334)
         at com.sap.tc.ur.renderer.ie6.GroupRenderer.render(GroupRenderer.java:74)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:288)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:244)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:49)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:619)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:288)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:244)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:49)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:619)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:52)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:1052)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillDynamicTemplateContext(HtmlClient.java:455)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:1236)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:252)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:595)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:156)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    if any body facing same problem please tell me how to resolve that error.
    really i appreciate that person help.
    Thanks and Regards,
    Abhi.

    Hi Sumit,
                 The below is my code, pls find this one and please let me know is there any bugs in code.
    // This file has been generated partially by the Web Dynpro Code Generator.
    // MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
    // ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
    package com.stepan.app;
    // IMPORTANT NOTE:
    // ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
    // BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
    // AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateDetailsView).
    // OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
    // A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
    // OF IMPORT STATEMENTS.
    //@@begin imports
    import java.text.DateFormat;
    import java.text.DecimalFormat;
    import java.text.NumberFormat;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.Locale;
    import com.sap.security.api.IUser;
    import com.sap.security.api.IUserAccount;
    import com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDTable;
    import com.sap.tc.webdynpro.progmodel.api.IWDNode;
    import com.sap.tc.webdynpro.progmodel.api.WDVisibility;
    import com.sap.tc.webdynpro.services.sal.um.api.IWDClientUser;
    import com.sap.tc.webdynpro.services.sal.um.api.WDClientUser;
    import com.sap.tc.webdynpro.tests.utils.TableSorter;
    import com.stepan.app.wdp.IPrivateDetailsView;
    //@@end
    //@@begin documentation
    //@@end
    public class DetailsView
    Logging location.
      private static final com.sap.tc.logging.Location logger =
        com.sap.tc.logging.Location.getLocation(DetailsView.class);
      static
        //@@begin id
              String id = "$Id$";
        //@@end
        com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
    Private access to the generated Web Dynpro counterpart
    for this controller class.  </p>
    Use <code>wdThis</code> to gain typed access to the context,
    to trigger navigation via outbound plugs, to get and enable/disable
    actions, fire declared events, and access used controllers and/or
    component usages.
    @see com.stepan.app.wdp.IPrivateDetailsView for more details
      private final IPrivateDetailsView wdThis;
    Root node of this controller's context. </p>
    Provides typed access not only to the elements of the root node
    but also to all nodes in the context (methods node<i>XYZ</i>())
    and their currently selected element (methods current<i>XYZ</i>Element()).
    It also facilitates the creation of new elements for all nodes
    (methods create<i>XYZ</i>Element()). </p>
    @see com.stepan.app.wdp.IPrivateDetailsView.IContextNode for more details.
      private final IPrivateDetailsView.IContextNode wdContext;
    A shortcut for <code>wdThis.wdGetAPI()</code>. </p>
    Represents the generic API of the generic Web Dynpro counterpart
    for this controller. </p>
      private final com.sap.tc.webdynpro.progmodel.api.IWDViewController wdControllerAPI;
    A shortcut for <code>wdThis.wdGetAPI().getComponent()</code>. </p>
    Represents the generic API of the Web Dynpro component this controller
    belongs to. Can be used to access the message manager, the window manager,
    to add/remove event handlers and so on. </p>
      private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
      public DetailsView(IPrivateDetailsView wdThis)
        this.wdThis = wdThis;
        this.wdContext = wdThis.wdGetContext();
        this.wdControllerAPI = wdThis.wdGetAPI();
        this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
      //@@begin javadoc:wdDoInit()
         /** Hook method called to initialize controller. */
      //@@end
      public void wdDoInit()
        //@@begin wdDoInit()
              wdThis.wdGetDetailsCompController().CalRFC();
              try {
                   IUser user = WDClientUser.getCurrentUser().getSAPUser();
              } catch (Exception e) {
                   wdThis
                        .wdGetAPI()
                        .getComponent()
                        .getMessageManager()
                        .reportException(
                        e.toString(),
                        false);
        //@@end
      //@@begin javadoc:wdDoExit()
         /** Hook method called to clean up controller. */
      //@@end
      public void wdDoExit()
        //@@begin wdDoExit()
        //@@end
      //@@begin javadoc:wdDoModifyView
    Hook method called to modify a view just before rendering.
    This method conceptually belongs to the view itself, not to the
    controller (cf. MVC pattern).
    It is made static to discourage a way of programming that
    routinely stores references to UI elements in instance fields
    for access by the view controller's event handlers, and so on.
    The Web Dynpro programming model recommends that UI elements can
    only be accessed by code executed within the call to this hook method.
    @param wdThis Generated private interface of the view's controller, as
           provided by Web Dynpro. Provides access to the view controller's
           outgoing controller usages, etc.
    @param wdContext Generated interface of the view's context, as provided
           by Web Dynpro. Provides access to the view's data.
    @param view The view's generic API, as provided by Web Dynpro.
           Provides access to UI elements.
    @param firstTime Indicates whether the hook is called for the first time
           during the lifetime of the view.
      //@@end
      public static void wdDoModifyView(IPrivateDetailsView wdThis, IPrivateDetailsView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
            if(firstTime)
              IWDNode node = wdContext.nodeZdetail();
              // getting ZDetail Node information
              IPrivateDetailsView.IShipmentTableNode ShipmentTableNode =
                   wdContext.nodeShipmentTable();
              IPrivateDetailsView.IProcessOrderTableNode ProcessOrderTableNode =
                   wdContext.nodeProcessOrderTable();
              IPrivateDetailsView.IReceiptTableNode ReceiptTableNode =
                   wdContext.nodeReceiptTable();
              IPrivateDetailsView.ITankTransferTableNode TankTransferTableNode =
                   wdContext.nodeTankTransferTable();
              //Getting Popupwindow information
              for (int i = 0; i < node.size(); i++) { //Loop for populating table
                   IPrivateDetailsView.IZdetailElement ele =
                        wdContext.nodeZdetail().getZdetailElementAt(i);
                   //Checking whether Clicked button is Shipping
                   if (wdContext.currentContextElement().getType().equals("SH")) {
                        String country=null;          
                        try {
                              IUser     user = WDClientUser.getCurrentUser().getSAPUser();
                              country = user.getCountry();
                             } catch (Exception e) {
                                                           wdThis
                                                                  .wdGetAPI()
                                                                .getComponent()
                                                                .getMessageManager()
                                                                .reportException(
                                                                e.toString(),
                                                                false);
                        int ZslotNo = Integer.parseInt(ele.getZslotno());
                        int SelectedSlotNo =
                             Integer.parseInt(
                             wdContext.currentContextElement().getSlotNo());
                        if (ZslotNo == SelectedSlotNo
                             && ele.getZdoctype().equals("SH"))
                             IPrivateDetailsView.IShipmentTableElement ele1 =
                             wdContext.createShipmentTableElement();
                             ele1.setCustomerName(ele.getName());
                             ele1.setDestinationCity(ele.getCity());
                             ele1.setMaterialName(ele.getMattext());
                        try{          
                            if(country.equals("FR"))
                                  ele1.setQuantity(ele.getQuantity());
                             else{
                             Locale locale = Locale.GERMAN;
                             String s1=ele.getQuantity().trim();
                             Number number = NumberFormat.getNumberInstance(locale).parse(s1);
                             NumberFormat formatter = new DecimalFormat("#,###,###.##" );
                            String s= (formatter.format(number.doubleValue()));
                             ele1.setQuantity(s);
                               catch(Exception e)
                                  wdThis
                                            .wdGetAPI()
                                            .getComponent()
                                            .getMessageManager()
                                            .reportException(
                                            e.toString(),
                                            false);
                             ele1.setShipmentNumber(ele.getZdocnumber());
                             ele1.setUnit(ele.getSales_Unit());
                             String ChangedDateFormat=wdThis.DisplayingDateFormat(ele.getSched_Date());
                             ele1.setShipmentDate(ChangedDateFormat);
                             ele1.setShipmentTime(ele.getSched_Time());
                             ShipmentTableNode.addElement(ele1);
                  //Checking whether Clicked button is PO
                   //Getting Process Order node information
                   if (wdContext.currentContextElement().getType().equals("PP")) {
                        String country=null;          
                        try {
                              IUser     user = WDClientUser.getCurrentUser().getSAPUser();
                              country = user.getCountry();
                             } catch (Exception e) {
                                                 wdThis
                                                           .wdGetAPI()
                                                           .getComponent()
                                                           .getMessageManager()
                                                           .reportException(
                                                           e.toString(),
                                                           false);
                        int ZslotNo = Integer.parseInt(ele.getZslotno());
                        int SelectedSlotNo =
                             Integer.parseInt(
                             wdContext.currentContextElement().getSlotNo());
                        if (ZslotNo == SelectedSlotNo
                             && ele.getZdoctype().equals("PP"))                         
                             IPrivateDetailsView.IProcessOrderTableElement ele2 =
                             wdContext.createProcessOrderTableElement();
                             ele2.setResourceName(ele.getWorkcenter());
                             ele2.setMaterialNumber(ele.getMattext());
                        try{     
                              if(country.equals("FR"))
                                  ele2.setQuantity(ele.getQuantity());
                             else{     
                               Locale locale = Locale.GERMAN;
                               String s1=ele.getQuantity().trim();
                               Number number = NumberFormat.getNumberInstance(locale).parse(s1);
                               NumberFormat formatter = new DecimalFormat("#,###,###.##" );
                           String s= (formatter.format(number.doubleValue()));
                               ele2.setQuantity(s);
                          catch(Exception e)
                                              wdThis
                                                                  .wdGetAPI()
                                                                  .getComponent()
                                                                  .getMessageManager()
                                                                  .reportException(
                                                                  e.toString(),
                                                                  false);
                            ele2.setUnit(ele.getSales_Unit());
                             String ChangedDateFormat=wdThis.DisplayingDateFormat(ele.getSched_Start_Date());                                   
                             ele2.setProcessOrderStartDate(ChangedDateFormat);
                             ele2.setProcessOrderStartTime(ele.getSched_Start_Time());
                             String ChangedDateFormat1=wdThis.DisplayingDateFormat(ele.getSched_Date());
                             ele2.setProcessOrderTEnddate(ChangedDateFormat1);
                             ele2.setProcessOrderTEndTime(ele.getSched_Time());
                             ele2.setProcessOrderNo(ele.getZdocnumber());
                             ProcessOrderTableNode.addElement(ele2);
                   //Checking whether Clicked button is Receipt Image
                   //Populating Receipt Table with current context elements
                   if (wdContext.currentContextElement().getType().equals("PO")) {
                        String country=null;          
                        try {
                              IUser     user = WDClientUser.getCurrentUser().getSAPUser();
                              country = user.getCountry();
                             } catch (Exception e) {
                                                           wdThis
                                                                .wdGetAPI()
                                                                .getComponent()
                                                                .getMessageManager()
                                                                .reportException(
                                                                e.toString(),
                                                                false);
                        int ZslotNo = Integer.parseInt(ele.getZslotno());
                        int SelectedSlotNo =
                             Integer.parseInt(
                                  wdContext.currentContextElement().getSlotNo());
                        if (ZslotNo == SelectedSlotNo
                             && ele.getZdoctype().equals("PO")) {
                             IPrivateDetailsView.IReceiptTableElement ele3 =
                             wdContext.createReceiptTableElement();
                             ele3.setMaterialName(ele.getMattext());
                        try{
                             if(country.equals("FR"))
                             ele3.setReceiptQuantity(ele.getQuantity());
                             else{
                                  Locale locale = Locale.GERMAN;
                                  String s1=ele.getQuantity().trim();
                                  Number number = NumberFormat.getNumberInstance(locale).parse(s1);
                                  NumberFormat formatter = new DecimalFormat("#,###,###.##" );
                                  String s= (formatter.format(number.doubleValue()));
                                  ele3.setReceiptQuantity(s);
                             catch(Exception e)
                                  wdThis
                                            .wdGetAPI()
                                            .getComponent()
                                            .getMessageManager()
                                            .reportException(
                                            e.toString(),
                                            false);
                             String ChangedDateFormat=wdThis.DisplayingDateFormat(ele.getSched_Date());
                             ele3.setPlannedReceiptsDate(ChangedDateFormat);
                             ele3.setPlannedReceiptsTime(ele.getSched_Time());
                             ele3.setVenderName(ele.getName());
                             ele3.setUnit(ele.getSales_Unit());
                             ele3.setPurchaseOrderNo(ele.getZdocnumber());
                            ReceiptTableNode.addElement(ele3);
                   //     Checking whether Clicked button is TankTransfer Image
                   //Populating Tank Transfer Table with current context elements     
                   if (wdContext.currentContextElement().getType().equals("PI")) {
                   String country=null;          
                        try {
                                IUser     user = WDClientUser.getCurrentUser().getSAPUser();
                                country = user.getCountry();
                              } catch (Exception e) {
                                       wdThis
                                            .wdGetAPI()
                                            .getComponent()
                                            .getMessageManager()
                                            .reportException(
                                            e.toString(),
                                            false);
                        int ZslotNo = Integer.parseInt(ele.getZslotno());
                        int SelectedSlotNo =
                             Integer.parseInt(
                                  wdContext.currentContextElement().getSlotNo());
                        if (ZslotNo == SelectedSlotNo
                             && ele.getZdoctype().equals("PI")) {
                             IPrivateDetailsView.ITankTransferTableElement ele4 =
                             wdContext.createTankTransferTableElement();
                             ele4.setResourceName(ele.getWorkcenter());
                             ele4.setMaterialName(ele.getMattext());
                        try{          
                             if(country.equals("FR"))
                                       ele4.setQuantity(ele.getQuantity());
                                  else{
                                       Locale locale = Locale.GERMAN;
                                       String s1=ele.getQuantity().trim();
                                       Number number = NumberFormat.getNumberInstance(locale).parse(s1);
                                       NumberFormat formatter = new DecimalFormat("#,###,###.##");
                                       String s= (formatter.format(number.doubleValue()));
                                       ele4.setQuantity(s);
                             catch(Exception e)
                             wdThis
                                       .wdGetAPI()
                                       .getComponent()
                                       .getMessageManager()
                                       .reportException(
                                       e.toString(),
                                       false);
                         ele4.setPIEndDate(ele.getSched_Start_Time());
                             ele4.setPlannedEndTime(ele.getSched_Time());
                             ele4.setUnit(ele.getSales_Unit());
                             ele4.setProcessOrderNo(ele.getZdocnumber());
                             String ChangedDateFormat=wdThis.DisplayingDateFormat(ele.getSched_Start_Date());
                             ele4.setPIStartDate(ChangedDateFormat);
                             String ChangedDateFormat1=wdThis.DisplayingDateFormat(ele.getSched_Date());
                             ele4.setPlannedEndDate(ChangedDateFormat1);
                             ele4.setPIEndDate(ele.getSched_Start_Time());
                             TankTransferTableNode.addElement(ele4);
         // Table sorting
       // Sorting Shipment Table
              IWDTable SortShipmentTable = (IWDTable) view.getElement("ShipmentTable");
          wdContext.currentContextElement().setShipmentTableSorter(
            new TableSorter(SortShipmentTable, wdThis.wdGetSortAction(), null));
    //        Sorting Receipt Table
            IWDTable SortReceiptTable = (IWDTable) view.getElement("ReceiptTable");
         wdContext.currentContextElement().setReceiptTableSorter(
           new TableSorter(SortReceiptTable, wdThis.wdGetReceiptTableSortAction(), null));
    //       Sorting TankTransfer Table
           IWDTable SortTankTransferTable = (IWDTable) view.getElement("TankTransferTable");
       wdContext.currentContextElement().setTankTransferTableSorter(
          new TableSorter(SortTankTransferTable, wdThis.wdGetTankTransferTableSortAction(), null));
    //      Sorting ProcessOrder Table
          IWDTable SortProcessOrderTable = (IWDTable) view.getElement("ProcessOrderTable");
      wdContext.currentContextElement().setProcessOrderTableSorter(
         new TableSorter(SortProcessOrderTable, wdThis.wdGetProcessOrderTableSortAction(), null));
        //@@end
      //@@begin javadoc:DisplayingDateFormat()
      /** Declared method. */
      //@@end
      public java.lang.String DisplayingDateFormat( java.lang.String date )
        //@@begin DisplayingDateFormat()
         //SimpleDateFormat sdf = new SimpleDateFormat("MM.dd.yyyy");
         SimpleDateFormat sdf = new SimpleDateFormat("dd.MM.yyyy");
         String ChangedDateFormat=null;
    try{
         //Parsing String to Date
         Date sqlDate =sdf.parse(date);
         //       Getting User Locale
          Locale userLocale=WDClientUser.getCurrentUser().getLocale();
          DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.DEFAULT, userLocale);
          //Converting Date to String
         String newDateString = dateFormat.format(sqlDate);
          //binding to Table UI element
          ChangedDateFormat=newDateString;
    catch(Exception e)
         wdThis
                             .wdGetAPI()
                             .getComponent()
                             .getMessageManager()
                             .reportException(
                             e.toString(),
                             false);
        return ChangedDateFormat;
        //@@end
      //@@begin javadoc:getShipmentVisibilityShipmentVisibility(IPrivateDetailsView.IShipmentVisibilityElement)
    Declared getter method for attribute ShipmentVisibility of node ShipmentVisibility
    @param element the element requested for the value
    @return the calculated value for attribute ShipmentVisibility
      //@@end
      public com.sap.tc.webdynpro.progmodel.api.WDVisibility getShipmentVisibilityShipmentVisibility(IPrivateDetailsView.IShipmentVisibilityElement element)
        //@@begin getShipmentVisibilityShipmentVisibility(IPrivateDetailsView.IShipmentVisibilityElement)
              if (wdContext.currentContextElement().getType().equals("SH"))
                   return WDVisibility.VISIBLE;
              else
                   return WDVisibility.NONE;
              //return null;
        //@@end
      //@@begin javadoc:setShipmentVisibilityShipmentVisibility(IPrivateDetailsView.IShipmentVisibilityElement, com.sap.tc.webdynpro.progmodel.api.WDVisibility)
    Declared setter method for attribute ShipmentVisibility of node ShipmentVisibility
    @param element the element to change the value
    @param value the new value for attribute ShipmentVisibility
      //@@end
      public void setShipmentVisibilityShipmentVisibility(IPrivateDetailsView.IShipmentVisibilityElement element, com.sap.tc.webdynpro.progmodel.api.WDVisibility value)
        //@@begin setShipmentVisibilityShipmentVisibility(IPrivateDetailsView.IShipmentVisibilityElement, com.sap.tc.webdynpro.progmodel.api.WDVisibility)
        //@@end
      //@@begin javadoc:getReceiptVisibilityReceiptVisibility(IPrivateDetailsView.IReceiptVisibilityElement)
    Declared getter method for attribute ReceiptVisibility of node ReceiptVisibility
    @param element the element requested for the value
    @return the calculated value for attribute ReceiptVisibility
      //@@end
      public com.sap.tc.webdynpro.progmodel.api.WDVisibility getReceiptVisibilityReceiptVisibility(IPrivateDetailsView.IReceiptVisibilityElement element)
        //@@begin getReceiptVisibilityReceiptVisibility(IPrivateDetailsView.IReceiptVisibilityElement)
              if (wdContext.currentContextElement().getType().equals("PO"))
                   return WDVisibility.VISIBLE;
              else
                   return WDVisibility.NONE;
              //return null;
        //@@end
      //@@begin javadoc:setReceiptVisibilityReceiptVisibility(IPrivateDetailsView.IReceiptVisibilityElement, com.sap.tc.webdynpro.progmodel.api.WDVisibility)
    Declared setter method for attribute ReceiptVisibility of node ReceiptVisibility
    @param element the element to change the value
    @param value the new value for attribute ReceiptVisibility
      //@@end
      public void setReceiptVisibilityReceiptVisibility(IPrivateDetailsView.IReceiptVisibilityElement element, com.sap.tc.webdynpro.progmodel.api.WDVisibility value)
        //@@begin setReceiptVisibilityReceiptVisibility(IPrivateDetailsView.IReceiptVisibilityElement, com.sap.tc.webdynpro.progmodel.api.WDVisibility)
        //@@end
      //@@begin javadoc:getProcessOrderVisibilityProcessOrderVisibility(IPrivateDetailsView.IProcessOrderVisibilityElement)
    Declared getter method for attribute ProcessOrderVisibility of node ProcessOrderVisibility
    @param element the element requested for the value
    @return the calculated value for attribute ProcessOrderVisibility
      //@@end
      public com.sap.tc.webdynpro.progmodel.api.WDVisibility getProcessOrderVisibilityProcessOrderVisibility(IPrivateDetailsView.IProcessOrderVisibilityElement element)
        //@@begin getProcessOrderVisibilityProcessOrderVisibility(IPrivateDetailsView.IProcessOrderVisibilityElement)
              if (wdContext.currentContextElement().getType().equals("PP"))
                   return WDVisibility.VISIBLE;
              else
                   return WDVisibility.NONE;
              //return null;
        //@@end
      //@@begin javadoc:setProcessOrderVisibilityProcessOrderVisibility(IPrivateDetailsView.IProcessOrderVisibilityElement, com.sap.tc.webdynpro.progmodel.api.WDVisibility)
    Declared setter method for attribute ProcessOrderVisibility of node ProcessOrderVisibility
    @param element the element to change the value
    @param value the new value for attribute ProcessOrderVisibility
      //@@end
      public void setProcessOrderVisibilityProcessOrderVisibility(IPrivateDetailsView.IProcessOrderVisibilityElement element, com.sap.tc.webdynpro.progmodel.api.WDVisibility value)
        //@@begin setProcessOrderVisibilityProcessOrderVisibility(IPrivateDetailsView.IProcessOrderVisibilityElement, com.sap.tc.webdynpro.progmodel.api.WDVisibility)
        //@@end
      //@@begin javadoc:getTankTransferVisibilityTankTransferVisbility(IPrivateDetailsView.ITankTransferVisibilityElement)
    Declared getter method for attribute TankTransferVisbility of node TankTransferVisibility
    @param element the element requested for the value
    @return the calculated value for attribute TankTransferVisbility
      //@@end
      public com.sap.tc.webdynpro.progmodel.api.WDVisibility getTankTransferVisibilityTankTransferVisbility(IPrivateDetailsView.ITankTransferVisibilityElement element)
        //@@begin getTankTransferVisibilityTankTransferVisbility(IPrivateDetailsView.ITankTransferVisibilityElement)
              if (wdContext.currentContextElement().getType().equals("PI"))
                   return WDVisibility.VISIBLE;
              else
                   return WDVisibility.NONE;
              //return null;
        //@@end
      //@@begin javadoc:setTankTransferVisibilityTankTransferVisbility(IPrivateDetailsView.ITankTransferVisibilityElement, com.sap.tc.webdynpro.progmodel.api.WDVisibility)
    Declared setter method for attribute TankTransferVisbility of node TankTransferVisibility
    @param element the element to change the value
    @param value the new value for attribute TankTransferVisbility
      //@@end
      public void setTankTransferVisibilityTankTransferVisbility(IPrivateDetailsView.ITankTransferVisibilityElement element, com.sap.tc.webdynpro.progmodel.api.WDVisibility value)
        //@@begin setTankTransferVisibilityTankTransferVisbility(IPrivateDetailsView.ITankTransferVisibilityElement, com.sap.tc.webdynpro.progmodel.api.WDVisibility)
        //@@end
      //@@begin javadoc:onActionSort(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionSort(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionSort(ServerEvent)
         wdContext.currentContextElement().getShipmentTableSorter().sort(wdEvent,wdContext.nodeShipmentTable());
        //@@end
      //@@begin javadoc:onActionReceiptTableSort(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionReceiptTableSort(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionReceiptTableSort(ServerEvent)
         wdContext.currentContextElement().getReceiptTableSorter().sort(wdEvent,wdContext.nodeReceiptTable());
        //@@end
      //@@begin javadoc:onActionProcessOrderTableSort(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionProcessOrderTableSort(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionProcessOrderTableSort(ServerEvent)
         wdContext.currentContextElement().getProcessOrderTableSorter().sort(wdEvent,wdContext.nodeProcessOrderTable());
        //@@end
      //@@begin javadoc:onActionTankTransferTableSort(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionTankTransferTableSort(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionTankTransferTableSort(ServerEvent)
         wdContext.currentContextElement().getTankTransferTableSorter().sort(wdEvent,wdContext.nodeTankTransferTable());
        //@@end
    The following code section can be used for any Java code that is
    not to be visible to other controllers/views or that contains constructs
    currently not supported directly by Web Dynpro (such as inner classes or
    member variables etc.). </p>
    Note: The content of this section is in no way managed/controlled
    by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
      //@@end
    content of obsolete user coding area(s) -
    //@@begin obsolete:javadoc:onActionSubmit(ServerEvent)
    //  /** Declared validating event handler. */
    //@@end
    //@@begin obsolete:onActionClose(ServerEvent)
    //@@end
    //@@begin obsolete:javadoc:DisplayingNumberFormat()
    //  /** Declared method. */
    //@@end
    //@@begin obsolete:javadoc:onActionClose(ServerEvent)
    //     /** Declared validating event handler. */
    //@@end
    i will be waiting for your reply.
    Thanks and Regards,
    Abhi.

  • Problem with BAPI (Flight) Tutorial

    Hi,
    Im new in developeing with Web Dynpro for Java.
    I did every steps of this tutorial (Adaptive RFC tutorial - with the BAP_Flight_Getlist) exactly:
    http://help.sap.com/saphelp_webas630/helpdata/DE/b2/326b09e58bcf499f73b5cc278808f4/content.htm
    But i can not deploy the application - Error: deployment aborted.
    05.04.2008 11:00:23 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [022]Deployment aborted
    Settings
    SDM host : dmhpnb34
    SDM port : 50018
    URL to deploy : file:/C:/DOKUME1/ADMINI1/LOKALE~1/Temp/temp29689Flights.ear
    Result
    => deployment aborted : file:/C:/DOKUME1/ADMINI1/LOKALE~1/Temp/temp29689Flights.earAborted: development component 'Flights'/'local'/'LOKAL'/'0.2008.04.05.11.00.19'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application local/Flights.. Reason: Clusterwide exception: Failed to deploy application local/Flights. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/Flights. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    My SLD is working, also my JCOS, so there should not be the problem.
    Are there more good small tutorials (like this flight tutorial) with Web Dynpro and BAPI ?!

    thx for the advise. I developed the tuturial application again and can now run it. But if i click on search button  with the entered values Departure City: Frankfurt and Arrival City: New York
    i get no values in the table (i checked in the ERP System if the flights with this directions exists - its there):
    Custom Controller Code:
    // This file has been generated partially by the Web Dynpro Code Generator.
    // MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
    // ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
    package mypackages;
    // IMPORTANT NOTE:
    // ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
    // BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
    // AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateFlightsController).
    // OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
    // A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
    // OF IMPORT STATEMENTS.
    //@@begin imports
    import mypackages.model.Bapi_Flight_Getlist_Input;
    import mypackages.model.Bapisfldst;
    import mypackages.model.FlightModel;
    import mypackages.wdp.IPrivateFlightsController;
    import com.sap.mw.jco.JCO;
    import com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory;
    import com.sap.tc.webdynpro.progmodel.model.api.WDModelScopeType;
    //@@end
    //@@begin documentation
    //@@end
    public class FlightsController
    Logging location.
      private static final com.sap.tc.logging.Location logger =
        com.sap.tc.logging.Location.getLocation(FlightsController.class);
      static
        //@@begin id
        String id = "$Id$";
        //@@end
        com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
    Private access to the generated Web Dynpro counterpart
    for this controller class.  </p>
    Use <code>wdThis</code> to gain typed access to the context,
    to trigger navigation via outbound plugs, to get and enable/disable
    actions, fire declared events, and access used controllers and/or
    component usages.
    @see mypackages.wdp.IPrivateFlightsController for more details
      private final IPrivateFlightsController wdThis;
    Root node of this controller's context. </p>
    Provides typed access not only to the elements of the root node
    but also to all nodes in the context (methods node<i>XYZ</i>())
    and their currently selected element (methods current<i>XYZ</i>Element()).
    It also facilitates the creation of new elements for all nodes
    (methods create<i>XYZ</i>Element()). </p>
    @see mypackages.wdp.IPrivateFlightsController.IContextNode for more details.
      private final IPrivateFlightsController.IContextNode wdContext;
    A shortcut for <code>wdThis.wdGetAPI()</code>. </p>
    Represents the generic API of the generic Web Dynpro counterpart
    for this controller. </p>
      private final com.sap.tc.webdynpro.progmodel.api.IWDController wdControllerAPI;
    A shortcut for <code>wdThis.wdGetAPI().getComponent()</code>. </p>
    Represents the generic API of the Web Dynpro component this controller
    belongs to. Can be used to access the message manager, the window manager,
    to add/remove event handlers and so on. </p>
      private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
      public FlightsController(IPrivateFlightsController wdThis)
        this.wdThis = wdThis;
        this.wdContext = wdThis.wdGetContext();
        this.wdControllerAPI = wdThis.wdGetAPI();
        this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
      //@@begin javadoc:wdDoInit()
      /** Hook method called to initialize controller. */
      //@@end
      public void wdDoInit()
        //@@begin wdDoInit()
         Bapi_Flight_Getlist_Input input = new Bapi_Flight_Getlist_Input();
              wdContext.nodeBapi_Flight_Getlist_Input().bind(input);
              Bapisfldst bapisfldstFrom = new Bapisfldst();
              input.setDestination_From(bapisfldstFrom);
              Bapisfldst bapisfldstTo = new Bapisfldst();
              input.setDestination_To(bapisfldstTo);  
              // Creates an instance of a client to the remote SAP system   
              client = JCO.createClient("800",          //SAP logon client number
                                              "Andreas",            //SAP logon user
                                              "*****",        //SAP logon password
                                              "DE",        //SAP logon language
                                              "dmsaperp",        //Host name of application server
                                              "00");          //SAP system number
              // Creates the model instance
              model = (FlightModel)WDModelFactory.getModelInstance( FlightModel.class, WDModelScopeType.APPLICATION_SCOPE);
              // Assigns the client to the model
              model.setJcoClient(client);   
        //@@end
      //@@begin javadoc:wdDoExit()
      /** Hook method called to clean up controller. */
      //@@end
      public void wdDoExit()
        //@@begin wdDoExit()
        //@@end
      //@@begin javadoc:getFlights()
      /** Declared method. */
      //@@end
      public void getFlights( )
        //@@begin getFlights()
        //@@end
    The following code section can be used for any Java code that is
    not to be visible to other controllers/views or that contains constructs
    currently not supported directly by Web Dynpro (such as inner classes or
    member variables etc.). </p>
    Note: The content of this section is in no way managed/controlled
    by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
      JCO.Client client;
         FlightModel model;
      //@@end
    content of obsolete user coding area(s) -
    //@@begin obsolete:getFlights()^
    //     client.connect();
    //        try {
    //        // Calls remote Function Module BAPI_FLIGHT_GETLIST 
    //        wdContext.currentBapi_Flight_Getlist_InputElement().modelObject().execute();
    //        catch (Exception ex) {
    //            ex.printStackTrace();
    //        finally {
    //           client.disconnect();
    //        // Invalidates the output context node
    //        wdContext.nodeOutput().invalidate();
    //@@end

  • Today's update to OS X (10.8.5) seems to have lost several of my important mailboxes

    These were important, and unfortunately because this is a new MacBook, I hadn't yet procured a disk to do TM backups.

    I found out why it did it to me:  When it auto-logged me out to do the upgrade and then back in (no user choice provided) it logged me back in as a different (obsolete) user.  Need to get rid of that, if I can figure out how...
    Once I realized that and changed user names, all mailbox folders were back.

  • ICloud account problem on used iPhone

    "this device is no longer eligible for creating a free icloud account" what that mean and how to resolve this problem

    You need to go into Manage your Apple ID and change your Apple ID to the obsolete user name. Don't worry about verifying it, you will only have that ID on there for a moment.
    Then go back to your phone, and click on the Delete option at the bottom of the screen on Settings>iCloud. When it asks for a password, put in your current password. That should enable you to turn off Find My iPhone and delete the iCloud account.
    Then go back to Manage your Apple ID and change your ID back to your current ID.
    Go back to the phone and sign onto iCloud with your current ID and password.
    Manage your Apple ID: https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    Cheers,
    GB

  • IPhone 5 and Facebook

    Facebook keeps asking me to sign on with an old/obsolete user ID (email address)..  My facebook account settings have the correct email address.
    This has only happened since all the updates.  Should delete the app from my phone and reinstall?

    Deleting and reinstalling the app certainly won't hurt.

Maybe you are looking for

  • My Ipod nano 4th generation will not charge or turn on! Please help

    I bought a refurbished Ipod nano 4th generation 2 weeks ago from a good reliable ebay seller. It arrived and was in great working order with no issues what so ever. However this evening I realised it was out of battery, so I went to charge it and not

  • How to use document() function in PL/SQL XSLT parser ?

    The "XDB Developers Guide" documentation says on page 12-18 > The application can use DBUriType objects: To make references, such as import or include, to related XSL stylesheets. You can encode these references within the XSL stylesheet itself. foll

  • Performance of Adobe Reader 8.0.0

    I have upgraded to 8.0.0 and found a CPU spike when I do anything in Adobe Reader. Windows XP SP3 E.g. I scroll a document and everything freezes for a second and then continues again. It also happens if I select some text. The same document in versi

  • Need download for Acrobat 6.0 Pro Upgrade

    I'm using Acrobat 9 on my new computer but still use the old 6.0 on old one.  I just updated the old one and it says my download file is corrupt when I go to install on the "newer" system.  The product is shown as active on my Adobe account but I can

  • DNG codec doesn't support descriptive tags in Windows 7

    I installed the Adobe DNG codec yesterday which does indeed make it possible for Windows Explorer, Windows Media Player, Windows Live Photo Gallery and Windows Media Center to display DNG files (as thumbnails and as full sized images).  I discovered