cancel
Showing results for 
Search instead for 
Did you mean: 

SAP script - syntax problem

Former Member
0 Kudos

Hello Friends,

I had a doubt that is in text editor is script - i.e, in se71 while we are writing text elements,

if when ever we are writing if conditions, ie,

if &lifnr& = space

some thing

elseif &lifnr& = '009'

something

endif

is in the above statement is . full stop mandatory ?

if no full stop then what happens

Please expain.

Thank you,

Regards,

Phaneendra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In SAP script editor of SE 71 its not mandatory to give full stop

You just need to give the command tag and write the abap statements

Clemenss
Active Contributor
0 Kudos

Hi,

according to [online help|http://help.sap.com/erp2005_ehp_04/helpdata/EN/d1/80319c454211d189710000e8322d00/content.htm], the command followed by a dot (fullstop) should be a syntax error and thus ignored.

For reasons beyond my logic, a dot (fullstop) at the end of the command seems to be ignored although it is not mentioned in [IF documentation|http://help.sap.com/erp2005_ehp_04/helpdata/EN/d1/80325f454211d189710000e8322d00/content.htm]..

Regards,

Clemens

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Full stop is not mandatory. You can write as b


/: IF 

/: ELSEIF 

/: ENDIF

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

please reply me as soon as possible