‎2007 Jun 27 4:41 PM
Hi,
is there any FM to get the information about the field (no_out) in
fieldcatalog after passing the layout name and the field catalog also.
Thanks&Regards,
Padma.
‎2007 Jun 27 5:18 PM
Hello,
Use this FM
G_R_DISP_VARIANT-REPORT = SY-REPID.
G_R_DISP_VARIANT-VARIANT = PA_VAR. " Variant Name
CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT'
EXPORTING
I_DIALOG = 'N'
I_USER_SPECIFIC = 'A'
I_DEFAULT = 'X'
IT_DEFAULT_FIELDCAT = G_T_FIELDCAT
I_LAYOUT = G_R_LAYOUT
IMPORTING
ET_FIELDCAT = G_T_FIELDCAT
ES_LAYOUT = G_R_LAYOUT
CHANGING
CS_VARIANT = G_R_DISP_VARIANT
EXCEPTIONS
ERROR_MESSAGE = 4
OTHERS = 4.
Vasanth
‎2007 Jun 27 4:58 PM
‎2007 Jun 27 5:09 PM
hi seshu,
is there any other way to achieve this.
Thanks&Regards,
Padma.
‎2007 Jun 27 5:18 PM
Hello,
Use this FM
G_R_DISP_VARIANT-REPORT = SY-REPID.
G_R_DISP_VARIANT-VARIANT = PA_VAR. " Variant Name
CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT'
EXPORTING
I_DIALOG = 'N'
I_USER_SPECIFIC = 'A'
I_DEFAULT = 'X'
IT_DEFAULT_FIELDCAT = G_T_FIELDCAT
I_LAYOUT = G_R_LAYOUT
IMPORTING
ET_FIELDCAT = G_T_FIELDCAT
ES_LAYOUT = G_R_LAYOUT
CHANGING
CS_VARIANT = G_R_DISP_VARIANT
EXCEPTIONS
ERROR_MESSAGE = 4
OTHERS = 4.
Vasanth
‎2007 Jun 28 8:20 AM
hi vasanth,
my problem is resolved thanks for ur help.
Regards,
padma.