Skip to Content
avatar image
Former Member

Create new field in new screen of specific program

Hi,

i created a new program with a new screen. In my include Z_TEST_TOP i created a new variable :

DATA: v_vendor type my_struc_vendor.

After, i created a new screen, i add a new field with name v_vendor-uname. My problem is that i can not make reference to v_vendor, the system tell me "v_vendor do not exist in the active form in Data Dictionary". I don't understand, i can't do that ?

Cheers

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 01, 2008 at 03:12 PM

    Hi,

    Check the sequence in which your includes are declared e.g.

    include z_top. "data declarations in top include

    include z_f01. "code where you are using the variable

    would work, but:

    include z_f01. "code where you are using the variable

    include z_top. "data declarations in top include

    will give syntax error in "z_f01".

    Regards,

    Raj.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 01, 2008 at 02:39 PM

    Is the include TOP activated? Please try this or give us some other information of how are you completing the configuration in screen painter.

    <removed_by_moderator>

    Thanks.

    Edited by: Julius Bussche on Sep 1, 2008 2:42 PM

    Add comment
    10|10000 characters needed characters exceeded