Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 11577

Re: Select statement is not fetching data???

$
0
0

Hi Suhale,

i don't getting why you have written like this, the syntax you have used are used when we used

join conditions.

Simply write your logic as shown below

 

SELECT werks budat qualf urcod arbpl katalogarturgrp urcod version

            iserh

     INTO   CORRESPONDING FIELDS OF TABLE itab1

     FROM   zctsi_pw

     WHERE  werks IN so_werk

     AND   budat IN so_budat

     AND   arbpl IN so_arbpl

     AND   aufnr IN so_aufnr

     AND    urgrp IN so_urgrp

     AND    urcod IN so_urcod.

 

One thing more have you used SELECT-OPTIONS or PARAMETERS

if parameters, then you have to change these declarations.


Viewing all articles
Browse latest Browse all 11577

Trending Articles