Approval Report
dear all,
is there a universal table in which all the approvals are recorded (pending or approved). a quick response would be appreciated. thanks.
regards,
sidharth
Hi Sidharth,
Try transaction SWI2_FREQ - Work Items Per Task, might help.
Regards,
Priya.
Similar Messages
-
MSS Approval Report Links to Busines Workflow Task in UWL
Hello All,
I have a scenario below that I'm hoping you can help.
I copied the standard business workflow task "TS31000007: CATS Approval by Supervisor" to create our own task (general task) and link the 'CatManagerApprove' application and 'sap.com/msscatapproval' package to this task in the Workflow Visualization Configuration.
We then assigned this new task to the time data entry profile for the portal. Once, employee released the working time, the task is created and send to the Universal Worklist.
The manager can then access the UWL and open this approve time workflow task. This task is open to the MSS Approval Report (similar to what appear under the MSS > Tasks > Approve Time by Manager).
However, I have copied the Approve Time by Manager to our own and changed some of the order of the column and header text and assigned to the MSS role.
I would like to have this CATS approval task open to the same approval report view/layout as in the MSS Approval Report.
I've tried to change the layout (column order) through portal contents of the standard MSS Approval Report because I thought it was reading from there, but it's not.
Does anyone know how this can be done or where to point to the MSS Approval Report on the portal.
Any help would be appreciated!
TamHi Karri,
We were able to use the launch iview task to launch our specific iview but I cannot seem to get it to recognize the workitem. In other words, when I click on the task in the UWL, my approve working time iview appears but it does not have the data that is from the workflow task item. Attached is the XML code that I used:
<ItemType name="uwl.task.webflow.TS93000001.SAP_ECC_Financials" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchIView" executionMode="default">
<ItemTypeCriteria systemId="SAP_ECC_Financials" externalType="TS93000001" connector="WebFlowConnector"/>
<Actions>
<Action name="launchIView" groupAction="" handler="IViewLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
<Properties>
<Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
<Property name="page" value="pcd:portal_content/net.saccounty.SacCounty/net.saccounty.approve_ts_data"/>
<Property name="openInNewWindow" value="yes"/>
<Property name="display_order_priority" value="5"/>
<Property name="workitemId" value="${item.externalId}"/>
</Properties>
<Descriptions default=""/>
</Action>
</Actions>
</ItemType>
I thought the line <Property name="workitemId" value="${item.externalId}"/> would pick up the work item ID, but it is not working. Any suggestions?
TS93000001 is our task. approve_ts_data is our iview. It opens in a new window correctly and goes to the correct iview, just is not the actual task data.
Thank you,
Mark. -
How can i see Approver (Reporting To) of the employee in HR
how can i see Approver (Reporting To) of the employee in HR
thanks.Hi,
For what do you need this?
Can you explain it in more detailed manner?
Thanks
Abhijith H -
Hello,
I am on EP7.0 ECC 6.0 and have 2 reports in MSS -- Time Approval Overview and Absence Quota....the Absence Quota works fine but when trying to view the Time Approval report it says "the results are displayed in a separate window" ....a new window comes and then disappears....I wonder for the cause for this..
Any help would be highly appreciated.
Message was edited by:
SubhashTripathiThis issue is cause by authorization as i have just found out after weeks of going round in circles. Put a trace on in the backend to narrow down the auth object and missing values.
I know its a very an old post but it will save someone else some time -
Hi All,
Please clarify the doubts,
In Content Management -> Reports -> Approval Maintenance Reports, how to schedule the reports and how to make it to run. When I create a schedule, do I need to start that ? If I start the schedule the newly generated report is running, but when I click on the Running Reports, there are no reports are shown and also if I navigate to some other page and again visit to the same page the running report is stopped automatically even though I scheduled to repeat on every hour.
Once the reports are generated how to send these reports through mail for hourly basis automatically.
Thanks in Advance,
KalaivaniHello Abijheet,
For frame 'Action Settings', try with 'Processing when saving document' in drop-down list for "Processing time".
This customizing should allow you to send Bid Invitation to bidder(s) depending on your permitted processing types and your output conditions for those processing types.
Regards.
Laurent. -
Hello,
We are in EP 6 sp9.I am trying to use the
Content Mgmt -> Reports -> Approval Maintanence for approval statistics after doing several approvals. But the report always shows 0 results. Is there any other configuration that needs to be carried out ? Or Am in searching in the wrong place ?
Swami BalaHi Swami,
to be honest, I think that you might have misconfigured the report. Let me clarify how to work with the Status Management (Approval Maintenance) Report:
Lets say you have activated "Approval Workflow" for the folder "Public Documents" in the "/documents" CM Repository and defined the user "Administrator" to be the first (and only) approver. Lets also assume that you have uploaded a document with another user in this directory, and submitted this document for approval.
Now, you go to Approval Maintenance Report and start a new report:
1. Give this Report a name (i.e..: For Submission)
2. In the "Scope"-Tab browse to the documents repository and say "Add"
3. Leave Maximum Results to "-1" (no limit)
4. Leave Author and Approver empty (if you like)
5. <b>Set Status on "to be released"</b>
6. <b>Uncheck "Empty Approver Lists" and "Empty Approver Steps"</b>
7. Go on "Start"
After waiting a couple of seconds, click again on "Approval Maintenance" and you should see at least 1 document found!
Now you can approve this document and create a new report searching for documents with status "released".
Hope this helps,
Robert -
Substitute approver report?
Does anyone know if there is a report that will show my who have been set up as the substitue approvers for a list of users?
If not could anyone point me to the tables which hold substitue approver info?
Looking forward to hearing the answer.
Thanks.Hi,
From SBWP (transaction code), Follow the menu path for Setttings>Workflow Settings>Maintain Substitue
This is the place where the substitue approvers are activated. It is showing structure when I looked at F1 and technical info. You may need to drill down a little bit to find the table where it is stored.
Regards -
Hi,
Does anyone know if there is a report that will show the details of a document approval process? That is, I would like the report to show the date and time of the document when it went for approval (along with the last person that edited the document) and the date and time of each approval that took place (along with who). This will serve as an audit / approval log. I would like to use this to replace paper signatures.
Thanks,
LukeHi,
The report does not pick up the 'Waiting Approval' documents in the Collaboration Rooms. I tried leaving the location blank in hope of searching for all KM repositories. I even tried leaving the status to blank in hope of picking up all documents with an approval process.
Am I doing something wrong?
Thanks,
Luke -
I have to create a report that lists the timecard and who approved them for a given pay period. I have the timecard by pay period portion of this but am having a hard time finding where to obtain the approver name from in the database.
Has anyone out there done anything like this before?
I appreciate any assistance that I may get.
ThanksCheck the standard workflow tables for the timecard workflow to look for the approver information.
--Shiv -
Tips for using clock in/out mass approval report in the portal.
Currently there is no standalone application for mass approval of the time corrections. There is no seperate workflow template for Clock-In/Out Corrections as well. So its suggested to copy the standard leave request template WS12300111 and use it for Clock-In/Out Corrections.
Usually the volume of the Clock-In/Out Corrections for approval are large. So the report RPTCORAPP is provided for mass approval of all the Clock-In/Out Corrections pending for the manager in the backend. This report can also be used in the portal in the following way. Before proceeding, I will take up an example :-
Let us assume that we are using a custom WF template 'WS99900013' for clock in/out corrections which is a copy of the standard LeaveRequest template WS12300111. The approval task is 'TS99900043' which used for approving the workitems.
Below are steps to configure the RPTCORAPP in the portal:-
1. Change the task 'TS99900043' to point to a DUMMY method. i.e. create a DUMMY method and make the task to point to the method.
2. Save and activate the workflow.
3. Create an i-view in the portal which calls the report RPTCORAPP directly.
4. In the UWL xml file change the attributes of the task 'TS99900043' to call the PCD of that iview directly.
5. Upload the modified UWL XML file and re-register the workitems to sync it with changes of the task 'TS99900043' in the backend.
6. Test the application.
Please note that the application is tested across all the scenario known to me. There might some scenario which are unknown to me, in which some issues may crop up. So I would suggest to to take a backup of the current WF template and UWL xml
file before implementing the above changes.Hi,
Checked everything and it seems fine. Any other ideas where i should looking?
Regards -
Urgently require an 'Approver Report'
Hi all,
Does anyone know if there is a standard SAP report I can run that would enable me to identify specific projects for a region (only US for instance), I would also then want to set specific parameters in the search to include such things as only SAP Projects that currently have a Pre-Sales component, and who is the L2 Approver.
Many thanks,
PhilipHi,
Possibility of this reports depends on the customization that has gone in.
For instance, if different project profiles and project types are configured, they could be very handy in reporting also, apart from other core issues.
Further, I am not sure whether you are aware of the dynamic selection feature avaialble in most of the PS reports such as :
CN43,CN41,CN52 etc.
Dynamic selection is possible using different criteria like masterdata definition, Org unit definition, Data on Dates definition, Master data WBS element, Organization unit WBSE, User defined fields and so on. Moreover, you can add to the criteria of dynamic selection to meet your specific reporting requirements.
Dynamic selection icon can be viewed at the top tools bar, 4 th from left , immediately after the get variant icon.
Muraleedharan.R
091 9880028904 -
Hi,
how to generate a list of invoice approvals that a particular individual has entered?
Thanx
Brgds,
Ashokhi
just workaround
from SAP inbox --outbox...Work items executed by me
check if usefull
Vishal... -
BI Publisher Report for Archived OIM tables
Hi
We perfomed Request archival operation in our OIM DB using http://docs.oracle.com/cd/E29505_01/doc.1111/e14308/archival_utilities.htm. Now ARCH* tables are created and it has relevant details.
Now our requirment is to create a new report to read data from this archived tables using BI publisher. We are looking something similar to OOTB Attestation Request and Approval Reports -> Request Details in BI.
We created a new report called "Request Details from Archive tables" similar to the OOTB one in BI front end. Also modifed data template by replacing "request*" tables to "arch_request*" as below. When we try to gernerate report now it is not working as expected.
Do we need to change anything else ? Please advise
Modified data template for reference
<dataTemplate name="ArchRequestDetails" description="Each group that contains the logged in user as its direct user. All groups that are administered by the above set of groups are visible to the logged in user.">
<parameters>
<parameter name="xdo_user_name" dataType="character"/>
<parameter name="p_varchar_ReqFN" dataType="character"/>
<parameter name="p_varchar_ReqLN" dataType="character"/>
<parameter name="p_varchar_ReqUID" dataType="character"/>
<parameter name="p_varchar_ReqID" dataType="character"/>
<parameter name="p_varchar_ReqPID" dataType="character"/>
<parameter name="p_varchar_ReqStatu" dataType="character"/>
<parameter name="p_varchar_ReqTyp" dataType="character"/>
<parameter name="p_ReqDtFrom" dataType="date"/>
<parameter name="p_ReqDtTo" dataType="date"/>
<parameter name="p_varchar_BenFN" dataType="character"/>
<parameter name="p_varchar_BenLN" dataType="character"/>
<parameter name="p_varchar_BenUID" dataType="character"/>
</parameters>
<dataquery>
<sqlstatement name="sql_L1_AllRequests">
<![CDATA[ SELECT ReqID as RequestID,
decode(ReqAction, 'Create Entity', 'Self Registration', 'Add', 'Provision Resource', 'Disable', 'Disable Resource', 'Enable', 'Enable Resource', 'Revoke', 'Revoke Resource', 'Modify Entity', 'Modify Profile') as RequestType,
ReqUID as RequesterUserID,
ReqDate as RequestDate,
CurStatus as RequestStatus,
null as ParentRequestID
FROM (select distinct
req.req_key as ReqID,
req.req_obj_action as ReqAction,
usr.usr_login as ReqUID,
req.req_create as ReqDate,
ost.ost_status as CurStatus
from req left outer join rqu on req.req_key = rqu.req_key,
ost,
usr,
act,
usr usr2
where rqu.usr_key = usr2.usr_key
and req.ost_key = ost.ost_key
and req.req_createby = usr.usr_key
and usr2.act_key = act.act_key
and usr2.act_key in (select aad.act_key
from aad,usg,usr
where usg.usr_key = usr.usr_key
and aad.ugp_key = usg.ugp_key
and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
and (nvl(:p_varchar_ReqStatu,' ')=' ' or upper(ost.ost_status) like upper(:p_varchar_ReqStatu))
and (nvl(:p_varchar_ReqID,' ')=' ' or req.req_key like (:p_varchar_ReqID))
and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
union
select
req.req_key as ReqID,
req.req_obj_action as ReqAction,
usr.usr_login as ReqUID,
req.req_create as ReqDate,
ost.ost_status as CurStatus
from
req,
ost,
usr
where
req.ost_key = ost.ost_key
and req.req_createby = usr.usr_key
and req.req_obj_action = 'Create Entity'
and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
and ost.ost_status != 'Request Complete'
union
select req.req_key as ReqID,
req.req_obj_action as ReqAction,
usr.usr_login as ReqUID,
req.req_create as ReqDate,
ost.ost_status as CurStatus
from req,
ost,
usr,
usr usr2,
act
where req.ost_key = ost.ost_key
and req.req_createby = usr.usr_key
and req.req_obj_action = 'Create Entity'
and usr2.usr_login =(select upper(rqd.rqd_attr_value) from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.User ID')
and usr2.act_key = act.act_key
and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
and usr2.act_key in (select aad.act_key from aad,usg,usr
where usg.usr_key = usr.usr_key
and aad.ugp_key = usg.ugp_key and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
and ost.ost_status = 'Request Complete')
UNION ALL
SELECT distinct request.request_key as RequestID,
request.request_model_name as RequestType,
usr1.usr_login as RequesterUserID,
request.request_creation_date as RequestDate,
request.request_status as RequestStatus,
request.request_parent_key as ParentRequestID
FROM usr usr1 JOIN request req1 ON usr1.usr_key = req1.requester_key,
request,
(select distinct req3.request_key rk,
usr2.usr_first_name bfn,
usr2.usr_last_name bln,
usr2.usr_login buid
from arch_request req3,
arch_request_beneficiary reqb1,
usr usr2
where req3.request_key = reqb1.request_key
and reqb1.beneficiary_key = usr2.usr_key
UNION
select distinct req3.request_key rk,
usr2.usr_first_name bfn,
usr2.usr_last_name bln,
usr2.usr_login buid
from arch_request req3,
arch_request_entities re1,
usr usr2
where req3.request_key = re1.request_key
and re1.entity_key = usr2.usr_key)user1
WHERE
req1.request_key = request.request_key
and (NVL(:p_varchar_ReqFN, ' ') = ' ' or UPPER(usr1.usr_first_name) LIKE UPPER(:p_varchar_ReqFN))
and (NVL(:p_varchar_ReqLN, ' ') = ' ' or UPPER(usr1.usr_last_name) LIKE UPPER(:p_varchar_ReqLN))
and (NVL(:p_varchar_ReqUID, ' ') = ' ' or UPPER(usr1.usr_login) LIKE UPPER(:p_varchar_ReqUID))
and (NVL(:p_varchar_ReqID, ' ') = ' ' or UPPER(request.request_key) LIKE UPPER(:p_varchar_ReqID))
and (NVL(:p_varchar_ReqPID, ' ') = ' ' or UPPER(request.request_parent_key) LIKE UPPER(:p_varchar_ReqPID))
and (NVL(:p_varchar_ReqStatu, ' ') = ' ' or UPPER(request.request_status) LIKE UPPER(:p_varchar_ReqStatu))
and (NVL(:p_varchar_ReqTyp, ' ') = ' ' or UPPER(request.request_model_name) LIKE UPPER(:p_varchar_ReqTyp))
and request.request_creation_date between :p_ReqDtFrom and :p_ReqDtTo
and (NVL(:p_varchar_BenFN, ' ') = ' ' or (UPPER(user1.bfn) LIKE UPPER(:p_varchar_BenFN) and request.request_key = user1.rk))
and (NVL(:p_varchar_BenLN, ' ') = ' ' or (UPPER(user1.bln) LIKE UPPER(:p_varchar_BenLN) and request.request_key = user1.rk))
and (NVL(:p_varchar_BenUID, ' ') = ' ' or (UPPER(user1.buid) LIKE UPPER(:p_varchar_BenUID) and request.request_key = user1.rk))
ORDER BY RequestID ]]>
</sqlstatement>
<sqlstatement name="sql_L2_Approver_BPEL" dataSourceRef="BPEL JDBC">
SELECT distinct wfproductivity_view.username as ApproverUserID
FROM wfproductivity_view
WHERE identificationkey = :RequestID
</sqlstatement>
<sqlstatement name="sql_L2_Approver">
SELECT distinct usr.usr_login as ApproverUserID
FROM rqh join usr on rqh.rqh_createby = usr.usr_key
WHERE rqh.req_key = :RequestID
And rqh.rqh_status = 'Approved'
</sqlstatement>
<sqlstatement name="sql_L1_Beneficiaries">
<![CDATA[ SELECT distinct
FirstName as BenFName,
LastName as BenLName,
userid as BenUserID,
usr_emp_type as BenEmpType,
UsrStatus as BenUserStatus,
OrgName as BenOrg
FROM
(select distinct
usr2.usr_login AS userid,
usr2.usr_last_name AS LastName,
usr2.usr_first_name AS FirstName,
usr2.usr_emp_type AS usr_emp_type,
usr2.usr_status AS UsrStatus,
act.act_name AS OrgName
from req left outer join rqu on req.req_key = rqu.req_key,
ost,
usr,
act,
usr usr2
where req.req_key = :RequestID
and rqu.usr_key = usr2.usr_key
and req.ost_key = ost.ost_key
and req.req_createby = usr.usr_key
and usr2.act_key = act.act_key
and usr2.act_key in
(select aad.act_key
from aad,usg,usr
where
usg.usr_key = usr.usr_key
and aad.ugp_key = usg.ugp_key
and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
and (nvl(:p_varchar_ReqStatu,' ')=' ' or upper(ost.ost_status) like upper(:p_varchar_ReqStatu))
and (nvl(:p_varchar_ReqID,' ')=' ' or req.req_key like (:p_varchar_ReqID))
and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
union
select
(select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.User ID') AS userid,
(select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.Last Name') AS LastName,
(select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.First Name') AS FirstName,
(select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.Xellerate Type') AS usr_emp_type,
null AS UsrStatus,
null AS OrgName
from req,
ost,
usr
where req.req_key = :RequestID
and req.ost_key = ost.ost_key
and req.req_createby = usr.usr_key
and req.req_obj_action = 'Create Entity'
and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
and ost.ost_status != 'Request Complete'
union
select usr2.usr_login AS userid,
usr2.usr_last_name AS LastName,
usr2.usr_first_name AS FirstName,
usr2.usr_emp_type AS usr_emp_type,
usr2.usr_status AS UsrStatus,
act.act_name AS OrgName
from req,
ost,
usr,
usr usr2,
act
where req.req_key = :RequestID
and req.ost_key = ost.ost_key
and req.req_createby = usr.usr_key
and req.req_obj_action = 'Create Entity'
and usr2.usr_login =(select upper(rqd.rqd_attr_value) from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.User ID')
and usr2.act_key = act.act_key
and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
and usr2.act_key in
(select aad.act_key
from aad,usg,usr
where
usg.usr_key = usr.usr_key
and aad.ugp_key = usg.ugp_key and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
and ost.ost_status = 'Request Complete')
UNION ALL
SELECT distinct user1.bfn as BenFName,
user1.bln as BenLName,
user1.buid as BenUserID,
user1.bet as BenEmpType,
user1.bus as BenUserStatus,
user1.bo as BenOrg
FROM
(select distinct req3.request_key rk,
usr2.usr_first_name bfn,
usr2.usr_last_name bln,
usr2.usr_login buid,
usr2.usr_emp_type bet,
usr2.usr_status bus,
act.act_name bo
from arch_request req3,
arch_request_beneficiary reqb1,
usr usr2,
act
where req3.request_key = reqb1.request_key
and reqb1.beneficiary_key = usr2.usr_key
and usr2.act_key = act. act_key
and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
UNION
select distinct req3.request_key rk,
usr2.usr_first_name bfn,
usr2.usr_last_name bln,
usr2.usr_login buid,
usr2.usr_emp_type bet,
usr2.usr_status bus,
act.act_name bo
from arch_request req3,
arch_request_entities re1,
usr usr2,
act
where req3.request_key = re1.request_key
and re1.entity_key = usr2.usr_key
and usr2.act_key = act. act_key
and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
)user1
WHERE
user1.rk = :RequestID
]]>
</sqlstatement>
<sqlstatement name="sql_L1_RequestDetails">
SELECT distinct
null as ReqDetailsName,
obj_name as ReqDetailsValue
FROM
req,
rqo,
obj
WHERE
req.req_key = :RequestID
and req.req_key = rqo.req_key
and obj.obj_key = rqo.obj_key
UNION ALL
SELECT distinct reqdet.detname as ReqDetailsName,
reqdet.detval as ReqDetailsValue
FROM
(select req1.request_key rk,
rbe1.rbe_entity_name detval,
rbe1.rbe_entity_type detname
from arch_request_beneficiary_entities rbe1,
request req1
where rbe1.rbe_request_key = req1.request_key
union
select req1.request_key rk,
red1.entity_field_value detval,
red1.entity_field_name detname
from arch_request_entity_data red1,
arch_request_entities re1,
request req1
where red1.request_entity_key = re1.request_entity_key
and re1.request_key = req1.request_key
and red1.entity_field_name != 'Organization'
and red1.entity_field_name != 'User Manager'
union
select req1.request_key rk,
act.act_name detval,
red1.entity_field_name detname
from arch_request_entity_data red1,
arch_request_entities re1,
request req1,
act
where red1.request_entity_key = re1.request_entity_key
and re1.request_key = req1.request_key
and red1.entity_field_value = act.act_key
and red1.entity_field_name = 'Organization'
union
select req1.request_key rk,
usr3.usr_login detval,
red1.entity_field_name detname
from arch_request_entity_data red1,
arch_request_entities re1,
request req1,
usr usr3
where red1.request_entity_key = re1.request_entity_key
and re1.request_key = req1.request_key
and red1.entity_field_value = usr3.usr_key
and red1.entity_field_name = 'User Manager') reqdet
WHERE
reqdet.rk = :RequestID
</sqlstatement>
</dataquery>
<dataStructure>
<group name="AllRequests" source="sql_L1_AllRequests">
<element name="RequestID" value="RequestID"/>
<element name="RequestType" value="RequestType"/>
<element name="RequesterUserID" value="RequesterUserID"/>
<element name="RequestDate" value="RequestDate"/>
<group name="grp_AllApprovers" source="sql_L2_Approver_BPEL">
<element name="ApproverUserID" value="ApproverUserID"/>
</group>
<group name="grp_AllApprovers" source="sql_L2_Approver">
<element name="ApproverUserID" value="ApproverUserID"/>
</group>
<element name="RequestStatus" value="RequestStatus"/>
<element name="ParentRequestID" value="ParentRequestID"/>
<group name="Beneficiaries" source="sql_L1_Beneficiaries">
<element name="BenFName" value="BenFName"/>
<element name="BenLName" value="BenLName"/>
<element name="BenUserID" value="BenUserID"/>
<element name="BenEmpType" value="BenEmpType"/>
<element name="BenUserStatus" value="BenUserStatus"/>
<element name="BenOrg" value="BenOrg"/>
</group>
<group name="RequestDetails" source="sql_L1_RequestDetails">
<element name="ReqDetailsName" value="ReqDetailsName"/>
<element name="ReqDetailsValue" value="ReqDetailsValue"/>
</group>
</group>
</dataStructure>
</dataTemplate>
Thanks
KKany help please ? if you need any more information to know more about the issue, please do not hesitate to ask.
Thank you. -
BI Publisher Report for Archived OIM
Hi
We perfomed Request archival operation in our OIM DB using http://docs.oracle.com/cd/E29505_01/doc.1111/e14308/archival_utilities.htm. Now ARCH* tables are created and it has relevant details.
Now our requirment is to create a new report to read data from this archived tables using BI publisher. We are looking something similar to OOTB Attestation Request and Approval Reports -> Request Details in BI.
We created a new report called "Request Details from Archive tables" similar to the OOTB one in BI front end. Also modifed data template by replacing "request*" tables to "arch_request*" as below. When we try to gernerate report now it is not working as expected.
Do we need to change anything else ? Please advise
Modified data template for reference
<dataTemplate name="ArchRequestDetails" description="Each group that contains the logged in user as its direct user. All groups that are administered by the above set of groups are visible to the logged in user.">
<parameters>
<parameter name="xdo_user_name" dataType="character"/>
<parameter name="p_varchar_ReqFN" dataType="character"/>
<parameter name="p_varchar_ReqLN" dataType="character"/>
<parameter name="p_varchar_ReqUID" dataType="character"/>
<parameter name="p_varchar_ReqID" dataType="character"/>
<parameter name="p_varchar_ReqPID" dataType="character"/>
<parameter name="p_varchar_ReqStatu" dataType="character"/>
<parameter name="p_varchar_ReqTyp" dataType="character"/>
<parameter name="p_ReqDtFrom" dataType="date"/>
<parameter name="p_ReqDtTo" dataType="date"/>
<parameter name="p_varchar_BenFN" dataType="character"/>
<parameter name="p_varchar_BenLN" dataType="character"/>
<parameter name="p_varchar_BenUID" dataType="character"/>
</parameters>
<dataquery>
<sqlstatement name="sql_L1_AllRequests">
<![CDATA[ SELECT ReqID as RequestID,
decode(ReqAction, 'Create Entity', 'Self Registration', 'Add', 'Provision Resource', 'Disable', 'Disable Resource', 'Enable', 'Enable Resource', 'Revoke', 'Revoke Resource', 'Modify Entity', 'Modify Profile') as RequestType,
ReqUID as RequesterUserID,
ReqDate as RequestDate,
CurStatus as RequestStatus,
null as ParentRequestID
FROM (select distinct
req.req_key as ReqID,
req.req_obj_action as ReqAction,
usr.usr_login as ReqUID,
req.req_create as ReqDate,
ost.ost_status as CurStatus
from req left outer join rqu on req.req_key = rqu.req_key,
ost,
usr,
act,
usr usr2
where rqu.usr_key = usr2.usr_key
and req.ost_key = ost.ost_key
and req.req_createby = usr.usr_key
and usr2.act_key = act.act_key
and usr2.act_key in (select aad.act_key
from aad,usg,usr
where usg.usr_key = usr.usr_key
and aad.ugp_key = usg.ugp_key
and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
and (nvl(:p_varchar_ReqStatu,' ')=' ' or upper(ost.ost_status) like upper(:p_varchar_ReqStatu))
and (nvl(:p_varchar_ReqID,' ')=' ' or req.req_key like (:p_varchar_ReqID))
and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
union
select
req.req_key as ReqID,
req.req_obj_action as ReqAction,
usr.usr_login as ReqUID,
req.req_create as ReqDate,
ost.ost_status as CurStatus
from
req,
ost,
usr
where
req.ost_key = ost.ost_key
and req.req_createby = usr.usr_key
and req.req_obj_action = 'Create Entity'
and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
and ost.ost_status != 'Request Complete'
union
select req.req_key as ReqID,
req.req_obj_action as ReqAction,
usr.usr_login as ReqUID,
req.req_create as ReqDate,
ost.ost_status as CurStatus
from req,
ost,
usr,
usr usr2,
act
where req.ost_key = ost.ost_key
and req.req_createby = usr.usr_key
and req.req_obj_action = 'Create Entity'
and usr2.usr_login =(select upper(rqd.rqd_attr_value) from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.User ID')
and usr2.act_key = act.act_key
and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
and usr2.act_key in (select aad.act_key from aad,usg,usr
where usg.usr_key = usr.usr_key
and aad.ugp_key = usg.ugp_key and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
and ost.ost_status = 'Request Complete')
UNION ALL
SELECT distinct request.request_key as RequestID,
request.request_model_name as RequestType,
usr1.usr_login as RequesterUserID,
request.request_creation_date as RequestDate,
request.request_status as RequestStatus,
request.request_parent_key as ParentRequestID
FROM usr usr1 JOIN request req1 ON usr1.usr_key = req1.requester_key,
request,
(select distinct req3.request_key rk,
usr2.usr_first_name bfn,
usr2.usr_last_name bln,
usr2.usr_login buid
from arch_request req3,
arch_request_beneficiary reqb1,
usr usr2
where req3.request_key = reqb1.request_key
and reqb1.beneficiary_key = usr2.usr_key
UNION
select distinct req3.request_key rk,
usr2.usr_first_name bfn,
usr2.usr_last_name bln,
usr2.usr_login buid
from arch_request req3,
arch_request_entities re1,
usr usr2
where req3.request_key = re1.request_key
and re1.entity_key = usr2.usr_key)user1
WHERE
req1.request_key = request.request_key
and (NVL(:p_varchar_ReqFN, ' ') = ' ' or UPPER(usr1.usr_first_name) LIKE UPPER(:p_varchar_ReqFN))
and (NVL(:p_varchar_ReqLN, ' ') = ' ' or UPPER(usr1.usr_last_name) LIKE UPPER(:p_varchar_ReqLN))
and (NVL(:p_varchar_ReqUID, ' ') = ' ' or UPPER(usr1.usr_login) LIKE UPPER(:p_varchar_ReqUID))
and (NVL(:p_varchar_ReqID, ' ') = ' ' or UPPER(request.request_key) LIKE UPPER(:p_varchar_ReqID))
and (NVL(:p_varchar_ReqPID, ' ') = ' ' or UPPER(request.request_parent_key) LIKE UPPER(:p_varchar_ReqPID))
and (NVL(:p_varchar_ReqStatu, ' ') = ' ' or UPPER(request.request_status) LIKE UPPER(:p_varchar_ReqStatu))
and (NVL(:p_varchar_ReqTyp, ' ') = ' ' or UPPER(request.request_model_name) LIKE UPPER(:p_varchar_ReqTyp))
and request.request_creation_date between :p_ReqDtFrom and :p_ReqDtTo
and (NVL(:p_varchar_BenFN, ' ') = ' ' or (UPPER(user1.bfn) LIKE UPPER(:p_varchar_BenFN) and request.request_key = user1.rk))
and (NVL(:p_varchar_BenLN, ' ') = ' ' or (UPPER(user1.bln) LIKE UPPER(:p_varchar_BenLN) and request.request_key = user1.rk))
and (NVL(:p_varchar_BenUID, ' ') = ' ' or (UPPER(user1.buid) LIKE UPPER(:p_varchar_BenUID) and request.request_key = user1.rk))
ORDER BY RequestID ]]>
</sqlstatement>
<sqlstatement name="sql_L2_Approver_BPEL" dataSourceRef="BPEL JDBC">
SELECT distinct wfproductivity_view.username as ApproverUserID
FROM wfproductivity_view
WHERE identificationkey = :RequestID
</sqlstatement>
<sqlstatement name="sql_L2_Approver">
SELECT distinct usr.usr_login as ApproverUserID
FROM rqh join usr on rqh.rqh_createby = usr.usr_key
WHERE rqh.req_key = :RequestID
And rqh.rqh_status = 'Approved'
</sqlstatement>
<sqlstatement name="sql_L1_Beneficiaries">
<![CDATA[ SELECT distinct
FirstName as BenFName,
LastName as BenLName,
userid as BenUserID,
usr_emp_type as BenEmpType,
UsrStatus as BenUserStatus,
OrgName as BenOrg
FROM
(select distinct
usr2.usr_login AS userid,
usr2.usr_last_name AS LastName,
usr2.usr_first_name AS FirstName,
usr2.usr_emp_type AS usr_emp_type,
usr2.usr_status AS UsrStatus,
act.act_name AS OrgName
from req left outer join rqu on req.req_key = rqu.req_key,
ost,
usr,
act,
usr usr2
where req.req_key = :RequestID
and rqu.usr_key = usr2.usr_key
and req.ost_key = ost.ost_key
and req.req_createby = usr.usr_key
and usr2.act_key = act.act_key
and usr2.act_key in
(select aad.act_key
from aad,usg,usr
where
usg.usr_key = usr.usr_key
and aad.ugp_key = usg.ugp_key
and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
and (nvl(:p_varchar_ReqStatu,' ')=' ' or upper(ost.ost_status) like upper(:p_varchar_ReqStatu))
and (nvl(:p_varchar_ReqID,' ')=' ' or req.req_key like (:p_varchar_ReqID))
and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
union
select
(select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.User ID') AS userid,
(select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.Last Name') AS LastName,
(select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.First Name') AS FirstName,
(select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.Xellerate Type') AS usr_emp_type,
null AS UsrStatus,
null AS OrgName
from req,
ost,
usr
where req.req_key = :RequestID
and req.ost_key = ost.ost_key
and req.req_createby = usr.usr_key
and req.req_obj_action = 'Create Entity'
and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
and ost.ost_status != 'Request Complete'
union
select usr2.usr_login AS userid,
usr2.usr_last_name AS LastName,
usr2.usr_first_name AS FirstName,
usr2.usr_emp_type AS usr_emp_type,
usr2.usr_status AS UsrStatus,
act.act_name AS OrgName
from req,
ost,
usr,
usr usr2,
act
where req.req_key = :RequestID
and req.ost_key = ost.ost_key
and req.req_createby = usr.usr_key
and req.req_obj_action = 'Create Entity'
and usr2.usr_login =(select upper(rqd.rqd_attr_value) from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.User ID')
and usr2.act_key = act.act_key
and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
and usr2.act_key in
(select aad.act_key
from aad,usg,usr
where
usg.usr_key = usr.usr_key
and aad.ugp_key = usg.ugp_key and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
and ost.ost_status = 'Request Complete')
UNION ALL
SELECT distinct user1.bfn as BenFName,
user1.bln as BenLName,
user1.buid as BenUserID,
user1.bet as BenEmpType,
user1.bus as BenUserStatus,
user1.bo as BenOrg
FROM
(select distinct req3.request_key rk,
usr2.usr_first_name bfn,
usr2.usr_last_name bln,
usr2.usr_login buid,
usr2.usr_emp_type bet,
usr2.usr_status bus,
act.act_name bo
from arch_request req3,
arch_request_beneficiary reqb1,
usr usr2,
act
where req3.request_key = reqb1.request_key
and reqb1.beneficiary_key = usr2.usr_key
and usr2.act_key = act. act_key
and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
UNION
select distinct req3.request_key rk,
usr2.usr_first_name bfn,
usr2.usr_last_name bln,
usr2.usr_login buid,
usr2.usr_emp_type bet,
usr2.usr_status bus,
act.act_name bo
from arch_request req3,
arch_request_entities re1,
usr usr2,
act
where req3.request_key = re1.request_key
and re1.entity_key = usr2.usr_key
and usr2.act_key = act. act_key
and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
)user1
WHERE
user1.rk = :RequestID
]]>
</sqlstatement>
<sqlstatement name="sql_L1_RequestDetails">
SELECT distinct
null as ReqDetailsName,
obj_name as ReqDetailsValue
FROM
req,
rqo,
obj
WHERE
req.req_key = :RequestID
and req.req_key = rqo.req_key
and obj.obj_key = rqo.obj_key
UNION ALL
SELECT distinct reqdet.detname as ReqDetailsName,
reqdet.detval as ReqDetailsValue
FROM
(select req1.request_key rk,
rbe1.rbe_entity_name detval,
rbe1.rbe_entity_type detname
from arch_request_beneficiary_entities rbe1,
request req1
where rbe1.rbe_request_key = req1.request_key
union
select req1.request_key rk,
red1.entity_field_value detval,
red1.entity_field_name detname
from arch_request_entity_data red1,
arch_request_entities re1,
request req1
where red1.request_entity_key = re1.request_entity_key
and re1.request_key = req1.request_key
and red1.entity_field_name != 'Organization'
and red1.entity_field_name != 'User Manager'
union
select req1.request_key rk,
act.act_name detval,
red1.entity_field_name detname
from arch_request_entity_data red1,
arch_request_entities re1,
request req1,
act
where red1.request_entity_key = re1.request_entity_key
and re1.request_key = req1.request_key
and red1.entity_field_value = act.act_key
and red1.entity_field_name = 'Organization'
union
select req1.request_key rk,
usr3.usr_login detval,
red1.entity_field_name detname
from arch_request_entity_data red1,
arch_request_entities re1,
request req1,
usr usr3
where red1.request_entity_key = re1.request_entity_key
and re1.request_key = req1.request_key
and red1.entity_field_value = usr3.usr_key
and red1.entity_field_name = 'User Manager') reqdet
WHERE
reqdet.rk = :RequestID
</sqlstatement>
</dataquery>
<dataStructure>
<group name="AllRequests" source="sql_L1_AllRequests">
<element name="RequestID" value="RequestID"/>
<element name="RequestType" value="RequestType"/>
<element name="RequesterUserID" value="RequesterUserID"/>
<element name="RequestDate" value="RequestDate"/>
<group name="grp_AllApprovers" source="sql_L2_Approver_BPEL">
<element name="ApproverUserID" value="ApproverUserID"/>
</group>
<group name="grp_AllApprovers" source="sql_L2_Approver">
<element name="ApproverUserID" value="ApproverUserID"/>
</group>
<element name="RequestStatus" value="RequestStatus"/>
<element name="ParentRequestID" value="ParentRequestID"/>
<group name="Beneficiaries" source="sql_L1_Beneficiaries">
<element name="BenFName" value="BenFName"/>
<element name="BenLName" value="BenLName"/>
<element name="BenUserID" value="BenUserID"/>
<element name="BenEmpType" value="BenEmpType"/>
<element name="BenUserStatus" value="BenUserStatus"/>
<element name="BenOrg" value="BenOrg"/>
</group>
<group name="RequestDetails" source="sql_L1_RequestDetails">
<element name="ReqDetailsName" value="ReqDetailsName"/>
<element name="ReqDetailsValue" value="ReqDetailsValue"/>
</group>
</group>
</dataStructure>
</dataTemplate>
Thanks
KKany help please ? if you need any more information to know more about the issue, please do not hesitate to ask.
Thank you. -
Link in Crystal report to view on Mobile or Ipad
Dear Expert ,
I created simple list of Purchase order Pending approval report from draft table (ODRF).
I want to create hyperlink in crystal report which should to go to approval list in mobile application.
kindly let me know is it possible or not??
Thanks and Regards ,
Rajesh NPlease see this thread SAP Mobile BI App - opendocument support for crystal report content that explains the KBA and limitations
Maybe you are looking for
-
ITunes won't read my iPod Classic, but Windows does; tried many solutions!
Hey Apple Support Community, I wasn't sure whether this post belonged in the iPod forum or the iTunes forum as the matter concerns both, so I decided to post in both forums. My apologies if this is 'spammy'. (iPod forum is a little old anyway). I jus
-
How to force validator method instead of data type validation in af:table
This post will probably once again illustrate exactly how new I am to the Java/JDeveloper world so thanks in advance for any help! I have tried searching but couldn't find anything that seemed to mirror my problem. I am using a modification of Frank'
-
Connect macbook pro to hdtv?
I have connected cables to tv but I can not get iphoto pix to display. Any suggestions?
-
Over a year ago the sound in the flash player was way too loud on 100%. Now it's still too loud. On 50% volume it seems to be normal. But this only appears, when the system volume isn't set to 100% (when I'm using headphones without a volume control)
-
CS5 Slideshow duration won't update to new audio clip
In a completed slideshow with "Fit slideshow to audio duration" checked (duration 00;19;32;24), I decided to replace the audio with a shorter composition (00;10;00;22). With the original audio clip cleared and the new audio clip added and the "Fit sl