CHECK_IC_PARTS SAP Method Check Interchangeable Parts
Below is documentation, parameters and attributes of ABAP Method CHECK_IC_PARTS within SAP class IF_EX_BADI_ADPIC_IC_PARTS. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_BADI_ADPIC_IC_PARTS into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method CHECK_IC_PARTS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_IC_PARTS
.| Name | Type | Data Type | Description | Default Value |
| IV_ACTVT | Importing | TYPE ACTIV_AUTH | Activity | |
| IV_BERID | Importing | TYPE BERID | MRP area | |
| IV_FFFC | Importing | TYPE XFELD | Check for full interchangeability | |
| IV_MATNR | Importing | TYPE MATNR | Material Number | |
| IV_MATNR_SUBST | Importing | TYPE MATNR | Interchanged Material | |
| IV_MRPGR | Importing | TYPE XFELD | Check for MPN MRP Set | |
| IV_PICCODE | Importing | TYPE PIC_PICCODE | Cause of part exchange | |
| IV_PROCESS_CODE | Importing | TYPE ADPIC_D_PROCESS_CODE | Pseudo Process code for processes supporting auto. IC/RIC | |
| IV_RIC | Importing | TYPE XFELD | Check for restricted interchangeability | |
| IV_SUS | Importing | TYPE XFELD | Check for Supersession | |
| IV_WERKS | Importing | TYPE WERKS_D | Plant | |
| ET_RETURN | Exporting | TYPE ADPIC_T_BAPIRET2 | ADPIC: Table type BAPIRET2 |
Exceptions of Method CHECK_IC_PARTS
ADPIC_T_BAPIRET2
Example ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_ADPIC_IC_PARTS.
DATA: lv_ET_RETURN TYPE ADPIC_T_BAPIRET2,
lv_IV_ACTVT TYPE ACTIV_AUTH,
lv_IV_BERID TYPE BERID,
lv_IV_FFFC TYPE XFELD,
lv_IV_MATNR TYPE MATNR,
lv_IV_MATNR_SUBST TYPE MATNR,
lv_IV_MRPGR TYPE XFELD,
lv_IV_PICCODE TYPE PIC_PICCODE,
lv_IV_PROCESS_CODE TYPE ADPIC_D_PROCESS_CODE,
lv_IV_RIC TYPE XFELD,
lv_IV_SUS TYPE XFELD,
lv_IV_WERKS TYPE WERKS_D,
lv_other TYPE c.
CALL METHOD lo_class=>CHECK_IC_PARTS(
EXPORTING
IV_ACTVT = lv_IV_ACTVT
IV_BERID = lv_IV_BERID
IV_FFFC = lv_IV_FFFC
IV_MATNR = lv_IV_MATNR
IV_MATNR_SUBST = lv_IV_MATNR_SUBST
IV_MRPGR = lv_IV_MRPGR
IV_PICCODE = lv_IV_PICCODE
IV_PROCESS_CODE = lv_IV_PROCESS_CODE
IV_RIC = lv_IV_RIC
IV_SUS = lv_IV_SUS
IV_WERKS = lv_IV_WERKS
IMPORTING
ET_RETURN = lv_ET_RETURN ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects