SAP OIB_SD_CHECK_TAS_RELEVANCE_OW Function Module for Check, if Item is TAS relevant
OIB_SD_CHECK_TAS_RELEVANCE_OW is a standard oib sd check tas relevance ow SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check, if Item is TAS relevant processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for oib sd check tas relevance ow FM, simply by entering the name OIB_SD_CHECK_TAS_RELEVANCE_OW into the relevant SAP transaction such as SE37 or SE38.
Function Group: OIB_SD_CONTEXT_OW
Program Name: SAPLOIB_SD_CONTEXT_OW
Main Program: SAPLOIB_SD_CONTEXT_OW
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function OIB_SD_CHECK_TAS_RELEVANCE_OW pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'OIB_SD_CHECK_TAS_RELEVANCE_OW'"Check, if Item is TAS relevant.
EXPORTING
IV_TAS_APPLICATION = "Application
IV_TAS_LISOF = "Create delivery immediately
IV_LIPS_POSNR = "Item number of the SD document
IV_LIPS_UEPOS = "Higher-level item in bill of material structures
IMPORTING
EV_TAS_RELEVANT = "
CHANGING
CV_LISOF = "Create delivery immediately
CV_TAS_POSNR = "Item number of the SD document
CV_CONVERSION_DONE = "Boolean Variable (X=True, -=False, Space=Unknown)
IMPORTING Parameters details for OIB_SD_CHECK_TAS_RELEVANCE_OW
IV_TAS_APPLICATION - Application
Data type: OIK_APPLICOptional: No
Call by Reference: Yes
IV_TAS_LISOF - Create delivery immediately
Data type: LISOFOptional: No
Call by Reference: Yes
IV_LIPS_POSNR - Item number of the SD document
Data type: POSNROptional: No
Call by Reference: Yes
IV_LIPS_UEPOS - Higher-level item in bill of material structures
Data type: UEPOSOptional: No
Call by Reference: Yes
EXPORTING Parameters details for OIB_SD_CHECK_TAS_RELEVANCE_OW
EV_TAS_RELEVANT -
Data type: COptional: No
Call by Reference: Yes
CHANGING Parameters details for OIB_SD_CHECK_TAS_RELEVANCE_OW
CV_LISOF - Create delivery immediately
Data type: LISOFOptional: No
Call by Reference: Yes
CV_TAS_POSNR - Item number of the SD document
Data type: POSNROptional: No
Call by Reference: Yes
CV_CONVERSION_DONE - Boolean Variable (X=True, -=False, Space=Unknown)
Data type: BOOLEANOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for OIB_SD_CHECK_TAS_RELEVANCE_OW Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_cv_lisof | TYPE LISOF, " | |||
| lv_ev_tas_relevant | TYPE C, " | |||
| lv_iv_tas_application | TYPE OIK_APPLIC, " | |||
| lv_cv_tas_posnr | TYPE POSNR, " | |||
| lv_iv_tas_lisof | TYPE LISOF, " | |||
| lv_iv_lips_posnr | TYPE POSNR, " | |||
| lv_cv_conversion_done | TYPE BOOLEAN, " | |||
| lv_iv_lips_uepos | TYPE UEPOS. " |
|   CALL FUNCTION 'OIB_SD_CHECK_TAS_RELEVANCE_OW' "Check, if Item is TAS relevant |
| EXPORTING | ||
| IV_TAS_APPLICATION | = lv_iv_tas_application | |
| IV_TAS_LISOF | = lv_iv_tas_lisof | |
| IV_LIPS_POSNR | = lv_iv_lips_posnr | |
| IV_LIPS_UEPOS | = lv_iv_lips_uepos | |
| IMPORTING | ||
| EV_TAS_RELEVANT | = lv_ev_tas_relevant | |
| CHANGING | ||
| CV_LISOF | = lv_cv_lisof | |
| CV_TAS_POSNR | = lv_cv_tas_posnr | |
| CV_CONVERSION_DONE | = lv_cv_conversion_done | |
| . " OIB_SD_CHECK_TAS_RELEVANCE_OW | ||
ABAP code using 7.40 inline data declarations to call FM OIB_SD_CHECK_TAS_RELEVANCE_OW
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects