Ansicht
Dokumentation

BAPI_MATERIAL_STOCK_REQ_LIST - Material - Current Requirements/Stock List

BAPI_MATERIAL_STOCK_REQ_LIST - Material - Current Requirements/Stock List

TXBHW - Original Tax Base Amount in Local Currency   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this method to select the current stock/requirements list of a material.

Depending on the control parameters of this method, the stock, requirements and receipt information for the material can be determined from the following planning environments:

  • Stock/requirements list from operative planning:
  • Material requirements planning

  • Master production scheduling

  • Stock/requirements list from long-term planning

The method selects all relevant stock, requirement, and receipt information for the material from the required planning environment.

As a result, the following is output:

  • A list header of the main planning parameters for the material. This header has the same structure as the MRP list header.
  • Details on all relevant MRP elements in the required formats

The following formats are supported for the detailed output:

  • Detailed Dispay of the MRP Elements
    The detailed display contains the planning-relevant parameters of all MRP elements that must be taken into account in the current planning environment.
  • Single Line Display of the Requirements/Stock List (Presetting)
    The single line display contains the information of the single line display of the corresponding dialog transactions for the display of requirements/stock lists.
  • Period Totals Display of the Requirements/Stock List
    The period totals display contains the information of the period totals display of the corresponding dialog transactions for the display of requirements/stock lists for the requested period.

Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.

Example

Notes

Authorization Check

  • Activity Types in MRP (Field MDAKT)
    A- MRP/Master Production Scheduling: Display Requirements/Stock List

  • Plant

  • MRP controller

  • Long-Term Plannning: Authorization object M_LFPL_ORG
  • Activity Types in Long-Term Planning (field MDATL)
    L4- Long-Term Planning: Display Requirements/Stock List

  • Planning scenario

  • Plant

Parameter Dependencies

  • In systems with inactive MRP areas, the parameter Plant must be specified in addition to the parameter Material
  • In systems with active MRP areas, you can specify either the parameter Plant or MRP_Area.
  • If only the parameter Plant is filled, the system determines an aggregated plant view from the following information:
  • Stock, requirements and receipt information of the plant MRP area

  • All storage location and subcontractor MRP areas for the material in the specified plant

  • If only the parameter MRP_Area is transferred, this method returns the current requirement/stock list of the specified MRP area (plant, storage location or subcontractor MRP area).
  • If the parameters Plantand MRP_Areaare filled, the system carries out an availability check which can lead to an error message.

Additional Methods

Customer Enhancements

The BAPI customer enhancement concept allows customers to include additional data that is not anticipated by the interface.

The ExtensionOut parameter is a data container, in which the additional values are sent during export.

Further information

For more information, see the SAP Library under Cross-Application Components -> Business Framework Architecture (CA-BFA) -> BAPI Programming Guide.

For more information on the BAPI customer enhancement concept, see the SAP Library under Cross-Application Components -> Business Framework Architecture (CA-BFA) -> Enhancements, Modifications, ... -> Customer Enhancement and Modification of BAPIs. This documentation describes the customer enhancement options and the procedure for the customer.





Parameters

/AFS/MRP_IND_LINES
/AFS/MRP_ITEMS
/AFS/MRP_TOTAL_LINES
DISPLAY_FILTER
EXTENSIONOUT
GET_IND_LINES
GET_ITEM_DETAILS
GET_TOTAL_LINES
IGNORE_BUFFER
MATERIAL
MATERIAL_EVG
MATERIAL_LONG
MRP_AREA
MRP_CONTROL_PARAM
MRP_IND_LINES
MRP_ITEMS
MRP_LIST
MRP_STOCK_DETAIL
MRP_TOTAL_LINES
PERIOD_INDICATOR
PLANT
PLAN_SCENARIO
RETURN
SELECTION_RULE

Exceptions

Function Group

MRP1001

TXBHW - Original Tax Base Amount in Local Currency   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 8500 Date: 20240523 Time: 180302     sap01-206 ( 93 ms )