Hi Michele,
*XDIM_MEMBERSET is used to redefine the scope. So that entity selection you have made is removed from the scope and redefined with all entities with the property you have set in the variable via the *SELECT statements.
So, if you use *XDIM_FILTER statement, it will filter the scope that has been selected from the package selection.
Please try to use *XDIM_FILTER to filter the property.
This will filter the selection to the property set.
So please try this for scoping instead of using a select statement and XDIM_MEMBERSET.
*XDIM_FILTER ENTITY = [ENTITY].Properties("FIELDSAP") = "0"
*RUN_STORED_PROCEDURE=SPRUNCONVERSION('%APP%','%CATEGORY_SET%','','GLOBAL','%SCOPETABLE%','%LOGTABLE%')
*COMMIT
Best Regards,
Karthik AJ