Menu

SAP Function Module HR_GET_MOLGA_FROM_WERKS

Determine country grouping from plant

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