AFTER_AVAILABILITY_CHECK SAP Method Method to influence results of AVAILABILITY CHECK









Below is documentation, parameters and attributes of ABAP Method AFTER_AVAILABILITY_CHECK within SAP class IF_BADI_AVAILABILITY_CHECK_CON. 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_BADI_AVAILABILITY_CHECK_CON into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method AFTER_AVAILABILITY_CHECK can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method AFTER_AVAILABILITY_CHECK

.

NameTypeData TypeDescriptionDefault Value
IS_ATPCAImportingTYPE
ATPCA
ATP Controller: Control Parameters
IS_ATPCBImportingTYPE
ATPCB
ATP Controller: Information Parameters
IT_ATPALLImportingTYPE
TBL_ATPALL
Table: ATP Server: Data for Product Allocation
IT_ATPDIAImportingTYPE
TBL_ATPDIA
Table: ATP Server: Data for Dialog
IT_ATPDIAWImportingTYPE
TBL_ATPDIAW
Table: ATP Server: Data for Dialog: Plant Selection
IT_ATPFIELDImportingTYPE
TBL_ATPFIELD
Product Allocation: Characteristic Catalog
IT_ATPMATImportingTYPE
TBL_ATPMAT
Table: ATP Server: Material Table
IT_ATPSDUImportingTYPE
TBL_ATPSDU
Table: ATP: Scheduling Durations
IT_ATPSOPImportingTYPE
TBL_ATPSOP
Table: ATP: Options for Shipment Scheduling
IT_ATPSSPImportingTYPE
TBL_ATPSSP
Table: ATP: Scheduling: Goods Recipient View of Cust. Master
IV_SCHEDSHImportingTYPE
VSTRM
Activate delivery scheduling
IV_SCHEDTRImportingTYPE
TRTRM
Activate transportation scheduling
CS_ATPCCChangingTYPE
ATPCC
ATP Controller: Date/Quantity Parameters
CT_ATPCSChangingTYPE
TBL_ATPCS
ATP: Requirements Table
CT_ATPTERMChangingTYPE
TBL_ATPTERM
Table: Dates/Times in Transportation and Shipment Scheduling
CT_MDVEChangingTYPE
TBL_MDVE
Table: Result of Availability Check



Exceptions of Method AFTER_AVAILABILITY_CHECK

This method does not have any exceptions

Example ABAP coding


DATA: lv_CS_ATPCC TYPE ATPCC,
lv_CT_ATPCS TYPE TBL_ATPCS,
lv_CT_ATPTERM TYPE TBL_ATPTERM,
lv_CT_MDVE TYPE TBL_MDVE,
lv_IS_ATPCA TYPE ATPCA,
lv_IS_ATPCB TYPE ATPCB,
lv_IT_ATPALL TYPE TBL_ATPALL,
lv_IT_ATPDIA TYPE TBL_ATPDIA,
lv_IT_ATPDIAW TYPE TBL_ATPDIAW,
lv_IT_ATPFIELD TYPE TBL_ATPFIELD,
lv_IT_ATPMAT TYPE TBL_ATPMAT,
lv_IT_ATPSDU TYPE TBL_ATPSDU,
lv_IT_ATPSOP TYPE TBL_ATPSOP,
lv_IT_ATPSSP TYPE TBL_ATPSSP,
lv_IV_SCHEDSH TYPE VSTRM,
lv_IV_SCHEDTR TYPE TRTRM,
lv_other TYPE c.

CALL METHOD IF_BADI_AVAILABILITY_CHECK_CON=>AFTER_AVAILABILITY_CHECK(
EXPORTING
IS_ATPCA = lv_IS_ATPCA
IS_ATPCB = lv_IS_ATPCB
IT_ATPALL = lv_IT_ATPALL
IT_ATPDIA = lv_IT_ATPDIA
IT_ATPDIAW = lv_IT_ATPDIAW
IT_ATPFIELD = lv_IT_ATPFIELD
IT_ATPMAT = lv_IT_ATPMAT
IT_ATPSDU = lv_IT_ATPSDU
IT_ATPSOP = lv_IT_ATPSOP
IT_ATPSSP = lv_IT_ATPSSP
IV_SCHEDSH = lv_IV_SCHEDSH
IV_SCHEDTR = lv_IV_SCHEDTR
CHANGING
CS_ATPCC = lv_CS_ATPCC
CT_ATPCS = lv_CT_ATPCS
CT_ATPTERM = lv_CT_ATPTERM
CT_MDVE = lv_CT_MDVE ).

Links to Related Class(s)

IF_BADI_...
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!