data: lo_entity type ref to if_rest_entity, ls_categories type if_app_types=>categories_s, lo_category_prov type ref to cl_app_categories_prov.* fill categories structure... create object lo_category_prov. lo_category_prov->set_categories( ls_categories ). lo_category_prov->write_to( lo_entity )....