Objective-C categories ans autorotation

Hello everyone,
I'm nut sure if I fully understand the [Reference|http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC /Articles/chapter4_section_2.html#//appleref/doc/uid/TP30001163-CH20-TPXREF139] regarding categories (Yes, I've read it thoroughly).
First of all, this piece of code works fine:
@interface RotatingUIViewController : UIViewController
@end
@implementation RotatingUIViewController : UIViewController
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return YES; // I want some autorotation for my app
- (void) viewWillAppear:(BOOL)animated {
NSLog(@"%@ will appear",[self className]); // just for testing
@end
// now add a RotatingViewController in the main app delegate
Autorotation does work, and I get "+RotatingUIViewController will appear+" as expected.
Now let's try the same thing with a categorized UIViewController:
@interface UIViewController (foobar)
@end
@implementation UIViewController (foobar)
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return YES; // I want some autorotation for my app
- (void) viewWillAppear:(BOOL)animated {
NSLog(@"%@ will appear",[self className]); // just for testing
@end
// use UIViewController as usual
Okay, I do get a "+UIViewController will appear+" in the console, but the view does not autorotate.
Any ideas what's wrong?
Regards, Thomas

Actually I was concerned with the object, variable result is pointing to in the method add. By this I mean when the function returns, the reference to the object that result was pointing to will be returned and stored in ans. (Will the reference count) of that object will be affected. And also since the function returned we can no longer access the result hence creating a memory leak

Similar Messages

  • Objects and Categories?

    Hello dear Apple Community,
    I don't even know if the title of my question is right, if it is actually what I want. Let me simply explain what I want to do:
    I have a list of objects. Let's take one object, call it Apple. This object Apple has different stats, in different categories. But I will need this "object" again and again and again in a alost 300 rows long table.
    What I wanna do is kinda save all these stats under the name of "Apples" (in one row, different cols) and if I then type it into the first col of a row it will recognize "Apples" and fill in the rest for me.
    I've tried experimenting with some kinds of categories but the results were disappointing
    I don't even know if this can be done in numbers…I hope it can.
    Thanks in advance for your help

    Take a look at the three LOOKUP functions in the iWork Formulas and Functions User Guide. The guide is available to download through the Help menu in Numbers.
    I'll check in later this evening for any further questions.
    Regards,
    Barry

  • How to Remove a Report Object from a Category Without Deleting It?

    I'm trying to "remove" a report object (in this case a Webi Report) from a Personal Category. However, I've found that when I right-click on the report within the Category and choose "Organize >> Delete", not only does it remove the report from the Category, it also deletes the "source" report from it's original location... not good.  (NOTE: If I try this as a user without rights to delete report objects, I don't even get the "Organize >> Delete" option, as would be expected based on the behavior I'm seeing.)
    Does anyone know if there is a way to "Remove" report objects from Categories without deleting the report from its original location?  The only option I can think of is to simply recreate (copy/paste) the whole category with all of its components (less the undesired report object) and then delete the original Category.
    Thank,
    Josh
    Edited by: Josh Crawford on Sep 9, 2010 9:25 AM

    Hi,
    This is much easier than it looks like, although it's not intuitive.
    For example, when some webi is in a category, categories where the webi is linked are underlined in blue:
    If you click in those blue marked categories and click Accept, you're unlinking the webi/report/dashboard from that category:
    -->
    Hope it helps
    Alberto

  • Problem in System object - Very urgent - Pls help

    Hi ,
    I have installed Portal version SP9 on windows with MS SQL server as database . I am experencing some
    issues during the system object creation for R3 . Below I will specify all the configuration I have done for
    system object creation ,
    1. I have selected the option Dedicated application server for R/3 system .
    2. Under th eproperty category , I have selected Connector and put the following values .
    Application Host  - 128.1.7.2
    Remote Host Type - Select -3
    SAP Client  - 120
    SAP System ID (SID)- DV1
    SAP System Number - 00
    System Type - SAP_R3
    Trace Mode - Select -01
    3 . Then Under the property category , Web Application server ( WAS ) I have selected
    the following properties .
    WAS hostname - 128.1.7.2
    Was Protocol - http
    4 . Next step I have selected the User Management and put the below details
    Logon Method - UIDPW
    usermapping type - admin ,user
    4. I have also created an alias and made it default
    6. Then I have gone to usermapping under the user administration and created the
    user mapping for the user .
    But when I have tested the system object , I am getting the following error .
    SAP Web AS Connection - Jan 1, 1970 8:17:25 AM
      Test Details:
    The test consists of the following steps:
    1. Check that the system object defines an SAP system
    2. Validate the following parameters: wap.WAS.protocol; wap.WAS.hostname
    3. Check the HTTP/S connection to the defined backend application
      Results
    1. The system object represents an SAP system.
    2. The following parameters are valid: wap.WAS.protocol (http) ; wap.WAS.hostname (128.1.7.2)
    3. HTTP/S connection failed. Make sure the protocol, host name, and user mapping are correctly defined.
    ITS Connection - Jan 1, 1970 8:17:25 AM
      Test Details:
    The test consists of the following steps:
    1. Check that the system object defines an SAP system
    2. Validate the following parameters: wap.ITS.path; wap.ITS.protocol; wap.ITS.hostname
    3. Check the HTTP/S connection to the defined backend application
      Results
    1. The system object represents an SAP system.
    2. The following parameters are not valid: wap.ITS.path () ; wap.ITS.protocol () ; wap.ITS.hostname ()
    I really dont know what is foing wrong . Do I need to omit the WAS details which I have mentioned in the step number 3 . What is the
    real use of this step ? Could any body guide me as this is quite urgent
    Thanks
    Aneez

    Hi,
      We have similar setup and having same userids in both R/3 (webas 6.40 based) as well as
    in EP 6.0, so we are not doing any user mapping as recommended. I hope i gave all necessary
    parameters under system object of categories user management with SAPLOGON, connector
    properties and also WAS properties with hostname and type as http. When i try to do test
    connection it is giving following error message:
    SAP Web AS Connection - 
      Test Details:
    The test consists of the following steps:
    1. Check that the system object defines an SAP system
    2. Validate the following parameters: wap.WAS.protocol; wap.WAS.hostname
    3. Check the HTTP/S connection to the defined backend application
      Results
    1. The system object represents an SAP system.
    2. The following parameters are valid: wap.WAS.protocol (http) ; wap.WAS.hostname (xxxxxxxx)
    3. HTTP/S connection failed. Make sure the protocol, host name, and user mapping are
    correctly defined.
    Test Connection with Connector - Jan 1, 1970 6:40:19 PM
      Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this
    system object
      Results
    Retrieval of default alias successful
    Connection successful
    Also when i try to do the testing of transaction from :
    System Adm.>Support.>SAP Application>SAP transaction>
    Select the system and Tcode and most important SAP GUI type = SAP GUI for Windows
    i am getting connection broken error.
    Let me know is there anything in specific which is missing.
    Thanks

  • JDeveloper Categories

    Does anybody know anything about Oracle 9i JDeveloper having access to Report Objects under Categories?
    According to Oracle demo, there is supposed to be a selection in the "New" menu called "Report Objects" in Oracle9i JDeveloper. Well, I definitely do not have this selection in any of my Oracle9i JDeveloper versions. Loaded JDev 9 0 3 currently.
    Is there a download? Patch? Do I have to load the software in some order? The demo shows JDeveloper having a Report Objects for JSP files.
    Thanks for your help in advance.

    You get the reports option when you install Oracle9iDS that has both reports and JDeveloper.
    The only problem is that this is currently using JDeveloper 9.0.2

  • Urgent: Application Object Type for ALE IDoc

    Hi All,
    I am struggling with ALE IDoc, I just wanted to know that is it mandatory to create Application Object Type when i have created my own message type, Idoc type, segment type and Function Module. I am Getting an error while excuting transaction we42( Maintaining Process code)
    Error: Application Object Type is not planned.
    Please Help with this.  i don't have any requirement of filtering or serialisation, so still do i need to create these application objects.
    Useful ans will be rewarded.
    Thanx

    Hi,
    Yes u need to have the assignment of Object type as ur extending the IDOC.
    Check the steps below:
    TCode- BD95.
    Create ALE object type  “Z...”  with table name “EKKO” and Field name “-BSART”
    Step2:
    Tcode- BD59 – “Assignment of Object type to Message”
    Give the message type “ORDERS”.
    Assign the object type “Z........” to segment type “E1EDK01’ with field “BSART”.
    Regards
    Kannaiah

  • Linking Account Object to the Dealer Object

    Hi,
    Has anyone tried to use the Dealer object?
    It seems that linking an account to the dealer object requires categorizing the account type to 'Dealer' from the pick list. If I change the value it still works. However, we have more than 1 dealer type and would like to use multiple values that will all do the linking.
    Does anyone know if there exist other values that link the 2 objects or whether there is a way to add new values that will link the 2 objects?
    Thanks.

    Colin,
    Not sure what you are trying to do, but the dealer object is same as account with the account type of dealer. If you are familiar with enterprise Siebel just consider it as a business component that references the account table with a search specification for account type = "dealer"
    You can have a field on the dealer or account called dealer type make this a cascase picklist to account type and classify the two types of dealers - am not sure if this is what you are trying to do.
    If you are creating an activity or an opportunity there is an account field as well as a dealer field (You will have to configure this on your page layout), in this way you can reference your activity or opportunity to both dealer and account. Am not exactly sure if this is what you are looking for.
    The sad part of using dealers/ Vehicles is currently there is no reporting capability for both these objects, you can try doing some reporting using the account/asset object respectively - it could get bit confusing.
    Hope this helps.

  • Past due PurRqs are getting deleted in APO but not getting deletd in R3

    Hi folks,
    We have a daily job, which runs at 18:00 hrs in the evening everyday in the APO Production System.The job is to delete all past due Purchase Requisitions for last 2 years (job & variant details are mentioned below) All the past due PurRqs are getting deleted from APO, which we have cross-cheked in RRP3 view many times.
    However the same is not getting deleted in R3 systems. The planner/end- user is getting confused & hassled by this list of old PurRqs which is visible in R3 through MD04 t-code.
    Please suggest remedial/corrective actions to get this issue sorted.
    The job details for the deletion of past purchase requisitions.
    The job is run with the following variant details:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ABAP Program name :/SAPAPO/RLCDELETE
    VARIANT Details
    Select Object-> By Categories ->Category = AG (PurRqs in R3)
    Manual Selection-> Version =000; Product = (blank); Location = List ofall locations;
    Fixed Order (ticked)
    Period = 14.03.2009 to 14.03.2011 {All PurRqs in these period shouldget deleted in APO as well as R3}
    Settings-> Delete Transaction Data ->In R3 & APO (ticked)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Past due PurRqs are not getting deleted in R3 systems. The planner/end-user is getting confused & hassled resulting in loss of productive time & generation of erroneous planning which is negatively impacting Business.
    Pls suggest some remedy for this.
    MMTIA
    Kumar
    Edited by: Blue Lotus on Mar 14, 2011 5:51 PM

    Do you run the CCR on a daily basis. If so do you see the "reqs missing in R/3" in the CCR ?
    Also what is your transfer setting ? Meaning the transfer from APO to R/3 configuration  - is it immediate or change pointer based ? check that also
    Thanks
    Aparna

  • Organization Management Interview Questions and Answers  Extremely Urgent

    Hi,
    Please let me know Organization Management Interview Questions and Answers. MOST MOST URGENT
    Please do not post Link or website name and detail response will be highly appreciated.
    Very Respectfully,
    Sameer.
    SAP HR .

    Hi there,
    Pl. find herewith the answers of the questions posted on the forum.
    1. What are plan versions used for?
    Ans : Plan versions are scenarios in which you can create organizational plans.
    •     In the plan version which you have flagged as the active plan version, you create your current valid organizational plan. This is also the integration plan version which will be used if integration with Personnel Administration is active.
    •     You use additional plan versions to create additional organizational plans as planning scenarios.
    As a rule, a plan version contains one organizational structure, that is, one root organizational unit. It is, however, possible to create more than one root organizational unit, that is more than one organizational structure in a plan version.
    For more information on creating plan versions, see the Implementation Guide (IMG), under Personnel Management  Global Settings in Personnel Management  Plan Version Maintenance.
    2. What are the basic object types?
    Ans. An organization object type has an attribute that refers to an object of the organization management (position, job, user, and so on). The organization object type is linked to a business object type.
    Example
    The business object type BUS1001 (material) has the organization object type T024L (laboratory) as the attribute that on the other hand has an object of the organization management as the attribute. Thus, a specific material is linked with particular employees using an assigned laboratory.
    3. What is the difference between a job and a position?
    Ans. Job is not a concrete, it is General holding various task to perform which is generic.(Eg: Manager, General Manager, Executive).
    Positions are related to persons and Position is concrete and specific which are occupied by Persons. (Eg: Manager - HR, GM – HR, Executive - HR).
    4. What is the difference between an organizational unit and a work centre?
    Ans. Work Centre : A work center is an organizational unit that represents a suitably-equipped zone where assigned operations can be performed. A zone is a physical location in a site dedicated to a specific function. 
    Organization Unit : Organizational object (object key O) used to form the basis of an organizational plan. Organizational units are functional units in an enterprise. According to how tasks are divided up within an enterprise, these can be departments, groups or project teams, for example.
    Organizational units differ from other units in an enterprise such as personnel areas, company codes, business areas etc. These are used to depict structures (administration or accounting) in the corresponding components.
    5. Where can you maintain relationships between objects?
    Ans. Infotype 1001 that defines the Relationships between different objects.
    There are many types of possible relationships between different objects. Each individual relationship is actually a subtype or category of the Relationships infotype.
    Certain relationships can only be assigned to certain objects. That means that when you create relationship infotype records, you must select a relationship that is suitable for the two objects involved. For example, a relationship between two organizational units might not make any sense for a work center and a job.
    6. What are the main areas of the Organization and Staffing user interfaces?
    Ans. You use the user interface in the Organization and Staffing or Organization and Staffing (Workflow) view to create, display and edit organizational plans.
    The user interface is divided into various areas, each of it which fulfills specific functions.
    Search Area
    Selection Area
    Overview Area
    Details Area
    Together, the search area and the selection area make up the Object Manager.
    7. What is Expert Mode used for?
    Ans. interface is used to create Org structure. Using Infotypes we can create Objects in Expert mode and we have to use different transactions to create various types of objects.  If the company needs to create a huge structure, we will use Simple maintenance, because it is user friendly that is it is easy to create a structure, the system automatically relationship between the objects.
    8. Can you create cost centers in Expert Mode?
    Ans. Probably not. You create cost center assignments to assign a cost center to an organizational unit, or position.
    When you create a cost center assignment, the system creates a relationship record between the organizational unit or position and the cost center. (This is relationship A/B 011.) No assignment percentage record can be entered.
    9. Can you assign people to jobs in Expert Mode?
    10. Can you use the organizational structure to create a matrix organization?
    Ans. By depicting your organizational units and the hierarchical or matrix relationships between them, you model the organizational structure of your enterprise.
    This organizational structure is the basis for the creation of an organizational plan, as every position in your enterprise is assigned to an organizational unit. This defines the reporting structure.
    11. In general structure maintenance, is it possible to represent the legal entity of organizational units?
    12. What is the Object Infotype (1000) used for?
    Ans. Infotype that determines the existence of an organizational object.
    As soon as you have created an object using this infotype, you can determine additional object characteristics and relationships to other objects using other infotypes.
    To create new objects you must:
    •     Define a validity period for the object
    •     Provide an abbreviation to represent the object
    •     Provide a brief description of the object
    The validity period you apply to the object automatically limits the validity of any infotype records you append to the object. The validity periods for appended infotype records cannot exceed that of the Object infotype.
    The abbreviation assigned to an object in the system renders it easily identifiable. It is helpful to use easily recognizable abbreviations.
    You can change abbreviations and descriptions at a later time by editing object infotype records. However, you cannot change an object’s validity period in this manner. This must be done using the Delimit function.
    You can also delete the objects you create. However, if you delete an object the system erases all record of the object from the database. You should only delete objects if they are not valid at all (for example, if you create an object accidentally)
    13. What is the Relationships Infotype (1001) used for?
    Ans. Infotype that defines the Relationships between different objects.
    You indicate that a employee or user holds a position by creating a relationship infotype record between the position and the employee or user. Relationships between various organizational units form the organizational structure in your enterprise. You identify the tasks that the holder of a position must perform by creating relationship infotype records between individual tasks and a position.
    Creating and editing relationship infotype records is an essential part of setting up information in the Organizational Management component. Without relationships, all you have are isolated pieces of information.
    You must decide the types of relationship record you require for your organizational structure.
    If you work in Infotype Maintenance, you must create relationship records manually. However, if you work in Simple Maintenance and Structural Graphics, the system creates certain relationships automatically.
    14. Which status can Infotypes in the Organizational Management component have?
    Ans. Once you have created the basic framework of your organizational plan in Simple Maintenance, you can create and maintain all infotypes allowed for individual objects in your organizational plan. These can be the basic object types of Organizational Management – organizational unit, position, work center and task. You can also maintain object types, which do not belong to Organizational Management.
    15. What is an evaluation path?
    Ans. An evaluation path describes a chain of relationships that exists between individual organizational objects in the organizational plan.
    Evaluation paths are used in connection with the definition of roles and views.
    The evaluation path O-S-P describes the relationship chain Organizational unit > Position > Employee.
    Evaluation paths are used to select other objects from one particular organizational object. The system evaluates the organizational plan along the evaluation path.
    Starting from an organizational unit, evaluation path O-S-P is used to establish all persons who belong to this organizational unit or subordinate organizational units via their positions.
    16. What is Managers Desktop used for?
    Ans. Manager's Desktop assists in the performance of administrative and organizational management tasks. In addition to functions in Personnel Management, Manager's Desktop also covers other application components like Controlling, where it supports manual planning or the information system for cost centers.
    17. Is it possible to set up new evaluation paths in Customizing?
    Ans. You can use the evaluation paths available or define your own. Before creating new evaluation paths, check the evaluation paths available as standard.
    18. Which situations require new evaluation paths?
    Ans. When using an evaluation path in a view, you should consider the following:
    Define the evaluation path in such a manner that the relationship chain always starts from a user (object type US in Organizational Management) and ends at an organizational unit, a position or a user.
    When defining the evaluation path, use the Skip indicator in order not to overload the result of the evaluation.
    19. How do you set up integration between Personnel Administration and Organizational Management?
    Ans. Integration between the Organizational Management and Personnel Administration components enables you to,
    Use data from one component in the other
    Keep data in the two components consistent
    Basically its relationship between person and position.
    Objects in the integration plan version in the Organizational Management component must also be contained in the following Personnel Administration tables:
    Tables                    Objects
    T528B and T528T     Positions
    T513S and T513     Jobs
    T527X                    Organizational units
    If integration is active and you create or delete these objects in Organizational Management transactions, the system also creates or deletes the corresponding entries automatically in the tables mentioned above. Entries that were created automatically are indicated by a "P". You cannot change or delete them manually. Entries you create manually cannot have the "P" indicator (the entry cannot be maintained manually).
    You can transfer either the long or the short texts of Organizational Management objects to the Personnel Administration tables. You do this in the Implementation Guide under Organizational Management -> Integration -> Integration with Personnel Administration -> Set Up Integration with Personnel Administration. If you change these control entries at a later date, you must also change the relevant table texts. To do that you use the report RHINTE10 (Prepare Integration (OM with PA)).
    When you activate integration for the first time, you must ensure that the Personnel Administration and the Organizational Management databases are consistent. To do this, you use the reports:
    •        RHINTE00 (Adopt organizational assignment  (PA to PD))
    •        RHINTE10 (Prepare Integration (PD to PA))
    •        RHINTE20 (Check Program Integration PA - PD)
    •        RHINTE30 (Create Batch Input Folder for Infotype 0001)
    The following table entries are also required:
    •        PLOGI PRELI in Customizing for Organizational Management (under Set Up Integration with Personnel Administration). This entry defines the standard position number.
    •        INTE in table T77FC
    •        INTE_PS, INTE_OSP, INTEBACK, INTECHEK and INTEGRAT in Customizing under Global Settings ® Maintain Evaluation Paths.
    These table entries are included in the SAP standard system. You must not change them.
    Since integration enables you to create relationships between persons and positions (A/B 008), you may be required to include appropriate entries to control the validation of these relationships. You make the necessary settings for this check in Customizing under Global Settings ® Maintain Relationships.
    Sincerely,
    Devang Nandha
    "Together, Transform Business Process by leveraging Information Technology to Grow and Excel in Business".

  • Mass deletion of Forecast & Backlog Confirmatin from APO

    Hello All,
                       Is there any transaction to delete the backlog Forecast & Confirmation from APO. Can MC75 transaciton in R/3 delete the Forecast from APO in mass. In current senario I am doing manual deletion of backlog Confirmation  every month. Can any transaciton help me in same ??
    Thanks in advance

    Hi Mohit,
    You can use TCode- /sapapo//rlcdel, which is the same as the report in SE38- /sapapo/rlcdelete. chose 'select object by categories'. Put the order category as F*, put the date range, planning version, product and location and execute. This will delete the forecasts for the particular product/loc.
    -Manotosh

  • SQL Tab & Export DDL Crapped Out in Version 1.1.3

    SO now the SQL tab for a table and the Export DDL option under the Tools menu are not working. The Export DDL option does nothing short of error our when trying to select individual options. (Getting a table or view does not exist error) The SQL tab for tables now no longer shows the associated constraints and in some cases no indexes either. The previous version didn't seem to have these problems. I really think the things that were working need to be verified to not be broken before releasing a new version. As an end user it's pretty frustrating to lose functionality when you think you are gaining new features.
    OS Version: Windows XP SP2
    Oracle DB: 10.1.5

    tnolte,
    I'm going to stick to this thread to respond to your queries.
    I see from (Re: [1.1.3.27.66] create ddl statement that you are running into the ora-942 errors. No-one in that thread mentions that they have switched to the latest release of SQL Developer, i.e. 1.2. Though both you and MRM posted after we released 1.2., so I assume you are. If not, that's a good place to start.
    Please can you confirm, that you are on 1.2 and that you are still running into this error? As mentioned we did have logged and now fixed, the ora-942 errors you mention, so I'd like to track down your specifics. It looks like a permissions issue.
    In terms of the new Export DDL:
    1. We had a request for a 1 button click to export everything for a single schema. To do this, after you have specified the files name and schema, all you need to do is click Apply and all objects, with all the data will be exported.
    So this is: Set file name, select schema, Apply.
    2. To export a specific category, I start by unchecking "Export Object Types", this unchecks all and I can then check only those I require, say tables and sequences. Now if I select Apply, ALL Tables and ALL sequences for that schema are exported.
    So this is: Set file name, select schema, uncheck Export Object Types, Check specific object type categories, Apply.
    3. Now, if you want to only export certain, say Tables or Sequences then use the filter tabs. The first is Filter Objects.
    If my Connection is for HR and I want to export HR objects, then there is no privilege issue:
    After you have taken the steps in #2 above, go to the Filter Objects tab, make sure that the user is HR at the top of the left hand panel and then click GO. (You can use the Object Type drop list on the right to filter for object types.)
    Shuttle the objects you want to the right and repeat for the next object type.
    If, your connection is HR, but you want to export[i] OE objects, and you have read/select access, then only those objects you have access to will display.
    If your access is HR, but you want to export object you have no access to, no objects are displayed.
    Is the ora-942 displayed for all your connections? Can you try another connection? Of all my connections, one displays the 942 and I will have a developer look into that. There does not appear to be a permissions issue.
    One last thing. If you just want to export the DDL of a selection of tables, expand the Tables node, ctrl select the tables you want the DDL for and use the context menu. There is a new Export option that allows you to export the tables to file, clipboard or the worksheet.
    Hope this helps.
    I will be doing a blog entry on this, this evening.
    Sue

  • Set View Profiles.equipment

    Hi SDN,
    When I addded one Sub Subscreens (No.: 110 ) in general tab, it not impact my equipment master data. why?
    for this should i missed some configuration?
    KB
    Edited by: Umapathy.B on Apr 19, 2008 9:15 AM

    Hi,
           You will have to assign the view profiles to equipment categories.
    Goto SPRO>PM&CS>Master data in PM & CS>Technical Objects>Equipment categories-->Maintain Equipment category and Execute ,Then Assign the profile Standard to the Equipment Categories.
    After doing these settings, when u create equipment with that category then it displays the sub screen.
    I hope this helps you.
    Reward with points if useful...

  • IBM :please answer these i want to cross check my answer

    please answer these i want to cross check my answer
    1.what is oracle.
    2.what is major differenece oracle8i and oracle9i.
    4.tell me some thing ur self.
    5.please tell me about oops.
    6.what is single inheritance.
    7.what is multiple inheritance.
    8.can java support multiple inheritance.
    9.what is interface.
    10.what is differenec between abstract class and interface.
    11.how to u prove that abstrace class cannot instantiate directly.
    12.what is differenece between string and stringbuffer.
    13.what is immutable
    14.how to write a program using sort program.
    15 how to write a program using unsort program.
    16.what is legacy.
    17.what is legacy api
    18.what is legacy interface.
    19.what is main difference hashmap and hastable
    20.what is main difference between arraylist and vector.
    21.what is struts framework.
    22.what are distributed techonologies.
    23.what is advantage and disadvantage of distributed techonologies.
    24.what is main difference between jsp and servlets.
    25.what is difference between procedure and functions.
    26.what is jdbc.
    27.what are type of drivers.
    28.what is type 4 driver.
    29.how to collect requuirements form u r client.
    30.which process use in ur project.
    31.what is deployment descriptor.
    32.what is heirarchy of files in struts.
    33.please draw struts frame wrok.
    34.please draw j2ee architecture.
    35.please draw mvc-2 architecture.
    36.please draw that how design op module.
    37.how to find a file on linux.
    38.how to configure weblogic8.1 on linux.
    39.why you use struts framework in ur project.
    40.what is platfrom independent
    41.what is awt and swing.
    42.what is heavy wieght components.
    43.what is feature of weblgoic8.1.
    44.why you choose application server on linux and database server on aix.
    45.please tell me about ur project.
    46.what is major concepts in oops.
    47.why u choose mvc-2 architecture.
    48.what is implicit object.
    49.how many implicit objects in jsp
    50.why choose weblogic8.1 other than any applicationserver.
    51.what is water fall model vs sdlc
    52.what is use of dataflowdiagrams
    53.wha t is ip in ur project.
    54.what about reception module

    I was able to answer only these
    6.what is single inheritance.
    ans:one class is inherited by only other one class
    7.what is multiple inheritance.
    ans:One class inheriting more than one class at atime
    8.can java support multiple inheritance.
    ans:No
    9.what is interface.
    ans:Interface has only method declarations but no defn
    10.what is differenec between abstract class and interface.
    ans:In abstract class some methods may contain definition,but in interface every method should be abstract
    11.how to u prove that abstrace class cannot instantiate directly.
    ans:As they dont have constructor they cant be instantiated
    12.what is differenece between string and stringbuffer.
    ans:Strings are immutable where as string buffer can be modified
    13.what is immutable
    ans:Which cant be changed
    19.what is main difference hashmap and hastable
    ans:Hash table is synchronised
    20.what is main difference between arraylist and vector.
    ans:Vector is synchronised
    21.what is struts framework.
    ans:It follows MVC architecture which is used for seperating view,controller,model
    24.what is main difference between jsp and servlets.
    ans:Jsp s are mainly used for dynamic presenatations where we can write code of design and actual content seperately.mainly coding becomes feasible
    25.what is difference between procedure and functions.'
    ans:Fuctions can return value ,procedures cant return value
    26.what is jdbc.
    ans:Connecting to DB from java program requires JDBC
    27.what are type of drivers.
    type1,2,3,4
    31.what is deployment descriptor.
    ans:Which contains the infrnmation like which file to be used
    40.what is platfrom independent
    ans:A language is said to be platform independent if it can be run on any machine with out modifying code
    41.what is awt and swing.
    ans:AWT are heavy weight components and swings are light weight components
    46.what is major concepts in oops.
    ans:Abstraction,polymorphism,encapsulation,inheritance
    47.why u choose mvc-2 architecture.
    ans:In MVC-2 controller is servlet rather than JSP which makes it efficient
    48.what is implicit object.
    ans:Implicit objects are a set of Java objects that the JSP Container makes available to developers in each page
    49.how many implicit objects in jsp
    ans:out,page,session,request,response,application,page context,config

  • Variable might not have been initialized error in an assignment for school

    Hello All... I am very new to Java (started class about 2 weeks ago) and my current assignment has me a bit stumped on what I am doing wrong. I have put the code in this message for everyone to take a look at and offer advice or point me in the right direction on what I missed a step on. I appreciate any help you can offer.
    The error is coming on line 39:
    * Program: MathProgramExtra
    * Author: Michael Stewart
    * Date: August 22, 2010
    * Program Purpose: This program is intended to display selection and iterative statements.
    import javax.swing.*;
    public class MathProgramExtra
        public static void main (String[] args)
            Object[] mathPossibilities = {"+", "-", "*", "/", "%"};
            Object[] firstintegerPossibilities = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"};
            Object[] secondintegerPossibilities = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10"};
            Object[] options = {"Yes, Please", "No, Thank You"};
            String m;
            String f;
            String s;
            int firstint;
            int secondint;
            int answer;
            char ans = 'Y';
            while(ans !='N')
                System.out.println("ans in beginning of loop is :"+ans);
                m = mathOp(mathPossibilities);
                f = firstNum(firstintegerPossibilities);
                s = secondNum(secondintegerPossibilities);
                firstint = firstNumConversion(f);
                secondint = secondNumConversion(s);
                performMath(m, firstint, secondint);
                add(m, firstint, secondint);
                subtract(m, firstint, secondint);
                multiply(m, firstint, secondint);
                divide(m, firstint, secondint);
                modulus(m, firstint, secondint);
                printMath(answer);
                ans = verifyAnswer(options);
                System.out.println("ans in end of loop is :"+ans);
                if (ans == 'Y')
                    continue;
                else
                    break;
            System.exit(0);
        public static String mathOp(Object[] possibilities)
            String sentence = "Please select a mathematical operation";
            String m = (String)JOptionPane.showInputDialog(null, sentence, "Operation Question",
            JOptionPane.PLAIN_MESSAGE, null, possibilities, "+");
            return m;
        public static String firstNum(Object[] possibilities)
            String sentence = "Please select an integer";
            String f = (String)JOptionPane.showInputDialog(null, sentence, "First Integer",
            JOptionPane.PLAIN_MESSAGE, null, possibilities, "0");
            return f;
        public static String secondNum(Object[] possibilities)
            String sentence = "Please select another integer";
            String s = (String)JOptionPane.showInputDialog(null, sentence, "Second Integer",
            JOptionPane.PLAIN_MESSAGE, null, possibilities, "1");
            return s;
        public static int firstNumConversion(String f)
            int firstint = 0;
            if(f.equals ("0"))
                firstint = 0;
            else if(f.equals("1"))
                firstint = 1;
            else if(f.equals("2"))
                firstint = 2;
            else if(f.equals("3"))
                firstint = 3;
            else if(f.equals("4"))
                firstint = 4;
            else if(f.equals("5"))
                firstint = 5;
            else if(f.equals("6"))
                firstint = 6;
            else if(f.equals("7"))
                firstint =7;
            else if(f.equals("8"))
                firstint = 8;
            else if(f.equals("9"))
                firstint = 9;
            else if(f.equals("10"))
                firstint = 10;
            return firstint;
        public static int secondNumConversion(String s)
            int secondint = 0;
            if(s.equals("1"))
                secondint = 1;
            else if(s.equals("2"))
                secondint = 2;
            else if(s.equals("3"))
                secondint = 3;
            else if(s.equals("4"))
                secondint = 4;
            else if(s.equals("5"))
                secondint = 5;
            else if(s.equals("6"))
                secondint = 6;
            else if(s.equals("7"))
                secondint =7;
            else if(s.equals("8"))
                secondint = 8;
            else if(s.equals("9"))
                secondint = 9;
            else if(s.equals("10"))
                secondint = 10;
            return secondint;
        public static int performMath(String m, int firstint, int secondint)
            int answer = 0;
            if (m.equals("+"))
            answer = add(m,firstint, secondint);
            if (m.equals("-"))
            answer = subtract(m,firstint, secondint);
            if (m.equals("*"))
            answer = multiply(m,firstint, secondint);
            if (m.equals ("/"))
            answer = divide(m,firstint, secondint);
            if (m.equals ("%"))
            answer = modulus(m, firstint, secondint);
            return answer;
        public static int add(String m, int firstint, int secondint)
            int answer;
            answer = (firstint + secondint);
            return answer;
        public static int subtract(String m, int firstint, int secondint)
            int answer;
            answer = (firstint - secondint);
            return answer;
        public static int multiply(String m, int firstint, int secondint)
            int answer;
            answer = (firstint * secondint);
            return answer;
        public static int divide(String m, int firstint, int secondint)
            int answer;
            answer = (firstint / secondint);
            return answer;
        public static int modulus (String m, int firstint, int secondint)
            int answer;
            answer = (firstint % secondint);
            return answer;
        public static void printMath(int answer)
            String message = "Your answer is:" + answer;
            JOptionPane.showMessageDialog(null, message, "Alert", JOptionPane.INFORMATION_MESSAGE);
        public static char verifyAnswer(Object[] options)
            char ans = 'N';
            int n = JOptionPane.showOptionDialog(null, "Would you like to enter another problem, Yes or No?", "Another Problem?", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE, null, options, options[1]);
            switch(n)
                case 0:
                    ans = 'Y'; break;
                case 1:
                    ans = 'N'; break;
            return ans;
       

    mstew1979 wrote:
    Thank you! I actually just got it working :)Cool. Here's a bit of advice, just in case you "fixed" it by making a common mistake: Don't just initialize a variable to a dummy value to make the compiler happy. Those "not initialized" errors usually point to a logic error. But just initializing the variable to 0, null, etc. at declaration, usually you're just masking the logic error so the compiler doesn't see it. You haven't fixed anything.
    public String signum (int x) {
      String result;
      if (x > 0) {
        result = "positive";
      else if (x < 0) {
        result = "negative";
      return result;
    }Here we have a compiler error, brought on by my logic error of forgetting to account for x being 0. The wrong way to fix it would be to blindly change the declaration of result to String result = ""; or == null;. The logic error is still there, but now it's hidden from the compiler. So we have an error at runtime instead--we don't get a valid response if we pass in 0. Runtime errors are much harder to debug than compile-time errors.
    The correct response to the compiler's "not initialized" error is to look at our code more carefully and see what we might have missed. In this case, we would add and else clause that returns "zero".

  • How does ODM cluster algorithm work?

    I know ODM cluster analysis uses an enhanced k-means algorithm which randomly defines the initial centroids.
    1. I'd like to know how ODM cluster analysis algorithm defines initial centroids?
    It doesn't seem to randomly define initial centroids because every time I ran
    ODM clustering, it gave the same results.
    2. To calculate the distance between a centroid and data objects, Euclidean
    distance is used. If the data object is categorical attributes how the distance is
    calculated?
    Could you please help me on these?
    I will be looking forward your help on these and appreciate your help.

    1.ODM k-means builds a hierarchical tree. When a new cluster is added, the parent node is replaced with two new nodes. Both children have the same centroid as the parent except for a small perturbation in the dimension with most variablility. Then a few k-means iterations are run on the two children and the points belonging to the parent are distributed among the two new nodes. There are a couple of different strategies how to choose which node to split (e.g., size, dispersion).
    Once the desired number of leaf nodes is reached, we run k-means across all leaf nodes. The advantage is that all clusters have reasonable initial centroids and we are unlikely to get dead/empty clusters.
    2. We explode categorical attributes into multiple binary dimensions and compute distances using these new dimensions.

Maybe you are looking for

  • How to clean up of empty blocks in a Essbase database.

    Is there a way or a script that I can write to get a list of all empty block in a calced block storage application? For example I would like to find out which generation 3 blocks are empty (after aggregating) in a given dimension, extract this list o

  • BW: Error during Delete Overalpping requests from a cube 0PCA_C01

    Hello Experts For the past 1 week, I am getting the following error in a process chain when trying to do Delete Overlapping requests from a cube. The error I am getting is: The chain failed while deleting the overlapping requests from 0PCA_C01 with a

  • Problem in custom fields in mm02/mm03

    Hi folks, i want to add the custom fields in mm01.iam able to add and update database.but iam facing problem in when iam checking the particular material in mm02/mm03.the custom field data is not correctly.for every material the last custom field dat

  • Hidding Password in JSP page

    Hi all, I m using the password value in the jsp page as ahidden variable which is thereafter used in the java script. but the problem is that while in view mode of the jsp page if u right click and view the source the password is getting displayed. w

  • Batch determination at time of order creation

    Dear All, When i am creating process order at the time system not allowing me to execute batch determaination after release only it is allowing me to do. My requirement is At the time of order creation i want assign batches ( Execute Batch Detrminati