Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

problem in deleting entries from internal table

i am selecting

vrgar

perio

paobjnr

belnr

gjahr

perde

budat

kndnr

artnr

frwae

kursf

rec_waers

kaufn

kdpos

bukrs

kokrs

werks

gsber

vkorg

vtweg

spart

rbeln

rposn

prctr

pprctr

kunnr

land1

regio

kunwe

kvgr1

wwpmg

zterm

wwcst

wwrst

mvgr3

wwseg

wwcls

wwesa

prdha

wwbun

wwexd

wwph1

wwph2

wwph3

wwph4

prat1

prat2

vrprs

vv510

vv508

vv509

vvqt2

vv515

INTO TABLE ct_ce11000 FROM ce11000

WHERE paledger EQ gv_ledbo AND

vrgar EQ lc_vrgar AND

belnr GT uv_belnr AND

gjahr EQ pa_gjahr AND

perde EQ pa_perd AND

bukrs EQ pa_bukrs.

now i awant to delete all those entries from my internal table ct_ce11000 where my plant (WEKRS) and company code (BUKRS)

i am writting

loop at ct_ce11000 into wa_ce11000.

if wa_ce11000-werks ne wa_ce11000-bukrs.

now how can i delete all the entries from nmy internal table (ct_ce11000) when plant and company code is not same

pls help me with logic.

thank you for helping me

Not what you were looking for? View more on this topic or Ask a question