‎2008 Aug 21 7:11 AM
Hi Experts,
Recently I have implemented an explicit enhancement point. However as this enhancement point is placed inside an INCLUDE program that is accessed by another transaction - I am getting a dump for the other transaction whereas it is working fine for the transaction that I have coded for. Is there any way to make an explicit enhancement implmentation exclusive to a particular transaction ???
‎2008 Aug 21 7:20 AM
One think you can do is add a check on sy-tcode at the start of the enhancement.
For ex.
ENHANCEMENT POINT
IF sy-tcode EQ 'MIRO'. "Add this code
Your logic.
ENDIF. "
END ENHANCEMENT POINT.
One think you have to make sure is that you want this code to be execute only by that transaction and not any other BAPI/Transaction.
‎2008 Aug 21 7:20 AM
One think you can do is add a check on sy-tcode at the start of the enhancement.
For ex.
ENHANCEMENT POINT
IF sy-tcode EQ 'MIRO'. "Add this code
Your logic.
ENDIF. "
END ENHANCEMENT POINT.
One think you have to make sure is that you want this code to be execute only by that transaction and not any other BAPI/Transaction.
‎2008 Aug 21 7:20 AM
specify your code in condition.
If sy-tcode = 'your tcode'
your code.
endif.
regards,
santosh reddy
‎2008 Aug 21 7:32 AM
Hi ,
u can put a logic like this , in side the include.
if sy-tcode eq 'XXXX'.
endif.