Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

RM - change element type of a document template

olivier_muff
Explorer
0 Kudos
271

Does anyone know if there is a way to change the Element Type of an existing document template created through SCASEPS? The document is in the Service Provider container RM_PS_SP_DOCUMENT_TEMP.

Thanks,

Olivier

1 ACCEPTED SOLUTION

Former Member
0 Kudos
137

hi

good

go through this,this might give you some idea to solve your problem

Transaction SCASEPS reads default values and then starts report SAPSRMSTART.

SUBMIT sapsrmstart WITH orgsps = p_orgsps

WITH orgrms = l_rms_id

WITH cfwsps = p_cfwsps.

If you start report SAPSRMSTART (transaction SRMSTART) directly you see the selection screen. If you know which parameters to use in order to get the required records management (I don't see this because I am not familiar with this topic) then you can code your own "SCASEPS" transaction:

Write a simple report that reads the required parameters (for selscreen of SAPSRMSTART) as SET/GET parameter (probably you have to define new SET/GET parameters). Then you SUBMIT sapsrmstart with this user-specific parameters.

thanks

mrutyun^

3 REPLIES 3

Former Member
0 Kudos
138

hi

good

go through this,this might give you some idea to solve your problem

Transaction SCASEPS reads default values and then starts report SAPSRMSTART.

SUBMIT sapsrmstart WITH orgsps = p_orgsps

WITH orgrms = l_rms_id

WITH cfwsps = p_cfwsps.

If you start report SAPSRMSTART (transaction SRMSTART) directly you see the selection screen. If you know which parameters to use in order to get the required records management (I don't see this because I am not familiar with this topic) then you can code your own "SCASEPS" transaction:

Write a simple report that reads the required parameters (for selscreen of SAPSRMSTART) as SET/GET parameter (probably you have to define new SET/GET parameters). Then you SUBMIT sapsrmstart with this user-specific parameters.

thanks

mrutyun^

Former Member
0 Kudos
137

Hi Olivier,

There isn't a quick way to do this. Most simple is to download the document template and upload it as new document template in the element type you want. Don't forget to reister it in the registry of the document element type you want to use it for. This because the elementtype is also used and hashed in several tables.

Kind regards,

Tjalling-Jan Gerkema

0 Kudos
137

Thank you for your response, Tjalling-Jan,

I have done this but a related problem then comes up. There is no way to reuse the same document template name after it has been used once, even if the original template with the name that I want to use has been deleted. I end up having to change the name slightly when I add the same doc template to a different element type.

Kind regards,

Olivier Muff