‎2007 Jul 16 9:52 AM
Hi guyz,
I need help on this one.
I was asked to create a new table named T9S20. it has mandt, kunnr, vkorg and vtweg fields in it. it is a maintanable table, so i set it as one.
however when i try to select fields on it, the internal table doesn't retrieve anything. I already put TS920 sample data which means it should be equal to 0,which means it has retrieved data.
here is the select statement that i coded.
SELECT kunnr vkorg vtweg
INTO table i_t9s20
FROM t9s20
WHERE kunnr = vbpa-kunnr.
i hope someone can help me.
thanks!
‎2007 Jul 16 9:56 AM
Hi,
Try like this,
<b>SELECT kunnr vkorg vtweg
INTO CORRESPONDING FIELDS OF table i_t9s20
FROM t9s20
WHERE kunnr = vbpa-kunnr.</b>
Regards,
Padmam.
‎2007 Jul 16 9:56 AM
Hi tina,
Maybe you are running on a client box without test data. For example client 130 for ABAP development only without test data & you also have a different client let's say client 150 for testing with data.
Hope it helps
‎2007 Jul 16 9:57 AM
Hi,
First select the data from VBPA. then use for all entries and in where condition specify as
<b>KUNNR = I_VBPA-KUNNR.</b>
‎2007 Jul 16 9:59 AM
Hi,
try with this.
select kunnr into it_vbfpa from vbpa.
if it_vbpa[] is not initial.
SELECT kunnr vkorg vtweg
INTO table i_t9s20
FROM t9s20
for all entries in it_vbpa
WHERE kunnr = it_ vbpa-kunnr.
endif.
regards,
sudha