09-09-2015 6:56 AM
Hi All
I have a requirement in which implicit enhancement in Standard transaction (MIQ1) should be triggered only if called from a custom report. The standard transaction MIQ1 should run normally if called otherwise i.e not from the Custom report.
Enhancement Details: This is a enhancement is on the the selection screen of MIQ1, after the the "Loop at Screen" of standard transaction.
09-09-2015 7:33 AM
Hi,
You can set the parameter ID TCD with you custom T-code and read it in the enhancement.
Set parameter Id 'TCD' field sy-tcode.
write this code in your custom t-code.
in your enhancement.
write as below.
data: v_tcode type sy-tcode.
get parameter id 'TCD' field v_tcode.
if v_tcode eq 'ZTCODE'.
**** Your logic here.
endif.
Hope this helps.