Skip to Content

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

record already present

Hi guru's,

I have to do a test which checks if the records uploaded from the file are already present in the table system and if the records already present in table for profit center/controlling area.

Anyone can help me please.




wa_cepc_segm TYPE zst_cepc_segm,

wa_cepc_segm2 TYPE zst_cepc_segm,

i_cepc_segm TYPE STANDARD TABLE OF zst_cepc_segm,

l_kokrs TYPE kokrs,

l_prctr TYPE prctr,

l_segment TYPE segment,

l_check TYPE sy-subrc,

wa_prtcr TYPE cepc.


LOOP at i_cepc_segm TO wa_cepc_segm.

READ TABLE zst_cepc_segm into wa_cepc_segm2.


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