Start of Content Area

Function documentation Field History  Locate the document in its SAP Library structure

Use

You can assign a field history to help support user entries in the input fields of a page. This function is only available if supported by the browser. At the moment this is only the case for Version 5 of the Internet Explorer. This setting is ignored in other browsers and browser versions.

In Internet Explorer Version 5, the data from a given history ID are stored in coded form in the client. The user can also switch off this function in the browser settings. You can start copying data to the history using a submit button on the page (a Submit in JavaScript is not enough).

Note

If you want to activate the history using a JavaScript Submit, you must press a hidden Submit button using JavaScript.

History ID

You can define two kinds of valid history IDs with the service methods GET_HISTORY_ID and GET_LOCAL_HISTORY_ID:

In contrast to a global history ID, a local history ID is application-specific and ensures that the field history is adjusted for the particular application.

The history ID is passed to an HTML input field by setting attribute VCARD_NAME. If no VCARD_NAME attribute is defined, the NAME attribute is used to determine the history. This attribute can be switched off by setting AUTOCOMPLETE=off.

Note

In addition to the type-specific history ID, you can also use an individual string as history ID.

Example

Field: SFLIGHT-CARRID with field label and history:

This graphic is explained in the accompanying text

Definition of the data element for SFLIGHT-CARRID:

The global history ID 'Sap.car' or the local history ID 'Sap.<application>.car' is defined by parameter ID ''car''.

 

This graphic is explained in the accompanying text

 

 

End of Content Area