Skip to Content
avatar image
Former Member

Error: Field cannot be changed

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...

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Jan 24, 2008 at 03:12 PM

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

    Regards,

    Nageswar

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 24, 2008 at 03:14 PM

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

    Regards,

    Rich Heilman

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 24, 2008 at 03:28 PM

    where did you declare that field

    Regards,

    Nagewar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 24, 2008 at 05:19 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.