Skip to Content
avatar image
Former Member

Unable to Activate Smartform After ERP 6.0 Upgrade

Since upgrading from R/3 4.7 to ECC 6.0 one of our smartforms has stopped functioning in the upgraded DEV environment.

When running the check on the smartform the following error is displayed:

Global Definitions

Field "STRING" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. .

This sounds like a syntax error to me, but I cannot understand why this form activates fine in our 4.7 DEV environment but not in ECC 6.0

I've tried running the check on the 'Initialisation' code of the 'Global Variables' node and that executes successfully. I'm at a loss as to where this error is occurring, does anyone have any suggestions?

Thanks,

Richard

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 23, 2009 at 10:51 AM

    Hi,

    May be what u can do is, take the generated FM name of the smartforms, and goto SE37 display the FM & search for the word 'STRING'.

    Hope it helps!!

    Rgds,

    Pavan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thanks for that Kiran.

      That makes a lot of sense (I'm not an ABAPer but have developed in other languages and I'd imagine you have to use TYPE because STRING is a type and not a field, table or anything else.)

      It now seems to be working...the only annoying thing is that it still work's fine in our old DEV system where the parameters are still declared as LIKE - I guess the syntax check used to be more forgiving in 4.7!

      All help has been much appreciated!

      Richard

  • Jun 23, 2009 at 10:36 AM

    Hi,

    Just try to syntax check the FM of the smartforms.

    It will point where the field STRING is used. That might help.

    Regards,

    Ankur Parab

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 23, 2009 at 02:55 PM

    I suspect the default value ' ' set to the variables GV_SURVEY_ADD, GV_GAS_OUTSTANDING.

    Try to change it to the CHAR1 and activate.

    Moreover, try to find out the word STRING in your Smartfrom (FM) and check if there are any inconsistency.

    1) Press the Test button

    2) Display the FM

    3) Press the Search button (Binoculars)

    4) Enter STRING as search

    5) Select "Main Program" << Important

    6) Hit find.

    Regards,

    Naimesh Patel

    Add comment
    10|10000 characters needed characters exceeded