How to find approvers who approved the shopping cart
Hi All,
My requirement is as follows:
If I give the shopping cart document id, I should be able to find
1) the list of approvers who approved the document
2) how much time they have taken to approve the document
3) any pending approvals for the document.
Can anyone help me in this?
Thanks,
Sivagami R
Hi..
Here is technical details which will help if you are in SRM 7.0..
The below methods are in the class /SAPSRM/CL_WF_EVENT_FACADE
Pass the SC GUID to method 'GET_WORKFLOW_ID_BY_DOCUMENT' .. get the header workitem id.
1 . to get the current approvers list call the method GET_CURRENT_AGENTS..
2. to get the previous approvers list call the method GET_PREVIOUS_AGENTS.
if you are in SRM 5.0 then use the below FM's..
1 . call the FM BBP_PDH_WFL_WI_FROM_OBJECT_GETu2019 to get the header workitem id..
2 . call the FM u2018BBP_WFL_DIN_APPR_FINALLIST_GETu2019 to get the list approver's for a SC
3 . if you need the workitem details then call FM BBP_PDH_WFL_WI_DETAILS_GETu2019..
Regards,
Saravanan
Similar Messages
-
How to find out who deleted the central person ID of a pernr.
Hi,
I have a pernr 100 whose central person ID is deleted. I would like to know how can i find out who deleted it. Which table gives this information.
Thanks & Regards,
Soumya.It is stored as a relationship in HRP1001 & unless you have table logging turned on for this db table, I don't think you will be able to find out who deleted the Central Person. You can try running the Report RHCDOC_DISPLAY .
~Suresh -
How to find user who loaded the procs in DB
Hi guys how to find user who loaded procs in database ..and the date...
is there anyway..
i tried to look at all_objects..but it didnot workout..
thanksThat is correct. You will only have audit rows for item that you are auditing. I am suggesting you audit all DDL in a production database since production jobs should not perform DDL with the probable exception of truncate. This will provide this type of information going forward. It will not help you answer the question of who created the procedure last week?
Auditing is explained in the Security manual and the full comand syntax is available in the SQL manual.
You can easily write a purge the audit data to remove data once it is no longer of interest based on the date the audit row was created.
HTH -- Mark D Powell -- -
How to find out, who locked the same row
Dears,
I have a problem,
sometimes our user complain that, when he tyring to make a transaction to a specific customer's Account
its says 'Some other user access the same account, keep trying...' (like this).
and in this response I just kill that user's session. then he can make the transaction by reconnecting.
sometimes my solution(killing the session) can not slove this problem.it stayed even 5/6 hours long.
in this time,i cannot find any bloking session or such a long waiting session.
In this Scenario..
I need to find out who(SID,SERIAL#,USERNAME) locked the same ROW (not table).
There are many users who are locking different rows of the same table at the
same time. I need to find the one who locked my row.
is it possible to find out, who locked the specific customer's Account ?
I am trying to find out by the following query but failed.
SELECT s.SID, serial#, machine, osuser, terminal, b.object_name,
row_wait_obj#, row_wait_file#, row_wait_block#, row_wait_row#,
DBMS_ROWID.rowid_create (1,
row_wait_obj#,
row_wait_file#,
row_wait_block#,
row_wait_row#
) rowidd
FROM v$session s, dba_objects b
WHERE s.row_wait_obj# = b.object_id
SELECT *
FROM (SELECT s.SID, serial#, machine, osuser, terminal, b.object_name,
row_wait_obj#, row_wait_file#, row_wait_block#, row_wait_row#,
DBMS_ROWID.rowid_create (1,
row_wait_obj#,
row_wait_file#,
row_wait_block#,
row_wait_row#
) rowidd
FROM v$session s, dba_objects b
WHERE s.row_wait_obj# = b.object_id)
WHERE rowidd IN (SELECT ROWID
FROM account_mas
WHERE branch = '999' AND accout_no = '009990215454')
please help me...
My Database version- 10.2.0.4, windows
Regards
Halim
Edited by: Abdul Halim on Oct 26, 2009 2:43 AMJust check with this query, find the lock and kill the session.
select b.session_id ,a.SERIAL#, a.username "Blocker Details"
from v$session a,dba_lock b
where b.session_id = a.sid
and b.blocking_others = 'Blocking';
Regards
Asif kabir -
How to find out who deleted the standard table enteries
Hi,
Somebody has deleted entire KNA1 in one of our systems. Is there any way to find out who deleted the entries?
Thanks & Regards,
Kumaran Duraiswamy.Hi
Look for help from an ABAPer. Go to SE11 for KNA1, use 'where-used list (ctrlshiftF3) and search for report that begin with Z* or Y* (perhaps LZ* or LY*, ie: function modules). See the ABAP coding if there is any instructions type:
DELETE kna1 FROM xxx.
Check too if the option &SAP_EDIT in tcode SE16N works in your system (see SAP Note 1420281 - CO-OM tools: SE16N: Deactivating &SAP_EDIT for instance)
I hope this helps you
Regards
Eduardo
PD: I forgot it, if option &SAP_EDIT works in SE16N, check the tables SE16N_CD_DATA and SE16N_CD_KEY.
Edited by: E_Hinojosa on Jun 24, 2011 11:04 AM -
How to find out who deleted the directory in Unix
Hi Experts,
In my system some body tampered the directories, and more over some body deleted the bin directory under the /usr/sap/trans in Unix operating system. now i am checking to find out who deleted and for the more logs.
i am unable to find out the user name and deleted directory logs..i know its completely related to the unix level but mean time i am searching for the same.
Any ideas and clues will be heighly appreciated.
-SriniTo know the OS would have been helpful
First ask the people around you if anybody did it, maybe he is man enough to admit...
Try to find out who logged at the time when the directory was deleted.
- check the OS syslog (/var/adm/syslog/syslog.log for hp-ux, /var/log/messages for linux)
- try the last commando to get a list of who logged on when
- check the command histories of the sidadm, root user, use the history command, or the h alias
- check if there are scripts running, which regularly delete files
As the trans directory might be NFS mounted to other servers, you might need to do the checks there too.
Best regards, Michael -
How do I align {tag_productquantity} in the shopping cart layout table?
I have inserted the tag {tag_productimage} into our shopping cart layout table. As per the instructions in the following article http://kb.worldsecuresystems.com/654/bc_654.html? bc-partner I adjusted the height for .productitemcell in the Style Sheet to be able to see the whole image. However I have tried adjusting many items and nothing seems to align the {tag_productquantity} to sit in the m iddle of the cell like the rest of the information in that row. Please see a screen shot here http://mychristmas.businesscatalyst.com/test this is for a website we are currently constructing http://mychristmas.businesscatalyst.com/
Can someone please tell me what it is I need to adjust to stop having this Quantity field sit at the top of the cell?
Many thanks in advance!Thank you for taking a look. I have already adjusted the .productitemcell height to 160px to be able to see the whole small image. What I am trying to find is how to have the quantity field box align with the rest of the information in that row. If you can see in the screenshot it sits at the top of the cell while everything else in that row sits in the middle. I would like to have it all sit in the middle of the row however can't find what in the Module Style Sheet is controlling this quantity field.
If you are able to tell me this I would really appreciate it! Thanks! -
How to find out who deleted the archive logs
Hi All,
Recently some archive logs were deleted from one of our servers. Is there any way to find out which user has deleted the archive logs through OS or through database ?
OS Version :-
SunOS Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
Database Version:-
SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 9 01:12:15 2012888132 wrote:
Hi All,
Recently some archive logs were deleted from one of our servers. Is there any way to find out which user has deleted the archive logs through OS or through database ?
OS Version :-
SunOS Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
Database Version:-
SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 9 01:12:15 2012As explained by others, from oracle database there is no record if they are deleted from OS.
But you can probably find the history of OS command been run with history command :). You can get the date and time.
Following link can help
http://stackoverflow.com/questions/99755/how-do-i-get-the-command-buffer-in-solaris-10
http://www.cyberciti.biz/faq/unix-linux-bash-history-display-date-time/
http://www.linuxquestions.org/questions/solaris-opensolaris-20/in-solaris-command-line-how-to-get-the-previous-commands-573814/
But i suggest you to post in Sun OS forum to get more details as its nothing to do with Database(in this scenario) -
How to find out who was the previous owner of an iPad?
My sister has recently found an iPad 1 WiFi on a bus. To determine the actual owner she had a friend to reset the iPad to factory settings (not sure why though) and now all initial data is lost. Apple Store could not help much, as the iPad was sold by a 3rd party retailer.
Does anybody know how to determine the previous owner (Apple ID, Device name or other) after a full reset? Would Apple be able to disclose previous Apple ID associated with the device?These links may be helpful.
How to Track and Report Stolen iPad
http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
Reporting a lost or stolen Apple product
http://support.apple.com/kb/ht2526
Report Stolen iPad Tips and iPad Theft Prevention
http://www.stolen-property.com/report-stolen-ipad.php
Best advice - Turn it in to the local police. Usually if no one claims it after a period of time, it will be yours. And your concious will be clear.
Cheers, Tom -
How to find out who made the entry or made changes to a documents?
Dear All,
As an administrator I mostly get the query as to made the entry in SAP Business One or who has made changes to the already created documents?
Can you please adviceHi,
Check this first: Query For Sales Order Amendments
Thanks,
Gordon -
How to find exactly who lock the records
hi:
Session1: lock a record for example
Select e.* from employees e where e.employee_id = 7034 for update;
Session2: try to lock the same record:
Select e.* from employees e where e.employee_id = 7034 for update nowait;
After exception ora-00054 raised query this statement:
Select Vs.Sid,
Vs.Client_Identifier,
Vs.Action,
Vs.Status,
Vs.Machine,
Vs.Terminal,
Vs.Logon_Time,
Dmlock.Name
From Dba_Dml_Locks Dmlock,
V$session Vs
Where Dmlock.Session_Id = Vs.Sid
And Vs.Sid =
(Select Distinct First_Value(Ash.Blocking_Session) Over(Order By Ash.Sample_Time Desc)
From Sys.v_$active_Session_History Ash
Where Ash.Session_Id = Sys_Context('USERENV', 'SID'))session #1
21:28:14 SQL> Select e.* from employees e where e.employee_id = 206 for update;
EMPLOYEE_ID FIRST_NAME LAST_NAME
EMAIL PHONE_NUMBER HIRE_DATE JOB_ID SALARY
COMMISSION_PCT MANAGER_ID DEPARTMENT_ID
206 William Gietz
WGIETZ 515.123.8181 07-JUN-94 AC_ACCOUNT 8300
205 110
21:28:39 SQL> session #2
SQL> set time on
21:29:25 SQL> Select e.* from employees e where e.employee_id = 206 for update nowait;
Select e.* from employees e where e.employee_id = 206 for update nowait
ERROR at line 1:
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
21:29:51 SQL> session #3
21:30:18 SQL> SELECT Vs.sid,
Vs.client_identifier,
Vs.action,
Vs.status,
Vs.machine,
Vs.terminal,
Vs.logon_time,
Dmlock.name
FROM dba_dml_locks Dmlock,
v$session Vs
WHERE Dmlock.session_id = Vs.sid
AND Vs.sid = (SELECT DISTINCT First_value(Ash.blocking_session)
over(
ORDER BY Ash.sample_time DESC)
FROM sys.v_$active_session_history Ash
WHERE Ash.session_id = Sys_context('USERENV', 'SID')) 21:30:44 2 21:30:44 3 21:30:44 4 21:30:44 5 21:30:44 6 21:30:44 7 21:30:44 8 21:30:44 9 21:30:44 10 21:30:44 11 21:30:44 12 21:30:44 13 21:30:44 14 21:30:44 15 21:30:44 16
21:30:46 17 /
no rows selected
21:30:49 SQL> Your results are duly UNDERWHELMING! -
Which table holds the Shopping Cart Approval Manager Name
Can any one please let me know which table holds the Approving Manger Name. Please find the scenario below.
Employee creates the Shopping Cart and forward the SC for Approval to Approval Manger. But approval manager will take some time to approve the shopping cart. I need to extract the approving manager's name who has still not approved the shopping cart into SAP BW.
Thanks in Advance.
Regards
Venkata Agraharam.Hi,
This is not answer. Just feedback from my project experience.
I know some customer developed this kind of report which shows approver but they used the report only the first 1 month after go live. Approval monitoring was fun but you need someone who monitor it. Finally they realized high monitoring admin cost. Final solution was Alert Notification with BBP_ALERTING BADI which sends email to approver and admin when deadline is reached.
Regards,
Masa -
Who Approved the Request ?
Folks,
In our approval workflow, 1st level approval is approved by the manager and then the 2nd level approval is assigned to a Role and then 3rd level approval is also assigned to a role . Any member of those roles can approve the request .
I would like to understand is there way to fetch all the approvers who approved the request via a SQL Query !
Any help would be appreciated.
Regards
SidCheck in SOA INFRA tables.
WFTASK
WFTASK_TL
WFTASKHISTORY
WFTASKHISTORY_TL
WFCOMMENTS -
Access to the Public Templates in the Favourites Tab in the Shop Cart scree
Hi All,
How to find out who has the access to the Public Templates in the Favourites Tab in the Shopping Cart screen in EBP 3.O version.
Any Inputs will be highly appreciated.
Thanks
SunilHi All,
How to find out who has the access to the Public Templates in the Favourites Tab in the Shopping Cart screen in EBP 3.O version.
Any Inputs will be highly appreciated.
Thanks
Sunil -
Add an approval to shopping cart whose status is awaiting approval SRM7.0
Hi All,
In one of my requirements i need to add an approver to a shopping cart which is on status awaiting approval programmatically in SRM7.0.
1. Is it possible to add an aprrover to shopping cart whose status is awaiting approval programmatically.
2. If yes, please guide me the steps or classes and methods are used to do this.
Thanks in Advance.
Best Regards,
KrishnaHi Saravanan,
I am sorry for delayed response..
Requiremnet:
Need to add approvers manually to the shopping cart which is on awaiting approval status.
The code flow follows as below:
1. as the workflow already started for this shopping cart so we have interrupted the shopping cart with belwo method
CALL METHOD /sapsrm/cl_wf_adv_facade=>interrupt_process
EXPORTING
iv_document_guid = lv_new_guid ( shopping cart guid)
2. instantiated the object for the class /sapsrn/cl_pdo_bo_sc_adv, to its constructor i have passed values work item id generated in above process.
3. added an approver manually to shopping cart using method of above said class /sapsrm/if_pdo_do_apv_ext~add_approver.
4. if i skip the execution of method /sapsrm/if_pdo_bo_sc~order, i am able see all the approvers added manually but the status is "In your Inbox"
5. if i execute the above said order method, all the approvers added manually are lost.
Question:
1. Please suggest me the sequence of methods called are correct?
2. As per my understanding complete workflow is restarting, so it is losing all the manual approvers if i am wrong suggest me, Is it not possible to have previously added manually added approvers even after ordering the cart?
Maybe you are looking for
-
help! i cannot mount my windows xp drive. the drive is greyed out in disk utility. it's also missing on the sidebar of finder. mounting it does nothing but in the log it says mount of disk succeeded. but i can still boot from xp. any suggestions and
-
No accounts being created - 10.5.4 install
I recently tried an erase and reinstall of 10.5 server on a mac pro that I have acting as a stand alone server. The first time I installed I had no issues, just borked the config of DNS and I finally got some time to redo the install completely. Well
-
When I run the transaction ooam to generate a PDF document i got the following error: com.adobe.ProcessingException: Problem accessing d(200101) Someone could help me? Tks. Erik Brison
-
Firmware upgrade for WRT120N to support IPV6?
IPV4 IP addresses will be running out in less than a year and I wanted to know, will there be a firmware update for WRT120N to support IPV6? If not, why? Also, if I have to buy another router to support IPV6, I'm going to buy a D-Link. It's nothing p
-
DNG Profil editor is always crashing on exit
as the topic says. im using latest beta version. i7 2600k @4.2 Ghz 240 GB Vertex 3 for catalog and preview 16 GB ram win7 64 bit 460 GTX 1GB ps: i hope the question fits in this forum... Problemsignatur: Problemereignisname: APPCRASH Anwendungsname: