Show TOC

its-browser_post MacroLocate this document in the navigation structure

Use

You use the its-browser_post macro to post data to a specified URL. This is useful if you want an application to post information such as a product catalog to external Web sites.

To do this, you specify the required URL as a parameter, but you must use field-set calls to specify the parameters that the application is to post.

its-browser_post
url   (in,CHAR)
         

Parameter

Description

url

URL of the Web site.

This macro creates a HTML page dynamically with one HTML form and one hidden field per POST parameter. The JavaScript function submit() automatically posts the data to the URL.

Example

Suppose you hold information about you're the products of your business partners and you wish to perform a lookup for those products in the product catalog. In this case, you would need to pass the form variable product_id in the URL:

form post_to_catalog.
   field-set 'product_id' 1 'mara-matno'.
   field-transport
   its-browser_post 'http://www.sap.com'.
endform.

         
Note

This function works only in Web browsers enabled for JavaScript 1.0.

If the data cannot be posted to the URL, the Web browser sends an error message.