|
By placing URLs in Web pages, you can:
Web Reporting also supports interactive reporting. You can:
When a user clicks on a URL, the HyperText Transfer Protocol (HTTP) server passes the request to the SAP Internet Transaction Server (ITS), which communicates with the R/3 System by Remote Function Call (RFC). On the R/3 side, the function module WWW_DISPATCH_REQUEST receives the request and calls the function module specified in the URL. 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:
WebRFC Template Syntax SAP’s standard WebRFC templates are HTML documents, which can contain any HTML tags. You can modify these templates or create your own using any text editor or other Web authoring tool. WebRFC template syntax is HTML syntax. The only difference is that WebRFC applications can define their own placeholders. You can replace these placeholders with generated HTML code by using the function module WWW_HTML_MERGER. WebRFC applications can accept any string as a placeholder, but SAP recommends that you use HTML comments (for example, <!myplaceholder!> ) for the following reasons:
When you edit a template, please be aware of the following limitations on placeholders:
Placeholders Used in WebRFC Applications
If a placeholder is used within a string of HTML text, SAP has omittted the tag notation so that it reads more easily. <image> src="/dir1/!mimepath!/img.gif"> | ||||||||||||||||||||||
|