For SAP By Design you can use the following structure in SOAP calls. Note the Inclusion Codes and Interval Boundaries must be set as desired (See tables below)
<SalesOrderSelectionByElements>
<SelectionByLastChangedDate>
<InclusionExclusionCode>I</InclusionExclusionCode>
<IntervalBoundaryTypeCode>3</IntervalBoundaryTypeCode>
<LowerBoundaryDateTime>2023-07-01T00:00:00Z</LowerBoundaryDateTime>
<UpperBoundaryDateTime>2023-07-25T00:00:00Z</UpperBoundaryDateTime>
</SelectionByLastChangedDate>
<SelectionByEmployeeResponsiblePartyID>
<InclusionExclusionCode>E</InclusionExclusionCode>
<IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>
<LowerBoundaryPartyID>8000000041</LowerBoundaryPartyID>
</SelectionByEmployeeResponsiblePartyID>
<ProcessingConditions>
<QueryHitsMaximumNumberValue>1000</QueryHitsMaximumNumberValue>
<QueryHitsUnlimitedIndicator>false</QueryHitsUnlimitedIndicator>
</ProcessingConditions>
</SalesOrderSelectionByElements>
Selection Parameters:
Query selection parameters are mainly exposed as select options or ranges, with an inclusion/exclusion code, interval boundary type code, lower boundary value, and upper boundary value.
The interval boundary type code (element name IntervalBoundaryTypeCode) is used to describe intervals by their boundaries. Depending on the operator, the lower boundary value or both boundary values are relevant.
Transmission Request Code in RequestedElements specifies which elements shall be returned