This website is not affiliated with, sponsored by, or approved by SAP AG.

SLIN for TABLES parameter issue

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

SLIN for TABLES parameter issue

Postby q4u » Tue May 26, 2015 3:55 am

Hi,
Am using SLIN on a function group, and it raises an error saying a Z structure "can be enhanced", but the error can be hidden with "#EC ENHOK
The structure is passed into the TABLES parameter of a function, so my question is where do I put "#EC ENHOK to stop the message?

FUNCTION zZwrite_dates.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" TABLES
*" TI_DATE STRUCTURE ZDATES
*"----------------------------------------------------------------------

Thanks,
q4u
q4u
 
Posts: 439
Joined: Wed Mar 08, 2006 7:02 am

Re: SLIN for TABLES parameter issue

Postby Grogan » Tue May 26, 2015 4:34 pm

The simplest way is just to mark the structure as "Cannot be Enhanced". After all, it is a Z structure so generally you would just edit it rather than add an append structure.

In SE11 go Extras > Enhancement Category, and try changing to "Cannot be Enhanced".
Grogan

Award cash if useful.
Grogan
 
Posts: 365
Joined: Thu Aug 04, 2005 7:16 pm
Location: Australia

Re: SLIN for TABLES parameter issue

Postby q4u » Wed Jun 10, 2015 9:05 am

Grogan wrote:The simplest way is just to mark the structure as "Cannot be Enhanced". After all, it is a Z structure so generally you would just edit it rather than add an append structure.

In SE11 go Extras > Enhancement Category, and try changing to "Cannot be Enhanced".

Ok, thanks. Will give it a go!
q4u
 
Posts: 439
Joined: Wed Mar 08, 2006 7:02 am


Return to ABAP

Who is online

Users browsing this forum: Google Adsense [Bot] and 9 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.