Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

how to find out name of web dynpro abap application at runtime

$
0
0

hi,

 

does anybody know how i can read out the currently used web dynpro application name at runtime ? is there any function module/method

for that ?

 

I have a user exit in travel management which is used by backend transaction and many web dynpro applications. i only want to run trough the coding of the user exit when the calling web dynpro application is a specific one, and NOT call the exit when it is called from backend/ or other web dynpro applications.

 

there is nothing like sy-tcode for name of current web dynpro application ?!?

 

somebody told me to use this:

 

data lv_name type string.

 

 

lv_name = cl_wdr_task=>application->name.

 

but when using this coding i get dump in ST22 with runtime error "OBJECTS_OBJREF_NOT_ASSIGNED".

 

br Martin


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>