hi all , i hope my question will be clear this time !
Is there a way to get the list of environments dynamically, NOT to declare them manually like this :
FORM get_list_of_envs. CLEAR gt_s_envs. gt_s_envs = 'DGA' APPEND gt_s_envs to gt_envs. gt_s_envs = 'DGB'. APPEND gt_s_envs TO gt_envs. gt_s_envs = 'DGC'. APPEND gt_s_envs TO gt_envs. . . . ENDFORM.
with 'environments' i mean the result of STMS transaction -> itinerary of transport.
I remain available if my question is not clear enough .