Techskills

July 29, 2009

SAP CRM — PPR Factsheet

This post is from my friend Juan Pedro Vargas Fernández. He did some sample for factsheet in his project and he is very kind to let me post his documentation about the factsheet on this blog. So I thank him for that.

You can follow him at @ :  http://twitter.com/juanpedrov

  • 5) Make view configurable by adding the next code at the thm file

ppr_factsheet_image018

<%@page language=”abap” %>
<%@extension name=”htmlb” prefix=”htmlb” %>
<%@extension name=”xhtmlb” prefix=”xhtmlb” %>
<%@extension name=”crm_bsp_ic” prefix=”crmic” %>
<%@extension name=”bsp” prefix=”bsp” %>
<%@extension name=”thtmlb” prefix=”thtmlb” %>
<%@extension name=”chtmlb” prefix=”chtmlb” %>
<chtmlb:overviewTableConfig id = “Table”
table = “//ZPPRT/Table”
width = “100%” />

  • 6) Create Inbound Plug DEFAULT.

ppr_factsheet_image020

  • 7) Configure the Runtime Repository Editor

ppr_factsheet_image022

ppr_factsheet_image024

  • 8) Create context node BuilHeader at Component controller

ppr_factsheet_image026

  • 9) Implement method CREATE_BUILHEADER of the context class of the view created.

ppr_factsheet_image029

Add the following code

ppr_factsheet_image031

* data binding with Component Controller ‘PARTNER’
owner->do_context_node_binding(
iv_controller_type = cl_bsp_wd_controller=>co_type_component
iv_target_node_name = ‘BUILHEADER’
iv_node_2_bind = builheader )

1 Comment »

  1. Very nice explaination.
    Useful in many real time scenarios.

    Thanks
    Raj

    Comment by Raj — August 17, 2009 @ 5:33 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress