03-10-2010 8:11 AM
Hi all,
Call to a program containing a syntax error (CALL/PERFORM/SUBMIT)
Error in program /SAPAPO/SAPLATPQ_TIMESERIES - include /EPCOS/SD_CRSD0035_04 -
line 76
Syntax check error message:
A target area must be declared either explicitly with an INTO clause or implicitl
with a TABLES statement.
Internal Message Code: MESSAGE GYN
after clicking on error iam getting this statement how to solve this
This is perform statement which is present in z program
PERFORM localise_reqtms(/sapapo/saplatpq_timeseries)
USING space
CHANGING l_ts_endhor.
DATA: l_ts_endhor TYPE /sapapo/om_hortms.
Form statement in standard program (/SAPAPO/LATPQ_TIMESERIESFD0)
FORM localise_reqtms USING flag
CHANGING p_reqtms TYPE /sapapo/reqtms.
03-10-2010 8:17 AM
Call to a program containing a syntax error
Based on message you get it seems that the problem is not in calling the routine in Z program, but in the standard program it is placed.
Go to that program, do syntax check, you should get the error system mentions about.
Regards
Marcin
03-10-2010 9:03 AM
03-10-2010 9:08 AM
This is a problem in SELECT statement of your calling prog.
Please check in SELECT statement, the transparant table is having INTO (for fields of internal table) .
And if not, then the table after SELECT statement is declared in TABLES statement or not.