This content was uploaded by our users and we assume good faith they have the permission to share this book. If you own the copyright to this book and it is wrongfully on our website, we offer a simple DMCA procedure to remove your content from our site. Start by pressing the button below!
tags for the table row and table data fields. Tables are important in the SAP environment because they are frequently used in the SAP screens as so-called step loops and table controls. The latest HTML browsers also support frames. The browser screen can be split in several subscreens, or frames. In each frame, a different HTML page can appear, and it is possible to interact with forms in one frame and change another frame’s content. A typical frame HTML page looks like this: ... 4807_CH04_119-150.qxd 2/25/03 4:36 PM Page 141 SAP INTERNET TRANSACTION SERVER Chapter 4 Business HTML Business HTML is an SAP-specific scripting language for the ITS, similar to ASP or PHP scripting. In contrast to other Web scripting languages, Business HTML is not interpreted on the Web server, but on the ITS A-Gate. Business HTML is a kind of SAP programming where you call ITS functions. This is a good approach because it does not require special plug-ins on the browser side. The resulting page is standard HTML that could be used in any browser. NOTE The SAPGUI for HTML and the Workplace are not browser-independent. The dynamic HTML pages only have their full functionality with Microsoft Internet Explorer 5 or higher.) Business HTML commands appear in the HTML template in single quotation marks. For example, 'KNA1-KUNNR.LABEL' <em>'KNA1-KUNNR' is resolved by ITS merging the field KNA1-KUNNR from the SAP screen and the text label. Fields can be positioned in any place in the HTML template. The following sections briefly introduce some of the main features of the SAP Business HTML. Conditions Business HTML allows you to set conditions in the programming logic of the page, for example, whether or not to include an HTML portion of the page depending on a field in R/3. 'if (KNA1-LAND1 == "ES")' Spain'else' <em>Other country 'end' 141 4807_CH04_119-150.qxd 4:36 PM Page 142 Roadmap to mySAP.com Operations The operations allowed in Business HTML are similar to C operations. The SAP screens are converted to HTML forms by the SAP@Web Studio with the following action: |