Master Agreement Import Failed

Hi experts,
An error was encountered during Data Import of Master Agreement in CLM system.  Logs shown below.  
Details of the errors:
Failed: object 1: metadata exception
Exception: method not found
MessageId: exception.common.db.metadata.reflection
Info: target method = getObjectId [STANDARD_ATTRIBUTE_ID].
found in fpa logs:
metadata exception, Exception: method not found, AttributeId: SAPPORG_OBJECT_ID, MessageId: exception.common.db.metadata.reflection
When checking in Setup --> Extension Definition List --> Master Agreement Extensions, SAPPORG is existing in the Attributes tab
Regards,
Lester

Hi Lester,
In setup>extension defnition, you can define different extensions for an object type (e.g. MA) for different contexts. In case of MA, you can define different set of extensions in enterpirse context and in subcontext(s).
e.g. for enterprise context you can have EXT1 for MA
      for subcontext1 you can have EXT2 for MA
      for subcontext2 you can have EXT3 for MA
When a user logs-in he will be associated with a context based on his company. Say with subcontext 2. In that case the user can see only extension EXT2.
I was suspecting extensions are defined in a different context than from the user is importing... Please check.
1. Check 1: user used for importing, the associated company & determine the respective context
2. go to setup>ext def and look for this MA under this context and see the extension.
Thanks,
Baski

Similar Messages

  • CLM Importing Master Agreement: Is it possible to import custom collection

    Hello,
    We are looking to migrate some legacy data into CLM using the import master agreement (setup->Import and Export Tools).  This approach works fine for all standard data as well as extensions that are single entry fields (not collections).  We would like to load some data into extension field that are collections and are wondering what is the best, most efficient way to accomplish this.
    I can only think of the following method:
    Import all master agreement data standard fields and extension fields (not collections).  Once all are entered, we go into the master agreement and add the collection data manually or by importing csv files at that time.
    This method will be time consuming.  Is there a better way to accomplish this?
    Thanks in advance,
    Kyle

    Hi Kyle & Venkat,
    I am trying to import the contract through 'contract import workbook' present in RG.
    I have made & verified changes in field data values of the three worksheets in contracts.
    Now when i try importing, it gets failed giving me the error  - An error was encountered in column CONTACT/LOCATION.
    However, the same values do exist in Master Data.
    Can you please let me know if the same error occured with you folks & possible troubleshooting.
    Any pointers would be highly appreciated.
    Thanks,
    Tripti

  • 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

  • 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

  • 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.

  • Can we duplicate standard query Search Master Agreements and Agreements.

    Hi Experts,
    I have a requirement to hide Agreement Manager and Business Unit & Region result fields in standard Search Master Agreements and Agreements query.
    I have duplicated this standard query and deleted Agreement Manager and Business Unit & Region result fields. Try to run this query but it is giving error.
    Execution Type is Java.
    Query Executor Class: com.sap.eso.contracts.query.SearchAllMAandAgreements
    Error:  SQL Exception: Fail to convert to internal representation, ANSI-92 SQL State: 99999, Vendor Error Code: 17059. Fail to convert to internal
              representation.
    Does anyone have idea about this functionality or how this standard query can be modified.
    Thanks,
    Lava

    Hi Lava,
    There is the Standard Query ODP-ESO-MasterAgreementList
    Duplicate the query and remove the fields from the Result fields whcih you dont want. I think you will get the result required.
    Thanks
    Kushagra A

  • Different currencies in Master Agreement and it;s Sub-Agreement

    Hi Experts,
    I see that the Sub-Agreement(SA) by default have the same currency as that of the Master Agreement(MA). However, by using importer, we can create a SA which can have a different currency from it’s MA.
    If SAP allows the SA to have alternate currency using importer, why do it restricts from UI. We may have a business scenario where SA may be created for different countries and may have alternate currency.
    Please share your thoughts on this .
    Regards
    Praveen

    Hi Praveen,
    Currency field becomes read only as soon you add a line item to both Master Agreement and Sub-Agreement.
    If you want to make Sub-Agreement a different currency, you need to make to sure that there are no line items added until the intended currency is selected.
    I hope this helps.
    Regards,
    Parankush

  • Export Problems: "The share operation Master File has failed"

    When I try to export anything out of fcprx whatever the setting I get this "The share operation Master File has failed- The operation could not be completed because an error occurred when creating frame 1406 (error -1)"
    I have read that it a dodgy import but I did it correct this time?
    Any Idea how I can stop this?
    Cheers

    Have tried to disable nap? http://reviews.cnet.com/8301-13727_7-57612009-263/how-to-disable-app-nap-in-os-x -mavericks/

  • 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

  • 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

  • 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

  • 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

  • The share operation "master file" has failed. the operation could not be completed because an error occurred creating Frame 93164 (error-1). how can i find the frame?

    The share operation "master file" has failed. the operation could not be completed because an error occurred creating Frame 93164 (error-1). how can i find the frame?

    https://discussions.apple.com/thread/6219522

  • 9.0.2 page group import fails

    I'm trying to import a complete pagegroup, but the import fails , when i run the script to import the dmp file into the database. The log shows the following error. I dont know where i can correct this. The export went OK.
    $ pg AE*.log
    Connected to: Oracle9i Enterprise Edition Release 9.0.1.3.0 - Production
    With the Partitioning option
    JServer Release 9.0.1.3.0 - Production
    Export file created by EXPORT:V09.00.01 via conventional path
    import done in US7ASCII character set and UTF8 NCHAR character set
    import server uses UTF8 character set (possible charset conversion)
    export server uses AL16UTF16 NCHAR character set (possible ncharset conversion)
    . importing PORTAL's objects into PORTAL
    removed some lines>>>. . importing table "WWUTL_EXPORT_IMPORT$" 1 rows imported
    . . importing table "WWUTL_EXPORT_IMPORT_DETAIL$" 211 rows imported
    . . importing table "WWUTL_DOC_TX_DOCUMENT$" 0 rows imported
    . . importing table "WWUTL_IMPORT_MAPPING$" 0 rows imported
    . . importing table "WWUTL_NLS_TX_STRINGS$"
    IMP-00019: row rejected due to ORACLE error 1401
    IMP-00003: ORACLE error 1401 encountered
    ORA-01401: inserted value too large for column
    Column 1 10020125
    Column 2 wwc
    Column 3 ptl
    Column 4 10020125
    Column 5 ptb
    Column 6 <HTML>..<base href="http://iasdev.csn.com.br:7778/...
    Column 7 <HTML>..<base href="http://iasdev.csn.com.br:7778/...
    Column 8
    Column 9 <HTML>..<base href="http://iasdev.csn.com.br:7778/...
    Column 10 0
    Column 11 AE7A8BF371B30E3CE034080020E8D6DC 1508 rows imported
    removed some lines >>>>>>>>>>. . importing table "WWUTL_PTL_TX_FAVORITE_GROUP$" 0 rows imported
    . . importing table "WWUTL_SBR_TX_APPROVAL$" 1 rows imported
    . . importing table "WWUTL_SEC_TX_GROUP$" 0 rows imported
    . . importing table "WWUTL_SEC_TX_PERSON$" 0 rows imported
    . . importing table "WWUTL_SEC_TX_SYS_PRIV$" 288 rows imported
    . . skipping TOID validation on type PORTAL.WWSBR_SEARCH_PREFERENCE
    . . skipping TOID validation on type PORTAL.WWSBR_SITE_ARRAY
    . . skipping TOID validation on type PORTAL.WWSBR_LANG_STRING_PAIR
    . . skipping TOID validation on type PORTAL.WWSBR_LS_PAIRS
    . . skipping TOID validation on type PORTAL.WWSBR_STRING_PREFERENCE
    . . skipping TOID validation on type PORTAL.WWSBR_SEARCH_ATTRIBUTE
    . . skipping TOID validation on type PORTAL.WWSBR_SEARCH_ATTRIBUTE_ARRAY
    . . skipping TOID validation on type PORTAL.WWSBR_DISPLAY_ATTRIBUTE
    . . skipping TOID validation on type PORTAL.WWSBR_DISPLAY_ATTRIBUTE_ARRAY
    . . importing table "WWUTL_SRC_TX_PREFERENCE$" 0 rows imported
    Import terminated successfully with warnings.
    I'm migrating from development to a production environment. This is very urgent.
    Any help will be appreciated.

    Hi Andrew
    I guess this is one more to the yet long list of translation problems. What you say is also true for the "subpage" smartlink (it displays all versions of a same pages) for example ....
    i'm afraid we'll hav to wait for a major update.

