Skip to Content
0
Former Member
Feb 09, 2010 at 05:35 PM

Possible to get runtime info (Http request, response) from a WD4A Appl.?

117 Views

Hey,

In a BSP / JSP application, it is possible to retrieve and set the runtime data (http request and response). For Example:

response.setContentType("application/x-suvaagent;charset=iso-8859-1");

response.setHeader("Cache-Control", "public");

response.getWriter().print("<Request>");

response.getWriter().print("</Request>");

Is it possible to do this in a WebDynpro (ABAP) Application?

The requirement is to construct a file using http response method. This file contains parameters like business data etc. The file type is already registered as a MIME type which is associated with a standalone program.

When sending the http response, the file will be filled out with needed data and the associated program will be called using the data in the file.

I haven't found out how to do this in web dynpro application, since we use WD4A in our project.

Thanks and Regards,

Liang