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

Re: Values in internal table

$
0
0

hi Purushottam,

 

Your below query is failing

   SELECT anwnd

          kukey

          emkey

          azdat

          bukrs

          hbkid

          hktid

          euser

          edate

          FROM febko INTO CORRESPONDING FIELDSOFTABLE it_febko

          FORALL ENTRIES IN it_bkpf

          WHERE ( bukrs = it_bkpf-bukrs

            AND  anwnd = '0002'

            AND emkey IN s_emkey

            AND euser IN s_euser

            AND azdat IN s_azdat )

            AND ( hbkid IN s_hbkid

            OR hktid IN s_hktid ).

 

I would request you to first check number of records in IT_BKPF. secondaly tally your condition in FEBKO table manually and check how many records are coming. Then fetch records from FEBKO based only on BKPF-BUKRS and ANWD as 0002. check how many records are fetched this time.

Next you filter the IT_FEBKO table based on select options (using delete ).

 

This process will help you understand the data that you are getting and probable flaw in code.

 

Please let me know if this helpw or still in doubt.

 

Regards,

DN.


Viewing all articles
Browse latest Browse all 9069

Trending Articles



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