Maybe you are looking for

  • EXC_BAD_ACCESS (SIGBUS) - Crahing Safari

    Hey guys, so watching netflix Safari 3.? crashed. Then it kept on crashing within several seconds of restarting it, regardless of which website I would naviagate to. This includes google.com and nytimes.com as examples. So, I installed Safari 4 hopin

  • The issue while  upgrading to  EHP1

    Hi we are upgrading solution manger netweaver 7.0 to ehp1 using SAINT. We couldnt  import queue since it was taking a long time hence we schedule the queue to be imported in background .  But the problem is that  the back ground job is running past f

  • TFTP transfer problems

    I am trying to upgrade multiple 1841 routers with a new ios which is IOS Software-12.4.24T5 advanced security. The Routers have 256 dram and 64 flash Min Requirements are 192/64 for the new ios. the ios file is about 32 mb in size and i have made at

  • Best quality to save jpeg - 10 vs 12?

    I am new to photoshop elements and have a question... After editing what quality setting is most popular for re saving jpeg images? The original size of my images are around 5mb, if I edit and re save at quality 10 they save at around 5mb, if I choos

  • Can bus

    Hello, Im trying to aquire data from 2 CAN interfaces on same card, I've written this programme (see attached) which works most of the time but is prone to giving me the internal driver error -1074388990. Is there any reason why the code would do thi