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

.

NameTypeData TypeDescriptionDefault Value
IV_ACTVTImportingTYPE
ACTIV_AUTH
Activity
IV_BERIDImportingTYPE
BERID
MRP area
IV_FFFCImportingTYPE
XFELD
Check for full interchangeability
IV_MATNRImportingTYPE
MATNR
Material Number
IV_MATNR_SUBSTImportingTYPE
MATNR
Interchanged Material
IV_MRPGRImportingTYPE
XFELD
Check for MPN MRP Set
IV_PICCODEImportingTYPE
PIC_PICCODE
Cause of part exchange
IV_PROCESS_CODEImportingTYPE
ADPIC_D_PROCESS_CODE
Pseudo Process code for processes supporting auto. IC/RIC
IV_RICImportingTYPE
XFELD
Check for restricted interchangeability
IV_SUSImportingTYPE
XFELD
Check for Supersession
IV_WERKSImportingTYPE
WERKS_D
Plant
ET_RETURNExportingTYPE
ADPIC_T_BAPIRET2
ADPIC: Table type BAPIRET2



Exceptions of Method CHECK_IC_PARTS

ET_RETURNExportingTYPE
ADPIC_T_BAPIRET2ADPIC: Table type BAPIRET2MAT_NOT_VALID_FOR_IC - Material not interchangeabe

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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!