When an how to create an association?

Recently,I have been confused about association,can someone tell me when an how to create an association?

Hi Zhang,
I hope you want to know about cross Bo association.
When to create association?
You use association whenever you want to use other BO's(target) data in your current BO(source). In other word you can maintain relationship between two BOs using association. Association will provide reference of target BO in your source BO.
You need not to maintain all the structure of target BO in your BO, using association you can access any field of target BO on the fly.
How to create?
For example in your custom BO you want to use data employee BO
1. import the namespace of employee business object
import AP.FO.BusinessPartner.Global'
2. define association
association ToEmployee to Employee  //here ToEmployee is association name.
You have to set this association before to use the employee data in your ABSL.
Hope this help
Thanks
Sunil

Similar Messages

  • How to create an association in folder options panel in order to open an e mail

    when trying to open attachment, it tells me that this file does not have a program associated with it to perform this action.
    I have to create an association in folder options panel.
    how do i do that?

    See this: <br />
    http://support.mozilla.com/en-US/kb/Managing+file+types

  • How to create multiple associated record types in a single batch

    I know that when inserting records in a batch, if one of the records fail, the entire batch is rolled back. But is there a similar feature when inserting records of different types that are associated with each other?
    E.g.
    From a web application, the user fills in a form for Contracts and Contract Products and submits to CRM.
    The form will first create the parent object (Contract). After this has been created and the rowID for this new Contract object obtained, it can proceed to create multiple Contract Product objects, all tied to that Contract rowID.
    But if one of the Contract Products fails during insertion, the batch will only rollback the Contract Products. It will not rollback the main Contract parent. Is there any way to accomplish this?

    Well think of it I believe the scenario is too bird viewed hence the solution can't be exact.
    But thinking of a possible solution every time a child operation fails have a catch block where you you go back to system if the parent needs to be deleted if yes, call Delete Method on the parent.
    Note: Make sure that the decision on whether or not the parent record needs to be deleted will depends on the question "Does Parent Record already has several other children associated to it or not"
    Hope this clarifies.
    Regards,
    Messer

  • When and how to create a package

    I have a doubt about how Oracle loads a package.
    Let's suppose I have a package PACK1 with N procedures inside. When I execute a statement such an EXEC PACK1.PROC3(), does Oracle load all the N procedures of the package PACK1 into the SGA? I ask for that for a simple reason. I usually create a package according to the fact that all the procedures inside that package are "connected" among them in some way. A collegue of mine said me that he would like to put in a same package some more procedures even if they aren't all called among them, but because in some way thay deal with the same topic. Since I think Oracle loads all the package in SGA, I believe it would make sense to put inside a package only the procedures called among them.
    Can you help me?
    Thanks!

    Mark1970 wrote:
    I have a doubt about how Oracle loads a package.
    Let's suppose I have a package PACK1 with N procedures inside. When I execute a statement such an EXEC PACK1.PROC3(), does Oracle load all the N procedures of the package PACK1 into the SGA?Whenever any element of the package is referenced, the whole package is loaded into memory and (assuming it is not aged out) remains in memory for future use.
    I ask for that for a simple reason. I usually create a package according to the fact that all the procedures inside that package are "connected" among them in some way. A collegue of mine said me that he would like to put in a same package some more procedures even if they aren't all called among them, but because in some way thay deal with the same topic. Since I think Oracle loads all the package in SGA, I believe it would make sense to put inside a package only the procedures called among them.You are right. Also if other elements in the package are needed the overhead of calling them is very small, because they are in the same memory area. This means that you can and should group related program units together so that they can share data structures when needed and call each other with minimal overhead

  • Problem creating an association in the Default Programs control panel

    I have AOL mail.  I have typed a letter in WordPad that I want to send in an e-mail. I am receiving this message....There is no e-mail program associated to perform the requested action. Please install an e-mail program or, if one is
    already installed, create an association in the Default Programs control panel....I have a very basic knowledge of computers, so please consider this when answering my question....I do not have any idea what to do.

    Hi,
    So we are not using office outlook to send e-mail here?
    Regarding AOL mail issue, we'd better ask them here:
    AOL community support
    http://help.aol.com/help/microsites/searchEntry.do?tab=cs&searchString=how+to+send+text+to+aol+mail&radios=true&searchTitle=
    For how to create an association in the Default Programs control panel, we could take a look in the thread below:
    How do I create an association in
    the Default Programs control panel of Windows 7?
    Best regards
    Michael Shao
    TechNet Community Support

  • How to add default associated groups when creating new site

    Hi All,
    I am trying to create a new subsite in sharepoint 2013 using CSOM (code is mentioned below). But no default groups (MEMBER, VISITOR, OWNER) are getting created in that site. When we try through UI we will got through a page "Set Up Groups
    for this Site" where we can specify these details.. Is it possible to do the same (creating default groups together with the site creation) through CSOM or powershell.
    CSOM code:
    WebCreationInformation creation = new WebCreationInformation();
                creation.Url = "NewSubSite6";
                creation.Title = "NewSubSite6";
                creation.UseSamePermissionsAsParentSite = false;
                Web newWeb = clientContext.Web.Webs.Add(creation);
                //clientContext.Load(newWeb);
                clientContext.ExecuteQuery();
    Regards,
    Shahabas

    Shahbas, here is the code:
    private static void SetSecurityOnSubSite(ClientContext clientContext, ListItem item, bool confidential, Web newWeb)
                try
                    if (confidential)
                        newWeb.BreakRoleInheritance(false, false);
                        clientContext.ExecuteQuery();
                        Group ownerGroup = default(Group); Group memberGroup = default(Group); Group visitorGroup = default(Group);
                        // web has unique permissions, so create default assosiated groups (owners, members, visitors)
                        if (!newWeb.GroupExists(newWeb.Title + " Owners"))
                            ownerGroup = newWeb.AddGroup(newWeb.Title + " Owners", "", true);
                            clientContext.Load(ownerGroup);
                        if (!newWeb.GroupExists(newWeb.Title + " Members"))
                            memberGroup = newWeb.AddGroup(newWeb.Title + " Members", "", false);
                            clientContext.Load(memberGroup);
                        if (!newWeb.GroupExists(newWeb.Title + " Visitors"))
                            visitorGroup = newWeb.AddGroup(newWeb.Title + " Visitors", "", false);
                            clientContext.Load(visitorGroup);
                        // executequery in order to load the groups if not null
                        clientContext.ExecuteQuery();
                        newWeb.AssociateDefaultGroups(ownerGroup, memberGroup, visitorGroup);
                        newWeb.AddPermissionLevelToGroup(newWeb.Title + " Owners", RoleType.Administrator);
                        newWeb.AddPermissionLevelToGroup(newWeb.Title + " Members", RoleType.Contributor);
                        newWeb.AddPermissionLevelToGroup(newWeb.Title + " Visitors", RoleType.Reader);
                        FieldUserValue userValueCreatedBy = item[Constants.Projects.CreatedBy] as FieldUserValue;
                        User createdByUser = clientContext.Web.EnsureUser(userValueCreatedBy.LookupValue);
                        clientContext.Load(createdByUser);
                        clientContext.ExecuteQuery();
                        UserCreationInformation createdByUserCI = new UserCreationInformation();
                        createdByUserCI.LoginName = createdByUser.LoginName;
                        ownerGroup.Users.Add(createdByUserCI);
                        clientContext.ExecuteQuery();
                        foreach (FieldUserValue userValue in item[Constants.Projects.ProjectTeam] as FieldUserValue[])
                            User user = clientContext.Web.EnsureUser(userValue.LookupValue);
                            clientContext.Load(user);
                            clientContext.ExecuteQuery();
                            UserCreationInformation userCI = new UserCreationInformation();
                            userCI.LoginName = user.LoginName;
                            memberGroup.Users.Add(userCI);
                        clientContext.ExecuteQuery();
                catch (Exception)
                    throw;
    Reference link: 
    http://sharepoint.stackexchange.com/questions/116682/how-to-create-a-group-in-a-subweb-using-csom
    Thanks, Pratik Shah

  • Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Same problem here (no graphics in header or footer) and the problem has been reported months ago. It is another bug/feature lost when Apple moves from 09 to the iCloud-compatible versions.  Complain to Apple, you may have better chance than me and they may finally listen to their users....

  • How to programmatically set initial password when a user is created in OID

    We are using the odihragent synchronization process to automatically create users in OID when an employee record is created. We would like to set the initial password for the newly created user to their last name + the last 4 digits of their SSN.
    The odihragent process is successfully creating the user in OID and populates the last name and the last 4 digits of the SSN in OID. According to an open SR I have with Oracle, we cannot use the odihragent process to set the initial password because any time the employee record is updated, the synchronization process will reset the password to last name + SSN. They have recommended that we use a pl/sql plug-in to set the password using the WHEN_ADD plug-in procedure.
    I am new to using OID and plug-ins and the examples provided in the Developer's Guide are limited.
    I would like to know if anyone else is using plug-ins or another process to set initial passwords when a user is created? If you are using plug-ins would you be willing to share a code sample?

    I am surprised that I have not received any responses... Surely there are others who are experienced with programmatically setting passwords when new users are programmatically created. Does anyone have any pointers on how to best accomplish this?

  • HT4436 I have a windows PC. When I enter my apple id and password to the icloud, it shows "Apple id is correct but it's not an iCloud account" So how I create iCloud account or how can I fix it?

    I have a windows PC. When I enter my apple id and password to the icloud, it shows "Apple id is correct but it's not an iCloud account" So how I create iCloud account or how can I fix it?

    To enable iCloud on your Windows PC,
    first set up iCloud on your other (Apple) devices,
    then install the iCloud Control Panel for Windows...
    From Here  >  http://www.apple.com/icloud/setup/pc.html

  • How do I create an association in Folder Options?

    How do I create an association in Folder Options?
    I tried to start using the free version of Photoshop to organize pictures and (hopefully) set up the screen saver to view a group of pictures instead of them being randomly selected as Windows XP does it.
    However on right clicking on a picture, and then on "Adobe Photoshop Album Starter Edition 3 up comes this message: "This file does not have a program associated with it for performing this action. Create an association in the Folder Options control panel".
    If someone would kindly advise me just exactly how to do this, I'd be most obliged.
    Many thanks,
    Stuartp77.

    It seems your Folder Associations got broken somehow. To restore them, you would need to do the following:
    1) Open Windows Explorer
    2) Select Folder Options from the Tools Menu
    3) In the Folder options Window, select the File Types tab
    4) In the Registered File Types list, you will see a list of all types of file name extensions.
    5) Select the extension of the file that you were trying to open
    6) Click the Open button and select Adobe Photoshop Album Starter Edition (Viewer) option.
    7) Click OK and it should work now.
    Let me know how it goes.
    ~Vibha~

  • TS3989 Mssage when opening Photo Stream on-"This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel" Help!!!

    Mssage when opening Photo Stream on-"This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel" Help!!!

    You are posting in the "icloud on my mac" forum, but your profile mentions Windows.  If using a mac, you need to have iphoto or aperture installed in order to receive new photos via photo stream.  If using windows, try posting in the iCloud on a PC forum.  You'll get better help there.
    https://discussions.apple.com/community/icloud/icloud_on_my_pc

  • When running setup, I get"This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel.

    whe I try to install Firefox 4.0.1, I get a Red X message. ""This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel. Is there a fix?

    I Did that. When I try to install, I get the same message. I have come to believe this is a windows 7 or IE 9 problem. I also have active X problems that I can not resolve. I can not open Gmail also

  • How we can see when the condition records created.

    Hi,
    How we can see when the condition records created ( Valid from and Valid to ) ? And also how we can see the changes made in the Condition records?
    Regards,
    jyothi.

    Hello,
    you can display the condtion records in transaction VK13.
    Here you have the posibillity to display the changes of the condtion records.
    Please goto VK13
    > Enter your selection criteria
       > Enviroment
          > changes
    But you can also create a condtion list. and the you can display more than one condition record:
    Please have a look at the transation V/LD - Pricing Report
    For example: conditon list 14 for taxes.
    Here you get an overview of tax condtions.
    I hope that the information are helpful.
    Regards
    Claudia
    If you are satisfied with the answer, please give Reward Points.

  • How do i get to know when Person record is created in SAP HR Master Data?

    Hi there,
      How do i know as and when a person is created/inserted into HR Master data from SAP R/3 SAPGUI? in relation to SAP .NET Connector(SDNC)... Must i use SDNC? or any SAP process? i am new to SAP R/3.
      I need that immediate information of the person created so that i can manually create the user in Exchange account using a .NET program. Please advise regarding the part within SAP to external signaling.
      Thanks.
    Cheers,
    Derek Tan

    Unfortunately I can't answer your question directly (you may ask in ABAP-forum if there are some BAPIs that allow you to poll for new users/employees or a user exit that would allow you to do a custom call to an NCo-based RFC server.
    However I would suggest you to search for information about the so-called "LDAP-connector" which is part of MySAP and NetWeaver products, and is intended exactly for your kind of scenarios.

  • How to create an idoc when the credit memo is generated!

    My requirement is "An idoc will be generated when the credit memo is created "
    What is the possible way to that.
    Please send me steps (with screen shots if possible)
    thnks

    Re: How to create a credit memo !
    Reward point..

