Skip to Content
0
Former Member
Aug 11, 2011 at 05:04 AM

Do I need ROLBACK WORK in EXIT_SAPLCLFM_002 ?

102 Views

Hi, all.

I have a probem using costomer-exit EXIT_SAPLCLFM_002 in IQ02.

my code is below: (EXIT_SAPLCLFM_002)

-


READ TABLE T_ALLAUSP WHERE OBJEK = LW_EQUNR

AND ...

W_AREA-FIELD01 = T_ALLAUSP-OBJEK.

W_AREA-FIELD02 = T_ALLAUSP-ATWRT.

...

INSERT ZTABLE001 FROM W_AREA.

IF SY-SUBRC <> 0.

MESSAGE S001(Z01) DESPLAY LIKE 'E'.

SET SCREEN sy-dynnr.

LEAVE SCREEN.

ENDIF.

-


When it happend any error in IQ02 after exit, It isn't cancelled to INSERT ZTABLE001.

Ofcource It isn't update in IQ02 because of error, ONLY update to insert ZTABLE001.

There are different SAP LUW?

Do I need to use ROLLBACK WORK?

If you know that, please let me know.

Regards

Rie.