Skip to Content
avatar image
Former Member

REUSE_ALV_FIELDCATALOG_MERGE problem

Dear all,

I am in upgrade project, from 4.6 c to ecc 6.0.

In 4.6c code is like below. But in 6.0 it is getting runtime error like is_variant does not exist.

Please tell me how can i repair this in 6.0

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'

EXPORTING

I_PROGRAM_NAME = G_REPID

I_INTERNAL_TABNAME = G_TABNAME

I_CLIENT_NEVER_DISPLAY = 'X'

I_INCLNAME = G_REPID

IS_VARIANT = WF_XVARIANT

CHANGING

CT_FIELDCAT = RT_FIELDCAT[]

EXCEPTIONS

INCONSISTENT_INTERFACE = 1

OTHERS = 3.

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 20, 2007 at 08:35 AM

    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'

    EXPORTING

    I_PROGRAM_NAME = G_REPID

    I_INTERNAL_TABNAME = G_TABNAME

    I_CLIENT_NEVER_DISPLAY = 'X'

    I_INCLNAME = G_REPID

    <b>*IS_VARIANT = WF_XVARIANT</b>

    CHANGING

    CT_FIELDCAT = RT_FIELDCAT[]

    EXCEPTIONS

    INCONSISTENT_INTERFACE = 1

    OTHERS = 3.

    Simply comment out that line

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      good that your problem is solved, but why don't you close this thread

      and why don't you give reward point to all they helped you?

      regards, Dieter

  • avatar image
    Former Member
    Aug 20, 2007 at 08:42 AM

    Hi Ravi,

    look via se37 to the parameters of REUSE_ALV_FIELDCATALOG_MERGE.

    There is no parameter like IS_VARIANT. Delete it in your code.

    Regards, Dieter

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 20, 2007 at 08:46 AM

    Ravi,

    Try this.

    Go to utitlities in the menu bar

    click settings

    click abap editor tab

    click the editor tab

    uncheck the default line length 72.

    K.Kiran.

    Add comment
    10|10000 characters needed characters exceeded