Skip to Content
author's profile photo Former Member
Former Member

How to declare Global variable in Smartform?

Hi

How to declare a global variable which is having a length of 500 in smartform?

I have declared in global defenition--->Global data

where i should declare that it is having a length of 500?

Regards,

Lijo Joseph

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Feb 09, 2005 at 10:11 AM

    You can create a type.

    types : wy_char500(500).

    and you use this type in your declaration.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2005 at 10:22 AM

    Isn't there any data element which you have declared of length 500 ?

    Or you can go to types

    types: ty_char(500) type c.
    

    and then go to Global Data and declare any global variable of type <b>ty_char</b>

    or

    just declare a variable of type c. I think it takes any length. Not sure about this , though.

    Regards,

    Subramanian V.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.