New objects
Hi,
I would like to make new objects for use in LiveType, is this possible ? then how do i do it?
Or must i buy them?
Thanks,
On the Final Cut Studio installer disk:
Extras > LiveType Extras.
There you will find a tutorial called "Creating LiveFonts". There is also a folder "Fontmaker samples" with various examples and code.
Similar Messages
-
Doubt in creation of a new object
Hi All,
I have one doubt in creation of a new object.If a new object is to be created and it is not a subtype
of any existing object, then what should we enter in the Program field for creating the object?
I hope I am clear with my question.
Thanks in Advance,
Saket.Hi Saket,
Following will be required for created a custom business object.
1. Object Type - ZTEST (Internal Techincal Key)
2. Object Name - ZTESTNAME (Technical Key Name)
3. Name - TEST (Name of BO, it is used while selecting the object type)
4. Description - (Short Description of BO)
5. Program - ZTESTPROGRAM (ABAP program in which the methods of the object type are implemented)
6. Application - A or B.. etc (Area to which your BO is related)
Please remember that you can learn these basic things by giving F1 help on those fields and in HELP.SAP.COM.
Regards,
Gautham Paspala -
What is the diffrence between extends and creating new object?
HI ALL,
what is the diffrence between extends and creating new object?
meaning
class base{
class derived extends base{
class base{
class derived {
derived(){
base var = new base();
can u people tell me diffence from the above examples.
THANKS.
ANANDAWhen you create a new object you have to supply the class to which that
object belongs. A class can extend from another class. If it does so
explicitly you can define the 'parent' class from which the class extends.
If you don't explicitly mention anything, the class will implicitly extend
from the absolute base class named 'Object'.
Your example is a bit convoluted: when you create a Derived object,
its constructor creates another object, i.e. an object from the class from
which the Derived class extends.
Extending from a class and creating an object don't have much in common.
kind regards,
Jos -
Creating a new object at runtime
What I want to do is dynamically change the name of a object
everytime I create a new one, what I mean excatly is like make it
so that I can some how increment a value of a variable and apply it
to an object anme... so I get something like this
objectName0, objectName1, objectName2, objectName3 and so on.
I basically want to make it so that I always have a new object to
use... how would I go about doing this?You don't need exec, the api provides this functionality for you. Look at the java.util.jar package.
-
It will not parse! Creating a new object in the universe
Hi, we have a universe and BO reports. They work fine for our clients. We are on BO XI r3.1. Now, one client captures an additional piece of info. They would like to report against this and add it high up on our drilling heirarchy. "Sure, no problem". For the following I was logged in as administrator.
The additional data field is a 3 character code.
1) We added an additional column to the actual database table.
2) In Universe Designer, I refreshed universe structure and could see the additional column
3) Created an object 'Acode' that refers to db.new_field
4) Exported universe
Maybe worth mentioning that I can see this object and use it in reports fine in Infoview.
Now, I need to create a new object that will be one of 2 strings based on the 3 character code (Acode) i.e. the 'Atype' can be X or Y.
Here's my code and it just will not parse:
CASE
WHEN @Select(AFolder\Acode) = 'CEL'
THEN 'X'
ELSE u2018Yu2019
END
Error I get is:
Parse failed:Eception:DBD ODBC SQL Server driverStatement could not be prepared.State 42000
I'd appreciate any help, believe me I have searched the forums!
Thanks, EddieLook at following SAP NOtes.
1373739
1184304
Regards,
Bashir Awan -
Setting the name of a new object from a string
Is there anyway I can set the object name of a newly created
object from a string?
eg.
(the code below generates a compile time error on the
variable declaration)
public function addText(newTxt:String, txt:String,
format:TextFormat):void {
var
this[newTxt]:TextField = new TextField();
this[newTxt].autoSize = TextFieldAutoSize.LEFT;
this[newTxt].background = true;
this[newTxt].border = true;
this[newTxt].defaultTextFormat = format;
this[newTxt].text = txt;
addChild(this[newTxt]);
called using>
addText("mytxt", "test text", format);
I could then reference the object later on without using
array notation using mytxt.border = false; for example
There are many a time when I want to set the name of a new
object from a string.
In this example I have a function that adds a new text object
to a sprite.
The problem is, if I call the function more than once then
two textfield objects will exist, both with the same name. (either
that or the old one will be overwritten).
I need a way of setting the name of the textfield object from
a string.
using
var this[newTxt]:TextField = new TextField()
does not work, If I take the "var" keyword away it thinks it
a property of the class not an object.
resulting in >
ReferenceError: Error #1056: Cannot create property newTxt on
Box.
There must be a way somehow to declare a variable that has
the name that it will take represented in a string.
Any help would be most welcome
ThanksUsing:
var this[newTxt]:TextField = new TextField()
is the right approach.
You can either incrment an instance variable so that the name
is unique:
newTxt = "MyName" + _globalCounter;
var this[newTxt]:TextField = new TextField();
globalCounter ++;
Or store the references in an array:
_globalArray.push(new TextField());
Tracy -
Getting ORA-20001: Creation of new object is not allowed: !!
Hi Am getting ORA-20001: Creation of new object is not allowed while enabling constraints after importing the dumps from source to target datbase,can anyone assist me to fix this issue.
Hi Osama/Mustafa,Thanks for your quick response,can you please explain me the following things-
1)As i don't have privilege to run the DBA_XX views,am not able to run those queries-
SELECT OWNER, TRIGGER_NAME, TRIGGER_BODY FROM DBA_TRIGGERS WHERE TRIGGER_TYPE IN ('AFTER EVENT', 'BEFORE EVETN') AND TRIGGERING_EVENT LIKE '%CREATE%';
can you tell me what output it'll throw,based on this output how will we fix the issue.
2)SELECT * FROM dba_sys_privs WHERE privilege = 'UNLIMITED TABLESPACE';
why we need to check this privilege?as i don't have privilege to run this one in my db.
3)select * from dba_source where upper(text) like upper('%Creation of new object is not allowed%');
as i don't have privilege to run this one in my db,already i got the object name from my logfile
and more you have quoted"This is an error of someone that coded purposely on your database, probably dba or a developer who has privilege and again it is in a database event trigger"
4)can you explain me much more deeper about the root cause and as already sent note to my DBA,can you explain me the solution to fix this issue ? -
Creation of new object link for DMS
i have searched a lot about Creation of new object link for DMS on internet .
and all replies focus on that documentation :
1. Program two screens for the following module pools for the SAP object that is to be linked additionally:
u2013 SAPLCV00
u2013 SAPLCVIN
The process logic must be according to that of screen 0204 in program SAPLCV00 and must not be changed.
2. Create the function module OBJECT_CHECK_XXXX (XXXX = name of the SAP object).
i need to know how to implement that in more detailed step by step
as i know DMS and abap also.Hi Reda,
Hope the below URL will help to understand how the Process of adding a object link works.
Enhancement Without Modification of the Object Links - Engineering Change Management (LO-ECH) - SAP Library
Thanks & Regards,
Seshadri. -
Schema of a new Object Type: message pass the BIU without validation
Hi,
i've defined a new Object Type for send messages to Web Service. I've created the schema files and i've uploaded there in repository with the "Import" function of GUI. After, i've defined the XML file for the "Execute" function of the B1i GUI.
After the load of files, in the repository the files are in correct position.
In my BIU the definition of sender and receiver system type is correct, and also the definition of SenderMainObjectTypeID and ReceiverObjectTypeID. The message from B1 pass through the IPO chain without problems and the message is received by teh Web Service.
If modify the file XSL into the BIU, a message with less elements than a schema pass without problem.
If delete the schema from repository, the message pass without validation.
I would know because the schema is bypassed...
ThansOk,
solved with introduction of validation point in a customized IPO using a branch / unbranch atoms.
Bye. -
Hi Sir/Madam,
Currently we are implementing DMS(Document Management System) and
our main requirement is to add document to the delivery and billing
document.In t-code dc10 in "define object link" lips and vbrp object is
not present in the default list so how we can add these new object in
order to attach new document to delivery as well as billing document.
Is it possible to attach document at header level because we have to
attach lorry number at delivery header which will be common for all the
items.
The function module object_check_lips already exist in se37 but we
have to create new function module for object vbrp.How to create this
function module? How we have to create screens for these objects? If we
have to create it by copying some function module like
object_check_equithan what will be the funtion group.
IN delivery document (vl03n) in menu bar in "extras" document
option is not there than how we will see the attached document, do we
have to create this option with help of abaper or this option will
automatically reflect after all the cofiguration?
Thanks and Regards
Abhilash NayakHi Abhilash,
You need to gofor z-development for this. The Abap'r will add the new required object in object link field. Also the DMS screen will appear in the required t-code.
Meantime you need to add this object in SPRO , "maintain key fields".
I hope this will resolve the query.
Regards,
Ravindra -
New-object itextsharp causes an error
Hi, i am trying to use powershell to read a pdf document with the following code
[System.Reflection.Assembly]::LoadFrom(".\itextsharp.dll")
$reader = New-Object iTextSharp.text.pdf.PdfReader -ArgumentList ".\201408_issue.pdf"
for ($page = 1; $page -le $reader.NumberOfPages; $page++) {
$lines = [char[]]$reader.GetPageContent($page) -join "" -split "`n"
foreach ($line in $lines) {
if ($line -match 'test')
$matches[1]
I get an error though, has anyone encoutnered this? Thanks
New-Object : Exception calling ".ctor" with "1" argument(s): "Object reference not set to an instance
of an object."
At C:\PsScripts\test\PDFReader\PDFReader.ps1:2 char:11
+ $reader = New-Object iTextSharp.text.pdf.PdfReader -ArgumentList ".\201408_RIN_i ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvocationException
+ FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObject
CommandPS C:\PsScripts\test\PDFReader> $error[0].Exception | Format-List * -Force
ErrorRecord : Exception calling ".ctor" with "1" argument(s): "Object reference not
set to an instance of an object."
StackTrace : at System.Management.Automation.DotNetAdapter.AuxiliaryConstructorInvo
ke(MethodInformation methodInformation, Object[] arguments, Object[]
originalArguments)
at
System.Management.Automation.DotNetAdapter.ConstructorInvokeDotNet(Type
type, ConstructorInfo[] constructors, Object[] arguments)
at
Microsoft.PowerShell.Commands.NewObjectCommand.CallConstructor(Type
type, ConstructorInfo[] constructors, Object[] args)
WasThrownFromThrowStatement : False
Message : Exception calling ".ctor" with "1" argument(s): "Object reference not
set to an instance of an object."
Data : {}
InnerException : System.NullReferenceException: Object reference not set to an instance
of an object.
at iTextSharp.text.pdf.PdfReader.ReadObjStm(PRStream stream,
IntHashtable map)
at iTextSharp.text.pdf.PdfReader.ReadDocObj()
at iTextSharp.text.pdf.PdfReader.ReadPdf()
TargetSite : System.Object AuxiliaryConstructorInvoke(System.Management.Automation.Met
hodInformation, System.Object[], System.Object[])
HelpLink :
Source : System.Management.Automation
HResult : -2146233087
Any meaning to you? -
Need the code to make these to new objects in BW world, please help...
I have two fields that I get from the source (to DSO):
CREATE_DATE (YYYYMMDD)
REPORT_MONTH (YYYYMM)
First I want to make a infoobjects (called CREATE_MONTH) that takes the YYYYMM from the CREATE_DATE.
The I also want to make an indicator (called MONTH_IND) that have a test on infoobjects called CREATE_MONTH and REPORT_MONTH.
The logic should be something like this:
If CREATE_MONTH is 3 month earlier than REPORT_MONTH the indicator should say over 2 month
If CREATE_MONTH is 4 month earlier than REPORT_MONTH the indicator should say over 3 month
Etc .
Conclution:
Need two new objects:
1. CREATE_MONTH
2. MONTH_IND
Can someone give me some help on how to do this Please?Hi Elaine!
First of all I´d like to thank your answer.
I know what you mean; I had a gif animated file in my web site and I converted it in a swf file, that is the reason why I couldn´t do the correct to make the link. I thought that I could make the link with a simple code but thanks to this foro, now I know that it is a bit more complicated.
Anyway, I think that it is better if I read the tutorial to know how this work.
Thank you again and have a nice day!
afp5trip -
Design and registration of new objects
We have the following three objects:
- Order, which contains:
-- OrderStatus
-- Vector: OrderStatusHistoryItem
Whenever order.setStatus(newStatus) is called we would like to create a new OrderStatusHistoryItem and add that to the vector of history inside the Order.
Our first guess was to put this in the setStatus method of the Order object, so that noone would bypass the adding to history. But... When creating the OrderStatusHistoryItem inside the Order we of course get an error from TopLink, saying that the object was not registered in the UOW.
Is there some way that we can tell TopLink that this relationship should be registered automatically on commit? If not, what would be the best way to design this? Of course we do not want to expose our domain layer to the internals of TopLink. Would a factory be the best way to handle registration upon creation?
Thanks,
Anders,Anders,
New objects created and attached to working copies will be discovered during commit cycle and added to the persistent model including the appropriate INSERT. The only issue you will have is that you must make sure that setStatus(newStatus) is ONLY called on working copies read from or registered with a UnitOfWork. If this is true you should be able to create the new OrderStatusHistoryItem within the setStatus method and add it to the collection without registering it in the UnitOfWork.
Doug -
Helo community:
We have created a new object ("8C - job family") , this object is a copy of object "C" job, we have done the customizing, for example in table: T778O and we have filled it with:
8C Familia de Funciones PDOTYPE_C ICON_ISO_CODE
So, the question is when we create a new object in PP01, we want to create an attachment, but the options are disabled. Somebody knows how we should enabled these options?.
Thanks in advance,
FabiaaMicrosoft confirmed I have figured out the answer if you are having
an issue when your nested cluster breaks when you move your VM guest to the other host...(Below)
A nested cluster heartbeat network has to be setup...
Meaning not only does the nested HB have to communicate between its nodes (classic HB situation), but the HB also has to communicate to each host or communication is lost.
how to:
Present a physical nic to both hosts
Create a new virtual switch for both hosts pointing to the new nics (this will create virtual nics to add to your vm guests)
This also creates a virtual nic on both hosts (because the physical nic is being presented to hyperv)
Add nics to both guests in the nested cluster
Set IP's on all four nics (hosts and guests)
Creating a subnetted network between all 4 nics (Ping making sure you can communicate all around)
Now you will be able to fail one member of your nested cluster to the other host without breaking the nested cluster.
Communication between the host which does not own the guest is the key. -
How to create a new object for a particular class?
Hi,
Can anybody please tell the steps for creating a new object for a particular class.
Thanks,
SreejaDeclare the object as TYPE REF TO the class and use the CREATE OBJECT statement to create an object.
DATA <obj_name> TYPE REF TO <class_name>.
CREATE OBJECT <obj_name>.
Please mark points if the solution was useful.
Regards,
Manoj -
Problem in creating new objects in ABAP workbench
Hi ,
I am getting error in a newly installed SAP system when try to create new objects in ABAP workbench. The error is like'No changes for the user allowed'.
Can you tell me what the error is here? What can be done for this so that I can create new object.
Thanks,
ManasHi,
Run tcode SU01. (Provided if u hav authorization to run this Tcode)
Enter SAP* as user and click on the Copy button.
Enter the name for your new user in the dialog box and click Continue
Enter a password for your new user.
Goto Profile sheet and adjust the profiles to be SAP_ALL and SAP_NEW.
Save the user and logon with it.
Now you'll be able to do your changes.
Reward Points if useful.
Regards
Rose
Edited by: Rose Preethi on Mar 31, 2008 5:20 PM
Maybe you are looking for
-
OIM 9.1.0.2 wont start after upgrade
I have upgraded OIM 9.1.0.1 to 9.1.0.2 following the document from the patch. On running xlStartWLS.cmd to start the WebLogic domain - The command window just closes off in a second. Below is the output from xlStartWLS.cmd command I couldn't figure-o
-
Solaris 2.6 upgrade to version 8 on SUN ULTRA 10
Dear Mr. or Mrs: I met the same question as uxdms who left the message on Dec 20,2001. When I was trying to upgrade from solaris 2.6 to 8 release , there is "failed" warning and the upgrade isn't created. There is a detailed info: Mechine: SUN ULTRA
-
Oracle Client 11.2.0.3
Hi All, I want to download Oracle Client 11.2.0.3 for HP UX system. I only see Oracle Client 11.2.0.1 in the Oracle Download page. How do I get Oracle Client 11.2.0.3? Thanks!
-
What is the parallel command to select in Java?
I mean if 2 or more process try to connect me how can I accept them all?
-
Framemaker 8 licence for sale, complete with original package. Licence never registered and program never used. I accept offerings. Thank you.