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: 

ABAP - Include issue

former_member588495
Participant
0 Kudos

Greeting,

I am trying to write down a report for smartforms, however, when I clicking "Check" button in the 1st "Included Program"(ZPP_PROWDA_PROGRAM_TOP), system always show Syntax Error to me(se38.png), I don't have any idea how to solve this issue, is there any experts can teach me?

Thanks in advance.

Roger

1 ACCEPTED SOLUTION

geert-janklaps
Active Contributor

Hi,

Please have look at your report (double click the report e.g. in SE80) and probably your first include is your top include. (at least it should be)

Open the top include and make sure the REPORT or PROGRAM statement is in place (should be the first statement of your top include):

Best regards,

Geert-Jan Klaps

3 REPLIES 3

joltdx
Active Contributor

You have to do the check on the main program. 🙂

The program that uses the include.

You do that either by going to that main program to do the check, or Ctrl-F7 in the include. (Menu option Check -> Master Program)

geert-janklaps
Active Contributor

Hi,

Please have look at your report (double click the report e.g. in SE80) and probably your first include is your top include. (at least it should be)

Open the top include and make sure the REPORT or PROGRAM statement is in place (should be the first statement of your top include):

Best regards,

Geert-Jan Klaps

0 Kudos

Hi Geert,

I got it, thank you very much.

Best Regards

Roger