WorkItem ID- Object ID
Dear Gurus,
I want to Know the table where i can input Work item ID and Get SC details(Object ID) or Vice versa.
I want the table not Function module.
Please help me out
Regards
Girish
Hi
Please look for following Workflow related Work-item tables.
Table Name Short text
SWWBINDEF Obsolete 6.1/ Workflow Runtime - Save Bindin...
SWWCNTP0 Workflow Container: XML Database (P0)
SWWCNTPADD Workflow Runtime: Persistence for Additional Container (XML)
SWWCUSTOM Workflow Runtime: WIM Customizing Data
SWWDHSTEXT Workflow: Status Texts for Work Item Deadline Status
SWWEI Workflow Runtime: Work Items of Type E (Event Items)
SWWFBATEXT Workflow: Short Texts for WIM History
SWWHRINDEX Time Stamp for Indices in OrgManagement Workflow Environment
SWWINDX Obsolete 6.1/ INDX Table for SWW Internal Runtime Constructs
SWWLOGHIST Workflow Runtime: History of a Work Item
SWWLOGPARA Obsolete 4.6/ WIM Log Table: Actions on WIs - Parameters
SWWORGTASK Workflow Runtime: Assignment of WIs to Org. Unit/Task
SWWREPSTATUS Table for Status of Workflow Runtime Background Jobs
SWWRUNMETH Obsolete 6.1/ Workflow Runtime - Save Methods
SWWSTATEXT Workflow: Status Texts for Work Item Status
SWWSTATUS Workflow: Properties of a Work Item Status
SWWSWPRET Obsolete 6.1/ Workflow Runtime - Save Modele...
SWWTYPTEXT Workflow: Type Texts for Work Item Types
SWWUSERWI Current Work Items Assigned to a User
SWWWIAGENT Workflow Runtime: Agents for Execution of a Work Item
SWWWIDEADL Workflow Runtime: Deadline Data for Work Items
SWWWIDH Workflow Runtime: Deadline Monitoring of Work Items
SWWWIHEAD Workflow Runtime: Header Table for All Work Item Types
SWWWIRET Workflow Runtime: Return Values of Method Call
SWW_CONT Workflow Runtime: Work Item Data Container
SWW_CONTOB Workflow Runtime: Work Item Data Container (Only Objects)
SWW_EVENTCRL Workflow: Correlations for Events in Workflow
SWW_EVENTS Workflow: Events in Workflow
SWW_WI2OBJ Workflow Runtime: Relation of Work Item to Object
Hope this will definitely help.
Do let me know.
Regards
- Atul
Similar Messages
-
Is there any fmodule for display of workitems of object
Hi
iam looking for a fmodule to get the workitem details of a particular business type. i HAD GOT 'SWI_WORKITEMS_OF_OBJTYPE_GET' but the only problem with this fmodule is it is not displaying the agentid's .So is there any fmodule that displays the wrkitems of a particular busobj with the details of agentid,workitemid,priority and status..
Thanks In Advance
VickyHai Vicky
Check with the following Function Modules
1)SWI_GET_COMPLETED_WORKITEMS
2)SWI_GET_DEPENDENT_WORKITEMS
3)SWI_GET_RELATED_WORKITEMS
4)SWI_WORKITEMS_OF_OBJECT_GET
5)SWI_WORKITEMS_OF_OBJTYPE_GET
also check the standard sap Program 'RSWIDONE'
call function 'SWI_GET_COMPLETED_WORKITEMS'
tables
end_date = end_date
task_tab = task_tab
user_tab = user_tab
worklist = i_swwwlhead
exceptions
read_failed = 1
others = 2.
Thanks & regards
Sreenivasulu P
Message was edited by: Sreenivasulu Ponnadi
Message was edited by: Sreenivasulu Ponnadi -
Objects and Attachments in User Decision Step not possible
Hi all,
I have designed a workflow where during the 1st step(Archivelink image display) I am able to display archived image, and in the inbox for the first workitem I can see the Objects and Attachments link related to the image.
But my second workflow step(is userdecision dialog), I would like to see the same archived image link as the in the previous workitem under Objects and Attachments.(I dont want to create a new attachement)
Can somebody tell me how can I accomplish this task.
Thnks
YogiHello,
what you need todo is to use a container binding from the single step task from the 1st step where you bind the image object to the workflow container.
Then in the user decision task you create a container element which refers to the image object. Then use a binding to 'send' the object from the workflow container to the task container.
Kind regards,
Peter -
Error popup when workitem is executed
Hi Wuggers,
One of our user is getting an IDOC error kind of workitem.I have checked in the business object(idocmsg) but there is no any event associated with it. Our user needs a clear details on this issue. We are into Ecc6.Since there is no any idoc related activity is done. How can I avoid this work item from triggering this into SBWP.
Once the workitem is executed, a pop up is displayed with -
Workitem 000007750945:object IDOCMSG method ERRORPROCESS cannot be executed.Please check in SWI1 -Log for this Workitem.
If a partiucular agent is assigned to that task or not.
If yes try to remove it and the particular user will not be recieving it anymore in INBOX. -
Regarding workflow please help
Hi,
In my workflow i'am sending the workitem to approvers at various levels in the hierarchy based on the deadline.
when the workitem is woth the 1st level of approvers and no action had been taken on it by the deadline time, it is getting disappeared from the 1st level approvers inbox and going to second leve; approvers inbox.
But in case if the higher level does not exist, i'am sending a work item to the initiator denoting NO ACTION HAD BEEN TAKEN.
At this stage the workitem is not getting disappeared from the inbox of the highest level approver.Is it the standard or SAP Workflow or is there any way that we can remove the work item from the users inbox.
Please Help..............................
Thanks & Regards,
balaMaybe this can help you... Although I used it to stop workflows that were still running at a certain point in the logic.
You can use function 'SWW_WI_ADMIN_CANCEL' to cancel a workitem.
If I am not mistaken, it should remove the item from the inbox.
Just a piece of the code:
* And now, the change:
* Get workitems of object
CALL FUNCTION 'SWI_WORKITEMS_OF_OBJECT_GET'
EXPORTING
objtype = 'BUS2012'
objkey = z_objkey
TABLES
itemlist = zitemlist.
* If at this point WF ZWF_PO_REL (WS90200009) is still running, it
* should be cancelled! Because the release is fully completed.
LOOP AT zitemlist WHERE wi_stat <> 'ERROR' AND
wi_stat <> 'COMPLETED' AND
wi_stat <> 'CANCELLED' AND
wi_chckwi IS initial AND
wi_rh_task = 'WS90200009'.
CALL FUNCTION 'SWW_WI_ADMIN_CANCEL'
EXPORTING
wi_id = zitemlist-wi_id.
IF sy-subrc <> 0.
ENDIF.
ENDLOOP. -
System Error in BPE after upgrading to SPS 20
Hi,
on Monday we have updated our XI from SPS 19 to SPS 20.
Since that day we get errors in our BPE.
Following the scenario:
We receive a SOAP request from our partner, which is delivered to a ccBPM Process via an abstract synchronous interface. First step in the process is starting a sync/async bridge, followed by 2 mapping steps. The the bridge is closed by sending the response to our partner.
Looking at the workflow protocol I see the error in step "<i>S/A Bridge - Response to synchronous Request</i>". Looking at the transaction SWF_XI_SWI2_DIAG the error:
<i>Error on access to table SXMS_AS_STATUS Methode: SELECT. 00000000000000000000000000000000
Workitem 000000271155: Object CL_SWF_XI_MSG_BROKER Method SEND_SYNCHRON_REPLY could not be executed</i>
Has anyone an idea why we are getting this error?
Before upgrading to SPS 20 this error did not occur...
Thanks for your help!
Greetings
Habib SarbasHello Habib,
I'm having the same error in our BPM scenario.
Can you share what you had to do to fix this issue?
Thanks,
Jay -
Error 49.38.07 Error (4A04) on Laserjet M551
One of our printers recently started getting an "49.38.07 Error (4A04)" message during bootup. I have downloaded the latest firmware to my PC but I don't know how to install it. There are no USB ports on the printer to plug a thumbdrive into. I accessed the printer configuration through Internet Explorer but I'm not seeing any way of uploading the firmware.
Thank you for any assistance.I just finished dealing with this error code on our HP M551dn printer. The problem had to do with the installed HP toner cartridges.
To solve this issue I needed to access the printer's error log. This can be done by first inserting a USB flash drive into the printer's USB slot. (Our slot is a component on the formatter board so it required sliding out the board in the back with the network plug.) When everything is back together power on the printer and keep pressing the "Cancel" button until the LCD shows the pre-boot menu. From there select "3:Administrator", "B: System Triage", "1:Copy Logs", and "Accept/Download". With the "Accept/Download" option checked, back all the way out to the first menu and select "1:Continue". The printer will then write logs to the USB flash drive.
Remove the USB flash drive and bring it back to your own computer. You will discover it has written a file called "HPLogs.zip" in an "HPLogs" folder. Open this zip file and under "MachineData/log" you will find a file called "error.log". This file can give you details on the real problem behind the "49.38.07 Error" message. In my case it said:
<Entry Subsystem="HP.Common.Services.SystemMain.exe" SvcCode="49.38.07" Code="4798471" Time="9/15/2014 10:39:11 AM" Timestamp="130552763518970000" Key="9" Hidden="0" RepeatCount="0">
<Payload>
<Item Name="DIAGNOSTICS"><Payload><Debug><StackTrace>System.Exception: SuppliesPercentLifeRemainingFeatureV1.GetEnginePercentLifeRemaining: SUPPLIES ERROR: supplyName=MagentaCartridge1 raw PLR value from engine=-128 out of range.
at HP.Mfp.HardwareServices.Print.SuppliesPercentLifeRemainingFeatureV1.GetEnginePercentLifeRemaining()
at HP.Mfp.HardwareServices.Print.SuppliesPercentLifeRemainingFeatureV1.EvaluateConditionAndHandle(Boolean postNewStateIn)
at HP.Mfp.HardwareServices.Print.SuppliesFeatureProcessorV2.EvaluateTheStateOfTheSupply(SupplyInfoFamilyBase supplyInfoFamilyIn)
at HP.Mfp.HardwareServices.Print.SuppliesFeatureProcessorV2.ProcessNewSupplyStatusFeatureProcessor(SupplyNameEnumeration supplyNameIn, Object engineBasedSupplyStatusDetailIn, Boolean thisIsDataFromTheEngine)
at HP.Mfp.HardwareServices.Print.SuppliesFeatureProcessorV2.ReceiveEngineBasedSupplyStatusFeatureProcessor(SupplyNameEnumeration supplyNameIn, Object engineBasedSupplyStatusDetailIn)
at HP.Mfp.HardwareServices.Print.SuppliesFamilyV2.ProcessEngineBasedSupplyStatusQueue(Object parameterIn)
at System.Threading.ThreadPool.WorkItem.doWork(Object o)
at System.Threading.Timer.ring()
</StackTrace></Debug></Payload></Item>
<Item Name="IssueSignature">0049380799A1E4560D42E94F490EBBDF7A0004B4</Item>
<Item Name="BootCycle">0000000B</Item>
</Payload>
</Entry>
The dump above is saying that the MagentaCartridge1 is saying its "Percent Life Remaining" is "-128". (We leave our cartridges in the system until the text fades.) The newest firmware doesn't expect that value and crashes, hence the "49.38.07 Error" message. After replacing the magenta toner cartridge, the error went away.
Hope this is a help to others in my situation. -
Approver For the shopping cart
Hi,
Which table brings out Approver for Shopping cart.Any suggestions.Thanks.Hi,
It is possible to find the details from the workflow , you can find all the workitem ids linked to the document.
For this ,
a) start transaction 'SWI6'.
b) use object type 'BUS2121' , enter the shopping cart number for the object id , then execute.
Then System will return the workflow log , from the container definition of the workflow log , you can find the involved approvers , workitem id etc.
2) Also you can use BBP_PDH_WFL_WI_FROM_OBJECT_GET with
- iv_object_id = SC ID
- iv_object_type = BUS2121
Then, you can then use SRM_WAPI_WORKFLOW_GETDETAIL to get WI details.
See related links ->
<b>Re: Approving agents of an item in SC ?</b>
Re: Link SC to Work Item
Re: SRM tables for Approvals Items
Re: Approving agents of an item in SC ?
SWW_WI_TO_OBJECT_FIND
Re: WorkItem ID- Object ID
BR,
Disha.
<b>Pls reward points for useful answers.</b> -
Setting the language of the work item
Hi gurus,
Does anybody know if it is possible to set the language of the workitem in the workflow to a different language than the log on language? By adding an extra step maybe?Hi Tugrul Basar
The language of a workitem (BOR Object WORKITEM) is set in SWWWIHEAD when the workitem is instantiated as a database attribute, so the bad news is there is no clean method to do this.
But, you can put some extra logic in the workitem description to enable different languages, even though the language attribute in the object is set to logon language of WF-BATCH user. In simple terms, you create a standard text (in SO10) for your new language texts and then put a case statement in the description. Use exactly the same method and syntax as you would for SAPScript.
Regards and good luck
Gareth -
Azure Website restarts due to file change when no file has been changed
Hello,
I have a paid subscription site running at LMFitInc.azurewebsites.net. The site seems to randomly restart throughout the day with no obvious reason. Logs (below) indicate that this is in response to a file change though I'm not changing any files & can't
find anything changed searching by date.
Any thoughts?
<Event>
<System>
<Provider Name=".NET Runtime"/>
<EventID>0</EventID>
<Level>0</Level>
<Task>0</Task>
<Keywords>Keywords</Keywords>
<TimeCreated SystemTime="2015-04-01T01:25:13Z"/>
<EventRecordID>276896843</EventRecordID>
<Channel>Application</Channel>
<Computer>RD0003FF453E2C</Computer>
<Security/>
</System>
<EventData>
<Data>
_shutDownMessage=CONFIG change HostingEnvironment initiated shutdown Change Notification for critical directories. File Change Notification Error in App_Browsers Change Notification for critical directories. File Change Notification Error
in App_Code Change Notification for critical directories. File Change Notification Error in App_WebReferences Change Notification for critical directories. File Change Notification Error in App_GlobalResources Change Notification for critical directories.
File Change Notification Error in bin Directory rename change notification for 'D:\home\site\wwwroot'. File Change Notification Error in wwwroot HostingEnvironment caused shutdown _shutDownStack= at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace() at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal() at System.Web.Hosting.HostingEnvironment.InitiateShutdownWithoutDemand() at System.Web.HttpRuntime.ShutdownAppDomain(String stackTrace) at System.Web.Configuration.HttpConfigurationSystem.OnConfigurationChanged(Object
sender, InternalConfigEventArgs e) at System.Configuration.Internal.InternalConfigRoot.OnConfigChanged(InternalConfigEventArgs e) at System.Configuration.BaseConfigurationRecord.OnStreamChanged(String streamname) at System.Web.Configuration.WebConfigurationHostFileChange.OnFileChanged(Object
sender, FileChangeEvent e) at System.Web.DirectoryMonitor.FireNotifications() at System.Web.Util.WorkItem.CallCallbackWithAssert(WorkItemCallback callback) at System.Web.Util.WorkItem.OnQueueUserWorkItemCompletion(Object state) at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object
state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback,
Object state, Boolean preserveSyncCtx) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
</Data>
</EventData>
</Event>
Thanks,
GeoffThanks Aram, I agree that it looks like a full deployment, however I'm sure I'm not deploying anything. I also filtered the files by date to look for anything that might be changing without my knowledge but came up dry.
I'm in the process of setting this up on a VM where I've got full IIS access with the hope of getting more information.
Geoff -
Problem with Business object attributes in UWL Workitem description
Hi All,
I have developed a workflow which sends the workitem for two level approvals. Once the workflow is triggered workitem sent to the respective user for approval. When user opens the workitem in inbox he can see all the data which comes from the 'Z' Business object in R/3 and he can approve the same. Everything works fine when this process happens in R/3 system.
The problem comes when user opens this workitem in UWL or this workitem is sent to user mail ID executing 'SWN_SELSEN' report, all the attributes of the business object are displayed in the workitem description except 2 . These are the Minimum annual salary(GRMIN) and Maximum annual salary(GRMAX) fields from 'T510N' table.
Regards,
Vaishali.
Edited by: vaishali rautray on Dec 24, 2008 7:52 AMHi Saumya,
Thanks for the quick reply.
For storing the Minimum and maximum annual salary values I have created two attributes in the business object which are referring to database fields. T510N is a customizing table. I could see the values for the same, if I test the Business Object or Trigger the w/f in R/3 and check the approval work item in R/3. These values disappears only in case of web interfacing i.e. If I send the same work item to outlook mail or check it in UWL.
I had checked the same and thought if there is any problem with BO or some other processing takes place before these values are retrieved. But I wonder why this happens only if I process the work item outside R/3 system?
Regards,
Vaishali. -
I am working on a SCSM change control workflow driven by email.
A lot of my work is based on the information found in this post:
http://blogs.technet.com/b/servicemanager/archive/2012/04/03/using-data-properties-from-the-parent-work-items-in-activity-email-templates.aspx#pi158453=4
This is an excellent post to which my Internet searches continually return. The workflow is about 90% complete.
My question is can I insert the properties of a related object of the parent workitem in a workflow email notification?
For example, I want to include the name property of the RequestedByUser related object of the parent workitem object in a review activity notification.Thank you for your reply. I have confirmed my template is using a projection that includes the parent workitem and requested by user. Where I am having trouble is the notification template syntax used to call the properties of the related
object of the parent workitem. The picker in the GUI won't show that related object, so I have no example to follow. I hope this reply makes sense! -
Can we define id attribute value of WorkItem Object in WorkFlows
I got the below mentioned answer, How ever, Can you please help me to set id of workItem object in Manual Action defination?
"Before you create your workItem generate a new id using the following function:
<invoke name='getUniqueId' class='com.waveset.util.Util'/>
Then in your manual action assign this id so that way you will know the workItem id in advance. "
Actually my requirement is: I need to send the "URL of workItem Object form" in the email notification. So my thought is if I can get the id of workItem Object then easily prepares the URL.
Please let me know, incase of any ideas on this.
Thanks,
Ravi.Can you please suggest how to provide workitem link to manager thru email?
Thanks in Advance !!!
Thanks,
Ravi. -
Object visualization to open attachment link in UWL decision task workitems
We are using Object Visualization (in t-code SWFVISU) to open an I-view when you click the attachment link in decision task workitems. I sort of have this working. My issue is that I need to pass parameters to the I-view. I'm not sure how to do that. I've seen some documentation on dynamic parms in SWFVISU (DYNPARM) but I don't see that option (maybe we are on an older version). Maybe we can via XML files? I've done Task visualization and edited xml files but I'm not sure if we can do similar code for object visualization. Does anyone know how to do this? Have any samples/documentation?
Thanks,
MattHi Matthew,
Check if the following links help you:
/people/raja.thangamani/blog/2007/03/27/bsp-with-workflow-part-i
/people/ginger.gatling/blog/2005/12/14/create-new-uis-for-existing-workflow-tasks-with-abap-web-dynpro-and-universal-worklist
Problems with bitmaps and tables on the visualization
/message/6725781#6725781 [original link is broken]
Re: WD java application in UWL link has authentication problems !
Regards,
Saumya -
Workitem ID wise to get the Object value
Hi All,
is it possible to get the object value form Workitem id wise.
for example workitem id '446085' based on that workitem id i want to retrieve the object value.
Please clarify.,
Thanks & Regards
K.Gunasekar.Hi
I want to update the object Reference.
for example i am getting the object value from SAP_WAPI_GET_OBJECTS. (F.M)
based on the workitem_id.
i want to update the objects reference from the original one.
if is it possible means please let me know.
Thanks & Regards
K.Gunasekar.
Maybe you are looking for
-
After upgrading to iTunes 7.0, I'm starting to notice that I can't update the song information such as Name, Genre, Artwork, etc... My iTunes library resides on a afp volume mounted on an iMac. I've doubled checked the permissions and the logged in a
-
The sound will no longer come through my headphones on my iPad I've tried several different headsets. The sound works as normal without the headphones but will still not come through the headphones even thoug I have tried to reset it twice. This is
-
How to use Database views in XI
Hi Folks, Any idea about how to use Database views for sending and receiving messages in XI ? Regards,
-
Why TRIP cann't be put on HOLD if trip has "trip segment" only using PR05
Why we canu2019t put a trip (PR05) u201Con holdu201D if the trip has u201Ctrip segment onlyu201D tab only. Itu2019s possible to do this using PRAP but not through approval screen i.e. ACTEXT_APPR_LITEu201D. Thanks Mohanty
-
HT4623 my phone is disabled and is telling me to connect to itunes but it will not connect
my iphone is disabled and is telling me to conect to itunes but itunes will not let me connect it is tellin me to put my pass code in my phone witch i cant do as it is disabled