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

Syntax error in CATT (SCAT)

Former Member
0 Likes
714

Hi All,

I have a problem when i use SCAT script to define the import parameter

Here the error message goes...

Syntax error : &value (offset and length are not in the form +x(

Please guide me how to fix this?

Appreciate your response.

Thanks in advance

DP

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
645

Dont use '(' or ')' when defining import parameters...

4 REPLIES 4
Read only

Former Member
0 Likes
646

Dont use '(' or ')' when defining import parameters...

Read only

0 Likes
645

Hi,

Thanx for the reply, but this ' ( ' is coming by itself in the Field name column in the Field list screen, that too in display mode, it is not allowed to change there. please suggest.

Keyword Field name Len New field contents

BDC_CURSOR 000 &BDC_CURSOR

BDC_OKCODE 000 &BDC_OKCODE

Material KOMG-MATNR(1) 018 10055

Calculat.type RV13A-KRECH(1) 001 Q

Valid on RV13A-DATAB(1) 010 01.05.2010

Valid to RV13A-DATBI(1) 010 30.04.2011

AddValDays KONP-VALTG(1) 002 0

DP

Read only

0 Likes
645

Use variable name (with &) for material, calculate.type, valid on, valid to, Add val days...

Material KOMG-MATNR(1) 018 &material

Calculat.type RV13A-KRECH(1) 001 &cal_typ

Valid on RV13A-DATAB(1) 010 &val_on

Valid to RV13A-DATBI(1) 010 &val_to

AddValDays KONP-VALTG(1) 002 &days

Edited by: praveen reddy on Dec 30, 2010 1:53 PM

Read only

0 Likes
645

Thanx Praveen, it is solved now, but what is 018, 001, 010, 002 before the & sign, I am not getting that in my CATT.

what does it specifies?

DP