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

Similar Messages

  • How can I create a details cube with millions records

    Hello everyone,
    I need now to create a cube for details data. But the problem is that the details data is very large. There are some millions records.
    How can I design such cube in the essbase? Or can man create such cube in the essbase at all?
    I need your suggests. Thank you very much!
    Ming

    hello Sandeep,
    thank you for your reply.
    Our situation is we have biee+essbase.
    And the users want to see the details data. The data is too large.
    The users want to get all data from excel (hyperion).
    So there are many problem with the speed performance.
    How can I design so that the performance is better?
    Ming

  • How can I create a loop in a multi-record block (on the background)

    I have a multi-record block.
    In one item I change a value.
    Upon this change, in the when-validate-item I would like to
    change other records in the same block.
    I planned to loop the block with go_record and to do my things
    in each record. Unfortunately the go_record built-in is
    restricted and cannot be used in a wvi-trigger.
    Another approach can be to update the records in the database
    and to perform an execute_query after this change. Also this
    procedure cannot be used in a wvi.
    How can I easily loop in a multi-record block???

    You can try to put loop with go_record in KEY-NEXT-ITEM on that
    field.
    Or if you change something and then press KEY-COMMIT you can
    update another records in database and after commit do again
    execute_query. Something like :
    on KEY-COMMIT:
    update_another_records;
    commit_form;
    execute_query;

  • Can we handle physical data storage through SAP Record Management System

    Dear Experts,
    how can we use Record Management system for handling the process involved in physical storage
    of records ( like files, documents, boxes, x-rays etc) their retrievals, destruction etc.
    Same as that how to handle space management, allocate space to store physical storage, retrieve the available spaces etc.
    Any hint or reference  to implement these requirements through Record Management System will be very useful.

    Closing ..

  • How can we create Versions for Products in SAP CRM

    Hi All,
    We want use Product Versions in our CRM IC Webclient. We want to be able to select a product and then have a list of versions to pick from. Can anyone tell me if they have configured Versions for Products in their SAP CRM system. If yes, then how did you go about it.
    Thanks,
    Ramesh Nallabelli

    Hi Arup and Shanthala,
    Thanks for the prompt responses. Appreciate your help. We want to create Product versions like this: Product: Windows OS Version: 95, 98, XP, Vista, 7, etc.
    When I try to create a configurable product, using the Configuration tab, to create or use a product model I see an error message: PME installation with errors The long text is: The environment variable PME_HOME that includes the PME application has to exist locally in order to start the PME from CRM.
    This indicates the configuration of IPC in our CRM system. This is something that we have not undertaken so far.
    When I use the Poduct Variants tab to create a product variant for a configurable product, I can't edit here. This view opens in a display only mode. After reading some more about this, It looks like variant configuration needs to be used in tandem with ERP variant configuration. There might also be a need to recreate this in the Java configuration engine. We are going to create these products in CRM only, so this might not work for us.
    Regards,
    Ramesh

  • How can I create an iPhone3g ringtone from a recorded MP3

    I've recorded my daughters voice as an mp3 file (about 10 seconds long) and want to use it as a ringtone on my iPhone3G but cannot figure out how I do this. I'm using iTunes8 and all the instructions I've found on creating ringtones will not work as menu options simply aren't there and no amount of messing around with the file will allow me to drop it into the ringtones folder on my library. This is infuriating as is the apple support site 8-(

    The easiest way I found was by using http://audiko.net/en.html. You just upload any MP3, trim it by dragging the handles to what you want and then download it to your PC. Then, you can just drag it to the Ringtones section in iTunes.

  • How can I create tables (data dictionary) on SAP Environment in BATCH mode?

    I need a Help on Table Creation on SAP in Batch Mode. I don't want to use SE11 and manually enter all 2000 table definition in the Front END. Is there any way where I can create a tables on SAP in Batch MODE. I want to create around 2000 tables, where schema is generated from external source.  As we know table created from Native SQL will not be available in SAP Application Layer.

    Hi Kenneth,
    Which version are you in? I'm on 4.7 and i have the class on my system.
    You may even try using the Function module that i had mentioned in my earlier post. That might solve your problem.
    Please write back if you problems decides to have a date with you.
    Thanks, Debasish

  • How can i create a substitution in OBBH?

    Hi.
    I want to use a exit with " exits-param = C_EXIT_PARAM_CLASS." in T-code "OBBH' to change the test of doc item.
    I create the form and append this form into exits.
    But now I find  i can't create a step in "complete document".
    Message:
    You may not substitute any fields for this Event
    Message no. GB175
    Diagnosis
    Although substitutions are permitted  for the boolesche class 15 (application area FI, Event 0003), the application did not release any field for substitution.
    System response
    Processing is terminated. You cannot change any field for this Event (even within a substitution exit). Defining a substitute therefore makes no sense.
    But my friend can create the Step in Complete document.
    Please help me how can i create it ...

    Hi,
    SAP limits the number of fields that you can use for substitution. If you want to use a field that SAP does not make available for substitution, you have to modify table GB01.
    Regards,
    Sridevi
    <i>* Assign points, if useful</i>

  • How can i create a Step in OBBH

    Hi.
    I want to use a exit with " exits-param = C_EXIT_PARAM_CLASS." in T-code "OBBH' to change the test of doc item.
    I create the form and append this form into exits.
    But now I find  i can't create a step in "complete document".
    Message:
    You may not substitute any fields for this Event
    Message no. GB175
    Diagnosis
    Although substitutions are permitted  for the boolesche class 15 (application area FI, Event 0003), the application did not release any field for substitution.
    System response
    Processing is terminated. You cannot change any field for this Event (even within a substitution exit). Defining a substitute therefore makes no sense.
    But my friend can create the Step in Complete document.
    Please help me how can i create it ...

    Hi,
    SAP limits the number of fields that you can use for substitution. If you want to use a field that SAP does not make available for substitution, you have to modify table GB01.
    Regards,
    Sridevi
    <i>* Assign points, if useful</i>

  • How can I create an element in the model node?

    Hi, Experts,
    I create a model node that name is containerNode in the contxt. Cadinility is: 1..n
    I write the code in the method:
      private String getDataForOutputTable( IWDNode wageTypePayslip, IWDNode containerNode ){
           String betrgSumStr = "";
         int index = 0;
         Vector containerVector = new Vector();
         int size = wageTypePayslip.size();
         IWDNodeElement element = containerNode.createElement();// The system report error when I run the application.
         BigDecimal betrgSum = new BigDecimal( 0 );
    I try to create a element in the containerNode, But the system report error when I run the application.
    java.lang.IllegalArgumentException: model object must not be null
         at com.sap.tc.webdynpro.progmodel.context.ModelNodeElement.<init>(ModelNodeElement.java:66)
         at besuretech.com.wdp.IPrivatePayDataDispView$IOContainerElement.<init>(IPrivatePayDataDispView.java:1537)
         at besuretech.com.wdp.IPrivatePayDataDispView$IContextNode.doCreateElement(IPrivatePayDataDispView.java:88)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.createElement(NodeInfo.java:884)
         at com.sap.tc.webdynpro.progmodel.context.Node.createElementInternal(Node.java:1351)
         at com.sap.tc.webdynpro.progmodel.context.Node.createElement(Node.java:1370)
         at besuretech.com.PayDataDispView.getDataForOutputTable(PayDataDispView.java:251)
         at besuretech.com.PayDataDispView.getAllData(PayDataDispView.java:196)
         at besuretech.com.PayDataDispView.onPlugPayListViewIn(PayDataDispView.java:154)
         at besuretech.com.wdp.InternalPayDataDispView.wdInvokeEventHandler(InternalPayDataDispView.java:391)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
    How can I create an element in the model node ?
    Best regards,
    tao

    Hi,
    You need to execute the model before creating the element.
    Regards
    Ayyapparaj

  • SAP RM: How can I create a Node when the node is not visible for the user

    Hi,
    Product: SAP records Management for Public Sector
    Version: 7.00
    is it possible to create a instance node when the model not is not visible for the active user?
    I looked in the CL_SRM_XML_REC_MODEL but every methode I used gave me no results with the special user.
    Regards and thanks for every beginning
    Fanninger Thomas

    Hi,
    here an example.
    When I use the method CL_SRM_XML_REC_INSTANCE->IF_SRM_XML_POID~GET_ALL( POID_TAB COUNT_USER_REST COUNT_POID_AUTH ).
    When I used the user with no right for viewing the invisible nodes I get no elements in the tabelle POID_TAB and 38 in the value COUNT_USER_REST.
    So did any one know a solution you can I create a nodes and change the restriction for the new node with the normal user?
    Regards
    Fanninger Thomas
    Edited by: Thomas Fanninger on Feb 5, 2008 8:15 AM

  • In the JTree model,how can I transfer DefaultMutableTreeNode into Node?

    In the JTree model,how can I transfer DefaultMutableTreeNode into Node?

    hi,
    add it to the jtree.getModel().getRoot().add(node);
    Cheers,
    Gokul

  • How can I create an EntityStore for a Database?  Advice on DB strategy?

    Hello All,
    How can I create an com.sleepycat.persist.EntityStore for a com.sleepycat.db.Database? Advice on DB strategy?
    I'm looking to create an application prototype that creates a database dynamically and can delete it programatically. Is openDatabase/removeDatabase what I'd want to use for that?
    So far, the Direct Persistence Layer is an amazing piece of technology and has the potential to make my team's application faster than we every though possible, so kudos to the author.
    I've built a high-security application using the DPL and a single database for hundreds millions of users. I'd like to attempt to create a database for each user for security and manageability purposes. Our mission statement doesn't allow us to execute queries for sensitive data across more than one user account at a time, so I don't get any benefit from having every user's objects in a single database. I'm investigating if giving each user their own database will speed up insert times and SecondaryIndex queries. It'll certainly be more secure as each database will be encrypted with a unique password.
    My design is that I have an app with dozens of com.sleepycat.persist.model.Entity beans which I persist and query on their Primary and secondary indexes. I've been accessing things through an EntityStore as illustrated in the Getting Started Guide. Can I access a database created with openDatabase through an EntityStore and com.sleepycat.persist.PrimaryIndex?
    Thanks in Advance,
    Steven
    Harvard Childrens Hospital Informatics Program

    I closed this as I found another way to solve my issue.
    Thanks,
    Steven

  • How can I make a "property node" for a VI?

    Hello!
    If I add a boolean button on the FP then I am able to make a property node for that button in the Block Diagram. But how can I make a property node for a VI? I have several VI:s an that together is one program. What I need to do is to verify what kind of VI some of my VI:s is. I need to verify if it is .exe or .vi-file, and if it is .exe then I want to disable run, abort, run continuously bottons otherwise not. I have hard that this is possible to do programmaticaly but I can´t figure out how. I am aware that I could do that manually in the File->vi properties->customize->windows appearance but theese choises makes it last forever.
    I want to be able to stop and run and everything if it is a .vi file, but if it is .exe-file then all those buttons should be disabled.
    Anyone have an example on this?
    In an other message at this Forum I read "You can use the `Front Panel Window. Allow Runtime PopUp`" property to disable run-time shortcuts menues programmaticaly, but still I dont know how to create this property node.
    /Amir

    You really shouldn't open a new thread. If you don't understand something, ask and we will explain it.
    Like I said in the other thread, you can check if you are running in LV or an EXE by using the Application>>Kind property. To get it, place a property node (from the Application Control palette) on the diagram, click it and find the property.
    To set the properties for the VI, place another property node, right click it and select Select Class>>VI Server>>VI. You should have the properties you want under Front Panel Window.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf). I believe chapter 17 of the user manual explains about programmatic control of VIs.
    Try to take over the world!

  • How can i create a new user with only read rights ?

    How can i create a new user with only read rights ?

    You are asking about a Database User I hope.
    You can look into the Oracle 8i Documentation and find various privillages listed.
    In particular, you may find:
    Chapter 27 Privileges, Roles, and Security Policies
    an intresting chapter.
    You may want to do this with the various tools included with 8i - including the
    Oracle DBA Studio - expand the Security node and you can create USERS and ROLES.
    Or use SQL*Plus. To create a
    user / password named John / Smith, you would login to SQL*Plus as System/manager (or other) and type in:
    Create user John identified by Smith;
    Grant CONNECT to John;
    Grant SELECT ANY TABLE to John;
    commit;
    There is much more you can do
    depending on your needs.
    Please read the documentation.
    -John
    null

Maybe you are looking for

  • Can I switch all my apple devices to one account ...

    and still access songs, books or programs that were purchased with the abandoned accounts? If I permanently switch accounts on all my apple devices (iPad, MacBook Pro, iPhone, iMac, 2 iPods, Apple TV, Airport Express) to align with one account for iT

  • Replacement Hard Drive does not appear in Disk Utility.

    I've replaced the defective HDD in my MBP(A1278) with a 500GB Western Digital one after it failed the Hard Drive test in AST. The old drive is detected internally without issue but the new one does not show up in disk utitlity. I have reformatted to

  • Create PDF file which will write to mdb

    HI there. I have a requirement to add some code to a set of PDF files which will be read by members of my team as part of their induction.   Each pdf has a form at the end which captures their name and a tickbox to state that they have read the docum

  • HT5465 how can i delete a contact ( or all contacts ) from i phone ios7 ?

    how can i delete a contact ( or all contacts ) from i phone - ios7.0.2  ?

  • My iPhone is still blocked

    Hi. The last month I thought I lost my iPhone in a travel to USA, so I called to the company to block it couse I lost it in the airport. 2 weeks ago I found the phone inside on my suitecase, I call back to the company (Canda Rogers) to unblock it, th