cancel
Showing results for 
Search instead for 
Did you mean: 

User text template share to ROLE

Former Member
0 Kudos

Dear all,

In WEB UI we have Text log where we can insert templates.

My Requirements is to create 2-3 text templates and make them available for all users.

Problems is in User Template we only see personal templates. In System template we can have only one template be cause in dno_cust04 we have only one row this customization.

Is there way share User Templates for all or make additional System template.

Found some ABAP way for this but don't know is it the best or not...

  1. First i found that CL_PERS_OBJECT_DATA_BUFFER->SAVE_OBJECT_DATA saves  this to DB so i can enhance it to save to DB by ROLE f.e.
  2. same this class can load from DB CL_PERS_OBJECT_DATA_BUFFER->LOAD_OBJECT_DATA OR!
  3. we can read it from BSP class  CL_AIC_LONG_VINSERTTEXTTE_IMPL->DO_PREPARE_OUTPUT there is code

        " get user templates.

        REFRESH mt_template_list.

        CALL METHOD cl_aic_long_bspwdcomponen_impl=>get_templatelist_from_db

          IMPORTING

            et_template_list = mt_template_list.



        " get system templates.

        refresh mt_sys_templates.

        cl_wd_ags_crmd_order_helper=>get_auto_add_text_list( IMPORTING et_auto_add_text_list = mt_sys_templates ).

        SORT mt_sys_templates.

So any Ideas? if i dont find any standard way i will make this by enhacment of BSP.

Regards Dan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Looks like nobody knows it...

I have another question how to auto populate text obejcts?

f.e. in Request of Change when pressing add_text choose Description of Change.

Now i want also automatic filling with predefined text f.e. from Sapscript.

Didn't worked with text determination closly yet ...

Regards Dan