Dynamic Navigation in SAP CRM WebUI Based On A BOL Object - Cadaxo Know How Blog PDF
Dynamic Navigation in SAP CRM WebUI Based On A BOL Object - Cadaxo Know How Blog PDF
http://www.cadaxo.com/content/en/cadaxo-know-how-blog/entry/dynamische-navigation-auf-basis-einer-bol-entitaet.html 1/4
home
blog
products
products
SQL
Cockpit
Trial
SQL
Cockpit
Standard
SQL
Cockpit
Premium
SQL
Cockpit
Premium
plus
references
successstory
WienIT
successstory
Biac
successstory
WGKK
Zufriedene
Kunden
versions
&
pricing
details
features
consulting
consulting
workshops
support center
about us
about us
news
lab
press
career
sales
partner
imprint
Edit Entry
Dynamic navigation in SAP CRM WebUI based on a BOL object
Posted by Johann Fleitner on 28.08.2013 in SAP CRM
0 Comments Subscribe to this entry
In SAP CRM Web UI development there are a variety of navigational options. One such alternative is with dynamic navigation based on a BOL entity.
Subsequently I would like to describe this by providing some examples. This coding example could, for instance, be implemented in the event handler of
a view.
Besides this example of navigation based on a BOL entity, the possibility also exist to navigate based on a BOR object or a WebUI UI-object - the
class CL_CRM_UI_DESCRIPTOR_OBJ_SRV provides the corresponding methods.
Dynamic BOL-based SAP CRM WebUI navigation example
Subscribe to blog Subscribe via RSS
F' Blog
News and Infos about the ABAP development and our products such as the SQL Cockpit.
10/18/2014 Dynamic navigation in SAP CRM WebUI based on a BOL object - Cadaxo Know How Blog
http://www.cadaxo.com/content/en/cadaxo-know-how-blog/entry/dynamische-navigation-auf-basis-einer-bol-entitaet.html 2/4
Johann Fleitner ( View Google Profile )
Johann Fleitner, 40, is co-founder of Cadaxo GmbH and executive partner. After graduating at an IT commercial school he works as a top
consultant in the SAP sector for more than 20 years now. Among his core competencies rank the development in SAP NetWeaver and SAP
CRM. Moreover he acts as a speaker for development workshops and training.
https://plus.google.com/+JohannF%C3%B6%C3%9Fleitner/posts
Comments
No comments made yet. Be the first to submit a comment
Leave your comment
Tags: Array
DATA lr_entity_target type ref to cl_crm_bol_entity.
DATA lr_nav_descr type ref to if_bol_bo_property_access.
DATA lr_col type ref to cl_crm_bol_bo_col.
DATA lr_core type ref to cl_crm_bol_core.
DATA LV_CAMP_GUID type x length 16.
... "get and fill lv_camp_guid
* get core instance
IF lr_core IS NOT BOUND.
lr_core ?= cl_crm_bol_core=>get_instance( ).
ENDIF.
* get entity (in this example, we get a Campaign Entity with the GET_ROOT_ENTITY Method of the core instance)
lr_entity_target ?= lr_core->get_root_entity(
iv_object_name = 'Campaign' iv_object_guid = lv_camp_guid ).
* create dynamic navigation
cl_crm_ui_descriptor_obj_srv=>CREATE_ENTITY_BASED(
EXPORTING iv_ui_object_action = 'B' "B = Display, ...
ir_entity = lr_entity_target
RECEIVING rr_result = lr_nav_descr ).
* get navigation instance
lr_navigation = cl_crm_ui_navigation_service=>get_instance( ).
* verify, if the entity supports a dynamic navigation
IF lr_navigation->is_dynamic_nav_supported( lr_nav_descr ) NE abap_true.
RETURN. "entity does not support a dynamic navigation
ELSE.
CREATE OBJECT lr_col.
lr_col->if_bol_bo_col~add( iv_entity = lr_nav_descr ).
lr_navigation->navigate_dynamically( lr_col ).
ENDIF.
About the author
View author's profile Show more posts from author
10/18/2014 Dynamic navigation in SAP CRM WebUI based on a BOL object - Cadaxo Know How Blog
http://www.cadaxo.com/content/en/cadaxo-know-how-blog/entry/dynamische-navigation-auf-basis-einer-bol-entitaet.html 3/4
Copyright & Disclaimer
2012 Cadaxo GesmbH. All rights reserved.
Reproduction or translation of this documents or parts of it is not prohibited without explicit permission of Cadaxo GmbH.
The creation of the text and the selection of examples have been made with great accuracy, however neither the Cadaxo GesmbH nor the author can take legal
responsibility or any other responsibility for possible errors and their consequences.
For this reason we advise you to implement eventual code examples in sandbox systems first to check their possible effects.
Microsoft, Windows
Search Blogs
Search
there is a simple way
Do you already know our SAP add-on?
SQL Cockpit
A tool that many ABAP developers have been wishing for:
ABAP Open SQL Editor/Viewer
Direct input of Open SQL queries
Supports all Open SQL versions
Perfect tool to perform performance tuning
Further details
YouTube video tour
Guest 18.10.2014
E-mail
Name
Captcha Image
Reload Image
Subscribe to this entry (Please fill in your email address to subscribe to blog updates.)
Submit Your Comment
10/18/2014 Dynamic navigation in SAP CRM WebUI based on a BOL object - Cadaxo Know How Blog
http://www.cadaxo.com/content/en/cadaxo-know-how-blog/entry/dynamische-navigation-auf-basis-einer-bol-entitaet.html 4/4
Popular Posts
Kategorien
Uncategorized
1 post(s)
SQL Cockpit
13 post(s)
SAP Software development
6 post(s)
SAP Hana
3 post(s)
SAP CRM
6 post(s)
ABAP
50 post(s)
Web Dynpro for ABAP
4 post(s)
NEWSLETTER
Subscribe
CADAXO
blog
news
career
press
imprint
PRODUCTS
free download
details
versions and pricing
CONTACT
contact form
Copyright 2013 Cadaxo GmbH. All rights reserved.
Copyright 2014 Cadaxo GmbH. All Rights Reserved.
Using TIMESTAMPS in ABAP/SAP
General information SAP clients are generally globally orientated companies, with a ...
10752 hits Read More
posted by Johann Fleitner
ABAP 7.02 New Features - New string functions
SAP NetWeaver 7.02 New String Operations SAP has added some interesting ne...
10660 hits Read More
posted by Johann Fleitner
Compressing within ABAP
Usage of the class CL_ABAP_GZIP in ABAP to compress applications or decomp...
9835 hits Read More
posted by Johann Fleitner