cancel
Showing results for 
Search instead for 
Did you mean: 

if statement is too long in sap scripts.

Former Member
0 Kudos

Hi all,

My requirement is to check vendor and print accordingly, but i am unable to write complete statement in single line. i used page left and right option even though it is not fitting in that line.

please help.

Regards,

Ramprasad

<<Moved by moderator to correct forum>>

Edited by: Matt on Nov 6, 2008 11:48 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

you can create one loacl varivale and assing your vendor varible to this local varible and check...

Ex : /: lv_lifnr to lifnr.

lv_lifnr = your long variable..

if not lv_varible is initial.

condition

else.

condition

endif.

Answers (2)

Answers (2)

former_member156446
Active Contributor
0 Kudos

have to tried using extended line format which looks like =

Former Member
0 Kudos

Can you post the complete statement the way you would enter it if you had the space? Then we will be better able to advise you.