2007 Mar 26 8:41 PM
Hi Experts,
I had created a variant for my report program that uses hierarchical ALV but i am unable to get the variant values in REUSE_ALV_VARIANT_DEFAULT_GET in debugging mode.
Can any one please tell me where am i wrong?
Thanks
Dany
2007 Mar 26 10:29 PM
Hi Dan ,
Please try this for f4 help in ALV.
CLEAR g_variant.
g_variant-report = sy-repid.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = 'A'
CHANGING
cs_variant = g_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
p_varin = g_variant-variant.
ENDIF.
Regards
Lincon