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

SLIN Error in ECC 6.0

Former Member
0 Likes
527

While fixing the slin errors i got syntax errors in STRUCTURE ENHANCEMENTS.

The error is 'After a structure enhancement, assignment or comparison may no longer be permitted.

The code which is getting error is as follows

DATA: t_extensionin LIKE bapiparex OCCURS 1

WITH HEADER LINE,

s_bape_vbak LIKE bape_vbak,

s_bape_vbakx LIKE bape_vbakx.

s_bape_vbak-vbeln = s_bape_vbakx-vbeln = p_vbeln.

s_bape_vbak-estat = 'ZSUB'.

s_bape_vbakx-estat = 'X'.

t_extensionin-structure = 'BAPE_VBAK'.

t_extensionin-valuepart1 = s_bape_vbak.

APPEND t_extensionin.

t_extensionin-structure = 'BAPE_VBAKX'.

t_extensionin-valuepart1 = s_bape_vbakx.

APPEND t_extensionin.

Any suggestions...to fix the error...

While fixing the slin errors i got syntax errors in STRUCTURE ENHANCEMENTS.

The error is 'After a structure enhancement, assignment or comparison may no longer be permitted.

The code which is getting error is as follows

DATA: t_extensionin LIKE bapiparex OCCURS 1

WITH HEADER LINE,

s_bape_vbak LIKE bape_vbak,

s_bape_vbakx LIKE bape_vbakx.

s_bape_vbak-vbeln = s_bape_vbakx-vbeln = p_vbeln.

s_bape_vbak-estat = 'ZSUB'.

s_bape_vbakx-estat = 'X'.

t_extensionin-structure = 'BAPE_VBAK'.

t_extensionin-valuepart1 = s_bape_vbak.

APPEND t_extensionin.

t_extensionin-structure = 'BAPE_VBAKX'.

t_extensionin-valuepart1 = s_bape_vbakx.

APPEND t_extensionin.

Any suggestions...to fix the error...

2 REPLIES 2
Read only

suresh_datti
Active Contributor
0 Likes
491

Hi Hasmath,

Have you checked OSS NOte # 493387 ?

~Suresh

Read only

sridhar_k1
Active Contributor
0 Likes
491

Try adding "#EC ENHOK after the following statements:

t_extensionin-valuepart1 = s_bape_vbak.

t_extensionin-valuepart1 = s_bape_vbakx.

If that doesn't work, define s_bape_vbak and s_bape_vbakx like the following:

data: begin of s_bape_vbak ,

vbeln type bape_vbak-vbeln,

estat type bape_vbak-estat,

end of s_bape_vbak.

data: begin of s_bape_vbakx ,

estat type bape_vbakx-estat,

end of s_bape_vbakx.

Regards

Sridhar