Notification task statuses
how do i get notification task statuses. for example, if we have notification 2000050 with 2 tasks, first task has TSRL, second status TSOS. i want to write these statuses. i cant use status_read because it returns system status of the notification not the task status
Hi
Have you checked in the table JEST by passing the OBJNR field of this TASK LIST table OBJNR.
see the tables PLKO-STATU and PLPO tables and staright away check the status of the Task list
This table consists of all types of Task lists,
so consider the notification tasks and check for their status..
<b>Reward points for useful Answers</b>
Regards
Anji
Similar Messages
-
how do i get the status codes of notification task statuses. for example, if we have notification 2000050 with 2 tasks, first task has TSRL, second status TSOS. i want to write these statuses
Hi
You can pass the OBJNR field of the QMELtable to JEST table for Notification status.
JEST-OBJNR = QMEL-OBJNR
STAT field gives the status of the object
Similarly you can pass the OBJNR field of any object and take the status from this table
you can also use the STATUS_READ fun module
<b>Reward points for useful Answers</b>
Regards
Anji -
I have a notifition type which contains the view of task.when I assign a task to an item ,the status of the task is 'TSOS' ,which is outstanding task. Now I want to implement the function tha the status of the task is set to 'TSCO' automaticly when I assign the task to an item.
How to implement this function ?
Thank you for your help.Thank you for your answer so quickly .
What you said is the general process of the business. But now the customers do not want to press the corresponding button to complete the task . They want that the status of task is set automaticly and needn't to be intervened by person .
On the other hand , the status of task can be set to 'TSCO' automaticaly in ECC 5.0 when the the tasks was assigned to an item .But when I assign tasks in ECC6.0 , the status can not be set to 'TSCO' ,but to 'TSOS' .
Are there any relations between the version and the status ? I have no answer . If no ,how to set certain parameters to implement this function .
Could you give me some more advices?
Thank you very much -
What are the attributes available on Task Status Notification?
Hi,
I need to send the information below when a task is completed or rejected. So I would like to know if they are available. I think so because I've got them from Task Status Notification (OIM standard email definition). If not, what are the attributes available on Task Notification?
<Tasks.Task Name> is <Task Details.Status>.
<Task Details.Status>
<Resource.Resource Name>
Target User: <Users.First Name> <Users.Last Name> [<Users.User ID>]
Assigned to: <Task Information.Assignee First Name> <Task Information.Assignee Last Name> [<Task Information.Assignee User ID>]
Response Code : <Responses.Response>
Response Description : <Responses.Description>
Error Details : <Task Details.Reason>
Thanks,
Renato.
Hi,
I have implemented some java code to workaround the problem below... But I don't believe this does'n work in OIM :-):-):-):-) Please, tell me if you are using task status notification in OIM and if your email defintion has the variables below.
Thanks,
Hi,
One of OIM email templates is Task Status Email Notification. I am trying to notify the user (Notification tab) using this template but it didn't work. Even when I set the Object Name and Process Name values for an email definition, it does not work.
How have you implemented task status notification in your workflows? I think if this template exists in OIM, by default, so it is posible to have the information below during notifications.
I think I'll have to call Oracle's Support.
=======================================================
Subject: Process task <Tasks.Task Name> is <Task Details.Status>.
Body:
The Process task <Tasks.Task Name> is <Task Details.Status>.
The details of this process task are as follows:
Process Task Name: <Tasks.Task Name>
Process Task Status: <Task Details.Status>
Resource Name: <Resource.Resource Name>
Target User: <Users.First Name> <Users.Last Name> [<Users.User ID>]
Assigned to: <Task Information.Assignee First Name> <Task Information.Assignee Last Name> [<Task Information.Assignee User ID>]
Response Code : <Responses.Response>
Response Description : <Responses.Description>
Error Details : <Task Details.Reason>
=======================================================
As I've said, the e-mail was sent but in blank:
The Process task is .
The details of this process task are as follows:
Process Task Name:
Process Task Status:
Resource Name:
Target User: []
Assigned to: []
Response Code :
Response Description :
Error Details :
Is it possible to have those fields available on notifications?
Thanks,
Edited by: Renato.Guimaraes on 23/10/2009 08:05
Edited by: Renato.Guimaraes on 24/10/2009 15:57
Edited by: Renato.Guimaraes on 26/10/2009 13:31
I didn't get any answer until now.. Below it is what I've done.
a) Create an entity adapter that is assigned to the post-update of the Specific Task Info data object.
b) Select the task information searching by SCH_KEY, for example (I have to do more tests)
SELECT
sch.sch_key, sch.sch_status, sch.sch_note, mil.mil_key, rsc.rsc_data, rsc.rsc_desc
FROM
osi, sch, mil, rsc
WHERE
mil.mil_key = osi.mil_key and
osi.sch_key = sch.sch_key and
sch.sch_key = ? and
rsc.rsc_key = osi.rsc_key
c) Load the e-mail definition template and replaces the fields
d) Sends the e-mail
With that I solved another problem: I have to send an e-mail always the assignee adds a note to the task.
Edited by: Renato.Guimaraes on 28/10/2009 08:51. How I did that
Edited by: Renato.Guimaraes on 12/11/2009 12:19
Edited by: Renato.Guimaraes on 13/11/2009 07:22 Changed the Thread SubjectHi Experts,
I want to extend my doubt a little more.
I have a requirment as below.
User will enter a range of Date say 01.06.2011 to 25.06.2011.
I need to show him data in two columns one cloumn for the entered day range and second column for prevoius month date rangei.e(01.05.2011 to 25.05.2011)
can i achive this without using Customer Exit.
Regards
Laxman -
Task Status in PM/CS Notification
Need to get Task Status in PM/CS Notification.Is there any FM or table for reading the task status?
Tcode IW52, in Tasks Tab, need to know for 'STATUS'. ....not User Statusaufk-aufnr = notif / cs order number
aufk-objnr = jest-objnr
jest-stat is your status... if you need test for this status TJ02-istat = jest-stat , TJ02 - text30 is the text of the status. -
Change task status in notification
is it possible to change the task status like the notification status (in process again). A completed task -> in process again. I can't find this function and also it isn't possible to delete a completed task.
Best Regards
BerndHi,
you can delete the tasks in database table which has generated through action box item that means you can mark it as deleted. Take you notification number go to table qmsm and give that notification number and execute you will get the tasks select the task which you are going to delete and go to command bar type /H press enter and then press display then press F7 it will guide you to a line in code
if code = 'SHOW'. double click on that and in field contents type CAPS EDIT and press change button and then press F8 it will guide you to next screen i.e. QMSM table in change mode. In this set X for field KZLOESCH and delete the indicator in KZACTIONBOX field and save it. Again go to that notification in change mode and see the task.it will get deleted.
pls reward me with points if it is useful to you
regards
satish -
Does the Task Status Email Notification definition work for you?
Hi,
Have you ever set the email definition Task Status Email Notification? Worked?
I've configured this template in my process tasks notifications. The e-mails for C and R status were sent OK but the values were all empty. Below are the subject and body of this email definition.
Subject
Process task <Process Definition.Tasks.Task Name> is <Process Instance.Task Details.Data>.
Body
The Process task <Tasks.Task Name> is <Task Details.Status>.
The details of this process task are as follows:
Process Task Name: <Process Definition.Name>
Process Task Status: <Task Details.Status>
Resource Name: <Resource.Resource Name>
Target User: <Users.First Name> <Users.Last Name> [<Users.User ID>]
Assigned to: <Process Instance.Task Information.Assignee First Name> <Process Instance.Task Information.Assignee Last Name> [<Process Instance.Task Information.Assignee User ID>]
Response Code : <Responses.Response>
Response Description : <Responses.Description>
Error Details : <Task Details.Reason>Thanks for your attention.
For all custom process tasks I have set this definition to notify the target user, for example, when the task is Completed or Rejected. For all all I've got the same problem: the notification e-mail is sent but the values are all empty.
I thought the tags were based on the fields returned by the getProvisioningTaskDetails that returns the information below. But you can see the tags are different from.
Process Instance.Task Details.Key
Process Instance.Task Details.Type
Process Instance.Task Details.Status
Process Instance.Task Details.Data
Process Instance.Task Details.Reason
Process Instance.Task Information.Assign Type
Organizations.Key
Process Instance.Key
Process Definition.Name
Process Instance.Descriptive Data
Process Instance.Task Details.Projected Start
Process Instance.Task Details.Projected End
Process Instance.Task Details.Actual Start Date
Process Instance.Task Details.Actual End Date
SCH_REASON
Process Instance.Task Details.Updated By
Process Instance.Task Details.Update Date
Process Instance.Task Details.Row Version
Process Instance.Task Details.Action
Process Instance.Task Details.System level
Process Instance.Task Details.Creation Date
Process Instance.Task Details.Created By
Process Instance.Task Details.Note
Process Definition.Tasks.Key
Process Definition.Tasks.Task Name
Process Definition.Tasks.Task Description
Process Definition.Tasks.Days
Process Definition.Tasks.Hours
Process Definition.Tasks.Minutes
Process Definition.Tasks.Milestone Datalabel
Process Definition.Tasks.Disable Manual Insert
Process Definition.Tasks.Responses.Description
Process Instance.Task Information.Updated By User Key
Process Instance.Task Information.Updated By User ID
Process Instance.Task Information.Updated By First Name
Process Instance.Task Information.Updated By Last Name
Process Instance.Task Information.Assignee User Key
Process Instance.Task Information.Assignee User ID
Process Instance.Task Information.Assignee First Name
Process Instance.Task Information.Assignee Last Name
Process Instance.Task Information.Assignee Email
Process Definition.Tasks.Responses.Key
Process Instance.Task Information.Row Version
TLG_KEY
Status.Category
Groups.Key
Groups.Group Name
Thanks,
Renato. -
Remote Software Updates and Sending Task Status to User
I am updating user's machines using ARD 3 with the unix command 'softwareupdate -i -a'. With some updates, a restart is required and ARD posts this within the task status column.
I was wondering if there was a way to grab that task status of "restart needed" or "succeeded" and then send that to the user when the software update has completed.
Any help would be appreciated.
Thanks.System restart checkbox is used to control what happens outside of MW.
If you have no MW and did not select to restart outside of MW then systems will reboot after installation completes (unless user overrides it and does it sooner). Keep in mind that the 90 minute and 15 minute restart countdowns will be displayed if user is
logged in (unless you have changed the times) if user did not interact with any notifications to select other options like install and reboot ahead of time.
If you have MW and did not select to restart outside of MW, then PC will not reboot until MW starts (unless user overrides it, of course).
If you select to reboot outside of MW checkbox then PC will reboot after installation ends, no matter if MW is set or not. -
Hi Gurus,
If I delete notification task those tasks status is not showing delete status in jest table.Due to thiswhen we want to execut the transaction( client Development) for all notification having open task then these delete notification tasks appears in the report.
My reqirement is that when a notification task gets deleted where i get the delete status for task.
Please help
Regards
Anil KumarHi,
If you don't want to diplay the notificaitons for which the tasks have been set for deletion here is the procedure to follow.
1. Create a status profile with the status DLFL.
2. Create a selection profile and assign the above status profile with the status DLFL as NOT.
3. While running the transaction QM13 run with the above seleciton profile. This will select all the notifications except the notificaitons for which the tasks have been deleted.
Hope this helps.
Prakash Dhabadi -
Is it possible to "uncomplete" a notification task on a PM Notification?
Dear Ruben,
If you have completed a notification and then later realize that data still has to be entered or changed, you can put the notification in process again.
1. Call up the notification in change mode.
2. Choose Notification -> Functions -> In process again.
The system saves the notification and locks all the fields. If you call up the notification again using Continue, all the fields are ready for input again.
The notification now has the status in process.
Creating, Changing, and Displaying a Notification:
http://help.sap.com/saphelp_nw04/helpdata/en/3c/abc52e413911d1893d0000e8323c4f/content.htm
Regards,
Naveen. -
Task status report in cProject 3.1
Hi,
I want to extract task status report from cProject 3.1.
Report should contain task name, status, start date,end date , effort etc.
Thanks in advance
ShivHi,
Activate the form DPR_TASK_HIER for a particular Project type in SPRO screen. Now keep the cursor on any task in cProjects & click on Print pushbutton, this will generate a PDF Report which will contain Task name, Constraint dates, actual dates, administration details etc. In order to add more data to the Report, goto transaction SAMRTFORMS & edit the form DPR_TASK_HIER.
Hope this will help you.
Regards,
Sujay G -
Sending an Email using Notification Task
Hi All,
How can we send an email using notification task?? Can someone provide me the steps to achieve this.
Is it possible to send email to multiple users at a time??
Thanks.Good you're on 11.1.1.6. The link in Vlad and copied into my response should help then.
You'd fill in the fields for the to, from, subject, cc, message body using variable(s) you populated upstream in the process.
You're not there yet, but most people struggle (me included) getting the email server set up to send the emails once the process is deployed and running. Here are the steps:
In Enterprise Manager:
1. Expand "SOA" -> right mouse click "soa-infra" -> click "SOA Administration" -> click "Workflow Notification Properties".
2. Select "Email" from the Notification Mode dropdown and enter email adresses for the three fields.
3. Expand "User Message Service" -> right mouse click "usermessagingdriver-email" -> click "Email Driver Properties".
4. Scroll down until you see the email server properties -> enter the appropriate values in these fields: OutgoingMailServer, OutgoingUsername, OutgoingPassword.
Verify that the user(s) you want to send emails to have an email address set. If you are using the default WebLogic security, in the WebLogic Console:
5. Click "Security Realms" -> click "myrealm".
6. Click the "Users and Groups" tab -> click the "User" tab.
7. Click the user id of the user you will be sending email to.
8. Click the "Attributes" tab -> make sure the "mail" attribute has a valid email address. If it does not have an email address, once you have entered it, be sure to hit the Enter* key to have it stick in the field. -
Task status is not changed in UWL
Task status is not changing when it is executed in UWL. the tasks comes from R/3 when a workflow is executed . SAP says realtime refresh not supportinng in current version of UWL. please let me know any workaround to solve this issue.
Thanks ,
SarathHi,
Unfortuntely, there does not seem to be a 'working' workaround for the issue.
This is resolved however in SAP Netweaver 7.0 EhP2 or 7.20 versions.
Please see /thread/1564782 [original link is broken]
Regards,
Srikishan -
Task status not changing in UWL
Task status is not changed in UWL when the task is executed from UWL . workitems transfered from R/3 by executing a workflow .SAP says real time refresh not supports in this UWL version.
please let me know any workaround to solve this issue.
Thanks
Saraththats right.
UWL does not refresh immediately. You need to refresh the UWL again.
As I saw over internet, the Real-time Refresh feature for Universal Worklist is available in SAP NetWeaver 702 SP02 and above, and SAP NetWeaver CE 7.20 SP01 and above.
Thanks
Krishna -
Long text indicator against Notification task & SubOrder creation
Hi all,
We are using BAPI_ALM_NOTIF_ADD to create long texts against the notification tasks. Though the long texts are created and can be viewed through IW22, the long text indicator in QMSM table is not set and hence when I display the notification through IW23 and navigate to the tasks, the long text available icon is not displayed. I tried to use CREATE_TEXT and SAVE_TEXT as well. Somehow the long text indicator doesn't get set. Do I need to explicitly set this indicator after the BAPI call? Please provide your valuable inputs.
Also, I have one more issue. Is there a way of creating Sub Order against the PM order through a BAPI? We have a requirement to create a Sub Order against the superior PM order through transaction IW36. Could you please suggest if any of you have come across any BAPI that supports this requirement?
Thanks & Regards,
VidyaI know I am posting answer to very old thread as did not find any answer so far, so giving clue. See if new solution seekers this helps you now…
Cause:
As the create_text or save_text does creation of text at data base level and does not pass through all the screens of the particular transaction, so the text editor icon is not enabled [like in tcode IW23 (IW33) Notification display text editor, tables holding damage text and cause text indicator qmfe-indtx & qmur-indtx I ]
Solution:
Read existing text using FM READ_TEXT i.e. retain existing text in internal table, say IT_READ
Delete existing text using FM 'DELETE_TEXT'. Remember to set save_direct = x
Perform BDC to add dummy text doing call transaction. This will set text indicator to ‘X’.
Append your new ext to IT_READ.
Now create text again using FM 'CREATE_TEXT'. Remember to set save_direct = x
If you have requirement that created text should not be editable then you need to change format of IT_READ.
Like IT_READ-tdformat = ‘>X’ & IT_READ-tdline = ‘*<one space><your text>’ [may use CONCATENATE '*' IT_READ-tdline INTO IT_READ-tdline SEPARATED BY space.].
Below are above steps code snap shots.
Bdc part for IW22
PERFORM bdc_dynpro USING 'X' 'SAPLIQS0' '7200'.
PERFORM bdc_field USING 'BDC_OKCODE' '=TXPS'. "DAMAGE_TXT icon
or PERFORM bdc_field USING 'BDC_OKCODE' '=TXUR'. "CAUSE_TXT icon
Based on your text editor configured to keep track of timestamp log, use one of the option. My case first two lines of text editor shown timestamp log lines and they are non editable.
* PERFORM bdc_dynpro USING 'X' 'SAPLSTXX' '1100'.
* PERFORM bdc_field USING 'BDC_CURSOR' 'RSTXT-TXLINE(02)'.
* PERFORM bdc_field USING 'BDC_OKCODE' '=POSF'.
* PERFORM bdc_field USING 'RSTXT-TXPARGRAPH(02)' '*'.
* PERFORM bdc_field USING 'RSTXT-TXLINE(02)' 'Dummy text for indicator line 2'.
* PERFORM bdc_dynpro USING 'X' 'SAPLSTXX' '1100'.
* PERFORM bdc_field USING 'BDC_CURSOR' 'RSTXT-TXLINE(03)'.
* PERFORM bdc_field USING 'BDC_OKCODE' '=POSF'.
* PERFORM bdc_field USING 'RSTXT-TXPARGRAPH(03)' '*'.
* PERFORM bdc_field USING 'RSTXT-TXLINE(03)' 'Dummy text for indicator line 3'.
PERFORM bdc_dynpro USING 'X' 'SAPLSTXX' '1100'.
PERFORM bdc_field USING 'BDC_CURSOR' 'RSTXT-TXLINE(04)'.
PERFORM bdc_field USING 'BDC_OKCODE' '=POSF'.
PERFORM bdc_field USING 'RSTXT-TXPARGRAPH(04)' '*'.
PERFORM bdc_field USING 'RSTXT-TXLINE(04)' 'Dummy text for indicator line 4'.
PERFORM bdc_field USING 'BDC_OKCODE' '=TXBA'.
FORM bdc_dynpro USING value1
value2
value3.
CLEAR bdcdata.
bdcdata-dynbegin = value1.
bdcdata-program = value2.
bdcdata-dynpro = value3.
APPEND bdcdata.
ENDFORM. " BDC_DYNPRO
form DELETE_EXISTINGTEXT.
CALL FUNCTION 'DELETE_TEXT'
EXPORTING
CLIENT = sy-mandt
ID = LTXT
LANGUAGE = E
name = <notification number + suffix>
– determine from text editor header damage text need suffixed 0001 , cause text need suffixed 00010001
object = QMFE = damage or QMUR = CAUSE
savemode_direct = 'X'
* TEXTMEMORY_ONLY = ' '
* LOCAL_CAT = ' '
EXCEPTIONS
not_found = 1
OTHERS = 2.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = gc_x
endform. " DELETE_EXISTINGTEXT
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = LTXT
flanguage = E
fname = <notification number + suffix>
– determine from text editor header damage text need suffixed 0001 , cause text need suffixed 00010001
object = QMFE = damage or QMUR = CAUSE
fobject = QMFE = damage or QMUR = CAUSE
save_direct = x
fformat = ‘>X’
TABLES
flines = t_editor_text
EXCEPTIONS
no_init = 1
no_save = 2
OTHERS = 3.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = gc_x.
Maybe you are looking for
-
Assigning values to the charecterstics in a purchase order
Hello, I have to create the configuration object and assign the values to it in a purchase order. I am able to generate the temporary CUOBJ using FM CUXM_SET_CONFIGURATION but not able to save it to the database. I am using FM CUCB_CONFIGURATION_TO_D
-
How do I create multiple contact groups in the iphone?
I am syncing w/ Windows Contacts in Vista. Is it possible to create multiple groups of contacts? For example - a group for friends and family, another group for customers, etc...
-
After I browsed a page in a websit, I could not close that page by using the X in the rt. hand top corner as when I did this Firefox told me that it would close all tabs. It was the only way out so I closed them and started from scratch.
-
B85-G43 overclocking i5-4570K ?
What is the situation with overclocking (by adjusting multiplier) "K"-line CPUs on B85-G43 ? Is it possible ? Does it depend on BIOS version or CPU's production date ? I want to buy B85-G43 with i3-4130 but change it in the future to some i5-4...K Th
-
How to encode music to Protected AAC file?
How to encode music to Protected AAC file?