How to find the WI of the Workflow based on Object Key of DIR (DMS)
Hi Gurus,
We have developed a DIR workflow for status change, where we are using DRAW as the Business Object.
We are not able to fetch the Work item ID of the Workflow based on the ObjectKey(Concatenation of DOCTYPE DOCNUMBER DOCPART DOCVERSION).
Tried to use the View SWIVOBJECT, also Found no values related to the container table SWW_CONTOB when the Wiorkflow is triggered. But we can see the Contianer values in the workflow log.
Is there a way to find the relation DIR and the Work item ID if the Workflow for Documents? For Documents(DIR), anything needs to be done explicitly?
Need to resolve this as we have too many things based on this including Reporting part to fetch the approval details of the workflow.
Thanks..
Regards,
Prathap
Edited by: Prathap on Feb 18, 2011 5:37 PM
Hi,
You can use FM SAP_WAPI_WORKITEMS_BY_TASK and use the filters.
Afterwards, for every wi id you should get their instances using class cl_swf_run_wim_factory=>find_by_wiid.
Then, get instance of wf container using if_swf_run_wim.
Now you can use interface if_swf_ifs_parameter_container to get parameters or variables.
Regards,
Similar Messages
-
How to find what are all the rules and events are monitoring for specific server in SCOM 2007
how to find what are all the rules and events are monitoring for specific server in SCOM 2007.
I need to know what are all the events, services, and rules are monitored for the specific server.
Kindly help me friends.how to find what are all the rules and events are monitoring for specific server in SCOM 2007.
I need to know what are all the events, services, and rules are monitored for the specific server.
Kindly help me friends.
Thanks for the question Sandoss. This is something that we all come across at sometime.
Thanks & regards, Sumit Agrawal
The lack of this feature is an inexcusable oversight for an enterprise management product. They have some serious lightweights making design decisions on the SCOM team. 5 thumbs down.
BTW the answer is probably LOTS of stuff. Literally 100's of workflows are running on any server.
The following OpsMgr DB query will list all running monitors on a server. Change the name of @srv. I think this works pretty well. I'd like some feedback if something is missing.
DECLARE @srv varchar(30)
SET @srv = 'your name here'
SELECT mon.displayName as monitor, bme.FullName,bme.DisplayName as object,
case
when s.HealthState = 1 then 'healthy'
when s.HealthState = 2 then 'Warning'
when s.HealthState = 3 then 'Critical'
else 'N/A'
end as Health
FROM state AS s WITH (NOLOCK)
left join BaseManagedEntity as bme WITH (NOLOCK) on s.basemanagedentityid = bme.basemanagedentityid
left join dbo.MonitorView Mon WITH (NOLOCK) on Mon.ID = s.monitorid
where
bme.FullName like '%' + @srv + '%'
and s.HealthState <> 0
and mon.IsInternalRollupMonitor = 0
and mon.IsExternalRollupMonitor = 0
order by bme.DisplayName, mon.displayName -
How to find workarea ID for the work area name.
Hi Experts..
How to find workarea ID for the work area name.(Work area name CCIHT_WAH-WAID and I want to fetch characteristic data from table AUSP matching the OBJEK field,but I only have Work area name).Can anybody help me to find tables or relationship between Workarea ID and Workarea name for the same.I am using TCODE - CHIB02.Once I select a workarea and click on IHS Data button,I get data for that workarea.I need to find where this data comes from and How is this fetched.
Points would be rewarded for helpful answers..
Thanks
Kunal HalarnakarU want to fetch the workarea description ?
we can fetch it from CCIHT_WALD table with the RECN value.
The informations are stored in AUSP table with the characterstic(ATINN) value. -
How to find out what are the functions supported by string class
Hi,
Can any one let me know how to find what are all the functions supported by the string class in standard(STL) library on solaris.
Regards,
Vignesh1. Any C++ textbook that covers the Standard Library will tell you about the standard string class. A good tutorial and reference for the entire Standard Library is "The C++ Standard Library" by Nicolai Josuttis, published by Addison Wesley.
2. WIth Sun C++, the command
man -s3C++ basic_string
provides documentation for the default libCstd version of the Standard Library.
3. You could look at the <string> header itself. I don't recommend that approach. -
How to find out Locks on the database objects
how to find out Locks on the database objects
The following notes should be helpful:
Note: 200590.1 - bde_session_locks.sql - Locks for given Session ID
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=200590.1
Note: 1039273.6 - SCRIPT: VIEWING LOCKS ON OBJECTS HELD BY SPECIFIC USER
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=1039273.6
You can also search Metalink, there are many notes/scripts published there which would be also helpful. -
How to find out what is the lock key for the computer
How to find out what is the lock key for the computer?
You don't.
If you forgot or lost the password, all you can practically do is reset it.
The manner in which you do so depends on what version of OS X you are running. The older versions utilize the reset password utility on your recovery/re-installation disk/drive.
On Lion, you use the following technique to reset the Administrators password:
Boot to your Lion Recovery Partition, by holding down the Option key while starting, and then selecting the Recovery HD as the boot choice.
Once booted, at the top of the screen is a menu ..., select Utilities / Terminal from the menu bar.
In the Terminal window, type “resetpassword” (without the quotes) and press return. A “Reset Password” window will open. Select your boot volume (your SSD drive) if it is not already selected. Select your administrators username from the menu labeled “Select the user account” if it is not already selected. Follow the prompts to reset the password. Restart the computer from the apple menu. -
How to find latest entry in the table according to time
how to find latest entry in the table according to the time
is there any function module to do so
\[removed by moderator\]
Regards
Shashi
Edited by: Jan Stallkamp on Aug 25, 2008 4:39 PMHi,
If you want to read the entry from an internal table,
sort the internal table in the descending order by the time and
delete adjacent duplicates by comparing the fields other than time and the internal table will have the latest record.
Suggestion: instead of only time try to have one more field called date with the time combination
Regards,
Ramesh -
i downloaded lion but lost the setup assistant. please help me recover the setup assistant. i do not know where/how to find/enter information in the terminal as was suggested.
Launch the Terminal application; e.g., by entering the first few letters of its name in a Spotlight search. Copy or drag -- do not type -- the line below into the Terminal window, then press return:
sudo rm /var/db/.AppleSetupDone
You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. Confirm.
Reboot. The Setup Assistant will launch. -
How to find which instance in the RAC cluster the application is connected
How to find which instance in the RAC cluster the application is connected to ?
Raeeswell if you know the user through which your application is connected to instance, you can easily find out by querying gv$session view.
select inst_id,sid,serial#,program,username from gv$session where username is not null;
Thanks
Gaurav -
How to find Related Tables for the Tcode given.
How to find Related Tables for the Tcode given. (master data)
Thanks in advance.Hi Sridhar,
Welcome to SDN.
The tables for a given transaction can be seen in the transaction SE80.
First goto SE93.
Give ur Tcode and find the program name.
Now goto SE80. select program in the first dropdown and give the program name in the second box. U can find the list of tables used.
One more way is : use ST05.
and One more is using FM 'get_tables'
Thanks,
Shailaja
Edited by: Shailaja on Jul 11, 2008 12:33 PM -
HT1529 how to find my iphone with the serial number
hi
could you please tell how to find my iphone with the serial number ?Sorry, there is no way to do that.
What To Do If Your iDevice or Computer Is Lost Or Stolen
iPhone, iPod Touch, and iPad
If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
1. Reporting a lost or stolen Apple product
2. Find my lost iPod Touch
3. AT&T. Sprint, and Verizon can block stolen phones/tablets
4. What-To-Do-When-Iphone-Is-Stolen
5. What to do if your iOS device is lost or stolen
6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
7. Find My iPhone
8. Report Stolen iPad | Stolen Lost Found Online
It pays to be proactive by following the advice on using Find My Phone before you lose your device:
1. Find My iPhone
2. Setup your iDevice on iCloud
3. OS X Lion/Mountain Lion- About Find My Mac
4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
Mac Computer
Find My Mac can be used from Find My Phone at iCloud.com and via Find
My Phone on your iDevice.
The following is third-party anti-theft software:
1. STEM 2.1
2. MacPhoneHome 3.5
3. MacTrack 7.5.0
4. VUWER 1.7
5. Sneaky Bastar* 0.2.0
6. Undercover 5.1.1
7. LoJack for Laptops
8. Hidden 2.0 -
How to find referenced photos within the Photos app
Problem:
Upon instructing Photos to use iCloud Photo Library, the app informed me:
"104 referenced files in your library will not upload to iCloud Photo Library. Select referenced files in your library and choose 'Consolidate' from the File menu to copy the original files into the library."
I do not know which 104 images in my library are referenced, and therefore cannot use "Consolidate" to import the masters into the library.
Can anyone tell me how to find referenced files, within the active library in the Photos app?
I am not asking how to use the "Show Referenced File in Finder" menu command. I need to identify a file as referenced first, hence this post!Gotcha - came up with a workaround... since the photos were living in the Photo Library packaged itself, and not simply in another regular folder, I right clicked on the library and said show packaged content, then search for what folders the files lived in, then copied the files out of the packaged library into a folder. Then I was able to give the Photos Library access to the new folder with the files.
With all my files now references, I enabled iCloud Photo Library and am uploading now.
Hopefully my new local Photo Library will be smart enough to optimize local images and shrink to give me more space.
Thanks. -
How to find who has created the determination records for packaging instruc
how to find who has created the determination records for packaging instructions in POF1.
need to find the user details from POF3.
can any one plz suggets me.Sunny,
Go to POF1 click on determined record -> Display -.> enter-> F8 then -> double click on the record for which you want to see the responsible person ->click on admin. data tab here u will find the responsible person. hope u got the right answer.
Ravi Thapliyal
IdhaSoft -
Workflow status based on object key
Hi all,
How can we know the status of workflow(Processing or completed) based on object key?
Thanks,Hi
1.If you have the BOR key and the name of the BOR then you can make use of the FM SAP_WAPI_WORKITEMS_TO_OBJECT the result of the function module would return you the top/parent workitem ID of the worklow which acted asa receiver.
2. Once you have the top/parent workitem ID then try to pass the same workitem ID to SAP_WAPI_GET_WORKITEM_DETAIL this would return you the SWWWIHEAD table entry. From the result structure check the field value WI_STAT , this would have the right status of the workflow whether it got completed or still in process state.
Regards
Pavan -
How to find a day in the next 27 days
Hi,
How to find a date = 'Wednesday" in the next 27 days? The below script doesnt work. Could anyone tell me what is the problem with this code? I suspect that the WHERE clause that make the error!
SELECT TO_DATE(SYSDATE+ROWNUM, 'DD-MON-YY')
FROM DUAL CONNECT BY ROWNUM <= 27
WHERE TO_CHAR(DAY, 'DAY') = 'SUNDAY'johnsyns wrote:
Why it doesn't work for the other days? When i tried to change the days other than wednesday. it return nothing.
Reason why Justin's code does not work for other days is date format mask DAY returns day blank padded to 9 characters which is the longest day name which, yes you guessed right, is WEDNESDAY. You either need to blank pad or use format modifier FM:
SQL> select *
2 from (SELECT TO_DATE(SYSDATE+ROWNUM, 'DD-MON-YY') dt
3 FROM DUAL CONNECT BY ROWNUM <= 27)
4 WHERE TO_CHAR(dt,'DAY') = 'TUESDAY'
5 /
no rows selected
SQL> select *
2 from (SELECT TO_DATE(SYSDATE+ROWNUM, 'DD-MON-YY') dt
3 FROM DUAL CONNECT BY ROWNUM <= 27)
4 WHERE TO_CHAR(dt,'DAY') = 'TUESDAY '
5 /
DT
07-APR-09
14-APR-09
21-APR-09
28-APR-09
SQL> select *
2 from (SELECT TO_DATE(SYSDATE+ROWNUM, 'DD-MON-YY') dt
3 FROM DUAL CONNECT BY ROWNUM <= 27)
4 WHERE TO_CHAR(dt,'FMDAY') = 'TUESDAY'
5 /
DT
07-APR-09
14-APR-09
21-APR-09
28-APR-09
SQL> SY.
Maybe you are looking for
-
My ipod touch won't show up on itunes ever since I updated itunes.
Ever since I updated iTunes I can't connect my iPod touch to my computer. I tried it on my other computer and it worked, but on this one it doesn't.
-
How to make sub sites in SharePoint 2010 as Read Only
Hello, We have a requirement to make sub site as read only in SharePoint 2010 programmatically. How we can achieve it using Server Object Model ? Thanks, Hatim
-
Accidentally changed browser and took off bookmarks, history etc from top left
I would like my browser to be what it was when I first downloaded it. I accidentally changed it and now I cannot see my bookmarks, history..etc..from the top left
-
Multi-threaded performance server using 2 ports to two-way communication
Hi, I'm new in the forums so welcome everyone. I'm developing now an online computer game based on orginal Polish board-game, but it doesn't mean. Important is that I need to develope a high-performance multi-threaded server, which can serve... let's
-
Sync pictures to iphone???
When I sync my picture folders to iphone, they come out distorted.....Do I need to resize the pictures or something??? HP Windows Vista