Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How check variable in field-symbol?

Hi

I have in my report following code:

data: l_auth_pai type zps_auth_pai,
         name(20)   type c.

   field-symbols: <rep_var>  type any.

       CONCATENATE 'pai_' l_auth_pai-stru_name into name.
        assign (name) TO <rep_var>.

Could You suggest me a way, in which I can check:

1. if in report a variable with name "name' exist/is declared

2.if variable with name "name" is an internal table or a line

Thx in advance

J.S.

Edited by: John Smith on Oct 17, 2008 12:46 PM

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question