Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

smartform- global definitions

Former Member
0 Likes
881

Hi Experts,

In the <b>global definitions</b> of smartform how can i declare a charecter data type.

like zdate(10) type c...It is not allowing..

How can we declare that?

Regrads

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
851

Hi,

You have to use a data element whose type is character and length is 10 to declare a variable in global definitions.

Thanks and Regards,

Bharat Kumar Reddy.V

Hi,

You have to use a data element whose type is character and length is 10 to declare a variable in global definitions.

Thanks and Regards,

Bharat Kumar Reddy.V

7 REPLIES 7
Read only

Former Member
0 Likes
851

Instead declare like ZDATE TYPE CHAR10.

Regards,

Prakash.

Read only

Former Member
0 Likes
851

Hi ravi,

1. Take some field/data element from data dictionary,

which is of the same type

2. eg.

A TYPE BUKRS

regards,

amit m.

Read only

0 Likes
851

Thanks.I fit is length of 2 charecters then how can i declare?

Read only

0 Likes
851

Ravi,

Declare it as Char2.

Prakash.

Read only

0 Likes
851

Hi again,

1. CHAR2 (its a data element)

2. A TYPE CHAR2

regards,

amit m.

Read only

0 Likes
851

Hi All,

Thank you..It works fine now.

Read only

Former Member
0 Likes
852

Hi,

You have to use a data element whose type is character and length is 10 to declare a variable in global definitions.

Thanks and Regards,

Bharat Kumar Reddy.V