hi experts ,
I've created a FM with import parameters as plant and storage location.
i've to retrieve the following data into a internal table itab. using table mcha and mchb.
this the code
Select matnr , charg, vfdat from MCHA table
where MCHA-MATNR = itab -MATNR
AND mcha-lvorm = ‘ ’
AND WERKS = iv_werks
Select matnr , charg, vfdat from MCHA table
where MCHA-MATNR = itab-MATNR
AND mchA-lvorm = ‘ ’
AND lgort = iv_lgort.
can u pls tell me wher ei'm going wrong.