cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Request Object in WebDynpro

Former Member
0 Kudos

Hi,

Is there a way to get the Requst object in the web dynpro. How to instantiate this class?

com.sapportals.portal.prt.component.IPortalComponentRequest

.

Thanks,

Venkat

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

To get the request object in webdynpro

IWDRequest request = WDProtocolAdapter.getProtocolAdapter()

.getRequestObject();

Regards,

Naga

Answers (2)

Answers (2)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi

No need to instantiate the class.

You can use this statement to read the request parameters.

String str =

WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("<parameter Name");

Regards

AbhimanyuL

Former Member
0 Kudos

PortalComponentRequest request = (IPortalComponentRequest) this.getRequest();