2007 Sep 08 11:19 AM
2007 Sep 08 11:22 AM
Hi Amit,
declare one more internal table same as del_grp_data.
and grkor should be the first field in ur internal tables.
if orders_vbeln[] is not initial.
SELECT vbeln grkor pstyv netwr
posnr
FROM vbap
INTO corresponding fields of TABLE del_grp_data
FOR ALL ENTRIES IN orders_vbeln
WHERE vbeln eq orders_vbeln-vbeln.
endif.
sort del_grp_data by group (grkor)
loop at del_grp_data.
collect del_grp_data into del_grp_data_1.
del_grp_data_1 = del_grp_data.
collect del_grp_data_1.
endloop.
Reward points for all helpful answers.
kiran.M
Hi Amit,
declare one more internal table same as del_grp_data.
and grkor should be the first field in ur internal tables.
if orders_vbeln[] is not initial.
SELECT vbeln grkor pstyv netwr
posnr
FROM vbap
INTO corresponding fields of TABLE del_grp_data
FOR ALL ENTRIES IN orders_vbeln
WHERE vbeln eq orders_vbeln-vbeln.
endif.
sort del_grp_data by group (grkor)
loop at del_grp_data.
collect del_grp_data into del_grp_data_1.
del_grp_data_1 = del_grp_data.
collect del_grp_data_1.
endloop.
Reward points for all helpful answers.
kiran.M
2007 Sep 08 11:22 AM
Hi Amit,
declare one more internal table same as del_grp_data.
and grkor should be the first field in ur internal tables.
if orders_vbeln[] is not initial.
SELECT vbeln grkor pstyv netwr
posnr
FROM vbap
INTO corresponding fields of TABLE del_grp_data
FOR ALL ENTRIES IN orders_vbeln
WHERE vbeln eq orders_vbeln-vbeln.
endif.
sort del_grp_data by group (grkor)
loop at del_grp_data.
collect del_grp_data into del_grp_data_1.
del_grp_data_1 = del_grp_data.
collect del_grp_data_1.
endloop.
Reward points for all helpful answers.
kiran.M
2007 Sep 09 8:19 AM
Nice job on the scam Mohan.
Too bad it is so obvious.
Hope that T-Shirt you get makes up for your effort.
2007 Sep 10 6:29 AM
funniest part if you noticed,
Mohan never said he is "Amit" but K K's reply starts with "Hi Amit"
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |