Hierarchy
⤷ IS-AD-MPN (Application Component) Manufacturer Part Number
⤷ ADPIC (Package) A&D Parts Interchangeability Enhancements
IMG Activity
ID | BADI_ADPIC_IC_PARTS | Add-In: Filter Interchangeable Parts or Add New Interchangeable Parts |
Transaction Code | S_ALI_97000055 | (empty) |
Created on | 20040319 | |
Customizing Attributes | BADI_ADPIC_IC_PARTS | Filter Interchangeable Parts or Add New Interchangeable Parts |
Customizing Activity | BADI_ADPIC_IC_PARTS | Add-In: Filter Interchangeable Parts or Add New Interchangeable Parts |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | BADI_ADPIC_IC_PARTS |
Use
This BADI is used in the component Manufacturer Part Number (IS-AD-MPN) and has two methods, as described below:
1. GET_INTERCHANGE_PARTS: the get_interchange_parts method is called inside the method GET_INTERCHANGEABLE_MATERIALS. This method is used to select parts which can be interchanged with a set of interchangeable parts which are passed to this method.
2. CHECK_IC_PARTS: the check_ic_parts method is called inside the method CHECK_INTERCHANGEABILITY. This method can be used to define check conditions to determine whether a single part is defined as interchangeable, or whether two parts are interchangeable with each other.
Requirements
There are no pre-conditions to be followed for implementing the BAdI methods.
Standard settings
There is no default implementation available for the BAdI.
Activities
1. GET_INTERCHANGE_PARTS: the get_interchange_parts receives a table of interchangeable parts as its input. These parts can then be used further to filter out unwanted parts in this list.
The table IT_PICPS_ALL contains the parts which are passed into the method GET_INTERCHANGE_PARTS. The users can filter on these parts and populate the output table ET_PICPS_ALL with the desired parts.
ATTENTION: Only those materials which are moved to output table ET_PICPS_ALL will be handled.
2. CHECK_IC_PARTS: the check_ic_parts method takes a material as its input to determine, based on user-defined checks, whether it is an interchangeable part. Also, checks can be made using two materials to determine whether they are interchangeable with each other.
In addition to the checks defined in the CHECK_INTERCHANGEABILITY method, users can define their own checks for the parts to be checked, in this method.
Example
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | BADI_ADPIC_IC_PARTS | 0 | KAD0000008 | Manufacturer Part Number |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20040319 |
SAP Release Created in | 500 |