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

Scat Problem in XD02

Former Member
0 Likes
622

i have created a Scat for XD02.

i am getting an error when i try to change it on field.

Screen SAPMF02D and no. 7000
KNVK-NAME1(1),KNVK-NAMEV(1)

i got following error


Syntax error:  &NAME1(1 Offset and length are not in the form +x
Syntax error:  &NAMEV(1 Offset and length are not in the form +x

any clues if any, pl. reply asap.

abhishek suppal

i have created a Scat for XD02.

i am getting an error when i try to change it on field.

Screen SAPMF02D and no. 7000
KNVK-NAME1(1),KNVK-NAMEV(1)

i got following error


Syntax error:  &NAME1(1 Offset and length are not in the form +x
Syntax error:  &NAMEV(1 Offset and length are not in the form +x

any clues if any, pl. reply asap.

abhishek suppal

4 REPLIES 4
Read only

christian_wohlfahrt
Active Contributor
0 Likes
595

Hi!

Rename your variables. Currently they have () inside the name (I am not talking about the screen fields). Just use a running number for the lines, without any brackets.

Regards,

Christian

Read only

0 Likes
595

dear christ..

the fields KNVK-NAME1(1),KNVK-NAMEV(1) in bracket comes by default when we record the scatt...how can i use the running no. without brackets.

abhishek suppal

Read only

0 Likes
595

actually we have table control in this screen and we hav to enter multiple values....

Read only

0 Likes
595

Hi!

You have to name the dynpro fields:

KNVK-NAME1(01)

KNVK-NAME1(02)

KNVK-NAME1(03)

... for the first three lines.

And you assign your variables:

&cust_name1

&cust_name2

&cust_name3

... but here nor brackets should be used.

So the fields in the left and the varialbes in the right - but I don't try to make a small table, will be screwed up by IE anyway.

Regards,

Christian