Application Development 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: 

error in perform/form statement

Former Member
0 Kudos

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.

3 REPLIES 3

MarcinPciak
Active Contributor
0 Kudos

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

Former Member
0 Kudos

define DATA: l_ts_endhor TYPE /sapapo/reqtms.

Former Member
0 Kudos

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.