cancel
Showing results for 
Search instead for 
Did you mean: 

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

SrihariNerella
Participant
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

BGarcia
Active Contributor
0 Kudos

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,

Garcia

Answers (1)

Answers (1)

SrihariNerella
Participant
0 Kudos

Thank you. Its resolved our issue .