cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically determine WDA name at runtime

TudorRiscutia
Active Participant
0 Kudos


Hello Web Dynpro experts,

Is there a way to figure out the name of the WD application or the ICF service? Something similar with the sy-repid? I've tried using the function module SYSTEM_CALLSTACK, but this doesn't return the Web Dynpro component or application either...

Please stay on topic and don't ask why I need this.

Thanks,

Tudor

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi Tudor,

You get the application name by using below statement

data lv_name type string.

lv_name = cl_wdr_task=>application->name

Hope this helps you.

Regards,

Rama

TudorRiscutia
Active Participant
0 Kudos

Hello Ramakrishnappa,

Thank you so much, this is exactly what I needed!

Tudor

ramakrishnappa
Active Contributor
0 Kudos

You are welcome

Answers (0)