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

Syntax error in the report

Former Member
0 Likes
1,176

Hy Guys,

I am working on ECC 6.0 and there is one std report RFKORD50 and we made few chnages and created one Z one and in that report we have used few include programs too. Now when I am trying to run that report its giving me a syntax error which says that particular field is unknown and its neither in one of the specified table not defined by the data statement. When I double clicked on it it took me to the include program

RFKORI90 and there this field is used as "save_test = fp_joboutput-test" and when I double clicked on save_test it took me to anotehr routine where this statement is defined as data: save_test type FPOUTDONE. and then when finally I double clicked on fpoutputdone it took me to where this field is defined. So it looks like that every thing is defined fine but then also I am getting this error. So can you please help me to find what possibly the error is and how to get rid of this.

Thanks,

Rajeev !!!!!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,138

Pretty sure the include where save_test or fp_joboutput-test is defined is not active.

Check that, if it is not active.

- Comment save_test = fp_joboutput-test

- Activate the includes

- Discomment save_test = fp_joboutput-test

- Try to activate again

8 REPLIES 8
Read only

Former Member
0 Likes
1,139

Pretty sure the include where save_test or fp_joboutput-test is defined is not active.

Check that, if it is not active.

- Comment save_test = fp_joboutput-test

- Activate the includes

- Discomment save_test = fp_joboutput-test

- Try to activate again

Read only

0 Likes
1,138

Hi Ramiro,

Thanks for the reply. I activated the includes but it didn't solve the issue and I am still getting the same syntax error.

So can you please tell me what may be the other possible problem .

Thanks,

Rajeev

Read only

0 Likes
1,138

So they were activated without errors?

What particular field is giving you the problems?

Read only

0 Likes
1,138

yes they did and the field that is getting me the error is:

save_outputdone, which is being used in include RFKORI90 and declared in include RFKORI00 as data:ave_outputdone type FPOUTDONE.

Thanks,

Rajeev

Read only

0 Likes
1,138

is RFKORI00 active right now?

If yes try to comment the line where save_outputdone is used, activate the include.

If no problem occurs discomment the line again and try to activate again

Read only

0 Likes
1,138

But RFKORI00 is a SAP std program and to acces this I need to have the access key.

Read only

0 Likes
1,138

Yeah...

So again, is RFKORI00 active right?

If yes, maybe try this.

You made a Z copy of RFKORD50 right?

Comment everything down of INCLUDE RFKORI00. try to activate it, if no problem occurs discomment everything and try to activate it again

Read only

Former Member
0 Likes
1,138

Hi Rajeev,

Please make sure all the include programs are active or not.

Regards,

Madhu