Expired Master Agreements in E-Sourcing

Hi,
Is there a way to change the status of a Master Agreement to 'Terminated'(for example) when a Contract has expired without having to check all Expired contracts manually?
Regards,
Reshma

E-Sourcing out of the box provides something called OML's which are queries or objects that can be bundled together and saved a .oma files. OML (Object Migrartion List) or .oma files needs to be created in the source system first. This can be done using the Export feature in the Set Up section.
First check in the Query Defination section if there are objects available for migration...for instance Query Definitions always have OML's. Then create a .oma file using Export feature. Save that file and import it into the target system. Make sure the source and target are running the same version and patch of the software.
Hope this helps. Let me know if there are any other questions.
Parankush

Similar Messages

  • New master agreement via sourcing IAPI

    Hi!
    I'm new to sourcing, just doing my trainings. I'm running E-Sourcing 5.11, and need to create new master agreement via eso iapi (fciesoapi.jar and fciodpapi.jar). But most of that classes' methods marked as "Do not use", or "For internal use only". So is it possible to create master agreement from this API? Does anybody have examples, or maybe you can reccomend me some materials (all i have is generated javadocs).
    Regards,
    Siarhei

    see if this helps:
    A link to create master agreement in a user defined object
    Regards,
    Immanuel

  • Copy line items from Master Agreement to SubAgreement

    Dear all,
    As a requirement, we need to create a dummy line item at master agreement and subagreement level to be able to publish them to ERP without need
    to complete line items (they are completed in ERP via a development).
    We have created master agreement templates with a dummy line item but at subagreement level, templates are not available.
    What we are trying to develop is a script on post_create at agreement level to copy line items from Master Agreement to SubAgreement. We are able to get Master Agreement line items and copy them to the SubAgreement, but the subagreement is not created. This is the code we are using:
    import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeIfc;
    import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanIfc;
    import com.sap.odp.api.doccommon.masterdata.ValueListTypeIBeanHomeIfc;
    import com.sap.odp.api.doccommon.masterdata.ValueListTypeIBeanIfc;
    import com.sap.eso.api.contracts.ContractIBeanHomeIfc;
    Mst_agreementBean = doc.getParentIBean();
    lineItemCollectionSub = doc.getLineItems();
    lineItemCollection = Mst_agreementBean.getLineItems();
    collectionsize = lineItemCollection.size();
    colln = Mst_agreementBean.getCollectionMetadata("MA_LINEITEMS").get(Mst_agreementBean);
    colln2 = doc.getCollectionMetadata("MA_LINEITEMS").get(doc)
    newProject = Mst_agreementBean.getIBeanHomeIfc().createFromAnother(Mst_agreementBean);
    newMember = colln.get(1);
    //  Get Values Line Item
    assCat = newMember.getAcctAssignCategory();
    actLimP         = newMember.getActualLimitPercent();
    delAdCity       = newMember.getDeliveryAddressCity();
    delAdCount    = newMember.getDeliveryAddressCountryRef();
    delAdDist       = newMember.getDeliveryAddressDistrict();
    //... (all fields included in the script)
    // Create Line
    newMember2 = newMember;
    AgreementHome = IBeanHomeLocator.lookup(session, doc.getObjectReference());
    AgreementHome.upgradeToEdit(doc);
    // Set Values
    newMember2.setAcctAssignCategory(assCat);
    newMember2.setActualLimitPercent(actLimP);
    newMember2.setDeliveryAddressCity(delAdCity);
    newMember2.setDeliveryAddressCountryRef(delAdCount);
    newMember2.setDeliveryAddressDistrict(delAdDist);
    //... (all fields included in the script)
    try{
    colln2.add(newMember2);
    AgreementHome.save(doc);
    AgreementHome.downgradeToView(doc);
    collectionbean = colln2.get(0);
    logInfo("Value of  collectionbeanSub " + collectionbean );
    }catch (ApplicationException e){
    logInfo("Error " + e.getClass() + ". " + e.getMessage());
    When we try to create an Agreement under a Master Agreement (clicking Add on Agreement tab), following error message is shown related to the line in blue:
    Facility=local4;sessionid=4e73bb8e73304d6284816f93f4e04522a7c387b; tenantid=#tenant.ecb#;username=LUGUELL; exception=Sourced file: inline evaluation of: ``// **   import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeI ... '' : Method Invocation AgreementHome.save : at Line: 164 : in file: inline evaluation of: ``// **    import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeI ... '' : AgreementHome .save ( doc )
    Target exception: java.lang.NullPointerException: while trying to invoke the method com.sap.eso.contracts.ContractTypeBo.getVendorVisible()
    of a null object returned from com.sap.eso.contracts.ContractCommonBo.getTypeBo()
    ;stacktrace=Sourced file: inline evaluation of: ``// *JLA*    import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeI ... '' : Method Invocation AgreementHome.save : at Line: 164 : in file: inline evaluation of: ``// *JLA*    import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeI ... '' : AgreementHome .save ( doc )
    Target exception: java.lang.NullPointerException: while trying to invoke the method com.sap.eso.contracts.ContractTypeBo.getVendorVisible()
    of a null object returned from com.sap.eso.contracts.ContractCommonBo.getTypeBo()
    Any ideas what is causing the error? What are we missing on our code to copy line items?
    Many thanks,
    Marc Romagosa
    Message was edited by: Marc Romagosa de Riba

    We managed to create a line item at VALIDATE script, but not at POST_CREATE. Either it is a bug or it is not possible at POST_CREATE script.

  • How to change the standard query "Create a Master Agreement" by a custom one

    Hello Sourcing CLM experts,
    I would need to replace the standard query displayed when the user tries to create a Master Agreement by a custom query to filter the MA types according to some criteria:
    According to this post: Re: Create security profile for a document template in SAP Sourcing, I've tried to achieve it by doing the following steps:
    Create a new query as a copy of exsiting query FCI-ContractTypes
    Modify query group FCI-ContractTypesBP to include my custom query instead of the standard one to only list the MAType "Standard Master Agreement"
    Following you can see the change done into the query group FCI-ContractTypesBP:
    However, standard query has not been replaced and same set of MA Types are listed.
    Therefore, I would like to ask you:
    Is it possible to do this kind of modifications? If so, which query group need to be modified?
    If it is not possible, is there any other way to achieve that requirement?
    Thanks in advance for your time and support!
    Best regards,
    Isaac

    Hello again experts,
    If this query cannot be modified, is there any option to disable button below? Or at lease, to disable the query group to avoid the listing of MA Types when it is pressed?
    The reason is because we are going to set up the system in the way that only it will be possible to create Master Agreements from Template. However, if user keep on using that button he will be able to create MA from document types.
    Any ideas?
    Thanks again and best regards,
    Isaac

  • Disabling the default search when searching for master Agreements

    Hello Experts
    I am relatively new to SAP e sourcing ,we are working on 5.1 system.
    We have a query , Contract management->Agreements->Search master agreements and Sub agreements.
    This query takes a lot of time for execution.
    When user selects this option , it runs this query and then displays a screen with all the filters and search results at the bottom.
    I want to ensure that this query is not run by default, so that when user selects this option , the page only displays the selection criteria , users can specify the filter values and hit on search.
    Can anyone please help me on how can we disable the default execution of query everytime "Search master agreements and Sub agreements " is selected from the dropdown.
    is there any option within the query itself or do we need any script for doing this.
    Regards
    Vikas

    Hello Vikas,
    This should be the general approach.
    1) Write a new query that has the functionality you desire. In your case you can duplicate the existing query and make one of the filters mandatory. This will ensure that the query does not get executed by default. Save this new query in the system.
    2) Identify the corresponding query group. In your case it is FCI-ContractBuyList.
    3) In this query group, find the entry for 'Search Master Agreements and Agreements' query and check 'Remove Query from Selection List'.
    4)Add your new query in this query group and check the 'Include in SRM Navigation' checkbox. Click Save.
    Let us know if this works.
    Thanks
    Devesh

  • Master Agreement- Line Item- Plant- Org Unit

    Hi ,
    Trying to get OrganisalUnit object associated with a plant using below code (Master Agreement-Line Item Tab)
    lineItems=doc.getLineItems();
              for(int i=0;i<lineItems.size();i++){
                   lineItem=lineItems.get(i);
                   material=lineItem.getMaterialObjRef();
                   materialHome=IBeanHomeLocator.lookup(session,material);
                   materialBean=materialHome.find(material);
                   plant=materialBean.getPlantObjRef();
                   plantHome=IBeanHomeLocator.lookup(session,plant);
                   plantBean=plantHome.find(plant);
                            businessUnitCollection=plantBean.getCollectionMetadata("COLLN:3:647").get(plantBean);
                   for(int i=0;i<businessUnitCollection.size();i++){
                        businessUnitRow=businessUnitCollection.get(i);
    businessUnitCollection object size is 1. But the object is null.
    Please help!
    Goverdhan Totawar

    Got response from e-sourcing tech team. getCollectionMetadata can not be used for getting collection table.
    Since the ORG Unit is standard object provided by esourcing, if an API method is not exposed we need to log a ticke, and SAP will provide a standard method.

  • Uploading two contract documents to the same master agreement

    Hi:
    I am uploading contracts into the SAP Sourcing 7.0 using the 'Contract Agreement and Document Uploader' in the Document Setup of the Setup.
    For a particular scenario when I try to upload two different contract documents to the same master agreement I get this error.
    I am using exactly the same row in the CSV file except for the field FILE_NAME.
    The error that I get is-
    The attempted phase change failed. Return to your document to see errors. [PHASE_ERROR].....Import failed for object number 3. The Master Agreement has been changed by Jon Stewart, and your changes cannot be saved. You must discard these changes and reload the document. [STANDARD_ATTRIBUTE_ID].
    Thanks in advance
    Raghav

    Hi Raghav,
    I am sorry, i could not understand your problem properly. but the error with  STANDARD ATTRIBUTE ID is something i hope i can help you with.
    I had got the same error while uploading RFP Questions (STANDARD ATTRIBUTE ID) for Group Name. The reason i found for this error was that the group name had exceeded the maximum number of allowed characters i.e 40. Could you please check whether your data in certain field has exceeded the maximum number of characters.
    Can you please throw some light on other problem,  would be more than happy to help.
    Regards,
    Anshuman

  • Workflow for Master Agreement (Publish to ERP)

    What is the best practice for approval workflow before publishing a master agreement from eSource to ECC?
    In the interest in keeping the source-of-truth within a single application we do not want to keep approval workflow of Outline Agreements in ECC as it is currently when moving the creation of the master agreement functionality to eSource.  There is no inherent workflow functionality for master agreements in eSource.  Are there customizations and/or best practices for having workflow of master agreements such that the Publish to ERP would not be possible until approval has been done within the eSource application?

    Hi,
    As you rightly said, Work flow support is not available in MA and more specifically before sending it to ERP
    Here are some options you may want to consider:
    - Try to use ACL/Security rights to control who can publish to ERP. For instance only the "document owner" can publish and the document owners are responsible. You can put a message or ask the publisher to enter some values on extension fields on who all approved this document.
    - Try using approval functionality in ERP if that works. that may be the simplest..
    The following options require heavy customization & scripting:
    Leverage workflow support from other docs
    - Tie an User defined business document (UDO that supports workflow) with MA. Provide a custom action, which will create a UDO biz doc instance and trigger a workflow behind the scenes.  MA will have a reference to UDO and vice versa. Users will approve the UDO.  In your Pre Publish to ERP script check for the approval conditions of UDO and work with that.
    - if MA is created from Projects try using project workflow for the business process..
    Good luck!
    Thanks, Baski

  • Attachments Toolbar for Master Agreements

    On the sell side, when suppliers log on, we are trying to hide the Attachments toobar (button) when they are in Master Agreements. In Toolbar Customization I can Hide the toolbar but it does it on both the buy and the sell sides and we want to keep it available for the buy side. Has anyone wver come accross this issue and has a solution ?

    Jeff,
    It does make sense to me what you are trying but it does not make sense in the logic of SAP Sourcing.  You don't want the suppliers to see the button to not confuse them but in the logic if you activate it on one side the possibility you are sharing a document is real so it should be visible on both sides or you will have confusion on the buyer side if someone chooses internal and external view while the supplier doesn't see even the attachment section.
    On the buyer side the default is internal only so if this is not changed by the master agreement owner on the buyer side the attachment section will always be empty for the supplier causing no unnecessary confusion.
    There is no way at present to hide this only on the supplier side as far as I see it.
    Regards,
    Erik

  • Expired Scheduling Agreement could not be changed

    Hi Experts:
    I am trying to mark the delivery completed box of an expired Scheduling Agreement because the quantity still appears in MD04.  However, I could not change it because it says " validity of contract expired 28.05.2008". How could I change an expired Scheduling Agreement.

    It seems earlier for the line item the conditions was not maintained ,Due to this you are able to maintain the price for condition PBXX.
    Now PB00 condition is automatically comming means ,there should be some info record or contract is maintained for the sku.So system is picking the price from any one of master data.Check in conditions from there you will come to know from where is system is picking the price.Change the price in master data then it will pick changed price.

  • Script:How to access Master Agreement collaborators

    Hi
    I am trying to catch 1st collaborator name from "master agreement collaborator list" using Java Beanshell. I am using the below mentioned code:
    agreementBean = doc.getRootParentIBean();
    contractHome=IBeanHomeLocator.lookup(session,ContractIBeanHomeIfc.sHOME_NAME);  // get hold of current master agmt
    CollaboratorCollection = agreementBean.getCollaborators();          // to get all collaborators assigned to a master agreement
    collectionsize = CollaboratorCollection.size();
    if(collectionsize >0){
    Collectionbean= CollaboratorCollection.get(0)                        // Set pointer to 1st collaborator
    DisplayName= Collectionbean.getDisplayName();                 // Get name of 1st collaborator
    I am facing error with DisplayName. is "getDIsplayName" the correct method to fetch name of the first collaborator? Where can I get  list of methods for collaborator variable?
    Regards
    Mudit Saini

    Hi Devesh
    Thanks for your reply. You are right
    . contractHome=IBeanHomeLocator.lookup(session,ContractIBeanHomeIfc.sHOME_NAME) was not working properly so I removed it and instead I used  agreementBean = doc.getRootParentIBean() and the script is now working fine.
    Now I am able to get the name of the first collaborator from master agreement. Next step for me is to compare this name with user account name  and for the same I am using the below mentioned code:
    import com.frictionless.api.usermgmt.masterdata.UserAccountIBeanIfc;
    import com.frictionless.api.ibean.OrderedSubordinateCollectionIfc;
    import com.frictionless.api.contracts.*;
    import java.util.*;
    import java.text.SimpleDateFormat;
    import com.frictionless.api.contracts.ContractIBeanIfc;
    import com.frictionless.api.ibean.OrderedSubordinateCollectionIfc;
    agreementBean = doc.getRootParentIBean();
    CollaboratorCollection = agreementBean.getCollaborators();
    collectionsize = CollaboratorCollection.size();
    if(collectionsize >0)
    Collectionbean= CollaboratorCollection.get(0);
    CollectionName= Collectionbean.getDisplayName();
    UserHome=IBeanHomeLocator.lookup(session, com.frictionless.api.usermgmt.masterdata.UserAccountIBeanIfc.sHOME_NAME); // to get access to user account bean
    UserBean=UserHome.find(CollectionName); // to find collaborator name in user account
    UserName= UserBean.getDisplayName();
    Now the problem here is it seems IBeanHomeLocator.lookup(session, com.frictionless.api.usermgmt.masterdata.UserAccountIBeanIfc.sHOME_NAME)  doesn't work with user account bean.I am getting the following error:
    Sourced file: inline evaluation of: ``import com.frictionless.api.usermgmt.masterdata.UserAccountIBeanIfc; import com. . . . '' : No static field or inner class: sHOME_NAME of interface com.frictionless.api.usermgmt.masterdata.UserAccountIBeanIfc
    Is there any other method to get access to user account bean?
    Regards
    Mudit Saini
    Edited by: Mudit_UCB on May 13, 2011 8:15 AM
    Edited by: Mudit_UCB on May 13, 2011 8:16 AM
    Edited by: Mudit_UCB on May 13, 2011 8:21 AM

  • Importing Attachments for Master Agreements in CLM

    I am attempting to load contract files (.doc/PDF) using the import tool and I am having issues.  What needs to be populated in the 'Attachment Order Code' field in the load file.
    Can someone outline the steps to load an existing contract created outside of CLM to a master agreement?
    I am using E-Sourcing 5.1/CLM 2.0.
    Thanks in Advance,
    Kyle

    Jeff,
    It does make sense to me what you are trying but it does not make sense in the logic of SAP Sourcing.  You don't want the suppliers to see the button to not confuse them but in the logic if you activate it on one side the possibility you are sharing a document is real so it should be visible on both sides or you will have confusion on the buyer side if someone chooses internal and external view while the supplier doesn't see even the attachment section.
    On the buyer side the default is internal only so if this is not changed by the master agreement owner on the buyer side the attachment section will always be empty for the supplier causing no unnecessary confusion.
    There is no way at present to hide this only on the supplier side as far as I see it.
    Regards,
    Erik

  • Service Master Agreement Type

    Hi all,
    We have an requirement for using the service master agreement type  for one our project.
    Can anyone help in undertanding this agreement type.
    Regards,
    Priya

    Hi
    Service master agreement type is nothing but agreement with sub agreements. SAP here suggest that you treat service as a sub agreement thereby keeping track of various milestones etc. However in SAP ECC services are not individual contracts rather there is a seperate master data component (service master).
    Since there is no integration, decision you need to make is whether you want to treat service as an individual sub agreement or a material in e sourcing as there is no seperate master data component for services in e sourcing. Based on business requirement you can proceed further.
    Regards
    Mudit Saini

  • Unable to capture field values in Master agreement  Line Items

    I am trying to get the field values from master agreement line items page. I have written the following code to get the line item details which is working fine to capture part number and quantity->
    agreementBean = doc.getRootParentIBean();
    lineItemCollection = agreementBean.getLineItems();
    collectionsize = lineItemCollection.size();
    for(i=0;i<collectionsize;i++){
         collectionbean = lineItemCollection.get(i);
         partNum = ""+collectionbean.getPartNumber() ;
         Quantity = ""+collectionbean.getQuantity();     
         throw doc.createApplicationException(null,partNum + " , " + Quantity );
    Now, my problem is that I am unable to capture the following field item values in the master agreement > line items page.
    1. Price Unit
    2. Unit Price
    3. Product Category
    4. Plant
    Please help me to find the values.
    Thankx in Advance.
    Su
    Edited by: subrataindra on Aug 10, 2010 11:11 AM

    This will return the name of the plant.
    .getExtensionField("PLANT").get().getDisplayName(session);
    Check if this returns the product category
    collectionbean.getExtensionField("ITEM_CAT").get().getDisplayName();
    This will Return the Price
    collectionbean.getExtensionField("PRICE").get().getPrice();
    (return type :BigDecimal)
    This will return the currency
    collectionbean.getExtensionField("PRICE").get().getCurrency;
    (Return type:String)
    Similarly to retrieve other fields for which there are no standard functions, use .getExtensionField("Field ID")
    Hope this helps
    Regards,
    Immanuel

  • How to make extended field mandatory in Master Agreement

    Hello All,
    I am new to SAP CLM, and I have requirement where one extended field in master agreement needs to be made as mandatory field.
    I tried in extension definition but check box to make it required is disabled and I am unable to find other way to do it.
    Can some one help me and Please let me know how make extended fields mandatory in CLM.
    Regards,
    Prabhat

    Hi
    This could be achieved using Page Customization.Go to Setup-> User Interface-> Page Customization, open master agreement object (create new with UI ID:contracts.contract.ui.buyside.default if doesn't exist ) and add a new customization for extended field with Property set to Required.
    Regards
    Mudit Saini

Maybe you are looking for

  • Content available on peripheral without logging in

    How safe is safe? When I turn on my MacbookPro but do not login, and turn on my AllShare Samsung TV, I can acces all of my media content using the app TVMOBiLe over Wifi... That should not be possible, should it? That means that although my computer

  • Magenta cast and wavy lines

    Hello forum, having just purchased a new eMac and finding everthing as great as my last one apart from my screen! It seems to me that there is a large area at the centre of the screen with a magenta cast. When calibrated with my Spyder Eye One it giv

  • Adobe Application Manager wurde unerwartet beendet.

    Mit OSX kommt diese Fehlermeldung und ein Adobe Application Manager wurde unerwartet beendet., Photoshop cc download ist nicht möglich.

  • Get Approval Group by pass item or its category

    We make Approval Group based on item category for PR or PO approval. The question is , i want to get approval group based on item or its category. Just pass item id and get which approval group is going to approval this item. i got po_control_rules t

  • Pause Video Keyboard Shortcut While Using Word

    I am curious if there is a way to pause a video playing on the internet while using word. I am watching a prerecorded lecture on Safari and taking notes in Word. It is incredibly annoying having to switch back and forth to pause the video so I can co