SAP Function /OSP/SAP_QUERY_DATA_TO_XML - Convertor to return the SAP Query output in XML

Parameter Reference Type Length Default Optional Text
DATA_OPTIONS IQLDATAOPT u 11 X InfoSet Query API (L): Data Display Options
FILTER IQTFILTER h 336 X InfoSet Query API: Filter
QUERY IQQNAME C 30 InfoSet Query: Query Name
VARIANT VARIANT C 14 X ABAP: Name of variant (without program name)

Parameter Reference Type Length Text
DXML XSTRING y 0
ET_RETURN BAPIRET2_T h 548 Return parameter table
USED_VARIANT VARIANT C 14 ABAP: Name of variant (without program name)