Skip to Content
author's profile photo Former Member
Former Member

Syntax error on query generation

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 17, 2005 at 04:48 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.