SAP ABAP Function Module MATERIAL_READ_ALL (Read All Material Master Data in Select-Single Mode)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷
CRM (Application Component) Customer Relationship Management
⤷
CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷
MGA (Package) Application development R/3 material master from 3.0

⤷

⤷

⤷

Basic Data
Function Module | MATERIAL_READ_ALL | Read All Material Master Data in Select-Single Mode |
Function Group | MGML | Read Material |
Program Name | SAPLMGML | |
INCLUDE Name | LMGMLU01 |
Parameters
Type | Parameter Name | Typing | Associated Type | Default value | Optional | Pass Value | Short text |
---|---|---|---|---|---|---|---|
![]() |
AKTVSTATUS | TYPE | T130M-PSTAT | Current operation status | |||
![]() |
NEUFLAG | TYPE | T130F-KZREF | Indicator: "Create" | |||
![]() |
FLGNUMINT | TYPE | T130F-KZREF | Ind.: "Matl no. must still be assigned internally" | |||
![]() |
BISSTATUS | TYPE | T130M-PSTAT | Previous maintenance status for material (dialog only) | |||
![]() |
WT134 | TYPE | T134 | T134 filled only in the case of origin with initial processing | |||
![]() |
MTART_BESKZ | TYPE | RMMG2-BESKZ | BESKZ for matl type filled only in the case of origin with initial processing | |||
![]() |
BUKRS_KOKRS | TYPE | RMMG2-KOKRS | Controlling area for company code | |||
![]() |
REF_QMATV | TYPE | RMMZU-REF_QMATV | ||||
![]() |
REF_VERKZ | TYPE | RMMZU-REF_VERKZ | ||||
![]() |
FLG_LVORM_ZENTRAL | TYPE | T130F-KZREF | ||||
![]() |
FLG_LVORM_WERKS | TYPE | T130F-KZREF | ||||
![]() |
FLG_LVORM_BWKEY | TYPE | T130F-KZREF | ||||
![]() |
FLG_LVORM_LGNUM | TYPE | T130F-KZREF | ||||
![]() |
WRMMG1 | TYPE | RMMG1 | OrgEbenenwerte, Materialnr, ..... | |||
![]() |
WRMMG1_REF | TYPE | RMMG1_REF | Vorlage-Keys: Matnr,Werk,..... | |||
![]() |
RMMG2_KZKFG | TYPE | RMMG2-KZKFG | Ind.: Configurable material | |||
![]() |
RMMG2_CHARGEBENE | TYPE | RMMG2-CHARGEBENE | Batch definition level | |||
![]() |
RMMG2_MANBR | TYPE | RMMG2-MANBR | ||||
![]() |
TMARA | TYPE | MARA | MARA as per RMMMG1 keys | |||
![]() |
TMARC | TYPE | MARC | ||||
![]() |
TMPGD | TYPE | MPGD | Planning material | |||
![]() |
VPBME | TYPE | MARA-MEINS | Base unit of measure of planning material (dialog display only) | |||
![]() |
TMARD | TYPE | MARD | ||||
![]() |
TMBEW | TYPE | MBEW | ||||
![]() |
TMFHM | TYPE | MFHM | ||||
![]() |
TMLGN | TYPE | MLGN | ||||
![]() |
TMLGT | TYPE | MLGT | ||||
![]() |
TMPOP | TYPE | MPOP | ||||
![]() |
TMVKE | TYPE | MVKE | ||||
![]() |
TMYMS | TYPE | MYMS | ||||
![]() |
RMARA | TYPE | MARA | MARA for reference RMMMG1_REF | |||
![]() |
RMARC | TYPE | MARC | ||||
![]() |
RMPGD | TYPE | MPGD | Planning material | |||
![]() |
R_VPBME | TYPE | MARA-MEINS | Base unit of measure of planning material | |||
![]() |
RMARD | TYPE | MARD | ||||
![]() |
RMBEW | TYPE | MBEW | ||||
![]() |
RMFHM | TYPE | MFHM | ||||
![]() |
RMLGN | TYPE | MLGN | ||||
![]() |
RMLGT | TYPE | MLGT | ||||
![]() |
RMPOP | TYPE | MPOP | ||||
![]() |
RMVKE | TYPE | MVKE | ||||
![]() |
RMYMS | TYPE | MYMS | ||||
![]() |
REF_BISSTATUS | TYPE | T130M-PSTAT | Previous maintenance status for reference material | |||
![]() |
T001_WAERS | TYPE | T001-WAERS | Company Code Currency | |||
![]() |
RT001_WAERS | TYPE | T001-WAERS | Currency of reference company code | |||
![]() |
RMMG2_KZMPN | TYPE | RMMG2-KZMPN | ||||
![]() |
HERKUNFT | TYPE | T130R-TBHER | Defines the origin of the call | |||
![]() |
AKTYP | TYPE | T130M-AKTYP | Activity Type | |||
![]() |
WRMMG1 | TYPE | RMMG1 | OrgEbenenwerte, Materialnr, ..... | |||
![]() |
AKTVSTATUS | TYPE | T130M-PSTAT | Current operation status | |||
![]() |
TCODE | TYPE | T130M-TCODE | Transaction code | |||
![]() |
KZ_BERPRF | TYPE | T130F-KZREF | ' ' | Indicator: Make authorization check | ||
![]() |
KZ_STATUS_DET | TYPE | T130F-KZREF | ' ' | Indicator: Detailed status updating in PTAB | ||
![]() |
SPERRMODUS | TYPE | TVGVI-SPERA | ' ' | Lock mode (shared, exclusive, no lock) | ||
![]() |
TRANC | TYPE | MARA_UEB-TRANC | 1 | Transaction counter (dialog 1) | ||
![]() |
KZRFB | TYPE | MTCOM-KZRFB | ' ' | Ind.: Read material master from the database | ||
![]() |
MAXTZ | TYPE | MTCOM-MAXTZ | 0 | Maximum size of internal tables | ||
![]() |
P_KZ_NO_WARN | TYPE | RMMG08_012-MSGTYP | ' ' | Treatment of warnings.. | ||
![]() |
KZ_DIREKT | TYPE | T130F-KZREF | ' ' | Ind.: Direct call of a screen | ||
![]() |
FLG_MATNR_RES | TYPE | T130F-KZREF | ' ' | Ind.: "Material no. previously reserved internally" | ||
![]() |
TMARA | TYPE | MARA | MARA as per RMMMG1 keys | |||
![]() |
NEUFLAG | TYPE | T130F-KZREF | Indicator: "Create" | |||
![]() |
MTART_BESKZ | TYPE | RMMG2-BESKZ | BESKZ for matl type filled only in the case of origin with initial processing | |||
![]() |
WRMMG1_REF | TYPE | RMMG1_REF | Vorlage-Keys: Matnr,Werk,..... | |||
![]() |
TKSTATUS | TYPE | T130M-PSTAT | Transakt.Komponentenstatus (Nur für Vorlagehand) | |||
![]() |
RMARA | TYPE | MARA | MARA for reference RMMMG1_REF | |||
![]() |
WT134 | TYPE | T134 | T134 filled only in the case of origin with initial processing | |||
![]() |
WT137 | TYPE | T137 | Input Tabelle T137 | |||
![]() |
WT130M | TYPE | T130M | Input Tabelle T130M | |||
![]() |
FLGNUMINT | TYPE | T130F-KZREF | Ind.: "Matl no. must still be assigned internally" | |||
![]() |
BUKRS_KOKRS | TYPE | RMMG2-KOKRS | Controlling area for company code | |||
![]() |
RMMG2_KZKFG | TYPE | RMMG2-KZKFG | Ind.: Configurable material | |||
![]() |
RMMG2_CHARGEBENE | TYPE | RMMG2-CHARGEBENE | Batch definition level | |||
![]() |
CALL_MODE | TYPE | MMDCMODE-CALL_MODE | ||||
![]() |
KZ_TEST | TYPE | MDAT1-KZ_TEST | SPACE | |||
![]() |
CALL_MODE2 | TYPE | RMMG2-CALL_MODE2 | SPACE | |||
![]() |
FLG_MSG_S163 | TYPE | XFELD | SPACE | Checkbox | ||
![]() |
MTAB | TYPE | SPTAP | Table of maintenance tables for operation status | |||
![]() |
RED_STAT | TYPE | MREDSTAT | Table of reduced previous statuses | |||
![]() |
MEINH | TYPE | SMEINH | Table of units of measure w/o matl no. (extended) | |||
![]() |
KTEXT | TYPE | SKTEXT | Table of short texts w/o matl no. | |||
![]() |
STEUERTAB | TYPE | MG03STEUER | Table of taxes w/o material no. | |||
![]() |
STEUMMTAB | TYPE | MG03STEUMM | ||||
![]() |
RPTAB | TYPE | SPTAP | Table of maintenance tables for reference | |||
![]() |
RKTEXT | TYPE | SKTEXT | Table of short texts w/o matl no. for reference | |||
![]() |
RMEINH | TYPE | SMEINH | Table of units of measure (w/o matl no.) for reference | |||
![]() |
RSTEUERTAB | TYPE | MG03STEUER | Table of taxes w/o material no. for reference | |||
![]() |
RSTEUMMTAB | TYPE | MG03STEUMM | ||||
![]() |
AMERRDAT | TYPE | MERRDAT | ||||
![]() |
MEAN_ME_TAB | TYPE | MEANI | ||||
![]() |
TMLEA | TYPE | MLEA | ||||
![]() |
AKTYP_WRONG | TYPE | Activity category not supported (A, V, H, L) | ||||
![]() |
MATNR_MISSING | TYPE | Material number missing | ||||
![]() |
HERKUNFT_WRONG | TYPE | Origin is not supported | ||||
![]() |
HERKUNFT_AKTYP_MISMATCH | TYPE | Activity category and origin mismatch | ||||
![]() |
AKTVSTATUS_MISSING | TYPE | Activity status missing | ||||
![]() |
MARA_INP_MISSING | TYPE | MARA missing and new flag not set | ||||
![]() |
MATERIAL_NOT_FOUND | TYPE | Material Does Not Exist | ||||
![]() |
MARC_NOT_FOUND | TYPE | MARC not found | ||||
![]() |
PLANT_DATA_NOT_FOUND | TYPE | Plant data not found (MARC + MBEW) | ||||
![]() |
MBEW_NOT_FOUND | TYPE | MBEW not found for valuation level plant | ||||
![]() |
BUKRS_DATA_NOT_FOUND | TYPE | MBEW not found for valuation level company code | ||||
![]() |
BWKEY_DATA_NOT_FOUND | TYPE | MBEW not found for valuation level valuation key | ||||
![]() |
MLGN_NOT_FOUND | TYPE | MLGN not found | ||||
![]() |
MLGT_NOT_FOUND | TYPE | MLGT not found | ||||
![]() |
MVKE_NOT_FOUND | TYPE | MVKE not found | ||||
![]() |
MARD_NOT_FOUND | TYPE | MARD not found | ||||
![]() |
TABLE_DATA_NOT_FOUND | TYPE | Other table not found | ||||
![]() |
RESERVED_MATNR_EXISTS | TYPE | Material for reserved material no. already exists | ||||
![]() |
RESERVED_MATNR_MISSING | TYPE | Reserved material number not specified | ||||
![]() |
SPEC_SIGN_IN_MATNR | TYPE | Material number contains disallowed special characters | ||||
![]() |
LOCK_ON_MATERIAL | TYPE | Material is already locked (MARA) | ||||
![]() |
LOCK_ON_MARC | TYPE | Material is already locked (MARC) | ||||
![]() |
LOCK_ON_MBEW | TYPE | Material is already locked (MBEW) | ||||
![]() |
LOCK_ON_MLGN | TYPE | Material is already locked (MLGN) | ||||
![]() |
LOCK_ON_MVKE | TYPE | Material is already locked (MVKE) | ||||
![]() |
LOCK_SYSTEM_ERROR | TYPE | System error occurred when blocking material | ||||
![]() |
EXT_NUMBER_NOT_ALLOWED | TYPE | External number assignment not allowed for material type | ||||
![]() |
EXT_NUMBER_NOT_IN_RANGE | TYPE | External material number not in range | ||||
![]() |
EXT_NUMBER_WO_CHECK_ERROR | TYPE | Ext. no. assignment w/o check, but num. matl no. | ||||
![]() |
INTERNAL_NUMBER_NOT_ALLOWED | TYPE | Int. number assignment not allowed for matl type | ||||
![]() |
MATERIALTYPE_MISSING | TYPE | Material type missing (create) | ||||
![]() |
MTART_NOT_FOUND | TYPE | Material type does not exist | ||||
![]() |
INDUSTRY_MISSING | TYPE | Industry sector missing (create) | ||||
![]() |
MBRSH_NOT_FOUND | TYPE | Industry sector not found | ||||
![]() |
AKTVSTATUS_EMPTY | TYPE | Current operation status determined is empty | ||||
![]() |
NO_AUTHORITY | TYPE | No authorization | ||||
![]() |
KSTATUS_EMPTY | TYPE | The component status is empty | ||||
![]() |
TKSTATUS_EMPTY | TYPE | Transaction component status is empty | ||||
![]() |
T001W_NOT_FOUND | TYPE | T001W entry for plant does not exist | ||||
![]() |
BUKRS_NOT_FOUND | TYPE | Company code for valuation key cannot be determined | ||||
![]() |
MARV_NOT_FOUND | TYPE | MARV not found for company code | ||||
![]() |
VKORG_BUKRS_NOT_FOUND | TYPE | Company code for sales org. empty or not found | ||||
![]() |
T149_NOT_FOUND | TYPE | Valuation category in T149 not found | ||||
![]() |
T149B_NOT_FOUND | TYPE | Valuation type in T149 not found | ||||
![]() |
VALUATION_UNIFORM | TYPE | No split valuation defined | ||||
![]() |
MBEW_HEADER_NOT_FOUND | TYPE | MBEW header not found | ||||
![]() |
UNKNOWN_TABLE | TYPE | Table in PTAB unknown | ||||
![]() |
ALREADY_MAINTAINED | TYPE | Material already maintained for this operation | ||||
![]() |
REF_MATERIAL_NOT_FOUND | TYPE | Reference material not found | ||||
![]() |
REF_MARC_NOT_FOUND | TYPE | MARC for reference not found | ||||
![]() |
REF_PLANT_DATA_NOT_FOUND | TYPE | Plant data for reference not found (MARC + MBEW) | ||||
![]() |
REF_MBEW_NOT_FOUND | TYPE | MBEW for reference not found for val. level plant | ||||
![]() |
REF_BUKRS_DATA_NOT_FOUND | TYPE | MBEW for reference not found (val. level co. code) | ||||
![]() |
REF_BWKEY_DATA_NOT_FOUND | TYPE | MBEW for reference not found (val. level val. key) | ||||
![]() |
REF_MLGN_NOT_FOUND | TYPE | MLGN for reference not found | ||||
![]() |
REF_MLGT_NOT_FOUND | TYPE | MLGT for reference not found | ||||
![]() |
REF_MVKE_NOT_FOUND | TYPE | MVKE for reference not found | ||||
![]() |
REF_MARD_NOT_FOUND | TYPE | MARD for reference not found | ||||
![]() |
REF_TABLE_DATA_NOT_FOUND | TYPE | Other table for reference not found | ||||
![]() |
MARA_INP_REF_MISSING | TYPE | MARA for reference material missing (dialog references) | ||||
![]() |
TKSTATUS_MISSING_FOR_REF | TYPE | Transaction component status required for dialog reference handling | ||||
![]() |
ORGLEVEL_ERROR | TYPE | Error while checking org. levels | ||||
![]() |
TCURM_ERROR | TYPE | Incorrect content in TCURM | ||||
![]() |
INTERNAL_ERROR | TYPE | Internal error (incorrect FM call) | ||||
![]() |
OTHER_ERROR | TYPE | Other application errors (see messages) | ||||
![]() |
PROFILE_NOT_FOUND | TYPE | Profile Not Found | ||||
![]() |
AENNR_ERROR | TYPE | Fehler bei Prüfung der Änderungsnummer | ||||
![]() |
AENNR_REQUIRED | TYPE | Change Number Required | ||||
![]() |
VERSION_INCONSISTENT | TYPE | |||||
Processing Type
Normal Function Module | |
![]() |
BaseXML supported |
Update Module | Start immediately |
Immediate Start, No Restart | |
Start Delayed | |
Coll.run | |
JAVA Module Callable from ABAP | |
Remote-Enabled JAVA Module | |
Module Callable from JAVA |
History
Last changed by/on | SAP | 19950526 |
SAP Release Created in |