on 04-22-2014 10:25 AM
Hi,
1. I created a Record Model Tcode "Organizer"
2. I created folder structure for Record Model.
When i create a new folder a new node id is created.
In this case nodeID is '3'.
Now I have a question , Is there a way to get the details of the folder structure (including Folder Name ,Node ID) , by passing Model Name(or some other way) ?
Regards,
nishad
Hi ,
I am exposing ,my RMS structure for Creating and displaying the documents through a RFC(Webservice). How can I make use of Authorizations objects to restrict/ grant access to the Webservice user to fetch / Upload documents .
Regards,
Muhammed Nishad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, Muhammed!
Please, check report SRM_MODEL_API_HOWTO.
Here you will find how to create instance of IF_SRM_SP_MODEL - myModelApi.
First you need to create ModelPoid, you can try this way:
l_doc_id type srmgs_doc_id,
lcl_client_service type ref to if_srm_srm_client_service.
"get poid table
CALL METHOD cl_srm_generic_sp=>create_sp_poid
EXPORTING
doc_id = l_doc_id
IMPORTING
sp_poid = lt_sp_poid .
"get poid instance
lcl_client_service ?= cl_scmg_case_api=>get_client_service( im_sps_id ).
ModelPoid = lcl_client_service->poid_get_instance( im_sps_id = im_sps_id
im_rms_id = im_rms_id
im_sp_poid = lt_sp_poid ).
use this ModelPoid to create instance myModelApi.
Once you get instance myModelApi, as Pragya Pande said call method myModelApi->element_get_all to get all node's info.
Maybe before that you will need to call "open" method or something like that, I didnt test it.
With regards,
Mike.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Nishad,
You can use IF_SRM_SP_MODEL->ELEMENT_GET_ALL to get all nodes' info and loop over the list.
Best Regards,
Pragya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.