Maybe you are looking for

  • XML Publisher Report ends with Warning -- Invalid Character Error in XML

    Hi, I have migrated the standard report 'Invoice Print Selected Invoices' from Reports 6i to XML Publisher. It has to print a Euro(€) in the report. It does not even generate the XML File fully. It gives the below error in the XML File. When i remove

  • F.13 Clearing Procedure - Criterions

    Dear All, Can anybody tell me what are the fields (Criterions) we have to maintain (in T-Code: OB74) for clearing the GR/IR accounts? Regards JS

  • PlugIns for Windows Media Player

    I have run across this many times and I don't understand what this means and how to correct it. When using the Windows Media Player 9 (for OSX) and I go to various webcams, I get a message that states... "This page has content of MIME type "video/x-m

  • Having trouble connecting to App Store when on vacation overseas

    I have an iPad2 and an iPad mini that bought and use primarily in the US. I am currently in vacation and found that I cannot access the App Store in either Dubai or Mumbai. EVery time I try to update an existing app or purchase a new app I get an err

  • IMovie installation  does not end

    When I open a session, iMovie's status is 'to be updated' in AppStore. When I click to update it, the process begins and nevers ends. The status in AppStore is 'installation'. Any idea to know how to proceed ? (purge sthg ? remove imovie before updat