cancel
Showing results for 
Search instead for 
Did you mean: 

Check if document is accessed from ECTR

abhishek_gupta2
Participant
0 Kudos

Hello There ,

I would like to know how to check in a BADI , if the current document is opened from the ECTR .

Is there any api call or flag to check if ECTR is active .

Thanks,

Abhi..

Accepted Solutions (1)

Accepted Solutions (1)

se_kie
Explorer
0 Kudos

You can use class /DSCSAG/CL_STATICS method CALLED_FROM_CAD_GET for that. Technical background: The info is stored in RFC ATTRIBUTE "caller_program".

abhishek_gupta2
Participant
0 Kudos

Thanks Sebastian , I will check and update .

Answers (0)