Thanks RobbSalzmann for the help!
So this code needs to be added:
Dim wfYear As String = BRApi.Workflow.General.GetGlobalTime(si);
wfYear = wfYear.SubString(0,2)
This code needs to be commented out:
Select Case m_SourceType
Case Is = "SapQuery"
' SAP Queries: need to create an list of SapQueryParameters objects containing the filter options.
' the format of the custom filter is: ParameterTechnicalName;Sign;Operator;LowValue;HighValue|ParameterTechnicalName;Sign;Operator;LowValue;HighValue
' pipe-separated list of fields semicolon separated. For example:
' SD_GJAHR;Include;Equals;|WFYear|;|SD_BUKRS;Inlcude;Between;1000;2000
'customFilters.Append("SP$00006;Include;Equals;1003") 'Entity
customFilters.Append("SP$00001;Include;Equals;" & wfYear) 'Year
'customFilters.Append("P%Z_0076;Include;Equals;12") 'Period
'customFilters.Append("SP$00006;Include;Equals;1003") 'Entity
Thanks so much!