W0lfw00ds
W0lfw00ds

Reputation: 2096

Get temp-table's name in code

I'm trying to get this temp-table's name/variablename ('TT_Test') in code so I could compare it:

DEFINE TEMP-TABLE TT_Test NO-UNDO
    FIELD Test AS CHAR
.

I've tried to use this without success:

PROCEDURE testProc:
    DEF VAR name AS CHAR NO-UNDO.

    name = TT_Test:NAME.

END PROCEDURE.

Is there any way to get it?

Upvotes: 1

Views: 98

Answers (1)

Mike Fechner
Mike Fechner

Reputation: 7192

cName = TEMP-TABLE tt_test:NAME.

Upvotes: 1

Related Questions