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

Include structure problem

Former Member
0 Likes
1,018

Hi,

I'm trying to compile simple construction in ECC 60:

types: begin of t_bbseg.

include structure bbseg.

types: end of t_bbseg.

I have compilation error:

"The type "SI_BBSEG" is unknown"

Is anyone had something like this before?

We are NetWeaver 2004S Unicode enabled.

Thank you,

Ihar

7 REPLIES 7
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
976

If you are trying to include BSEG as a structure in the TYPE, use the TYPE keyword instead



types: begin of t_bbseg.
include type bseg.
types: end of t_bbseg.

REgards,

Rich Heilman

Read only

Former Member
0 Likes
976

This construction gives me an error:

"The type "SI_BBSEG" is unknown"

What "SI_" has to do with that?

Read only

0 Likes
976

Not sure, it works fine in my system. There is an INCLUDE structure at the bottom of BBSEG(in my system) called SI_BBSEGV

Regards,

Rich Heilman

Read only

0 Likes
976

For some reason the structure SI_BBSEG may not be actie in your system. Try to activate that manually in SE11 and then try your program.

Regards,

Ravi

Note - Please mark all the helpful answers

Read only

Former Member
0 Likes
976

One more addition:

I'm trying to use structure BBSEG (not BSEG) for filling data for direct input

I found "include SI_BBSEG" and "include SI_BBSEGV" in structure BBSEG.

Read only

Former Member
0 Likes
976

I have 2 test systems. For some reason in one system it's compiling with no errors and in the another system I have this weird error. In both sytems this structure (SI_BBSEG) not available when I double click on it in se11 in BBSEG.

I'll try to activate it.

Thank you

Read only

Former Member
0 Likes
976

I activated this structure.

Thank you