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