cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax error on query generation

Former Member
0 Kudos

Hi,

When I try to generate report syntax error occures. It's not a custom code. What do you think about it ?

(syntax error in the following code:

//

return.

perform Debug_xfems.

//

)

See some piece of generated file :

REPORT RSRRNAME.

...

----


FORM SELECT_4.

if G_S_QCF-cmess eq rrkg_C_cmess-error.

perform CU_MESS_send.

endif.

read Table <G_THX_s> assigning <G_SX_S>

with table key k = G_SX_s-k.

if sy-subrc gt 0.

insert G_SX_S into table <G_THX_S> assigning <G_SX_S>.

endif.

ENDFORM.

*

FORM MOVE_Z_SP_0001.

ENDFORM.

----


return.

perform Debug_xfems.

----


form check_fems using value(I_fems) type i.

perform I_fems of " REP I_FEMS = 2

MOVE_Z_SP_0001

DEBUG_XFems.

endform. " now look at G_TSX_XFems

----


Thanks in advance.

Fiodar.

Accepted Solutions (1)

Accepted Solutions (1)

former_member181887
Active Contributor
0 Kudos

Hi,

I would suggest that you check OSS for existing SAP notes on the issue and if you find nothing, please create a SAP customer message.

All the best,

Mike

Answers (0)