‎2010 Oct 21 2:05 PM
Hi,
I have one requirement that, Creating Authorization for multiple plants
SELECT-OPTIONS: s_werks FOR mseg-werks.
AUTHORITY-CHECK OBJECT 'M_MSEG_WMB'
ID 'ACTVT' FIELD '03'
ID 'WERKS' FIELD s_werks.
1. If have no of plants in s_werks then how to authorize the plants?
2.if i dont enter any plant in my selection screen how to authorize that?
3. if i have 5 plant only then how i can authorize those perticular plants only?
Thanks in advance,
Thanks,
DP.
‎2010 Oct 21 2:38 PM
S_WERKS is not a field; it's a set of fields. Use simple ABAP to select your plants and loop at the selection(s) to check...