dspCompose

Use Comparison Appovals

The Comparison Approval functionality allows the Review role user to see the current SAP field value as well as the value the field will be changed to as a result of the data entry process. The Review role can then easily compare the current state and the future state of records before any changes take place. The Review role has the ability to reject any changes and keep the original values.

NOTE: Advanced users such as BackOffice consultants should configure the comparison approval feature as it requires knowledge of both SQL and SAP. Once configured, business end users assigned to the Review role can use the feature.

To configure and use comparison approvals:

  1. Create the template. Comparison approvals can be used for requests based on BDC Scripts, GUI Scripts and custom templates.
  2. Refer to Create a Template from the Templates Page for more information. To use comparison approvals with a custom template, a user must create the CompareIns stored procedure manually.
  3. Configure the Comparison Approval Setting
  4. Register the CompareIns Stored Procedure
  5. Create a Request for Comparison Approval
  6. Use the Comparison Approval Page

Once dspCompose™ is set to use Comparison Approvals, when a template is generated, dspCompose™ creates a stored procedure used to control the Comparison page in the cMass_Data database. The naming convention for the procedure is web[Template Name]CompareIns. To see the before and after data entries, the CompareIns stored procedure must be modified.

Refer to Sample Stored Procedure For Comparison Approval for an example of a modified stored procedure.

The stored procedure is used to insert what is currently in SAP (the dgSAP tables) to the Comparison staging table in cMass_Data for the request.

NOTE: Comparison approvals can be used on a template that also allows partial approvals. Refer to Allow Partial Approval for more information.