Tech_Info/SAP2011. 3. 3. 13:40

ALV Classic 에서 개인세팅/디폴트세팅 옵션을 바꾸는 방법

S_ALV_LAYO

23 유지보수 --> User-Specific (O), Default Setting (O)

없으면 --> User-specific(X) Default Setting(O) User-Specific mandatory greyed out

   

권한에 상관없이 사용가능하게 하려면, 프로그램에서 IS_LAYOUT-NO-AUTHOR = 'X' 를 넣어주면 되심.

   

ALV 'Classic' Creating User/Global Layout Variants

You are working with the ALV "Classic" function module REUSE_ALV_LIST_DISPLAY. 

Reading the documentation for the function module, it seems there is a way to save an ALV layout variant as "user-specific" and/or "global". But unfortunately, you either can only save "globals" (with the '/' as first character of the layout name) or "user-specific". 

You have tried the I_SAVE parameter as 'U' and can only save "user-specific". You tried I_SAVE as 'X' and can only save "global". You tried I_SAVE as 'A', but only can only save as "user-specific". The odd thing is, on the Save Layout pop-up dialog the User-Specific checkbox is always "greyed-out", but has a check (for 'U' and 'A') or is checkless (for 'X').

Can "user" and "global" layout variants be saved together from same program with I_SAVE as 'A'? 

Why is the User-Specific checkbox on the Save Layout pop-up always "greyed-out"?

You have the following EXPORTING parameters in my function module: 

I_DEFAULT = 'X' 

I_SAVE = 'A' "<=== this is to be global & user IS_VARIANT = VARIANT

VARIANT has the program's name in the REPORT field.

   

The "user-specific saving" needs a special authorization: 

Authority-check object 'S_ALV_LAYO' id 'ACTVT' field '23', you can 

avoid this authorization with IS_LAYOUT-NO_AUTHOR = 'X'

   

Pasted from <http://www.sap-img.com/fu017.htm>

   

   

S_ALV_LAYO 23 있으면 수정 가능함.

없으면 아래와 같이 Global 안되고, User-Specific으로 변경됨.

   

Posted by 구리구리