Can i create more than one attributes for the custom class created using java API

Hello everyone,
I have been creating class and its attributes programatically using java APIs, I want to know that is there any way to create multipal attributs for the same class in just one call of API with all the options for each attributes,
thanks

You can create a new class and define all of the Attributes at the time the class is created - this is the preferred way of creating classes. Use the addAttributeDefinition() method on ClassObjectDefinition. If you need to add attributes to existing classes, you can only add them one at a time (using the addAttribute() method on ClassObject).
(dave)

Similar Messages

  • Can we have more than One DC for the sales organization and Plant combo?

    Can we have more than One DC for the sales organization and Plant combination?
    If yes can you please site a practical example to clear the picture

    Hi
    First of all in SAP sales orgs are assigned to distribution channels and the combination of sales org and distribution channel which is called distribution chain is assigned to plant
    There is  no direct link  between sales org  and plant or distribution channel and plant
    So  sales org  and plant combination doesnot exists and
    it is only sales org and dist channel combination which is  called as distribution chain only exists
    Nowhere in SAP we are assigning sales org to plant
    It is because sales org alone doesnot make sense and its combination with dist channel only makes sense
    because sales org is a selling org and the distribution channel is the route to sell and this combination has only to pick the material from plant to process sales to customers
    The relation between sales org and distribution channels is many to many and also vice versa
    Multiple sales orgs can be assigned to one distribution channel and
    Multiple distribution channels  can be assigned to one sales org
    Similarly the relation ship between Distribution chain (sales org+dist channel) to plant is also many to many and vice versa
    Similarly plants from other company codes can also be assigned to Distribution chain to facilitate intercompany processes
    In whatever way look at it the multiple distribution channels can be fit anywhere
    Regards
    Raja

  • Can there be more than one port for the same logical system

    Can we have more than one TRFC port for tranferring data from one logical system to another?
    The requirement is to transfer same basic idoc type from one logical system to another through two different ports. Is it possible?
    For eg. some specific data (country specific) for the same basic idoc type can be sent through a separate port and the other data through a different port inorder to distinguish between the two.

    Hi Shital,
    I don't think so. Because of that what i told you. There would be a dirty trick (back routing) to solve your issue. But its quite difficult and not standard. You create two http receiver services  and two http sender services. You route your message depending on payload to the one or the other http receiver channel. The receiver is in both cases: THE XI! Now you have a second message, which you  can route to IDoc adapter. But in this case you have different sender and in the receiver determination you can put the sender, so you will be able to use different communication channnels and so different ports / destinations.
    Advantage: Your task would run, no performance problem (http: very good, asynchron)
    Handicap: You see every message double in the monitoring, the scenario is not easy to understand and it is a big task 4 other people to change it.
    Regards,
    Udo

  • Sourcing: Creating more than one PO for the same BID

    Hello,
    We are using the sourcing functionality in SRM 5.0 (classic escenario).
    On the basis of an acepted bid, we generate a Purchase Order in the R/3 Backend system.
    We noticed that in the standard, SRM lets us create for the same position of the bid, another Backend PO, without warning or error.
    We would like to manipulate this escenario in such a way that this PO repitition of the same Bid position is not possible.
    Anyone already found a way around this problem? May be we need to activate an error message?
    Thanks for any reply.
    Aart

    I agree that
    SRM lets us create for the same position of the bid, another Backend PO
    but it does give warning that I have seen.
    would recommed to work with yr ABAP team to see whether you can convert this message to type "Error".
    one more suggestion is for ..... PO_NEW badi
    hope you would have implementation of this exit.
    then you can check whether for current BO BUS2200 whether ECC PO is already created
    if yes
    then do not create again
    BR
    Dinesh

  • Can I have more than one library for the same ipod nano?

    I have a desktop pc that I have originally setup my nano on. I have about 400 songs on that computer. I have about 500 other songs on my laptop, can I put itunes on to both computers and have them add the songs from each one respectively without erasing the other? and if so, how?

    Type 61675 into the search bar under the support tab on this website. "How to use ipod with multiple computers"
    Basically, you have to change your preferences to manually manage instead of automatically update.

  • Can i create more than one instance for single database?

    HI
    anybody can tell me how to create more than one instance for single database(without using RAC)?
    thanks
    Kalanidhi

    Anandji,
    I sometimes think differently. I also think like what this person is asking..(although I have installed and administering 5 different RAC databases)
    The main doubt of mine is that we create multiple instances accessing the same storage area.
    Anyway the controlfiles of all instances will have the same information except the instance_names and instance id's.
    Hence I always think , why can't it be possible to to create another instance in the same system and point it to a controlfile which is copied from the other instance.
    Why can't the same files be shared between the two instances in a same system ?
    I know I am thinking a little bit confusing...
    Anyway I need to test that also...
    Mahesh.

  • Can i create more than one library on the same computer?

    Can I create more than one library on the same computer?  Just got an ipod for my wife but didn't want her to have to use my library to sync to, so I thought I created another library for her.  When I deleted my albums from her library the disappeared from mine. (I think?)

    pajagsfan wrote:
    Can I create more than one library on the same computer?  Just got an ipod for my wife but didn't want her to have to use my library to sync to, so I thought I created another library for her.  When I deleted my albums from her library the disappeared from mine. (I think?)
    I know it's Valentine's Day, but before you get your wife fixed up the first thing you need to do is recover the deleted albums for your own library.  See if the files are elsewhere on your hard drive, or in the Recycle Bin.  When you find them, get them back into your own library.  Now you are ready to help your wife.
    As noted above, you can have two libraries in one Windows user account via the Shift-Start approach, but if you both use your libraries regularly, that becomes annoying quickly.  It is better to set her up with her own Windows user account. She can have her own iTunes library there.
    Get a copy of your entire iTunes folder to start her off.  She can delete stuff she doesn't want without messing you up.

  • Creating more than one account for a single user

    I was wondering, if I creat more than one account for me (the only person that uses my powerbook) is that going overboard? I mean, lets say I am logged into the standard account and I want to learn more about the bash shell and using terminal which I am new to, if I **** something up will the whole system be toast or will only things in that account be messed up? Like could I then just log into my admin account and delete the other messed up one? Or no? My theory was that this was a way of keeping my comp safe from myself, being that I am new to macs and moreso that I am new to the unix side of things and want to start learning the command line without worrying about screwing up my whole system. I would just use the standard account for everyday use (like what I do now) or experiment with terminal, and when I need to download something or change some settings that requires me to be logged in as admin then I would log in and download what I need then log out and use it in the standard account...am I just wasting my time? Is what I am doing any "safer" than just having one admin account and thats it?
    Thanks for all the help! It feels good to be a part of the goodguys team =)
    Thanks again!

    Ghost,
    First, I don't subscribe to the "one should not use an admin account" philosophy. For someone who is the owner and main user of any given machine, I see the use of anything but an admin account a bit anal, totally unecessary, and needlessly complicating.
    On the other hand, I don't see the need for more than one admin account on any given machine. Yes, I see exceptions to this, and many people favor having a second admin account as a "backup," but I have never had more than one admin account on any of my machines, and have never encountered a situation where one would have helped.
    In short, I like the idea of having a "main" admin account that is used most of the time, and then having "secondary" accounts (all non-admin) for any additional users that might log in.
    Now, any limitations that apply to you as a GUI user of an account, admin or not, will apply to you at the command line as well. In other words, you can't get yourself into any more trouble at the command line than you can within the GUI. In fact, you might even be better protected at the command line than you are in the GUI. I say this because any action that would ordinarily "elevate" you above the standard capabilities of a non-admin user require the use of "sudo." Avoid the use of sudo, and you can avoid any problems.
    That doesn't mean that you wouldn't be able to do something stupid that might wreck an account that contains "all of your stuff," and on which you depend. It is not likely that you would damage your System, but it is entirely conceivable that you might, for example, accidently delete or overwrite your entire HOME folder. Oops!
    If you simply don't trust yourself with the command line, a second account might be a good place to experiment. Maybe create it as a non-admin account at first, with the option to change it to an admin account at a later time, when you want to learn how to use "sudo" to do more powerful things. By then, you will understand what not to do. Eventually, you will have the confidence to use the command line in your own account, which will have been an admin account all this while.
    Scott

  • Can we give more than one value for an Authorization field in Auth-Check.

    Hi all,
    Can we give more than one value for an Authorization field in Auth-Check.
    Ex: AUTHORITY-CHECK OBJECT 'S_TRVL_BKS'
    ID 'ACTVT' FIELD '02'
    ID 'CUSTTYPE' FIELD <Value 1> <Value 2> <Value 3>.
    IF SY-SUBRC 0.
    MESSAGE E...
    ENDIF.
    If yes, please help me with exact syntax.
    Think it will be like
    ID 'CUSTTYPE' FIELD: <Value 1>, <Value 2>, <Value 3>.

    Hi,
    yes we can give more than one field.
    program an AUTHORITY-CHECK.
    AUTHORITY-CHECK OBJECT <authorization object> 
       ID <authority field 1> FIELD <field value 1>. 
       ID <authority field 2> FIELD <field value 2>. 
       ID <authority-field n> FIELD <field value n>. 
    The OBJECT parameter specifies the authorization object.
    The ID parameter specifies an authorization field (in the authorization object).
    The FIELD parameter specifies a value for the authorization field.
    The authorization object and its fields have to be suitable for the transaction. In most cases you will be able to use the existing authorization objects to protect your data. But new developments may require that you define new authorization objects and fields.
    please reward points, if it is useful.
    satish.

  • Can I sync more than one iPhone to the same computer?

    Can I sync more than one iPhone to the same computer?
    I have one MacBook pro, already have my iPhone synced to it. I want to sync my wife's to it as well so she can share my iTunes library.
    Is this possible?

    Create a new user login (with a password) for your stuff.
    This way, your data won't get mixed up.

  • HT1657 Can you rent more than one movie at the same time?

    Can you rent more than one movie at the same time on itunes?

    I think Justin is correct and you should have statistics in place and a reasonable partition scheme so that the optimizer selects the correct partitions rather than telling it what to do. You paid a lot for partitioning after all.
    There are some, possibly misguided, examples in the manuals showing how to create a view so you can delete from a single partition without specifying the partition criteria in the delete statement. This in effect turns partitioning back into DIY partitioning i.e. separate tables, union all and pretend its a single logical table using a view. But backwards.
    So to do what you want you just assume the partitions are separate tables, and then use union all to glue the ones you want back together.
    select * from sales partition (sales_q1_2000)
    union all
    select * from sales partition (sales_q1_2001)
    union all
    select * from sales partition (sales_q1_2003)
    union all
    select * from sales partition (sales_q1_2004);It probably goes without saying that as well as making the expensive version of partitioning behave like the free alternative, there is the possibility that it will perform like it as well.

  • Need to maintain more than one address for single customer.

    Dear All,
    I need to maintain more than one address for single customer, Is it possible? If so how can I maitain kindly send the details.
    Rgds
    Srinivasan.K.R.

    Dear Srinivasan,
    I don't think you can maintain the more than one address for single customer as per the standard.
    You can this options
    1.You can create different ship to parties as per the addresses.
    2.You can change the address manually while creating sales order for single customer.
    I hope this will help you,
    Regards,
    Murali.

  • Can I add more than one movie to the movie page

    I'd like to put up a gallery of movies  but don't know how to do that.  How can I add more than one movie to the movie template page?
    Thanks,
    Gina

    I use the YouTube widget. It has the advantage of not loading clips until one actually selects the clip. When I started I just dragged the quicktime files to the page...not a good idea as it forced a viewer to wait for all of them to load.
    Miro has some options.
    Hugh

  • Can you have more than one user on the new ipad?

    Can you have more than one user on the new ipad?

    You cannot set up more than one user account on the iPad if that is what you mean.
    Obviously families will share an iPad, but they are really meant to be single user devices with one Apple ID only on the iPad. Multiple ID's on one iPad can become a bit of a hassle to deal with.
    There is no way to lock apps or email accounts so that can become an issue as well. If you use the built in mail app for email, whoever is using the iPad can read your email.

  • Does it make sense to create more than one repository of the same type?

    Hi guys!
    Does it make sense to create more than one repository of the same type? Let's say 2 CM repositories?
    Thanx for answer!
    Peter

    Hi Peter,
    yes, that makes sense. If you want to use different combinations of repository services you need different repositories. Or if you want to include existing data (e.g. file systems) from different locations. Or if you need to use different backup strategies (RDBMS, file), or ...
    BTW, my KM Installation (NW04 SPS9) has <b>23</b> CM repositories by default.
    HTH,
    Carsten
    Message was edited by:
            Carsten Buechert

