Hi All,
We have developed a custom report where we have given Layout variant on selection screen to allow user to select report layout ( which user has created or can create new).
The issue is whenever user is creating new variant and saving , it is saving in database table LTDX. some varinats are saving with handle equal to 3 or empty. this is creating issue while calling FM REUSE_ALV_VARIANT_F4.
g_variant-handle = 0003.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = g_variant
i_save = gc_a
IMPORTING
es_variant = g_variant
EXCEPTIONS
not_found = 1
program_error = 2
OTHERS = 3.
i can pass only one value of handle. so variants saved with empty handle are missing in this case.
Can you please help on understanding when handle will be 3 or 0?
Thanks,
Arpita