Menu

SAP Function Module PA_TRV_GET_PERNR_MOREI

Determine Morei, lang., Molga for specified pers.no., key date

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module PA_TRV_GET_PERNR_MOREI (Determine Morei, lang., Molga for specified pers.no., key date) is a standard Function Module in SAP ERP and is part of the function group PAUW_CORE within the package PTRA.

Technical Information

Function Module PA_TRV_GET_PERNR_MOREI
Short Text Determine Morei, lang., Molga for specified pers.no., key date
Function Group PAUW_CORE
Package PTRA
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
PERNR LIKE PERNR-PERNR Personnel number
STICHTAG LIKE SY-DATUM SY-DATUM Key date, system date is used as default

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
MOLGA LIKE T500L-MOLGA Country group for payroll accounting
MOREI LIKE T706N-MOREI Travel accounting area
SPRAS LIKE SY-LANGU Language key for person

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
NO_AUTHORITY_FOR_PERNR No authorization for the personnel number
NO_INFOTYPE_0001_FOUND No data found for infotype 0001
NO_INFOTYPE_0008_FOUND No data found for infotype 0008
NO_INFOTYPE_0017_FOUND No data found for infotype 0017
NO_MOREI_FOUND Reiseregelungsvariante konnte nicht festgestellt werdenf
NO_SPRAS_FOUND Language key can not be determined
NO_TRAVEL_ADDON Das Add-on 'Reisemanagement' ist nicht vorhanden