| Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Advanced Search Component for OneOrder Objects in SAP CRM 7.0 Part 2By Rahul A Koshti, TATA Consultancy Services Scenario: As described in the Part1
of ‘Creation of Advanced Search Component’, Our basic SEARCH component
is ready to use. This second part demonstrates the creation of hyperlinks in
result list and navigation to the details overview page upon following that
hyperlink. 1.
Go to View
ZRAK_ORDERSRCH/Result. Expand the context
node BTQR1Order and Implement the GET_P
method of attribute OBJECT_ID.
2.
Copy
the below code into method GET_P_OBJECT_ID.
Basically GET_P method returns the properties depending upon the value of inbound
parameter IV_PROPERTY. The interface IF_BSP_WD_MODEL_SETTER_GETTER has the constants defined. 1) FP_FIELDTYPE – Checks for property 'fieldType' and returns the field type as LINK. 2) FP_ONCLICK – Checks for property 'onClick' and returns the event name (e.g. SELECTION). 3) FP_TOOLTIP – Checks for property 'tooltip' and returns the tooltip text. (e.g. 'Click to see the details').
method GET_P_OBJECT_ID. 3.
Create new view to display the one order details into separate
view. E.g. Details.
4.
Define
the Model Node BTOrder of type BOL
BTOrder and Model Node BTAdminH of
type BOL BTAdminH. Use the BTOrder as higher level node with BOL
relation BTOrderHeader for Model Node BTAdminH.
5.
Create
the Binding/Linkage with the Custom
Controllers (QueryCuCo.do) context node BTOrder.
|
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG. Graphic Design by Round the Bend Wizards |
||