Show TOC

Example documentationSAPGAPDEMO: Example of Grantor Application Form

 

Request category SAPGAPDEMO gives an overview of the layout function selection of Web requests. The input and display fields available and the use of OTR texts are demonstrated. The assignment of default entries for requester data and the error handling of incorrect or missing entries are displayed in the demo request category.

The internal application category view SGAP03 (Processor for Applicant) is part of the standard delivery.

Prerequisites

You have maintained the business partner data including the role Internet user for the respective user (see Web Services for Self-Registration and Master Data Changes).

Features

The following characteristics and functions are displayed:

  • Language-dependent texts

    OTR short and long texts enable you to support the texts of the field label language-dependently.

  • Different input fields

    The demo request contains one/several-line text fields, combo boxes, selection buttons and checkboxes.

  • Assigning default entries

    Business Add-In (BAdI) CRM_SERVICE_WEBREQ is used together with the implementation CRM_WR_SAPGAPDEMO to assign default entries for fields in accordance with the relevant user by method FORM_ON_CREATION. Manual entry of address data is only allowed for the e-mail address.

  • Entry checks/error handling/auto-correction

    When using BAdI CRM_SERVICE_WEBREQ and implementation CRM_WR_SAPGAPDEMO, the entries are checked by method FORM_ON_EVENT.

    The following fields are required entry fields for which a check has been implemented:

    • House No.

    • Street

    • Postal/zip code

    • City

    • Region: Can be selected from a list

    • District Court

    • Cadastre of Building

    • Residential Space: Only numeric entries possible

    • Start Date: Date format

    • End Date: Date format, must be greater than the start date

    • Future Residents: The lines for individual residents must be either filled out completely or left completely blank. Lines that are partially filled out are not accepted. The date of birth must be in the past and must be entered in date format. A numeric entry must be made for the income.

    • Owner of current domicile

    • Residential Space: Only numeric entries possible

    The incorrect fields are highlighted in the processor view. It is possible to navigate from the message to the corresponding field. A success message is issued if the entries in the request form are correct.

    For more information, see Error Handling in the Web Request Form as well as the BAdI and method documentation for CRM_SERVICE_WEBREQ.