cancel
Showing results for 
Search instead for 
Did you mean: 

how to identify if a transaction is called from SAP GUI or Portal/WebDynpro

Former Member
0 Kudos

Hi,

Our WebDynpro-ABAP applications runs a BDC on VA01 transaction. We want that the user should not be able to directly run VA01 from SAP GUI. But he should have access to VA01 in the backend because the portal application runs a BDC on this.

I want to put a authorization check in the enhancement section while VA01 is launched but not sure how to identify if this transaction is called from SAP GUI or Portal/WebDynrpo.

Any suggestions.

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Aditya,

An application can find out whether its running in the webdynpro environment by quering the IS_ACTIVE attribute of CL_WEB_DYNPRO class



IF CL_WEB_DYNPRO=>is_active = abap_true. 
ELSE.
ENDIF.

Thanks.

Chitrali

Answers (0)