2008 Nov 12 12:00 PM
Hi All,
In my user exit, I am writing the condtion that
IF SY-TCODE = 'IE01'
IF SY-TCODE = 'IE02' etc.
But I am not supposed to use this, as I have to use the Activity,
which I think is TACT-ACTVT, whose value is '01' if Create(IE01) and '02' if Change (IE02).
Pls guide me how to use Activity, instead of writing IF SY-TCODE = 'IE01',
means when I am in IE01 T code, is there any run time global field which contains '01' and
if I am in IE02, which is the field which can contain '02'
Pls Guide
Rishi
2008 Nov 12 12:04 PM
>
> Hi All,
>
> In my user exit, I am writing the condtion that
> IF SY-TCODE = 'IE01'
>
> IF SY-TCODE = 'IE02' etc.
>
> But I am not supposed to use this, as I have to use the Activity,
> which I think is TACT-ACTVT, whose value is '01' if Create(IE01) and '02' if Change (IE02).
>
> Pls guide me how to use Activity, instead of writing IF SY-TCODE = 'IE01',
> means when I am in IE01 T code, is there any run time global field which contains '01' and
> if I am in IE02, which is the field which can contain '02'
>
> Pls Guide
> Rishi
Please check the variable T180-TRTYP, i'm not sure if this variable is available for all the transactions
t180-trtyp - H - create
t180-trtyp - V - change
t180-trtyp - D - display
Hi All,
In my user exit, I am writing the condtion that
IF SY-TCODE = 'IE01'
IF SY-TCODE = 'IE02' etc.
But I am not supposed to use this, as I have to use the Activity,
which I think is TACT-ACTVT, whose value is '01' if Create(IE01) and '02' if Change (IE02).
Pls guide me how to use Activity, instead of writing IF SY-TCODE = 'IE01',
means when I am in IE01 T code, is there any run time global field which contains '01' and
if I am in IE02, which is the field which can contain '02'
Pls Guide
Rishi
2008 Nov 12 12:04 PM
>
> Hi All,
>
> In my user exit, I am writing the condtion that
> IF SY-TCODE = 'IE01'
>
> IF SY-TCODE = 'IE02' etc.
>
> But I am not supposed to use this, as I have to use the Activity,
> which I think is TACT-ACTVT, whose value is '01' if Create(IE01) and '02' if Change (IE02).
>
> Pls guide me how to use Activity, instead of writing IF SY-TCODE = 'IE01',
> means when I am in IE01 T code, is there any run time global field which contains '01' and
> if I am in IE02, which is the field which can contain '02'
>
> Pls Guide
> Rishi
Please check the variable T180-TRTYP, i'm not sure if this variable is available for all the transactions
t180-trtyp - H - create
t180-trtyp - V - change
t180-trtyp - D - display
2008 Nov 12 12:45 PM
Rajesh, you are right.
In table T180, we can find activity type for the standard transaction.
But for my T code IE01 ( Create Equipment), this table does not contain entry.
How this table is filled for standard transaction?
Rishi
2008 Nov 12 12:58 PM
The corresponding table for IE01 is T370.
What is the interface of your user exit, maybe the activity is passed in some parameter?
Thomas
2008 Nov 15 12:13 PM
Hi Thomas,
Thanks for the table name. I got the Activity corresponds to the standard transaction 'IE01' or 'IE02' or 'IE03'.
Mine Enhancement is IEQM0003 and function group is XEQM.
Pls help me to find out the runtime field where activity is stored.
I am writing my code in standard include ZXEQMU02.
Rishi Bhatia
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |