
Web Transaction Programming
This documentation is a reference guide to the Web transactions implementation model for developing IACs.
Web transactions are Internet-enabled R/3 dialog transactions that Internet and intranet users can call from a Web browser as Internet Application Components (IACs).
The Web transactions implementation model allows ABAP developers to use ABAP dialog programs as a basis for developing IACs.
The link between the Web server and the R/3 System is provided by the Internet Transaction Server (ITS), which acts as a generic Common Gateway Interface (CGI) program.
Interaction Between the ITS and R/3
If you set up Web pages containing URLs, which link to the R/3 System, and a Web user makes a request by selecting one of these links, the request is processed as follows.
Since the ITS functions as a normal SAP GUI when communicating with R/3, it uses the DIAG protocol as the transmission channel for data exchange.
Web Transaction Implementation
To implement a Web transaction, you must:
To do this, you must create the necessary external files required by the ITS to drive the transaction. These files make up an ITS service and consist of:
MIME files include graphics, images, sound, and video files.
To create these components, you use the SAP@Web Studio.
When generating the HTML templates that correspond to Web transaction screens, the ITS inserts additional HTMLBusiness statements into the standard HTML code.
HTMLBusiness is an SAP-specific macro language for handling data transfer between R/3 screens and HTML pages. At runtime, the ITS executes these extra statements to create the finished HTML pages to run the Web transaction.
Web transactions must satisfy special requirements regarding:
Since HTML (on the Internet side) and ABAP (on the R/3 side) offer different programming features, some objects used in ABAP programs or on R/3 screens are not supported by HTML, so you have to adapt the HTML code accordingly.
Apart from exchanging data between the Internet and the R/3 System, and converting HTML to R/3 screen data and vice versa, the ITS also performs system administration functions.
Further Information
To support the development of Web transactions, there is a set of macros and functions that you can use to import data from, and export data to, the ITS. For further information, see:
Web Transaction API For a step-by-step tutorial covering all the steps you need to take when programming Web transactions, supported by examples, see:
Web Transaction Tutorial An important aspect of Web transactions development is synchronization, which is the means by which the ITS keeps R/3 screens in step with their corresponding HTML templates. For further information about ITS synchronization, see:
ITS SynchronizationFor further information about creating, managing, and publishing the files required by the ITS to drive Web transactions, see:
SAP@Web StudioFor further information about HTMLBusiness, see:
HTMLBusiness Language ReferenceFor information about other implementation models for developing IACs, see:
WebRFC Programming
Web Reporting