Menu

SAP Function Module HR_GET_MOLGA_FROM_WERKS

Determine country grouping from plant

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 HR_GET_MOLGA_FROM_WERKS (Determine country grouping from plant) is a standard Function Module in SAP ERP and is part of the function group RPIN within the package PBAS.

Technical Information

Function Module HR_GET_MOLGA_FROM_WERKS
Short Text Determine country grouping from plant
Function Group RPIN
Package PBAS
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
WERKS LIKE HRCA_PLANT-PLANT Plant

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
MOLGA LIKE T500L-MOLGA HR country grouping

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_BUKRS Company code cannot be determined
NO_MOLGA Country grouping cannot be determined
WRONG_BUKRS Personnel area cannot be determined
WRONG_WERKS Plant does not exist