cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Field cannot be changed

Former Member

Hi all,

I am trying to write program lines in smartform.

but it is giving error as "Field T005-landx cannot be changed".

here is the code.

READ TABLE INT_KNA1 WITH KEY KUNNR INDEX 1.

TRANSLATE INT_KNA1-NAME1 TO UPPER CASE.

TRANSLATE INT_KNA1-NAME2 TO UPPER CASE.

TRANSLATE INT_KNA1-STRAS TO UPPER CASE.

TRANSLATE INT_KNA1-ORT01 TO UPPER CASE.

TRANSLATE INT_KNA1-ORT02 TO UPPER CASE.

TRANSLATE T005T-LANDX TO UPPER CASE.

I have tried giving T005T-LANDX in Input parameters, output parameters and also both.But of no use....

Will definitely reward points if my problem gets solved...

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I have declared that field in FORM INTERFACE.of smartforms.But it basically comes from the print program.

The above code is written in smartforms "Program lines" editor.

I hope you understand.

Former Member
0 Kudos

Hi,

I think you gave T005T in the import parameters of the form interface. Declare it in some other place like in the tables section of the form interface or declare a local workerea like T005T and Move data into this workarea , make the changes as you want.

Thanks,

Vamshi.

Former Member
0 Kudos

where did you declare that field

Regards,

Nagewar

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Where is the valarable coming from? Where have you written this coding? Can you please provide more information here?

Regards,

Rich Heilman

Former Member
0 Kudos

Define that field in the output parameters instead of defining it in input parameters

Regards,

Nageswar