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

Re: ABAP Code Error

$
0
0

Hi Giri,

 

Program is giving a run time error because you are trying to pass all fields selected in your select query to a work area fully.

 

SELECT MATERIAL_NMBER

       MATERIAL_DESCRIP

       MAINTAIN_STATUS

       CREATEDBY

       CREATEDON

       from ZMAT_TEST into TABLE ls_mara where  MATERIAL_NMBER in s_matnr.

 

instead try to use

 

SELECT MATERIAL_NMBER

       MATERIAL_DESCRIP

       MAINTAIN_STATUS

       CREATEDBY

       CREATEDON

       from ZMAT_TEST into corresponding fields of TABLE lt_mara where  MATERIAL_NMBER in s_matnr.

 

Hope it will be helpful for you.

 

Regards,

Kannan


Viewing all articles
Browse latest Browse all 8635

Trending Articles



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