OADP - Navigation objects
We are trying to set up the OADP for our reporting structure.
It is based on 005 relationships. We are trying to achive something similar to MSS_PCR_SELECT view group - the "All employees" view. We are having problems when trying to control the "depth of structure" while defining the rules for the object selection.
That led us to dig into the standard MSS_PCR_SELECT view group. We are looking at MSS_PCR_SEL_ALL view with mss_pcr_sel1 object selection. The navigation object rules(mss_pcr_rule4) defined there, has a evaluation path of orgeh_t
with depth of structure '3'. - As per our understanding this should control the levels of org units that are shown when the user tries to navigate. So in this case, the user can only see 3 levels below. It does not happen here and the user can see all the org units that are lower in the structure - we are checking all standard stuff with all the authorizations.
Would like to know how it works for others here on this forum?
Not sure if we are not understanding this correctly or missing some config piece somewhere or is this a bug?
have read some threads about getting structural authorizations to achieve this - That can be an option but we are really trying to find out the flexibility/limitation of OADP
Siddharth,
Thanks for the response.
Now it looks more clear. I tried with depth '2' and the way in which the org units initially show up is different compared to the one with depth '3'.
Looks like we cannot use the navigation feature if we want to restrict the listing of employees. For ex. the "Direct Employees" view (mss_pcr_sel_dir) does not have a rule for navigation. In other words, if navigation is used, the user can drill down the tree to the lowest object.
We are trying to give different views. 1. All employees, 2. Direct employees, 3. Second level etc. for our custom 005 supervisor/subordinate relationships. For All employees and Direct employees we customized it similar to standard mss_pcr_select view group (where navigation is available for all employees and not for direct ones).
For the second level subordinates display, we are able to see the list display without the navigation rules.We wanted to give the option of navigating for the same, but looks like we cannot (if we give, all the lower levels can be navigated in the tree).
Thanks for your help again!
Similar Messages
-
Custom components and the navigator object
Hi all,
I'm starting on a mobile project which is a ViewNavigator based application. I've created a custom component which contains a button. I'd like the button to be able to use the pushView method however as it's a custom component, it doesn't appear to recognise the navigator object. If anyone has any advice/tips on how I might go about this, it'd be greatly appreciated!The button sits in a custom component - actually in a datarenderer. Code looks like:
<?xml version="1.0" encoding="utf-8"?>
<s:DataRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark">
<fx:Script>
<![CDATA[
import mx.utils.ObjectUtil;
protected function button1_clickHandler(event:MouseEvent):void
]]>
</fx:Script>
<fx:Declarations>
</fx:Declarations>
<s:Button label="{data.firstName}" click="button1_clickHandler(event)" width="150" height="150" />
</s:DataRenderer>
which is being called from a View. There's no error, I'm simply unable to/unsure how to access the navigator object so I can push a new view onto the stack from within that component.
Cheers! -
When i place mouse on workset ,needs to display Detailed navigation objects
Hi Experts,
when i place mouse on workset,i would like to dispaly all detailed navigation objects in a list on workset.
If any one knows about this please suggest me and provide the coding too.
Thanks in advance.
Regards,
KiranHi,
YOu need to develop a custom navigation, refer following links to understand developing custom navigation :-
*TLN
Tag Libraries: Creating a Hover Menu in SAP NetWeaver Portal
Creating Hover Menu
Tag Libraries: Creating a Hover Menu in SAP NetWeaver Portal
*Tag Library
http://help.sap.com/SAPHELP_NW70/helpdata/EN/42/f35146a7203255e10000000a1553f7/frameset.htm
http://help.sap.com/SAPhelp_nw04/helpdata/en/42/f498dfd1e31a61e10000000a422035/frameset.htm
Deploying Custom JSP Tags in WAS
EFP: Layout Tag Library
EFP: Navigation and Framework Tag Libraries
Navigation and Framework tag library, layout, quick links etc
EFP: Navigation and Framework Tag Libraries -
How can i make a request that just returns a navigation object?
... and similarly how can i just return the product list.
For example lots of our customers paginate through page after page of products and the navigation remains constant.What you can do is use the _visible property of the object to make it appear and disappear, or more correctly, use the opoosite of the _visible property. You should not put code "on" objects, keep it in the timeline.
If "object" is the instance name of the object you want to toggle, then in the timeline code you can use...
object._visible = false; // start with the object being invisible
yourButtonName.onRelease = function(){
object._visible = !object._visible;
That one line in the function sets the object's _visible property to be the opposite of what it currently is. -
Display a custom message on click of a Top Level Navigation Object
Hi Experts,
when the user clicks on the top level navigation entry link(for any application), I would like a custom message to be displayed to the end-users which would be maintained in a text file in a KM folder.
Currently, on click of the top level navigation link a workset map is displayed. But now I would like to read the text file and display the message (if any) maintained in the text file.
The message (if any) should be rendered before the workset map is displayed, or be rendered as an additional element on the same page as the workset map perhaps as an additional iView .
It is essential that the message content should not be cached by the Portal (in other words, the deactivation of the system message should not require a cache flush to become visible to the user).
The goal is to warn the users before they they access the applications of the workset map.
Can someone please guide me on this???
Regards,
AnuragHi,
See some info regarding Portal Eventing:
http://help.sap.com/saphelp_nwce72/helpdata/en/a5/8d1e72c20f4db2b9f577b47c1a47da/content.htm
In the link above you can see that it's possible to raise an event and subscribe to it.
Each time you navigate in the portal, the portal raises the UpdateTLN event so all you need it to subscribe to it in an iview that is located on the same page.
Since the masthead iview is in the same window (above the TLN - see the following link) you can put your javascript function in it.
http://help.sap.com/saphelp_nw04/helpdata/EN/b4/771158e4cb4bf6af9974380948db86/content.htm
Regards,
Omri -
Authorisations based on Navigational Objects
Hi,
Location is the navigational attribute of an employee....and location info is not loaded in the cube.
If i make Location as authorisation releavent can i restrict data based on Location
ThanksThis will work. Since this is a Navigational Attribute, it will be part of the Cube.
-
OADP-NAvigation rule customisation
hey all,
our requiremnt is to hide org units that appear in the tree structure on the ECM portal Iviews.
they are hidden if the org units do not have A012 (heads)
we hae tried the badi hrwpc_nav _objects
and custom rule for nav objects..
when tried to remove unwanted org units, the portal throws a dump..
how is this done..any other alternatives..pls suggest?
any ideas?
Thnks
GHi,
By following ways you can do it
Let say, you would like to do personalization for Edit Exchange rate.
Please make sure that you do personalization at role level.
Logon with super admin role.
Content admin-> portal content->... ->employee self service > roles->xx ess role->open.
Open Edit Exchange rate I_VIEW and then preview it.
Select the field you would like to personalize.
Now Press control + right click.
Set as invisible Yes and set it as final.
Apply and ok.
Now for all ess users assigned with role "xx ess role" your personalization will work. -
Navigation Cache - Object Size
We're currently in the middle of our upgrade to SP15 and one of the new features we're implementing is the navigation cache. By default, the number of objects to be cached is set at 5000. So far the behavior is, all the navigation objects (pages) counts as objects. Then for each user entering the portal with an unique role combination, an additional set of objects (equaling the number of roles they have) is also added. In our dev environment where most users are superadmins, we're at around 1300 objects.
My question is what's an object limit before there's going to be a performance hit with too much memory usage. Is 5000 a safe limit? Or can it be higher? What happens if the object limit is reached, will it be like a queue where the oldest cached object gets deleted when a new one is added?
Any info on this subject is welcome. Any experiences with high availability environments using navigation cache would be appreciated. ThanksHi,
The Preliminary objective of Navigation Cache is to improve performance on the server-side. By saving the Navigation Nodes in memory, the number of calls to the PCD or any other backend systems is reduced.
The cache is implemented in a First in - First out manner (FIFO).
Try this link for more information:
http://help.sap.com/saphelp_erp2005/helpdata/en/5f/2720a513ea4ce9a5a4e5d285a1c09c/frameset.htm
Hope it's help
Best Regards,
Shimon. -
Object Based Navigation and several Logon Pages
Hi SAP Experts,
when searching help.sap.com for object-based navigation, I get a very detailed and helpful description about what Object-based navigation is:
"The primary capability offered by OBN is that the data returned to the user during navigation is role-based and accessed dynamically during runtime. While navigating in the portal, users receive different kinds of data from iViews based on business objects, according the needs and requirements of their role in the organization. In other words, two different users may perform the same navigation operation, for example, drag the same link from the same iView onto the same target iView, and the data returned to each of them will be different because it is role dependent. This is the work of business object operations."
However it is not specified in the Help, if I can use these navigation objects also for several Logon Pages for different users. Does anybody of you have experience with that?
I know that I can handle different Logon Pages by defining a Portal Gateway Mechanism. Is that still necessary or can I handle everything with OBN?
Thanks in advance and best regards
AlexHi Parameshwari,
Object-Based Navigation (OBN)is the portalavigation scenerio. the navigation targets are defined by operations of a business object.
Object-based navigation (OBN) offers portal users an additional method of navigation based on business objects from productive back-end systems. From the Portal Content Catalog, the business objects are imported from systems in the Portal Content Directory (PCD) to the Business Objects folder in the Portal Content Catalog, where they can be arranged logically into sub-folders as desired.
The primary capability offered by OBN is that the data returned to the user during navigation is role-based and accessed dynamically during runtime. While navigating in the portal, users receive different kinds of data from iViews based on business objects, according the needs and requirements of their role in the organization. In other words, two different users may perform the same navigation operation, for example, drag the same link from the same iView onto the same target iView, and the data returned to each of them will be different because it is role dependent. This is the work of business object operations.
Webdynpro java:
http://help.sap.com/saphelp_erp2004/helpdata/en/3e/97e33d7f9c47af85a2543e3a2cce4c/content.htm
WebdynPro ABAP:
http://help.sap.com/saphelp_sm40/helpdata/en/e4/f86f4132f15c58e10000000a1550b0/content.htm
Basic example OBN:
http://www.urz.uni-heidelberg.de/saphelp/helpdata/DE/dd/f8dd7995ac4100adc9af417e044063/content.htm
Hope this information helps you!
Thanks & Regards,
AshwinChandra Girmaji -
OADP 'Depth of structure' in List view
In OADP configuration, can 'Depth of Structure' be used when using List display only?
I have configured OADP (Object & data provider) for manager direct reports without navigation objects and for some reason the setting ignore the 'Depth of Structure' and shows all levels of employees in the reporting line.
My configuration for 'My Direct reports' is currently set as;
Rule for Root Object > Evaluation Path
US A 208 Is identical to * P
* B 008 Holder * S
Rule for Navigation object
NONE
Rule for Target Objects > Evaluation Path
S B 002 Is line supervisor of * S
S A 008 Holder * P
S A 008 Holder * US
Any assistance you can provide is appricated, thankyou in advanceYou need to use navigation objects
also you can experiment the results with the Report:RHSTRU00
many iViews which use the object and data provider tool (OADP) for data
retrieval have an iView property which can be used to define for which
organization views the data should be displayed as a list or as a tree.
This decision is made by setting a pure frontend parameter and you can
find it when you open the iView properties in the portal content
catalogue.
In the object selection configuration you can define how the objects
are retrieved. You can define 3 rules there. The first one is for
the root object determination. The (optional) second one is for the
so called navigation objects. It takes the result of rule 1 as input
to determine the objects for the navigation area (either displayed
in a tree or in a list). The third rule is the final rule to determine
the objects displayed in the OADP table. If rule 2 exist then it takes
the selected object(s) from the navigation area as input to determine
the final object set, If rule 2 is missing then it uses the result of
rule 1 as input.
Also you can restrict this via HRWPC_EVL_PATH -
MSS - Object and data provider
Hi,
had questions regarding the view groups in the OADP. first, the employee selection for Personnel change request is based on view group MSS_PCR_SELECT. This view group has views which in turn have root , navigation and target selections. due to which the manager logging in can see/navigate through the employees based on their org units etc.
Now for approving time ( direct link "approve timesheet data") , we used the standard view group MSS_LCA_EE. The views assigned here do not have a naviagtion object , due to which the manager is able to see all the employees listed at once, we created a custom view group based on the std one , added a navation object so that the manager can click on the org units (just like for selecting employees for PCR) and based on that the employees are displayed and then their time can be approved. Somehow this does not seem to work. It displays the whole list of employees. IT seems its just not taking that navigation object. Anyone tried achieving the same functionality ??
We are on ERP 2005 , MSS BP 1.0.Hi Mark -
I am trying to do something similar and not having much luck.. I am trying to change the main Team Viewer on the employee General Information change. My client has a requirement where they do not want to use the manager (012) as the MSS user. The have lower level supervisors identified that link S to S (using 002). I created new eval paths for the root and navigation/target objects. I test them via transaction PPST and they return expected results. I created new rules and associated the eval paths, created new view, org view, etc. Then I went to the Employee Search (Team Viewer) iVew and changed the parameter to switch out my new org grp view. It does not work. In MSS, I get the message "no employees found."
The parameters (OADP) objects I switched out were:
View Grp = MSS_TMV_EE
View = MSS_TMV_EE_ORG1
I am also on ERP 2005 , MSS BP 1.0
If you got your issue fixed and can share anything that will help my issue I would greatly appreciate it.
Regards,
Karen -
Code needed for a Navigational Attribute.
Hi Experts,
I have a requirement to update records on a Navigational Attribute of an Infobject in an DSO.
DSO A has key figures Region & 0calmonth. Data fields Price, Quantity, Place & Name. DSO B has key figures 0customer & Data Filelds Plant, Material etc. DSO B Plant's Navigational Attribute is Region /BI0/OIREGION.
Now, I want to link the Region of DSO A with the Navigational Attribute of DSO B with Region /BI0/OIREGION and update the values of DSO A in DSO B.
For this I want to write a code in the END ROUTINE. Please provide me with the code.
Thanks in advance,
With Kind Regards,
Kannan Jagadeesan.Hi,
data : begin of itab1 OCCURS 0,
Region type /BI0/OIREGION-Region,
OBJVERS type RSOBJVERS,
calmonth type /BI0/OICALMONTH- calmonth
END OF itab1.
select * from /bic/DSOaa00 into table itab1 * this is DSO A*
for all entries in DATA_PACKAGE
where /BI0/OIREGION = DATA_PACKAGE-/BI0/OIREGION..
loop at DATA_PACKAGE.
select /BI0/OIREGION
/BI0/OICALMONTH
from /bic/DSOaa00
into TABLE itab1
where /BI0/OIREGION = DATA_PACKAGE-/BI0/OIREGION
If sy-subrc = 0.
sort itab.
endif.
read table itab with key /BI0/OIREGION = DATA_PACKAGE-/BI0/OIREGION.
if sy-subrc = 0.
/BI0/OIREGION = ITAB1-Region.
endif.
this is the dry draft to read the oregion navigational object.
try to correct accordingly in your system and implement it.
hope this helps you
santosh
Edited by: Santhosh Nagaraj on Sep 16, 2009 2:01 PM
Edited by: Santhosh Nagaraj on Sep 16, 2009 2:05 PM -
Automatic navigation after "END" button depending on in- or outbound call
Hi all.
the requirement is:
In the case of inbound calls - the agent starts working on an item of the inbox and clicks on "END" when finished - the navigation should automatically bring him back to the inbox.
But if he starts with the account identification (outbound calls) then he should automatically jump back to account identification screen when clicking on "END".
I already got the Intent driven interaction working according to these steps. But now the navigation brings me ALWAYS back to the inbox.
1) Define a rule policy in the Rule Profile for context "Intent driven interaction":
If
Current Event Equals InteractionEnded-Interaction ended
Then
Navigate To ( Navigation Object type:Action = IC WebClient - Inbox:Display )
2) Release the rule using the "more" button and clicking on "relase draft rule" (the icon changes from yellow to green)
3) On the top level of my new policy I assigned my business role and the event that is being used (InteractionEnded).
4) I check business role customizing: function profile "INTENT_DRIVEN_INTERACTIONS" is assigned to "DEFAULT". Note: The intent driven profile "DEFAULT" is assigned to the service mgr. profile "IDI_DEFAULT".
Doing these changes my system now always jumps to the inbox when I click on the "END" button.
The problem seems to be that I am not able to figure out how to use the currentInboxItem as part of my rule policy.
I added a line in my rule for the currentInboxItem checking if the currentInboxItem is not-equal to "blank". This seems not to work. I guess I must rather check if currentinboxitem is "bound" or against a field of the item. But I don't see how to do this.
Has s.b. any idea how to get this work? Or on other ways how to get this work?
Does s.b. know how to debug when a rule is checked by the system?
Thanks & Regards,
ThorstenHi Paul,
I defined the execute method in the following way.
You can see below that lo_activity is defined in the following way:
lo_activity TYPE REF TO if_bol_bo_property_access,
CURRENTINBOXITEM' is a standard object of the global data container which gets filled when an inbox item gets selected.
'ZCURRENTINBOXITM' is the repository object of the context ICRule and I fill the parameter for the process type.
Hope this helps.
Regards, Thorsten
METHOD if_crm_smf_service~execute.
fill attributes for currentinboxitem
see implementation example in class CL_CRM_IC_F_G_TRANS
DECLARATION -
DATA :
lv_string TYPE string,
lo_bdc TYPE REF TO if_crm_ui_data_context,
lo_activity TYPE REF TO if_bol_bo_property_access,
lo_fb TYPE REF TO cl_crm_smf_fact_base,
lv_entity TYPE REF TO cl_crm_bol_entity,
lv_rel TYPE REF TO cl_crm_bol_entity,
lv_factbase TYPE string.
FIELD-SYMBOLS :
<lv_date> TYPE sydatum,
<lv_time> TYPE sytime.
CODE -
TRY.
CALL METHOD super->if_crm_smf_service~execute
EXPORTING
session = session
service_properties = service_properties.
CATCH cx_root.
ENDTRY.
lo_bdc = cl_crm_ui_data_context_srv=>get_instance( ).
get entity activities
lo_activity ?= lo_bdc->get_entity( 'CURRENTINBOXITEM' ).
prepare the nodes
lo_fb = session->get_factbase( ).
IF lo_activity IS BOUND.
TRY.
get only one order objects
lv_string = lo_activity->get_property_as_string( iv_attr_name = 'CRM_GUID' ).
lv_entity ?= lo_activity.
lv_rel = lv_entity->get_related_entity('BTOrderHeader').
CATCH cx_root.
ENDTRY.
IF lv_rel IS BOUND.
TRY.
CLEAR lv_string.
curr.inboxitem filled
lv_string = 'X'.
CALL METHOD me->set_fb_attr_by_id
EXPORTING
id = 'ZCURRENTINBOXITM'
value = lv_string.
process_type
CLEAR lv_string.
lv_string = lv_rel->get_property_as_string( iv_attr_name = 'PROCESS_TYPE' ).
create a child node and add the value
lo_node1->set_attribute( attrib_name = 'BT_PROCESS_TYPE'
attrib_value = lv_string ).
CALL METHOD me->set_fb_attr_by_id
EXPORTING
id = 'ZCII_PROC_TYPE'
value = lv_string.
CATCH cx_root.
ENDTRY.
ELSE.
CLEAR lv_string.
not filled
lv_string = space.
CALL METHOD me->set_fb_attr_by_id
EXPORTING
id = 'ZCURRENTINBOXITM'
value = lv_string.
ENDIF.
get next BTOrderHeader
lo_activity = bdc->activities->if_bol_bo_col~get_next( ).
ENDIF.
lv_factbase = lo_fb->get_factbase_as_string( ).
ENDMETHOD. -
HTML page with FLASH object doesn't reload upon a redirect
Am using: ECC 6.0 and ABAP SAPGUI development
Hi All,
I'm seeing a frustrating issue that i'm hoping others have seen and resolved.
Here is what i'm attempting and below that is the issue:
1) I have created a ABAP program in which i'm using the HTML viewer (class: cl_gui_html_viewer ) within a container that is on one of my ABAP screens.
2) I load up a web page on our (intra)network that displays an HTML page that has a nice FLASH navigation object. This navigation object operates as such - when a node is clicked it will go to another html page (on the same network) that will then parse apart what node they clicked on and via javascript submit a form in which I've defined a SAPEVENT for.
3) My ABAP program has defined the event handler for this sap event and calls the appropriate method just fine (ON_SAPEVENT). I am able to trap the event details and do some other things.
This is all working just fine, except....I want it to then go back to the first page (original page) that contained the FLASH navigation on it upon after the page that trapped the SAPEVENT is complete automatically. Easy? - that's what I thought...I tried several different ways to do this "go_back" on the html control, "show_url" (with the original URL)...even a redirect in the actual html page itself to go back.
They all DO go back to the first page, however my flash navigation object on that page NEVER shows up! It's almost like the frontend is thinking it is already loaded and will not load it again. I thought maybe I need to do a "flush" or some such - but that didn't seem to solve it. Has anyone seen this and resolved it or knows what this is? The thing is...I can completely exit out of the program - and the flash object will load just fine (but only after I wait a minute or so). What gives...anyone know?
Thanks in advance,
MattAm using: ECC 6.0 and ABAP SAPGUI development
Hi All,
I'm seeing a frustrating issue that i'm hoping others have seen and resolved.
Here is what i'm attempting and below that is the issue:
1) I have created a ABAP program in which i'm using the HTML viewer (class: cl_gui_html_viewer ) within a container that is on one of my ABAP screens.
2) I load up a web page on our (intra)network that displays an HTML page that has a nice FLASH navigation object. This navigation object operates as such - when a node is clicked it will go to another html page (on the same network) that will then parse apart what node they clicked on and via javascript submit a form in which I've defined a SAPEVENT for.
3) My ABAP program has defined the event handler for this sap event and calls the appropriate method just fine (ON_SAPEVENT). I am able to trap the event details and do some other things.
This is all working just fine, except....I want it to then go back to the first page (original page) that contained the FLASH navigation on it upon after the page that trapped the SAPEVENT is complete automatically. Easy? - that's what I thought...I tried several different ways to do this "go_back" on the html control, "show_url" (with the original URL)...even a redirect in the actual html page itself to go back.
They all DO go back to the first page, however my flash navigation object on that page NEVER shows up! It's almost like the frontend is thinking it is already loaded and will not load it again. I thought maybe I need to do a "flush" or some such - but that didn't seem to solve it. Has anyone seen this and resolved it or knows what this is? The thing is...I can completely exit out of the program - and the flash object will load just fine (but only after I wait a minute or so). What gives...anyone know?
Thanks in advance,
Matt -
Error in the Navigation Cache after deleting user
Hi,
We have an issue with the navigation cache and deleted users. If we delete a user and then tries to log on with a user with the same set of roles as the deleted user, the navigation cache throws an exception
User USER.PRIVATE_DATASOURCE.un:z_deleteduser doesn't exist!.
There is no relation between z_deleteduser and the user we logged on with when getting the exception.
My guess is that the deleted user was the first user with that set of roles that logged in after last time we cleared the cache, and therefore got used as a key to that particular navigation object.
Does anyone know how to resolve this, I don't want to empty the cache each time we delete a user?
Regards
MattiasHi,
It seems the guided procedure throws the same exception, which makes sense. I don't have a WAS up and running here, so I can't test, but I guess it's the exception the UME throws if you try to access an non existing user, and it just gets propagated both by the Navigation Cache and Guided Procedures.
But there has to be a fix for it, somewhere...
Regards
Mattias
Maybe you are looking for
-
Group Policy error 1112 - Drive Maps
Hi everyone We are getting hundreds of these alerts from SCOM every day from multiple 2008 R2 terminal servers: Alert from Operations Manager 2007: Alert description: The Group Policy Client Side Extension Group Policy Drive Maps was unable to apply
-
Where to find info on Logic Board Ext. Warranty!!! Imac G5
Hello--I own an early IMac G5 and have had the logic board fixed twice using the ext. warranty for power/board issues, now my computer is unusable again showing same signs, and I can't find information directly from Apple now showing this warranty in
-
How to get .sitx file execute.
Hi, I got a question about the downloaded software Windows Media 9.0 as .sitx file. Once execute the file, OS always prompt me "choose application". meahwhile, downloaded .wmv files how to open it ? Thanks..
-
Does anyone know how to unfreeze the nano (2GB). Closed down my computer with nano still attached, unplugged it and froze. Display light stays on with 'Now Playing' screen on. Have tried everything shown in manuals to reset and now my computer won't
-
"Save As" window is smaller, no column view, no "new folder" option
How do I get back the original "Save As" window, which was twice as big and had more choices. Now the window is half the original size, only has two drop down lines, one for name and one for location of save and I can't save to specific folders only