SAP Function SLS_AEI_GET_EVENTS_BY_LOC_ID - Reading Events that belong to the Location(s) specified

Parameter Reference Type Length Default Optional Text
P_EVENT_BEGDA SLS_EVENT-EVBEG D 8 '19990101' X
P_EVENT_ENDDA SLS_EVENT-EVEND D 8 '99991231' X
P_EVENT_PLVAR SLS_EVENT-PLVAR C 2
P_NO_TEM SLS_EVENT-NO_TEM C 1 PAW - Event either from TEM or not

Parameter Reference Length Optional Text
P_EVENTS SLS_EVENT 121
P_LOCATION_IDS SLS_OBJID 8

Exception Text
NO_EVENTS_FOUND
NO_LOCATION_IDS_SPECIFIED

Functionality
This FM is useful for reading the events table as according to thelocation specified accepting the location-id, event begin date and enddate and plan variant as input parameters.