Skip to Content

How to populate custom values when clicked on button "With template"

Hi ,

In the web ui of attachment assignment block when we click on "with template" button it should display the entries from custom table in the pop up window. As per standard functionality all the word templates are displaying but I need only the templates in the custom table .

Component : GS_CM

Event handler has the standard code not able to find exactly from where the standard values are coming .

Example :

Business transaction type is ZEMP_RU it has four templates ZER1,ZER2,ZER3,ZER4.When I open business transaction ZEMP_RU and clicked on "with template" in attachment it should display only these four templates .

Could you please provide suitable answers .

Thanks in advance.

EMP.png (67.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Sep 30, 2015 at 07:57 AM

    Hi SriHari,

    You can consider to enhance view CRM_OI_TEMPL_RT/Templates and controller method DO_PREPARE_OUTPUT. Try to apply your logic by manipulating the entities collection retrieved by the search query execution (ex: after line "lr_entity_col = lr_qs->get_query_result( )").

    See if this helps you a little more.

    Kind regards,


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 14, 2015 at 01:38 PM

    Thank you. Its resolved our issue .

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.