Hi NJ,
I dont think there is any mistake in restricting it based on Sy-Tcode. If you are not sure from where else this is being triggered then do a negative check like
if sy-tcode NE VAP1 or VAP2
endif.
Regards,
Swarna
Hi NJ,
I dont think there is any mistake in restricting it based on Sy-Tcode. If you are not sure from where else this is being triggered then do a negative check like
if sy-tcode NE VAP1 or VAP2
endif.
Regards,
Swarna