Get WO in TECO Status using BAPI_ALM_ORDERHEAD_GET_LIST
I need to pull Work Order details that are in TECO status using BAPI "BAPI_ALM_ORDERHEAD_GET_LIST". Below are the inputs i am passing at IT_RANGES table.
OPTIONS_FOR_PLANPLANT I EQ Plantname
OPTIONS_FOR_FUNCLOC I EQ Functional Location name
OPTIONS_FOR_EQUIPMENT I EQ Equipment number
SHOW_COMPLETED_DOCUMENTS I EQ X
I am getting results at ET_RESULT table. But it will list Work order that are in "REL" status too. I need only "TECO" status.
Kindly help me to get.