Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Retaining Properties of a Program ID in enhancement of MIQ1

0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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.