CRM and CX Blogs by Members
Find insights on SAP customer relationship management and customer experience products in blog posts from community members. Post your own perspective today!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

Hi All,

This one takes us back to the basics of CRM, power of text determination procedure. We have been using notes in CRM transactions very
frequently to capture various texts entered by different Users during the process. Through this blog I am trying to showcase one of the old features
available in text determination procedures i.e. access sequence to source the content in the note type.

In my recent project, I got a requirement from customer where they wanted a default text to appear in the notes. As this note type was to be
used for printing CRM generated letter, it was acting as template for the letter and also it was supposed to be changeable by user during the process and
the changed version of the template should go for printing. As this criteria came into picture, we couldn’t just create a smartform with hardcoded text
instead found the standard way to find solution.

Access sequence in text determination procedure can be used in this case.

Following are the steps to make this work:

  1. Create the text template using SAPscript Tcode SO10



  Maintain the default text here:

2.  Create you text determination procedure and create access sequence for the text type for which the default text has to be sourced:



3. The function has to be created by technical team which has a small code for calling the SAPscript created in step 1:

Function ZFM_UPLOAD_TEXT

CLEAR: es_reference.

  es_reference-tdobject = 'TEXT'.

  es_reference-tdid = 'ST'.

  es_reference-tdname = 'ZTEMPLATE'.

  es_reference-tdspras = 'E'.

Endfunction.

4. Once the access sequence is created, assign this access sequence to the text type:

Leave the changes column as empty as you want it to be editable and select value “A” in transfer column for this text type.

That’s it. When this procedure is assigned to a transaction and when user creates the transaction, the default text appears in the
respective note type (text type) which can be changed by user.

A small configuration changed helped us in meeting the requirement. Thought of sharing this as a lot of us sometimes miss these
excellent features available as part of std CRM. :smile:

Hope you enjoyed revisiting the basics. sometimes it really helps. :smile:

4 Comments