Record Management Examples?

Hello,
I want to write a webservice which checks a folder in my content database if there are any files older then xx days. If so the webservice should move these files into some kind of archive.... But i dont know how to start because i found no documentation. In the ContentDB Developers Guide are also no examples for the record management....
Are there some kinds of tutorials, code snippets or something like that?
EDIT:
I've tried somethink but it didn't work....
//RecordsManager rm;
RecordsManager rm = session.getRecordsManager();
NamedValue[] fpdef =
new NamedValue[]
new NamedValue(Attributes.NAME, "Test"),
new NamedValue(Attributes.DESCRIPTION, ".... Test.....")
rm.createFilePlan(fpdef, null);
... i recieve this error message:
FdkException:
Error Code: ORACLE.FDK.AccessError
Detailed Error Code: ORACLE.FDK.AccessDenied
Trace Id:
info (NamedValue[]):
ECM.EXCEPTIONINFO.ObjectId=46544 (Long)
Whats wrong with the NamedValue[]?
thx
Matthias
Message was edited by:
SigMa

Hello,
i tried something else and it seams that the user has no right to create a record category, folder, series under the domain, because the ID that is mentioned in the error code is the id of the Domain.
ECM.EXCEPTIONINFO.ObjectId=46544 (Long)
But its wired, because the admin is allowed the create record categorys etc. in the webinterface. Only within the web service he cant create something....
On the other hand read is allowed....
Item fp = rm.getFilePlan("Test", null);
Item rs = rm.getRecordSeries(fp.getId(), "Testreihe" , null);
Do you have to register the domain at first or something else i forgot?
EDIT:
I've tried something else and added the Attributes.GRANTS to the NamedValue... but it also didn't work...
Here to code for the new NamedValue:
NamedValue[] secnv = new NamedValue[] {
ClientUtils.newNamedValue(Attributes.GRANTS,
new NamedValueSet[]
CommonUtils.newNamedValueSet(
new NamedValue[]
ClientUtils.newNamedValue(Attributes.GRANTEE,
new Long(sampleUser1.getId())),
ClientUtils.newNamedValue(Attributes.ROLES,
new long[]
recordsAdminRole.getId()
NamedValue[] fpdef =
new NamedValue[] {
new NamedValue(Attributes.NAME, "TestFP"),
new NamedValue(Attributes.GUARD_SECURITY, secnv)
thx
Matthias

Similar Messages

  • Records Management Sytem link to DMS Document

    I'm trying to programatically create a document in DMS from Records Management System and create a link to the document.  I can create the document using BAPI_DOCUMENT_CREATE2 but cannot figure out a way to link to the document.
    Does anyone know if there is a BAPI or function module to do this?

    HI Michael,
    This cookbook gives an example of how to link a BO to record automatically. You can probably use the same concept
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40be7649-72f7-2c10-03b9-c85d56eff2e5?quicklink=index&overridelayout=true
    BAPIs  SRM_RECORD_ADDELEMENT & SRM_RECORD_ADDELEMENTS can be used to add one or more than one elements in a record.
    Please note that if adding an object to arecord is one processing step in a bigger process which may need access to same record again & again then it is better to use record APIs(methods of IF_SRM_SP_RECORD) . BAPIs should be used for one off access to records since every BAPI opens record, makes changes & then closes record.
    For a bigger process which requires access to same record again & again, opening & closing records so many times becomes costly for performance.
    Thanks & Regards,
    Pragya

  • Problem with custom development for documents in Record Management

    In Record Management i have setup a record model. It contains Bor objects, documents, cases and so on.
    Each kind of record managent object has it own requirements.
    For the documents there is a requirement which demands that if the scandate is changed also the date till which the document must be helded in the system must be changed.
    This cannot be done automatically via default SAP and i don't want to let the customers do it there selfs, to much risk they make errors, so this must be done via custom development.
    The logic searches in a enhanced method for the right attributes from the importing list of available attributes of the particular document.
    This is going well in the development system but when i transport it to the test system it fails. I have noticed that the content of a custom developed field ( for example ZSCANDATE) is loaded well but a default field like SRM_DOM_STORAGE_START not. The systems returns an error that the description of the attribute is missing. When i look in the DMWB ( DocuMent WorkBench )  i dont see errors, but afcorse there is one.
    What can i have forgotten in my record management installation?
    Offcorse the test system is a copy of a working development system, but you have also some things that are system dependent. and i think i have forgotten some of those..
    If you have a idea let me know!
    kind regards,
    Anton Pierhagen.

    Hi BalusC,
    thanks for the quick answer. I tried it as you said and now I get a validation error in my h:messages tag on my jsf page after submitting the form. There are no errors in my JBoss console, just this one word on my jsf page. Do you have any idea what this could mean?
    My two lists look like this:
    private ArrayList<GroupBean> selectedItems = new ArrayList<GroupBean>();
    private ArrayList<SelectItem> allGroups = new ArrayList<SelectItem>();The allGroups list gets filled like this:
    for (GroupBean group: groups){
    allGroups.add(new SelectItem(group, group.getName()));
    }where groups is a simple collection of GroupBeans which I read from the database. This seems to be correct; at least my list of checkboxes shows the correct group names.
    Now here is my selectManyCheckbox:
    <t:selectManyCheckbox id="sensor_access" value="#{sensorBacker.selectedItems}" layout="pageDirection" layoutWidth="3">
    <f:selectItems value="#{sensorBacker.allGroups}"/>
    </t:selectManyCheckbox>Any idea what goes wrong here?
    Thanks for your help!
    Wiebke

  • Oracle Web Center - Records Management Sessions at Collaborate 12!

    Save the Date For COLLABORATE 12!
    The COLLABORATE 12 Conference will take place April 22-26 2012 at Mandalay Bay resort in Las Vegas.
    Three and a half days of sessions | Search now to determine topics of interest to you and your team members. | Four full tracks dedicated to:
    Oracle WebCenter Content, Portal, Sites and Social
    Topic Spotlight - Records Management
    Trying to control the growth of records in your organization? Do you need to ensure regulatory compliance? Trying to minimize litigation risks? Then Monday at Collaborate is the day for you! On Monday April 23rd, we will have an entire room dedicated to Oracle records management (URM) topics. Learn what Oracle did to implement records management internally and how their email strategy is connected. Discover Nevada Energy’s approach to records management. Listen to the folks from Bezzotech as they teach you how to reclaim physical storage space through records management. All this AND MORE! But, you’ll never know if you’re not there, so get busy and register today! http://events.ioug.org/p/cm/ld/fid=22
    This year, collaborate will consist of over 800 sessions total available with more than 75 sessions dedicated to WebCenter and how to optimize and manage your Oracle WebCenter implementations. Hear from Oracle customers, product managers & partners on their experiences with: WebCenter upgrades, user provisioning, workflow, integration, and more! Include Collaborate 12 in your training plans for 2012!
    Use this URL see the full line up of WebCenter sessions that will be presented at COLLABORATE 12: http://www.box.com/s/5tec7l46l4c35mhg3vc4
    Please take the WebCenter COLLABORATE survey so we can better understand what you would like to see at the COLLABORATE conference. https://www.surveymonkey.com/s/WCSIG1
    Make sure to attend WebCenter sessions to be entered in a drawing for prizes. The more WebCenter sessions you attend, the better your odds of winning an Apple iPad 2!
    Get an additional entry to the drawing when you register for COLLABORATE. On page three of the registration form when you see the question “What Special Interest Group (SIG) would you like to attend?” select “WebCenter SIG” from the dropdown list.
    Register Today! http://events.ioug.org/p/cm/ld/fid=22

    First, can you see the agent and host in EM?  If not, then you'll need to follow these steps:
    emctl secure agent
    emctl start agent
    emctl config agent addinternaltargets
    emctl config agent listtargets
    The host and agent must be "green" in EM to discover targets.   The last command listtargets will show you what the agent has "auto-discovered".  Not all targets can be auto-discovered.
    Did you check the Auto Discovery Results to see if the targets are waiting for promotion?  If they're not there, then you might have to "manually" discover them.  
    http://docs.oracle.com/cd/E24628_01/doc.121/e24473/discovery.htm#CBAEGHBH
    For each target type, there could be additional pieces that you need to look for when discovering, for example for
    SOA - http://docs.oracle.com/cd/E24628_01/install.121/e24215/disc_mon_soa.htm#GSSOA9921
    IDM - http://docs.oracle.com/cd/E24628_01/install.121/e24215/idm_discover_config.htm#GSSOA10201

  • Records management and Document builder in SRM with PS

    Hi,
    We are implementing SRM 5.0 with PS ( Public section), can any one share any experience and documentation about Records management and Document builder in SRM with PS.
    Thank you
    Sreedhar Vetcha

    Hi Chris,
    I am having the same issue as Patrizia while using BSP, SRM_DEMO_RECORD & SRM_DEMO_BSPEXT, to search/display, maybe update later the records,documents,and notes that are stored in RM. I have read all the documentation  described in your messages as to how to customize web display BSP application using these 2 BSPs, srm_demo_record & srm_demo_bspext. 
    I tested SRM_DEMO_RECORD with <srm:element> tag embbeded in the layout page, but it lists only the records that associated to a given RMS_ID and SPS_ID, and I wasn't able to get it to display the associated document and notes for a selected RM record. The comments on the iview page in BSP suggest the custom code is needed for initial request from browser and callback event to return the notification for the activities occurred in RM. As you suggested to Patrizia, I wonder if you've some sample code that i could use to make these BSPs work before additional enhancements is needed later.  As far as other prerequisit settings of http access and assigning search interface class to the correct service provider element type using GENSP_QUERY_EXT connection parameter are all properly set with my customer. So i'd feel really grateful if you could forward me the example codes for these BSPS.
    Regards,
    Amy Lee
    SAP NetWeaver Consultant

  • RECORD MANAGEMENT & DMS in EP KMC

    Hello,
    is there anybody who can answer these questions:
    1, how connect documments from record management (ECC 5.0)
       to the EP KMC (6.0 SPS15)  ?
    2, exist any way how connect documents from DMS to EP-KMC
       read-write ?
    Please, write me your practice with R/3 documents connected to KMC.
    Thanks,
    Vasek Krivak

    Hi Perkash,
    In earlier version there is a standard BSP demo for Records Management.
    You can find it in SE80 -> BSP-applications -> SRM_DEMO_RECORD. Keep in mind this is a demo. You should copy it and change some data to your own settings. For example on the iviem.htm event_handler tab the standard RMS_ID  is S_RMS_DATA and the standard SPS_ID is SRM_SPS_RECORD.
    In the registry of the SPS_ID of your record type you can fill the option GENSP_QUERY_EXT with an own class. Thus you can change the search parameters for the records.
    You of course need to activate some services (like the HTTP service in SMICM) and your BSP service in transaction SICF to get it to work.
    There is (or was) a howto on the BSP of RM on: http://service.sap.com/recordsmanagement in the media library under documentation called HowToGuideBSP_EN.pdf.
    Best Regards,
    Tjalling-Jan

  • Record Management. Search record by objects added into the record

    Hi all,
    We would like to navigate from the gos (generic object service) of a  business object to the record where this object is added. In principle the object will be added just to one record and it will be manually added from the organizer in the specific record. The point is that when someone is at the business object and at the gos press the record button, will navegate to the record.
    Our problem is how without adding any specific field can we know the record where this object was previously manually added.
    Any ideas? I was thinking of updating the attributes of the record (for example reference) after the object is added in the organizer, with the value of the object but I don´t know if there is a exit o service I could use when the object is added, the could give me the value of the object and also how to get the record values in order to update its attributes.
    Apart from this, can anyone tell me, in the definition of a record model, for an object model node, what the relationship  is used for? or where to find documentation, because I hope I could set a relationship with the record and the object that aftewards could be useful for my problem but when clicking there it just appear an screen with Available relationship _ Other objects but I can set any object o parameter and also in a record object I don´t find anything related with this.
    Best regards and thanks for the help

    Dear Pablo,
    Try this...
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0c5d6a5-71f7-2c10-d6ac-c476b82a9c87
    or
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40be7649-72f7-2c10-03b9-c85d56eff2e5
    You can find more cookbooks in here...
    SAP Netweaver Folder Management (ex-Records Management) [original link is broken]
    Best Regards,
    Pragya

  • Setup Records Management Centre

    Good day, I truly hope someone will be able to help me?  I am creating a records centre for a client for the first time in my life :-) on SharePoint 2013.  The client has a Document Management system with sub sites for each department, e.g. HR
    sub site, Legal sub site, Finance sub site.  But the records management structure they use, looks different.  For example, Management Communication, Policies, Meeting Docs, Finance FAQs, HR FAQs.
    Within each department sub site is for example Meeting Minutes, Agendas and all those need to move to Meeting Document in the Records Centre.
    Main Site 
    HR Sub site                      
    Meeting Minutes  (move to Meeting Docs)
    FAQs  (move to HR FAQs)
    Leave Policy  (move to Policies)
    Finance Sub site
    Meeting Minutes  (move to Meeting Docs)
    FAQs (move to Finances FAQs)
    Cellphone Policy  (move to Policies)
    Records Centre
    Meeting Docs
    Policies
    Finance FAQs
    HR FAQs
    Now the documents should move when 6 months old:  the Meeting minutes of both sub sites should move to Meeting Docs in Records Centre and the two Policies should move to Policies in Records Centre, the FAQs in HR should move to HR FAQs and the FAQs
    in Finance should move to Finance FAQs.
    I see I can set up a retention on the Information Management policy in each library of the sub sites, but when it reach the 6 months period it should start a workflow - notifying the Document Owner to declare as record.  But I can not see a workflow
    in 2013 designer that declares a record.  And how do I indicate in each library which documents should move to which Records Centre library?  Especially the FAQs that each has a separate folder
    Please help / if you can show me where I can find a tutorial on how to set it all up, I'll appreciate it very much.  Thank you.

    Hi,
    In SharePoint Designer 2013, the actions "Send Document Set to Repository" and "Declare Record" are deprecated. We only can use them in SharePoint 2010 workflow platform. More information about changes in SharePoint Designer 2013, please
    refer to the link:
    http://msdn.microsoft.com/en-us/library/office/jj728659(v=office.15).aspx
    So, if you want to send documents into Records Center, I suggest you use SharePoint 2010 workflow platform with the action "Send Document Set to Repository". If you want to notify the document owner, you can add an action "Send an Email".
    About how to use "Send Document Set to Repository", you can refer to:
    http://blogs.c5insight.com/Home/tabid/40/entryid/228/Submitting-a-Document-Set-to-a-SharePoint-2010-Repository-in-Workflow.aspx
    In each library of each sub site, you need to create the workflow, and configure Information Management Policy to start the workflow.
    In the Records Center, create one Record Library for each library(ex. Meeting Doc, Policies, etc), when a document is added into a Record Library, the document will be declared as record automatically. So, it is not necessary to declare documents as record
    in workflow.
    So, next, in the Records Center site, you need to do is creating a content organizer rule for the documents of each type library to route documents to certain record libraries.
    About how to create content organizer rules, please refer to the link:
    https://support.office.com/en-us/article/Create-Content-Organizer-rules-to-route-documents-74dfe36d-e3d6-40b7-9a5c-beea0c84deed?ui=en-US&rs=en-US&ad=US
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Record Management. Record Model relation

    Hello,
    Can anyone explain me what is the relation functionality in the record modeller?
    I mean the part between rol visibility and attributes.
    Help sap says:
       "Optional: Enter a relation. The relation expresses the relationship between the element and the record above it. Input help is available for selecting the relation. (You maintain relations in registry maintenance in the dialog box for Area, tab page POID Directory.) "
    You can define this relations using SRMREGEDIT in the Direct POID tab but I can't find any example where you can use this part of the record modeller.

    Hi,
    Relation is a business semantic given to a linkage between two objects. For eg, in SAP Records Management which is used by PLM in the backend, a record created using a record model will have a IO(instance of) relation written for it. Similarly, if you have attached an object to a record then a CT(contains) relation is written with record being the main object & linked object being subservient object. This is just to understand the relations & does not necessarily affect the behaviour of the objects.
    thanks & regards,
    pragya

  • Difference btw SAP Records managements and SAP DMS?

    can some one pls tell me wat is the difference between records management and sap dms...
    thank you.

    Hi Vivek,
    perhaps some remarks to SAP Records Management. SAP Records Management (and SAP Case Management) is a powerful infrastructure for creating cross-component application since you can organize any SAP and Non-SAP information object as a record (tree) in a role based view.
    One classical application is the HR personnel record. You collect documents (archived documents as well as DMS documents (with versioning)) together with personnel master data and other information. For each employee there is a record instance.
    Another application is a machine record for a machine producer. It is a collection of SD objects and of engineering documents.
    A record can also be business partner record collecting information about the business partner and for example other records that refer to the business partner.
    Since SAP Records Management is designes as a Service Provider Framework you can integrate any kind of information objects both in SAP and in non-SAP systems.
    So, also SAP DMS services can be wrapped as SAP Records Management service provider and hence be used in SAP Records Management applications.
    The focus of SAP DMS is the handling of engineering documents and their behaviour in production. Based on SAP Knowledge Provider it is more a document management service.
    SAP Records Management is stressing the aspect of building cross component applications and their business flow. SAP already provides a lot of standard service providers but you can also build your own service providers and hence integrate your own objects.
    For more information, see the documentation and get a first flavour by starting the transactions ORGANIZER and SRMREGEDIT.
    By the way in contrast to SAP DMS, SAP Records Management is part of NetWeaver.
    Best regards
    Torsten

  • How can I create a model node in SAP Records Management

    Product: SAP Records Management
    Hi,
    I would like to create a model node in a record tree.
    I found in the function modul BAPI_RECORD_ADDELEMENT no entry for the creation of a model node. Only the instance and the structure node can create by this function modul.
    So, does anyone know a solution to create a model note?
    Regards,
    Thomas Fanninger

    Hi Thomas,
    it is not possible with the BAPI due to the piece of coding:
    case  myElementType.
            when glob_const_elem_type_instance.
              myRecordElement->Type_Set( if_srm_sp_record_element=>type_instance ).
              myRecordInstanceElement ?= myRecordElement.
              loop at element_sp_poid into myElementSpPoidWa.
                mySpPoidWa-id = myElementSpPoidWa-name.
                mySpPoidWa-value = myElementSpPoidWa-value.
                insert mySpPoidWa into table myElementSpPoidTab.
              endloop.
              myElementSpsId = sps_id.
              myElementPoid = myClientService->poid_get_instance( im_rms_id  = myRmsId
                im_sps_id  = myElementSpsId  im_sp_poid = myElementSpPoidTab ).
              myService->check_sp_connection( myElementPoid ).
              myRecordInstanceElement->poid_set( myElementPoid ).
            when glob_const_elem_type_folder.
              myRecordElement->Type_Set( if_srm_sp_record_element=>type_folder ).
            when others.
              perform set_error using '852' return.
              return.
          endcase.
    But you can do that by using directly the Records API. How to use this is demonstrated in the report 'SRM_RECORD_API_HOWTO'. Search there for the subroutine 'fillrecordelement'. There a record element for insert is created and its type is set. You can set the type there to 'IF_SRM_SP_RECORD_ELEMENT~TYPE_MODEL'. Of course your POID then may not be an instance POID.
    Best regards,
    Thomas

  • TREX index for Records management in CRM

    Hi All,
    Hopefully this is the correct forum to post this question, if not please let me know the correct one.
    Does anyone have any information on linking TREX to RMPS?
    This is to resolve an issue where the case search on business partner first and last name fields are case sensitive in the electronic desk.  In the DMWB we have ticked the Index-Relevant option but have been advised that we also need the link to TREX.
    I have set up a TREX search index for the Solutions database in the past but setting this up for Records management doesn't seem to be as easy.
    Many thanks in advance.
    Gary Hawkins

    Hi Vishnu,
    Try this BAPI: BAPI_BUSPROCESSND_CREATEMULTI
    BAPI_BUSPROCESSND_SAVE
    Regards
    Arun Kumar
    Rewards Points if it helps.

  • IMPORT_FUNCTION in content model for Records management

    Hello!
    I customized my own content model for documents with my own attributes, it works fine, and everything is ok... but when i define property IMPORT_FUNCTION in DMWB for my content model, it has dump with error "DP_ERROR_GENERAL" when i'm trying to save the new created document...  Even if i set function without code for attribute IMPORT_FUNCTION, it still has dump... why?
    i need to get info about uploaded file, such as path and etc... i have found this information only in this function.
    Thanks for any help...

    Hi Luk,
    The linkage of module may be very critical. But if you have a requirement for attaching the documents like photo,certificates or other documents related to employee to records management then you can create a radio button to recodrs management screen with help of abap'r and directly attach these documents to respective records management screen.
    for linkage it may not feasible or much critical.
    Hope this will help.
    Regards,
    Ravindra

  • Records Management not appearing in my folder/file properties

    I just did a fresh install of OCS_101200.tar.gz . I enabled records management using the steps described in http://download.oracle.com/docs/cd/B25553_01/content.1012/b25275/scenarios.htm#FLSAG129 . I can log into the /rm webapp and create file plans, records policies, etc. But when I right-click on any object in the Collaboration Suite web interface and click Properties, Records Management does not show up as a menu option. Is there an easy fix, or did I mess up the installation?

    Hi ckonstanski,
    as far as I can remember you have to define at least one record category in the RM Web client ( http://your.OCS.com/rm ) to make the Records tab visible in CS Web client.
    Kind regards,
    - Roland

  • Extending Expense Management Example in BPM Suite

    Hi All,
    I am a newbie for BPM Suite. I went through the expense management example.. Next, I would like to extend the example and integrate it with external resources like database and http server (apache tomcat will do).
    For eg, Can I store the list of participants in the database and retrieve them when I launch my workspace.
    I read about BPM Process API (PAPI), PBL, Fuego but I am not able to relate these. Can anyone please explain me how are they used in integration with BPM Suite ??? Next, How is BPEL Manager Used with BPM Suite ???
    I tried searching internet for tutorials/articals but was not able to find anything relevant.
    Kindly help...
    Many Thanks,
    Sophie

    Here are the steps:
    1. create an external source for your DB: right-click on External Resources -> New External Resource -> Type: SQL Database -> enter all necessary information on your DB (page 145 Oracle BPM StudioGuide)
    2. create a module: right-click on Catalog -> New -> Module -> enter name (page 167 Oracle BPM StudioGuide)
    3. catalog the external resource: right-click on the newly created Module -> Catalog Component -> SQL -> choose your ex. res.
    4. create a BPMObject according to your data structure you want to store.
    5. create a presentation based on this BPMObject
    6. use a BPM Object Interactive Call in your screenflow to display the form (presentation).
    7. implement an automatic activity (impl. type: method) and enter this SQL statement into the method (var1SF id my instance variable in the screenflow):
    INSERT INTO buch (id, titel, author, preis)
    VALUES (var1SF.id, var1SF.titel, var1SF.author, var1SF.preis)
    Have also a look at the thread:
    h4. BPM and database interaction
    and consider Dan Atwood's answer (i couldn't implement it yet...) on reading data from the DB

Maybe you are looking for

  • MacBook pro will not start!!!

    I really need some help. My Mac will not turn on properly. It turns on, makes the start up noise and within seconds goes to the grey screen with my name for login in, and the guest log in. I put my password in, it loads about a quarter on the way and

  • Dream Home Setup

    I would like some input on how to best setup my dream home network setup. I have Cat5e run throughout my entire house.  Basically a drop in every room (more in some rooms).  -I am thinking about an ASA 5505 for the main router. -IPS and Gigabit speed

  • Can I FaceTime ipad3 with imac

    Can I do a Facetime call from my ipad 3  to my iMac and vice versa Do I have to "trick it with a call # ( if I use the same e-mail ) example My ipad will be in Portland and my iMac in OKC iMac is Mountain Lion iPhone to iMac and iPad to iPhone work f

  • Network LOD support for All Paths between 2 nodes

    In the in-memory Network API, there is a method NetworkManager.allPaths. This method returns available paths between 2 nodes with possible constraints. I am looking for a similar method in the LOD NetworkAnalyst class and am not finding it. Is there

  • Print attachments

    Hi,   I hope someone can help me. I am doing a smartform to show the TR VCN01's information. This TR has attachments. So I want that in the screen of selection in the smartform will be a button which show the attachments and if you click in one attac