Maybe you are looking for

  • Trying to share library across 2 user, cant edit info on users though?

    Ok, I have followed instructions to allow all users on my Mac to share the one iTunes music folder. I put the iTunes folder in the HD>Shared>Music folder. I then added the library to the other use, and can see the music ok. However I click on get inf

  • Bitrate Balancing for DVD

    Hey guys, I'm trying to fit multiple sermons (about 30 minutes each) on a DVD. I've seen many churches do this, and I feel like the quality is leaps and bounds a head of what I'm producing. I'm currently capturing using a Blackmagic DeckLink (SD-SDI)

  • Confusion in Order of row and statement level trigger

    Hi can anyone tell me, if i create some trigger on table emp as in below order.. BEFORE INSERT .. ROW LEVEL BEFORE INSERT .. STMNT LEVEL AFTER INSERT .. ROW LEVEL AFTER INSERT .. STMNT LEVEL than what will will be order of execution of trigers? How o

  • How do you iterate through a string?

    Hi! How do I loop through a string of characters. My program needs to iterate through a string in order to do some calculations. Here is an example: <item>1</item> <description>This is an example.</description> How I iterate through description one c

  • Files could not be found

    I transferred all of my iMovies and my iDVD project to a new computer. I need to reburn the iDVD and it says all of the files could not be found. How can I remedy this? Thanks!