Menu

SAP Function Module TB_REF_COMPENSATION_MAINTAIN

Verwalten einer Kompensation (ohne Dynpro)+ Verbucher-Aufruf, ohne COMMIT!

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module TB_REF_COMPENSATION_MAINTAIN (Verwalten einer Kompensation (ohne Dynpro)+ Verbucher-Aufruf, ohne COMMIT!) is a standard Function Module in SAP ERP and is part of the function group TB92 within the package FTR.

Technical Information

Function Module TB_REF_COMPENSATION_MAINTAIN
Short Text Verwalten einer Kompensation (ohne Dynpro)+ Verbucher-Aufruf, ohne COMMIT!
Function Group TB92
Package FTR
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_HEAD LIKE VTB_CH Kopfstruktur
I_MODE LIKE SY-TCODE 'CREA' Modus (CREA/CHNG/DISP/RSET)

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_COMMIT LIKE SY-DATAR - 'X', dann kann externer COMMIT erfolgen
E_REFNR LIKE REFH-REFNR Kompensation-Nr (interne Vergabe)
E_REFTYP LIKE REFH-REFTYP Kompensationstyp

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
T_CRNCY LIKE VTB_CC Tabelle der Komp.währungen (VTB_CC)
T_FLOWS LIKE VTB_CF Tabelle der Bewegungen fuer eine Komp.
T_POSIT LIKE VTB_CP Tabelle der Komp.positionen (VTB_CP)

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
COMPENSATION_LOCKED Kompensation ist gesperrt
COMPENSATION_NOT_FOUND Kompensation mit I_REFTYP I_REFNR nicht gefunden
INTERNAL_ERROR interner Fehler
NO_AUTHORITY keine Berechtigung
OBJECT_LOCKED Ein zur Komp. gehörendes Objekt ist gesperrt