WebRFC Application Development 

SAP has designed tools that allow easy and consistent development (and customization) of WebRFC applications. These tools were used to develop WebRFC applications such as Web Reporting.

In WebRFC applications, HTML pages are not generated exclusively with ABAP code, but derived from templates stored separately in a database table. In addition to standard HTML tags, these templates contain placeholders that are replaced with data at runtime.

SAP delivers a number of standard HTML templates, but you can modify any of these or even create your own. Using any standard text editor or HTML authoring tool, you can (for example):

This ability to modify HTML templates allows you some freedom to adapt WebRFC applications, but it still does not go far enough, because the HTML code that replaces the placeholders is determined by the applications themselves.

To allow you to customize generated HTML code, WebRFC applications can load and use named attributes (parameters) for each template. The templates and template parameters used in WebRFC applications are stored in the following database tables:

When developing WebRFC applications, you can maintain the objects of both these tables with the following function modules:

In practice, WebRFC applications support different types of Web objects, all of which can be stored in the database table WWWDATA. Types of data include:

See also:

WebRFC Template Syntax

Template and Web Object Attributes

WWW_HTML_MERGER

WWW_GET_SCRIPT

WWW_URL_PREFIX

Debugging WebRFC Applications

Web Object Maintenance