Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

question on sapscript

Hi all,

I have the following question :

In my abap program u have the following:

data : WA_count type i.

select single * from nast where kappl = 'EV'.

  • after this statement is nast-anzal = 1 (type of nast-anzal is

DEC2).

wa_count = nast-anzal.

so far so good.

On my sapscript :

/: if &wa_count& = 1.

One

/: else.

Others

/: endif.

The word 'Others' is printed (i accept One ).

Its seems simple but i dont know what i do wrong.

I tried also with : if &nast=anzal& = 1 ('1' eq ..etc)

Thanks

Not what you were looking for? View more on this topic or Ask a question