Ansicht
Dokumentation
EXIT_SAPLEDCN_002 - Uer exit for user-defined authorization check in disconnection document
Fill RESBD Structure from EBP Component Structure Addresses (Business Address Services)This documentation is copyright by SAP AG.
Funktionalität
In the function exit EXIT_SAPLEDCN_002, you can store a user-defined authorization check for the disconnection document. You can return the result of this check in the export parameter Y_SUBRC. If this export parameter contains a value other than 0, the system assumes that the check is not available in subsequent processing steps.
You can determine the value based on the following parameters:
- X_DISCREASON: disconnection reason
- Take the possible entries from the fixed values of the domain DISCREASON.
- X_WMODE:Processing mode
- Possible values are: 1 = Display, 2 = Change, 3 = Create
- X_REFOBJTYPE and X_REFOBJKEY:reference object of the disconnection document
- This is a reference object from the Business Object Repository and is composed of the object type and object key.
Reference objects can have the following object types:
- ISUPARTNER: business partner
- ISUACCOUNT: contract account (note the structure of the key)
- ISUCONTRCT: contract
- CONNOBJ: connection object
- PREMISE: premise
- INSTLN: installation
- DEVICE: device
For the structure of the object key, see the Business Object Repository. In the case of objects with more than one key field (such as the contract account), the individual key fields of the fully defined key are concatenated. Disconnection documents with thedisconnection reason 01 (dunning level reached) have a contract account as their reference object. Disconnection documents with the disconnection reason 02 (vacant status disconnection) have an installation.
Example
Notes
Further information
Parameters
X_DISCREASONX_REFOBJKEY
X_REFOBJTYPE
X_WMODE
Y_SUBRC
Exceptions
Function Group
XEDISCVARBAL Application Log Documentation PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 2463 Date: 20240603 Time: 223313 sap01-206 ( 43 ms )