Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 9057

Difference between SELECT Statement in MPP and Report Program

$
0
0

Hi all,

Being new to abap I am pondering over the difference in SELECT statement in MPP and Report Program.

 

I am using SELECT Statement:

 

SELECT SINGLE * FROM Ztable where A1 = wa_itab-A1 AND A2 = wa_itab-A2 AND K1 = wa_itab-K1.

 

IF sy-subrc = 4.

----------------------

.................

................

ENDIF.

 

In MPP the above syntax works but why doesn't the above statement works in Report Program. I get errors like.

" A target area must be defined either explicitly with INTO clause or implicitly with a TABLES statement."

 

Purpose: The purpose of the above syntax in MPP and Report Progg is to do a check if the data of itab exists in DB table: Ztable or not.

 

Cab any1 help in understaing the difference in use of SELECT in MPP and in Repost Progg and Why?

 

Regards

Chandan


Viewing all articles
Browse latest Browse all 9057

Trending Articles



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