SAP Function SLS_AEI_GET_EVENTS_LOC_BY_KEY - Reading Event Table with Key (ID & Plvar) and Location

Parameter Reference Type Length Default Optional Text
P_EVENT_BEGDA SLS_EVENT-EVBEG D 8 '19000101' 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_EVENT_IDS SLS_OBJID 8

Exception Text
ENDDATE_LOWER_BEGINDATE
NO_EVENTS_FOUND
NO_EVENT_IDS_SPECIFIED

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