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

Regarding syntax error

Former Member
0 Likes
592

Hi Group,

Here in my code:

loop at ldt_revision into lds_revision.

-

-

-

endloop.

When I check value in the debugger lds_revision-object->revision.revnr

it has the value 234556.

Now I want this number to process further in the above loop.

But here the problem is I use the same lds_revision-object->revision.revnr in the loop, but it is giving me syntax error, could you please help me in rectifying this problem.

Thanks and Regards,

Kumar.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
573

Hi,,

exactly what syntax error it is giving.when u are getting the value inside ur loop then it is fine....

can u elaborate what error it is giving??

5 REPLIES 5
Read only

Former Member
0 Likes
574

Hi,,

exactly what syntax error it is giving.when u are getting the value inside ur loop then it is fine....

can u elaborate what error it is giving??

Read only

0 Likes
573

Hi thanks for your response.

When I check value in the debugger lds_revision-object->revision.revnr the value is there.

But the same lds_revision-object->revision.revnr if given in the code, its saying the syntax error,

revision.revnr is unknown. \

Its not recognizing this above field here in my program.

Read only

Former Member
0 Likes
573

virgo,

declare a filed which is the type

revision.revnr

catch this in that field

Read only

Nawanandana
Active Contributor
0 Likes
573

hi

i think type should be not machng. so diclar this like this

revnr type p.

and do it

regard

nawa

Read only

0 Likes
573

Hi Group,

Thank you for your responses.

I have to type the type cast my variable in my program in order to use that value.

My problem is solved.

Thank again for your prompt responses.

Regards,

Kumar.