Objective-C Class?
I was wondering, is there a college which offers an Objective-C class?
It would be alot more convenient for me to learn Objective-C then, because I really don't have the time right now in High School.
I'll want to primarily develop for the OSX, probably won't do much work for the iPhone.
Message was edited by: Mason Whitaker
Message was edited by: Mason Whitaker
Hmm. I only know of Stanford having a Cocoa class, but I can't figure out when it's offered (looks like last January was the last time), or if it's offered online or not.
Otherwise, I'd probably second the suggestion of Big Nerd Ranch. Or get Aaron Hillegass' book. It was developed from his classes at Big Nerd Ranch, so it would give you an idea of what his courses are like...
charlie
Similar Messages
-
Creation of Module - Object of class Channel
Hi everybody,
I neeed to create an adapter module in which I have to create an object of class Channel.
This object Channel belong to the package com.sap.aii.mapping.lookup
I need to know in which jar it is.
We are in PI 7.1.
Can somebody help me, please?
Thank in advance for your collaboration.
Best Regards.
E. KoralewskiHi Eric,
>>>>>>>>>I neeed to create an adapter module in which I have to create an object of class Channel.This object Channel belong to the package com.sap.aii.mapping.lookup I need to know in which jar it is. We are in PI 7.1.
Please see what is you look for.
com.sap.xpi.ib.mapping.lib.jar
Regards,
Rajesh
Edited by: Rajesh_1113 on Feb 2, 2011 4:16 PM -
Difference Between Business Object And Class Object
Hi all,
Can any one tel me the difference between business object and class Object....
Thanks...
..AshishHello Ashish
A business object is a sematic term whereas a class (object) is a technical term.
Business objects are all important objects within R/3 e.g. sales order, customer, invoice, etc.
The business objects are defined in the BOR (transaction SWO1). The have so-called "methods" like
BusinessObject.Create
BusinessObject.GetDetail
BusinessObject.Change
which are implemented (usually) by BAPIs, e.g.:
Business Object = User
User.Create => BAPI_USER_CREATE1
User.GetDetail => BAPI_USER_GET_DETAIL
CONCLUSION: Business Object >< Class (Object)
Regards
Uwe -
How to create unique objects in class and store
Hi, I have a class that opens a text file and reads in the
lines. each line holds an ip address. i need to create x amount of
objects, and each object is assigned a unique ip address from the file.
and here i am stuck. the class reads in the file, then i think it should create an object for each line read in and assign that object the ip address. i want to store the objects in some sort of array or collection, and i guess each object will need a unique name, but i dont know how many objects until i read in the file and count the number of lines. can anyone give me any pointers as to how i should create/store the objects
many thanx
nessYou could use your own object:
public class Test {
public class IPNumber {
public int ip;
public IPNumber(int ip) {
this.ip = ip;
public Test() {
int numberOfIPs = 5; // this is your number of lines
IPNumber[] ips = new IPNumber[numberOfIPs];
for (int i = 0; i < numberOfIPs; i++) ips[i] = new IPNumber(i); // assign ip address from file
public static void main(String args[]){
new Test();
}or you could store the ips as strings:
public class Test {
public Test() {
final int numberOfIPs = 5; // this is your number of lines
final java.util.ArrayList al = new java.util.ArrayList(numberOfIPs);
for (int i = 0; i < numberOfIPs; i++) al.add(""+i); // assign ip address from file
public static void main(String args[]){
new Test();
}p.s Objects don't have names -
Calling a object of class from other class's function with in a package
Hello Sir,
I have a package.package have two classes.I want to use object of one class in function of another class of this same package.
Like that:
one.java
package co;
public class one
private String aa="Vijay"; //something like
}main.java:
package co;
import java.util.Stack;
public class main extends Stack
public void show(one obj)
push(obj);
public static void main(String args[])
main oo=new main();
}when I compile main class, Its not compile.
Its give error.can not resolve symbol:
symbol: class one
location: class co.main
public void show(one obj)
^Please help How that compile "Calling a object of class from other class's function with in a package" beacuse I want to use this funda in an applicationkumar.vijaydahiya wrote:
.It is set in environment variable.path=C:\bea\jdk141_02\bin;.,C:\oraclexe\app\oracle\product\10.2.0\server\bin;. command is:
c:\Core\co\javac one.javaIts compiled already.
c:\Core\co\javac main.javaBut it give error.
Both java classes in co package.Okay, open a command prompt and execute these two commands:
// to compile both classes:
javac -cp c:\Core c:\Core\co\*.java
// to run your main-class:
java -cp c:\Core co.main -
Static Classes/Methods vs Objects/Instance Classes/Methods?
Hi,
I am reading "Official ABAP Programming Guidelines" book. And I saw the rule:
Rule 5.3: Do Not Use Static Classes
Preferably use objects instead of static classes. If you don't want to have a multiple instantiation, you can use singletons.
I needed to create a global class and some methods under that. And there is no any object-oriented design idea exists. Instead of creating a function group/modules, I have decided to create a global class (even is a abstract class) and some static methods.So I directly use these static methods by using zcl_class=>method().
But the rule above says "Don't use static classes/methods, always use instance methods if even there is no object-oriented design".
The book listed several reasons, one for example
1-) Static classes are implicitly loaded first time they are used, and the corresponding static constructor -of available- is executed. They remain in the memory as long as the current internal session exists. Therefore, if you use static classes, you cannot actually control the time of initialization and have no option to release the memory.
So if I use a static class/method in a subroutine, it will be loaded into memory and it will stay in the memory till I close the program.
But if I use instance class/method, I can CREATE OBJECT lo_object TYPE REF TO zcl_class then use method lo_object->method(), then I can FREE lo_object to delete from the memory. Is my understanding correct?
Any idea? What do you prefer Static Class OR Object/Instance Class?
Thanks in advance.
Tuncay@Naimesh Patel
So you recommend to use instance class/methods even though method logic is just self-executable. Right?
<h3>Example:</h3>
<h4>Instance option</h4>
CLASS zcl_class DEFINITION.
METHODS add_1 IMPORTING i_input type i EXPORTING e_output type i.
METHODS subtract_1 IMPORTING i_input type i EXPORTING e_output type i.
ENDCLASS
CLASS zcl_class IMPLEMENTATION.
METHOD add_1.
e_output = i_input + 1.
ENDMETHOD.
METHOD subtract_1.
e_output = i_input - 1.
ENDMETHOD.
ENDCLASS
CREATE OBJECT lo_object.
lo_object->add_1(
exporting i_input = 1
importing e_output = lv_output ).
lo_object->subtract_1(
exporting i_input = 2
importing e_output = lv_output2 ).
<h4>Static option</h4>
CLASS zcl_class DEFINITION.
CLASS-METHODS add_1 IMPORTING i_input type i EXPORTING e_output type i.
CLASS-METHODS subtract_1 IMPORTING i_input type i EXPORTING e_output type i.
ENDCLASS
CLASS zcl_class IMPLEMENTATION.
METHOD add_1.
e_output = i_input + 1.
ENDMETHOD.
METHOD subtract_1.
e_output = i_input - 1.
ENDMETHOD.
ENDCLASS
CREATE OBJECT lo_object.
lo_object->add_1(
zcl_class=>add_1(
exporting i_input = 1
importing e_output = lv_output ).
lo_object->subtract_1(
zcl_class=>subtract_1(
exporting i_input = 2
importing e_output = lv_output2 ).
So which option is best? Pros and Cons? -
Upload/download DDIC Objects, FM, Classes ....
Hello Experts,
Is there any possibility to download download DDIC Objects, FM, Classes and other ABAP Structures into a file ? I don't want to use transports. Do you know some FM down/uplowding such thinks ?
Thanks
Wojciech.Of course the prefer way would be to use transports. There is a utility that you can use to download/upload ABAP programs and screens. It will not do ddic objects. I'm pretty sure that it will not do FM or classes.
There are a few of these out there, this is just one.
http://www.sap-img.com/abap/download-and-upload-your-abap-program.htm
Regards,
Rich Heilman -
Object of class stdClass could not be converted to string
Dear all,
Im very new in PHP development and trying to consume a ASP.NET webservice.
This is my code:
<HTML>
<HEAD>
<TITLE>New Document</TITLE>
</HEAD>
<BODY>
<?php
require_once('lib/nusoap.php');
$soap = new SoapClient('https://testsoap.test.nl:446/Service1.asmx?wsdl');
try {
$result = $soap->testPhp();
echo "$result";
} catch (SoapFault $e) {
echo "Error: {$e->faultstring}";
?>
</BODY></HTML>
When running this, im getting this error:
PHP Catchable fatal error: Object of class stdClass could not be converted to string . on line 14.
And this is line 14 in my code:
echo "$result";
Can anyone help me with this issue?
ThanksWithout knowing what version of PHP you are using and also there does not seem to be an SAP angle, have you tried var_dump() instead of echo.
e.g. var_dump($result);
http://php.net/manual/en/function.var-dump.php -
Hi All
I am new to ABAP Objects and i feel lil difficult to under the concept and classes..can any one please give me with small example to easily understand about the tole of objects and classes..
Thanks and Regards,
Arun josephHi arun,
These are very simple concepts.There is no need to worry about it.
Object is an instance of a class.Class is an abstract description of an object. Class is a set of instructions that is used to build an object. Class represents properties of an object.
eg: Vehical, Car,Bird,Box,Student
Object represents a properties of real time entity like
engine, color,marks, legs,height,width etc.
The following links provide more information with examples.
Link:[http://help.sap.com/saphelp_nw70/helpdata/EN/c3/225b5c54f411d194a60000e8353423/frameset.htm]
Link:[http://help.sap.com/saphelp_nw70/helpdata/EN/c3/225b5c54f411d194a60000e8353423/frameset.htm]
if any more doubts, come to me with your doubts.
if it useful, reward points.
Thank you,
Prasad G.V.K -
BAPI for Allocating Object to Class
Hi all Experts,
Pls help in how to use the following BAPIs.
BAPI_OBJCL_CREATE_KEY
BAPI_OBJCL_CHANGE_KEY
OR else provide me any other BAPI avaliable for Allocating Object to Class in MASS Processing / Single Entries.
Regards
Nagarajan MHello,
have a look at the following thread. There're some function modules that should fit to your requirements:
BAPI for CL24N
Best regards
Stephan -
How to find objects and classes
hi
any notes or path on objects and classes on crm?Hi Kumara
I beleive your talking about the Classification system.
To get to this go here: SPRO->IMG->Cross-Application Components - -> Classification System - -> Classes - -> Maintain Object Keys
This will give a list of Tables which are currently set with Object Keys, you may need to add a new table and configure.
Next
To get to this go here: SPRO->IMG->Cross-Application Components - -> Classification System - -> Classes - -> Maintain Object Types and Class Types
Here you assign a Class Type to Link your Table from the previous step, this class new Class Type will be used with a New Class to created in the following steps.
Goto Transaction CT04 - Create Characteristics
Here you create effectively attributes of a Class (Fields)
Goto Transaction CL01 - Create New Class
or CL02 - Maintain Class
Create a new class linked to your Class Type from previous steps
On the Char.. Tab you can add the new Characteristics created in the previous step to your new Class.
Based on the Object Key from the first step, these new attributes shoulds all now link together. If the key is of type 'RAW' (Binary) it may not be possible to link correctly, therefore some ABAP maybe required to create the link, depending on your application.
Hope this helps.
<b>Reward with points if useful.</b>
Regards
Arden -
Overview of Leave --- CREATE OBJECT: The class was not found., error key:
Dear Gurus,
Iam facing this problem that, when i try to open the Leave Overview from the leave request screen. it gives the dump with message
CREATE OBJECT: The class was not found., error key: RFC_ERROR_SYSTEM_FAILURE
this also creates a dump in the back end.
The same dump is appearing when i try to view the Check Documents for the same employee from PTARQ.
Thanks in advance
RamnathHi ,
please find the following solution .it will definitely work .
If you leave configuration is done.
There was an incorrect data in your system. To do these please follow following process.
delete this request using
PTARQ> Delete documents (RPTARQDBDEl)
Please read the report documentation before
deleting the request but it should be safe as it is
a development system.
Please delete this with the above information or delete all
the records for the approver.
After this,, there will be some incorrect workitem in approver inbox.
You need to clear that also by Tcode - SWWL.
ALSO check the leave request workflow of that employee and if there is any error workflow lying in the workflow delete the leave request (which was created with error) Note down the id initiater ( which had error) and in the Test Environment for Leave request (PTARQ) gave the PERNR and delete the documents ( give the id iniater in the document status ).
To check the error work flow go to SWIA and check for that Workflow (Leave) raised by the PERNR at that duration ( check in IT2001 for the duration) and give it here.
After deleting it check in the portal for the leave request if any error is occuring when trying to apply for leave. -
Hi Experts,
We are facing following problem in our ESS/MSS system. Request to suggest solution ASAP.
We are having EP7 and ECC6
*CREATE OBJECT: The class CL_HRPA_INFOTYPE_0006_IN was not found., error key: RFC_ERROR_SYSTEM_FAILURE*
com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: CREATE OBJECT: The class CL_HRPA_INFOTYPE_0006_IN was not found., error key: RFC_ERROR_SYSTEM_FAILURE
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
at com.sap.xss.hr.per.in.address.fc.FcPerAddressIN.readRecord(FcPerAddressIN.java:270)
at com.sap.xss.hr.per.in.address.fc.wdp.InternalFcPerAddressIN.readRecord(InternalFcPerAddressIN.java:545)
at com.sap.xss.hr.per.in.address.fc.FcPerAddressINInterface.readRecord(FcPerAddressINInterface.java:150)
at com.sap.xss.hr.per.in.address.fc.wdp.InternalFcPerAddressINInterface.readRecord(InternalFcPerAddressINInterface.java:201)
at com.sap.xss.hr.per.in.address.fc.wdp.InternalFcPerAddressINInterface$External.readRecord(InternalFcPerAddressINInterface.java:277)
at com.sap.xss.hr.per.in.address.overview.VcPerAddressINOverview.onBeforeOutput(VcPerAddressINOverview.java:267)
at com.sap.xss.hr.per.in.address.overview.wdp.InternalVcPerAddressINOverview.onBeforeOutput(InternalVcPerAddressINOverview.java:250)
at com.sap.xss.hr.per.in.address.overview.VcPerAddressINOverviewInterface.onBeforeOutput(VcPerAddressINOverviewInterface.java:158)
at com.sap.xss.hr.per.in.address.overview.wdp.InternalVcPerAddressINOverviewInterface.onBeforeOutput(InternalVcPerAddressINOverviewInterface.java:140)
at com.sap.xss.hr.per.in.address.overview.wdp.InternalVcPerAddressINOverviewInterface$External.onBeforeOutput(InternalVcPerAddressINOverviewInterface.java:224)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.callOnBeforeOutput(FPMComponent.java:603)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:569)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1288)
at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:548)
at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:592)
at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:864)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
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:321)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:684)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
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.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
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:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
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:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: CREATE OBJECT: The class CL_HRPA_INFOTYPE_0006_IN was not found., error key: RFC_ERROR_SYSTEM_FAILURE
at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
at com.sap.xss.hr.per.in.address.model.HRXSS_PER_P0006_IN.hrxss_Per_Read_P0006_In(HRXSS_PER_P0006_IN.java:218)
at com.sap.xss.hr.per.in.address.model.Hrxss_Per_Read_P0006_In_Input.doExecute(Hrxss_Per_Read_P0006_In_Input.java:137)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
... 61 more
Edited by: KISHOR PONKSHE on Nov 7, 2011 11:37 AMHello Kishore,
Please remove the entry from the table V_T582ITVCLAS related to CL_HRPA_INFOTYPE_0006_IN
Then check.
Best Regards,
Deepak. -
Craeting object of class.
Is it possible for an instance of class to be created within itself? For example, if ClassA is running and a certain button is pressed (defined in classA) then a new instance/object of classA is created - so that for this case the original object is running as well as the new one. (2 programs of the same class running?)
"within itself" ... yes, but be careful if you do this with recursion( creating the instance from the contructor that creates the instance type of thing ); so it depends on HOW you do this.
In other words, this:
class Recur {
public Recur() {
new Recur();
}As opposed to:
class NonRecur implements ActionListener {
public NonRecur() {
Button b = new Button("nonRecur");
add.(b);
b.addActionListener( this );
public void actionPerformed( ActionEvent ae ) {
new NonRecur();
} -
Local object & development class
HI SD guru's
What is local object & development class?
Regards
karthik
Thanks in advanceHi Karthik,
You login SAP with some user ID.That user id is a local object.This can be seen in t-code "SE80".
The Transport Organizer does not record changes to local objects. They are consequently not protected against changes by other users and are not transported to other SAP Systems.
But when the changes have to be transported to other system for e.g. development to quality ,we need a development class.Whatever request no. is generated after making any configuration changes is thrown by the development class.
For e.g. VMOD is a development class for SD and it includes all the user exits for SD so whenever you will make the following changes which are under VMOD,a request would be generated.
Reward points if it helps.
Regards
Karan
Maybe you are looking for
-
I am not able to create a callable object of my web Dynpro application
Hi, I have my Portal server installed with NW2004S and with other components as follows. ·WAS 7.0 SP9 ·EP7.0 SP9 ·CAF 7.0 SP9 ·VC 7.0 SP9 But now my webdynpro application is not reflecting in web Dynpro Component(GP Interface) during
-
I have a 4th generation 8GB iPod nano and it will not progress past the blank screen with the white apple logo on it. I have charged it fully and tried to restart it by pressing and holding the menu buttons for 3-7 seconds. The devices screen will tu
-
Help : Usage of FocusTraversalPolicy in 1.4.2_07
Dear All, My existing application written in Jdk 1.3.1_15.Now,upgrading to 1.4.2_07. Compilation in 1.4.2_07 throws so many warnings about the deprecated method setNextFocusableComponent(Component c); Usage of setNextFocusableComponent Assume 10 comp
-
Hello Guru's, Iam New to MM. will anyone help me, about the various steps involved in purchasing process cycle. from purchase to invoice making with T- codes pl.
-
I have a table tha has an autonumber field as primary key. This field is also being used as a foreign key for another table. How can i know its value so as to insert it to the other table? I am looking for sth like select customer_seq.nextval from du