custom text type in view

Upload: swati-jain

Post on 08-Mar-2016

12 views

Category:

Documents


0 download

DESCRIPTION

CRM Custom text type

TRANSCRIPT

CRM 7.0 :Adding Custom Text Type on Web UI ViewIn this blog I will explain about Adding Custom Text Type on Web UI View for Business Transaction.This blog will touch all the topics covered so far starting from Customization and Component Enhancement.Step 1: "Z" Text Created and Added under Text Determination (Check customization in "Text Management").Step 2: Text is visible In Note for Transaction Type.Step 3: Extend BT Model for "Z" Text Type

Create New Entry Selecting Source Object "BTTextH" and Relation Name "Your Custom Text Type" (find from F4 Help of Relation Name).

BT Model Get Extended

Step 4: Example of Enhanceing Standard Component for Adding Text On View.Create Custom Controller

Bind BTADMINH to Component Controller BTADMINH.

Enhance View Set to Add Text on Veiw

Create Node "BTZTEXT"

Generate Getter Setter for "STRUCT.CONC_LINES"in Get method set " value = ' ' ".Add code on .htm of view set.

collection_wrapper->get_current( ). lv_process_type = lr_BTADMINH->get_property_as_string( 'PROCESS_TYPE' ).

if lv_process_type = 'ZTST ' %>

ENDIF.

Output of ZText Block Added on View