Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

ABAP Code Error

$
0
0

Hi,

 

I have following code in a query and I get an error (Incorrect logical expression: Operator (e.g. "AND") or end of    expression expected)when I try to save:

 

 

clear Z_BILL_AMOUNT2.

IF VBAK-AUART = 'ZASA'.

Z_BILL_AMOUNT2 = Z_QUOTE_VALUE_LEFT.

Z_BILL_AMOUNT = Z_VBAP_NETWR_SCHEDULE.

ELSEIF VBAK-VBTYP = 'G'

  and VBAP-ABGRU = 'Z1'

Z_BILL_AMOUNT2 = VBAP-NETPR.

ELSE.

Z_BILL_AMOUNT2 = Z_BILL_AMOUNT.

ENDIF.

 

 

 

 

============

 

Do you know what is missing or needs to be changed?

 

thanks

 

Joe

 


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>