SAP GET_ARTICLE_FROM_WIND Function Module for Determination of the articles based on WIND entries
GET_ARTICLE_FROM_WIND is a standard get article from wind SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determination of the articles based on WIND entries 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 get article from wind FM, simply by entering the name GET_ARTICLE_FROM_WIND into the relevant SAP transaction such as SE37 or SE38.
Function Group: WPDA
Program Name: SAPLWPDA
Main Program: SAPLWPDA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function GET_ARTICLE_FROM_WIND 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 'GET_ARTICLE_FROM_WIND'"Determination of the articles based on WIND entries.
EXPORTING
I_DAT_AB = "General 'From date' for IS-R
IMPORTING
ET_ARTICLES = "PRE03 Table for BAdI
TABLES
IT_KONDART = "POS interface: POS-relevant conditon types per store
IT_WIND = "Document Index: Structure for Posting Worklist
IT_FILIA = "Table Of Stores
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLWPDA_001 POS Interface: Modification of the IDoc Data Material Groups
EXIT_SAPLWPDA_002 POS Interface: Modification of IDoc Data for Material Master
EXIT_SAPLWPDA_003 POS Interface: Modification of IDoc Data for EAN/UPC References
EXIT_SAPLWPDA_004 POS Interface: Modification of IDoc Data for Set Assignments
EXIT_SAPLWPDA_005 POS Interface: Modification of IDoc Data for Follow-On Items
EXIT_SAPLWPDA_006 POS Interface: Modification of IDoc Data for Exchange Rates
EXIT_SAPLWPDA_007 POS Interface: Modification of IDoc Data for Taxes
EXIT_SAPLWPDA_008 POS Interface: Modification of IDoc Data for Personal Data
EXIT_SAPLWPDA_009 POS Interface: Additional Change Pointer Analysis for WP_PLU
EXIT_SAPLWPDA_010 POS Interface: Additional Change Pointer Analysis for WPDSET
EXIT_SAPLWPDA_011 POS Interface: Additional Change Pointer Analysis for WPDNAC
EXIT_SAPLWPDA_012 POS Interface: Additional Change Pointer Analysis for WPDWGR
EXIT_SAPLWPDA_013 POS Interface: Additional Change Pointer Analysis for WP_PER
EXIT_SAPLWPDA_015 POS Outbound: Additional Filter Option in Condition Pointer Analysis
EXIT_SAPLWPDA_016 POS Interface: Modification of IDoc Data for Promotion Discounts
EXIT_SAPLWPDA_017 POS Interface: Additional Change Pointer Analysis for WPDREB
IMPORTING Parameters details for GET_ARTICLE_FROM_WIND
I_DAT_AB - General 'From date' for IS-R
Data type: WJDPOSDAT2Optional: No
Call by Reference: Yes
EXPORTING Parameters details for GET_ARTICLE_FROM_WIND
ET_ARTICLES - PRE03 Table for BAdI
Data type: PRE03_TABOptional: No
Call by Reference: Yes
TABLES Parameters details for GET_ARTICLE_FROM_WIND
IT_KONDART - POS interface: POS-relevant conditon types per store
Data type: WPKONDARTOptional: No
Call by Reference: Yes
IT_WIND - Document Index: Structure for Posting Worklist
Data type: WINDVBOptional: No
Call by Reference: Yes
IT_FILIA - Table Of Stores
Data type: WDL_FILOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for GET_ARTICLE_FROM_WIND 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_i_dat_ab | TYPE WJDPOSDAT2, " | |||
| lt_it_kondart | TYPE STANDARD TABLE OF WPKONDART, " | |||
| lv_et_articles | TYPE PRE03_TAB, " | |||
| lt_it_wind | TYPE STANDARD TABLE OF WINDVB, " | |||
| lt_it_filia | TYPE STANDARD TABLE OF WDL_FIL. " |
|   CALL FUNCTION 'GET_ARTICLE_FROM_WIND' "Determination of the articles based on WIND entries |
| EXPORTING | ||
| I_DAT_AB | = lv_i_dat_ab | |
| IMPORTING | ||
| ET_ARTICLES | = lv_et_articles | |
| TABLES | ||
| IT_KONDART | = lt_it_kondart | |
| IT_WIND | = lt_it_wind | |
| IT_FILIA | = lt_it_filia | |
| . " GET_ARTICLE_FROM_WIND | ||
ABAP code using 7.40 inline data declarations to call FM GET_ARTICLE_FROM_WIND
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