on 11-28-2007 5:29 PM
Is there a way to retrieve system date and system time during dynamic creation of Alert text message in alert category?
Thanks,
Pam
Hi
If you are using dynamic alert, you can create a variable (VarTime), and use the container operation to assign a value to it. In the container operation you have access to your interface variables and from them you can use Context Objects. From here you have access to different time variables, for example TimeSent for the interface variable. Not sure how accurate your timestamp needs to be, but this was good enough for me.
regards Ole
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pam,
I found that it is possible to include date & time in alert container:
In Container tag:
Add element: Date, data type is ABAP Dict. Data Type = SWFXST_DATE
Add element: Time, data type is ABAP Dict. Data Type = SWFXST_TIME
Then you may try to add in long or short text to include these containers:
Date: &DATE&
Time: &TIME&
Regards,
Donald
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can only use the container vairables defined in the below link
http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
since system date and time are not in there,you can't use them in alert categories
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.