Académique Documents
Professionnel Documents
Culture Documents
Section I: General
Custom verion of standard SAP report MB5L modified to allow the addition of:
1) Custom, Title-based fields and,
2) A flexible user interface enabling real-time pivot table style analysis with export to Excel
Project Item# 2019 ENHC0039939 – MB5L
Modification Log
Finance users run MB5L on a frequent basis to report stock on hand along with their corresponding
valuation. The standard SAP MB5L report is currently run, exported to Excel, and then joined with
additional information through the use of vlookups. The majority of the additional information is
contained within SAP and will be brought into a custom version of MB5L through this develop effort.
Standard SAP transaction MB5L (List of Stock Values: Balances) is an Inventory Management (IM) report used to
display the total stock quantities and values for a material at various reporting levels, including company code,
valuation area, and GL Account. Its accuracy and efficiency make it a preferred tool for reporting stock values
and quantities on hand. Embedded in MB5L is drill-down functionality that calls transaction MMBE (Stock
Overview: Basic List). MMBE retrieves additional information, such as special stock, not provided in MB5L.
MB5L, and its relationship with MMBE, will be copied and leveraged to produce this custom report, transaction
ZMBL5, for NBCU Home Entertainment. Data from both reports will be combined to produce the final layout.
Note: MMBE utilizes logical database MSM for data retrieval. MB5L is not based on a logical database.
Two views will be provided: Summary and Detail. The user will pre-select the view within the report’s selection
screen. To enable enhanced Excel-like pivot-style functionality SAP’s ALV-Grid technology will replace the
existing MB5L list output. The ALV-Grid enables fast user-friendly dragging and dropping of fields, field selecting,
hiding, sorting, filtering, multi-format file exporting, totaling, and sub-totaling.
Security/Users
The new transaction requires assignment to a role(s) in SAP. At the time the initial draft of this
specification was written, the specific roles were not known. The SAP Security Team has been
engaged to help research the appropriate roles, given the assumption that all users who
currently have access to MB5L will have access to ZMB5L.
Enhancement request (ENHC0040170) has been submitted to SAP-Security and is attached
below:
Security_ENHC00401
70.pdf
Note: The standard MB5L report is a hierarchical report with an option to drill-down to individual material
lines. For this custom version of the report, when the parameter “Display Indiv. Matl Lines” is selected
each drill-down line will be pre-populated in the report results at the individual material line level. The user
will not need to, nor be able to, perform drill-down operations.
(Note: This list does not include the MMBE drill down results)
Field Name
Balance Period
Base Unit of Measure
Company Code
Company Name
Currency
Del. flag val. type
G/L Account
G/L Acct Long Text
Item (SD)
Material
Material Description
Moving price
Price Control
Price Unit
Proj. stk val. class
Sales Document
Special Stock Indicator <<REMOVE from new report>>
Standard price
Stock Account
Total Stock
Total Value
Total value at SP
Valuation Area <<If “Summary View” is selected, this field will be hidden, and the quantities and
amounts will be aggregated (collected)>>
Valuation Category
Valuation Class
Valuation Type
Value/mov. av. price
Variance <<REMOVE from new report>>
VC: Sales order stk
Vendor
WBS Element
Table: MARA
For each material found in the valuation table MBEW, the following values will be derived from table
MARA (General Material Data):
Table: MVKE
For each valuation record returned from table MBEW, the Valuation Area (MBEW-BWKEY) will be used
to select its corresponding Company Code via table T001K. Then, the Company Code will be used to
select its corresponding Sales Organization via view V_TVKO_ASSIGN. The combination of Material and
Sales Organization will be used to select and retrieve the following fields for each corresponding record
from table MVKE (Sales Data for Material).
Table: MAKT
For each Selection Number Reference (MARA-ZZSELNRRF), retrieve the corresponding material description
in English
Table: T024X
For each Label Code (MARA-LABOR), its description will be selected from table T024L
Table: ZHMT_E1024_SLBL
For each Sub-Label Code (MARA-LABOR), its description will be selected from table T024L
Table: ZHMT_E1024_ALTID
For each Alternative Legal Title (MARA-ZZATLT), its description will be selected from table
ZHMT_E1024_ALTID
Table: ZHMT_E1024_TMPC
For each TM Profit Center (MARA-ZZTMPC), its description will be selected from table
ZHMT_E1024_TMPC
Table: ZHMT_E1024_ITYPE
For each Item Type (MARA-ZZITEMTYPE), its description will be selected from table ZHMT_E1024_ITYPE
Table: ZHMT_E1024_ICODE
For each Item Type (MARA-ZZITEMTYPE), its description will be selected from table ZHMT_E1024_ITYPE
Table: ZHMT_E1024_FRMT
For each Item Type (MARA-ZZFORMAT), its description will be selected from table ZHMT_E1024_FRMT
Table: ZSFT_PCA_ORIGIN
For each Origin Code (MARA-ZZTMPC), the following fields will be selected from table
ZSFT_PCA_ORIGIN
The standard MB5L transaction allows the user to drill-down from a detailed individual material line to the
corresponding stock overview (t-code MMBE) report containing stock quantities for Special Stock and
regular stock.
When the user selects the checkbox “Duplicate Spl Stk Qty on Addtl Column”, ZMB5L will leverage the
MMBE drill-down functionality from MB5L to retrieve special stock quantities that correspond with the
MB5L stock quantities. Since ZMB5L is not a drill-down report, the quantity for each special stock
material will be shown in a new column alongside the total stock quantity (which will include the special
stock quantity). If the checkbox is not selected, the logic to call MMBE data for special stock will not be
executed. This allows the user to increase the report’s performance by skipping a significant amount of
processing for each material.
Here’s a manual example of the retrieval of the Special Stock quantity using the method described above:
3) The detailed item(s) is displayed. (Note: This is level of detail ZMB5L will retrieve.) The user drills
down on these lines to retrieve MMBE data.
4) MMBE displays regular and Special Stock Quantities. When the user selects the checkbox “Duplicate
Spl Stk Qty on Addtl Column”, ZMB5L will perform this step internally to retrieve quantities for
Special Stock. Note: ZMB5L will only retrieve Special Stock quantities when the Special Stock
Indicator equals “W” for customer consignment. No other special stock will be displayed in this
manner.
In addition to the standard MB5L selection screen criteria, the following custom parameters and selection options
will be added to the selection screen:
Duplicate Spl Stk Checkbox. When this checkbox is selected, the program will call Checkbox.
Qty on Addtl transaction MMBE for each line and retrieve the special stock quantity Default = Selected
Column and display it on column “Spl Stk Qty (W)” (On)
This display method allows the user to provide ad hoc analysis using Pivot-like functionality as shown below.
Users can apply the following functions on the fly: filters, totaling and sub-totaling, sorting, column movements
and hiding.
2. Custom screens required (If yes, specify the screen requirements) : N/A
3. Miscellaneous requirements (Match codes etc): No
4. Security requirements:
Section 4: Scope
Provide any notes and input that are specific to the design of the SAP Solution.
Section 6: Estimate