Skip to main content

Restrict Batches after Expiry Date in SAP

 Conditions for this process to work is as follows

  • Material needs to be batch managed
  • Recurring inspection type (09) needs to be activated for the materials
  • Batch status needs to be activated in configuration (T code OMCT)-Optional
  • SLED date needs to be maintained for material batches
  • Unrestricted stock for the batch needs to be greater than zero
  • Inspection interval in material master needs to be maintained if inspection lot needs to be created
Process steps:
  1. Batch Status Activation (Optional) : Go to transaction code OMCT and activate the batch status.
  2. Recurring Inspection Type Activation: Go to transaction code MM02. Choose Quality Management View. Go to insp. setup. Activate 09 inspection type.
  3. Running Program for Triggering Recurring Inspections of Batches: Go to transaction QA07. Set necessary parameters and execute it.
  4. Scheduling Batch Job for QA07: Go to transaction QA05. Create variant and schedule it according to requirement.

Important Notes:
  • Next inspection date for the batch = Last GR Date  + Inspection Interval (Maintained in material master QM view)
  • Opening period = Current Date + Lead Time (Maintained in QA07)

Comments

Popular posts from this blog

Creating a Search Help and Assigning it to Another Table in SE11

In SAP ABAP, a search help is a feature that provides a user interface for searching and selecting data values from a list. A search help is essentially a dialog box that displays a list of possible values for a particular field or selection criterion. Once a search help is defined and assigned to a data element or domain, it can be used in various SAP applications, such as data entry screens, reports, and dialog programs. To use a search help in a program or report, you can call the function module "F4_HELP" or "F4IF_INT_TABLE_VALUE_REQUEST" to display the search help dialog box and retrieve the selected values. You can also customize the search help behavior and appearance using various parameters and options. There are two types of search help available in SAP ABAP: elementary search help and collective search help. Elementary search help is used to display a list of possible values for a single input field. It is used when the user needs to select a single valu...

Transporting Data Migration Cockpit Project between Clients

SAP Data Migration Cockpit (DMC) is a tool provided by SAP to assist in the process of migrating data from legacy systems or external sources into an SAP system. The DMC offers a user-friendly interface for designing, executing, and monitoring data migration activities. Steps to Transport Data Migration Cockpit Project There are two ways to transport data migration cockpit project between clients. They are Export/import method Transport request generation method Export/Import Method Process steps for export/import method are Exporting the Project Go to transaction code "LTMOM" Then go to "Go to>Export/Import Project". If this functionality is not available in this t-code, go to transaction code "SE38" and run the report "/LTB/MC_PROJ_Q2P" Select the "Export Project" radio button and provide "Mass Transfer ID". Then click on execute. Show the location on your PC and click on save. Project will be exported. Importing the Proj...

Display Traffic Light System in ALV Report

In the context of SAP ALV (ABAP List Viewer), a traffic light system is a visual representation used to indicate the status of certain data points. Typically, it uses color-coded indicators similar to traffic lights (red, yellow, green) to convey different states or conditions of the data. The traffic light system is used to quickly convey information at a glance, making it easier for users to understand the status of data without having to analyze detailed numbers or descriptions. Steps 1. ALV needs to be displayed using FM ''REUSE_ALV_GRID_DISPLAY" 2. One field needs to be included to hold traffic light value in the internal table structure (type C length      1). Value 1 will be assigned for red light, 2 will be assigned for yellow light and 3 will be assigned           for green light.             Example:                         ...