AccessRights

SUMMARY

Adoption of existing access rights from a *.DO file.

CONTENTS

  1. Procedure
  2. Example of a Refresh Script

Procedure

If necessary the existing access rights in a *.DO file (Function Numbers) can be adopted via an ACI-Connection to the BDC-Project.

ACI-Connection
To be able to access Function Numbers in runtime the entries “do-file”, “function numbers” and “enable function numbers” in the BDC-Configuration must be set. (see Bdc-Configuration)

Enable Control Elements
During runtime for any function number defined in the BDC-Configuration a Sub-Knot to the "BDC.FKTNRS" knot is created. This knot of the type Boolean is set to TRUE, if the currently locked in user got the access right for that function number.
If a control element should be enabled depending on a function number, the according knot must be queried by a refresh script.

Example of a Refresh Script

Control Element: Button
Function nummer: 7

SetVal(Enabled, BDC.FKTNRS.FktNr7);