cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict Language for Text Type in Search Help

0 Kudos

Hello Gurus.

Our company, would like restrict language (search help options) for only two languages for example: English and Spanish when the user is including a text type note into activity document.

Is there any customizing settings for this? Is this other way to do this restriction?

Thank you

Alexandre

Accepted Solutions (0)

Answers (1)

Answers (1)

rene_markytan
Employee
Employee
0 Kudos

Hello Alexandre,

there is no customizing for your requirement, the system loads the language from table T002 - you can see it in class

CL_GSTEXT_TEXT_IMPL

method SET_DDLB_LANGUS

IF typed_context->gt_ddlb_langus IS INITIAL.

lt_ddlb = cl_gstext_tools=>get_ddlb_langu( ). <<<<<<<<<<<

typed_context->gt_ddlb_langus = lt_ddlb.

ELSE.

lt_ddlb = typed_context->gt_ddlb_langus.

ENDIF.

please see method GET_DDLB_LANGU

However If you want ot restrict the the langauge in the dropdown listbox then you have to modify / adapt the coding ...

Regards

Rene