笔记整理-CRM

2021-03-11 11:39:26 浏览数 (1)

添加项目ID

method IF_EX_CRM_ISA_BASKET_HEAD~CHANGEHEAD_BEFORE_ORDER.

data: t_data type table of CRMT_ISALES_EXTENSION ,

wa_data type CRMT_ISALES_EXTENSION.

data:in_value type string.

data:i_data1 type table of CRMT_ORDERADM_H_COM,

wa_data1 type CRMT_ORDERADM_H_COM.

data:l_tabix like sy-tabix.

data:gt_field type table of CRMT_INPUT_FIELD,

wa_field type CRMT_INPUT_FIELD,

lt_field type table of CRMT_INPUT_FIELD_NAMES,

ls_field type CRMT_INPUT_FIELD_NAMES.

data:l_tabix1 like sy-tabix.

GT_EXTENSION = IT_EXTENSION.

loop at CT_ORDERADM_H into wa_data1.

l_tabix = sy-tabix.

clear:in_value.

read table IT_EXTENSION into wa_data with key name = 'projectID'.

if sy-subrc eq 0."

in_value = wa_data-value.

endif.

* if sy-subrc eq 0."

"FM: CRM_ORDER_MAINTAIN

"CT_INPPUT_FIELDS 增加变更字段

wa_field-REF_GUID = wa_data1-GUID.

wa_field-REF_KIND = 'A'.

wa_field-OBJECTNAME = 'ORDERADM_H'.

ls_field-FIELDNAME = 'ZZFLD000002 '.

insert ls_field into table lt_field .

wa_field-FIELD_NAMES = lt_field.

insert wa_field into table CT_INPUT_FIELDS."gt_field index 1.

wa_data1-ZZFLD000002 = in_value."wa_data-value.

modify CT_ORDERADM_H from wa_data1.

* endif.

endloop.

endmethod.

STEP-BY-STEP PROCEDURE FOR CREATING NAVIGATION BAR PROFILE

As many threads were posted on CRM forums asking for some help how to create navigation bar profile. We decided to list hereafter a couple of basic techniques to do so.

Navigation Bar Profile: The Navigation Bar profile provides the logical structure to access the internal and external applications within the Web UI. It can be customized as per individual business role.

For Ex: A user with the business role Sales Professional will have different navigation options as compared to a user with the business role Marketing Professional.

Creation of Navigation Bar Profile:

Prerequisites for creating Navigation bar profile are :

  1. 1. Define logical links
  2. 2. Define work center Group links
  3. 3. Define work center
  4. 4. Define direct links groups
  5. 5. Define Navigation Bar profile
  6. 5. Assign logical links to work center links
  7. 6. Assign work center group to work center
  8. 7. Assign work center, direct link groups to Navigation Bar profile
  9. 8. Assign Navigation Bar profile to the Business Role

Procedure:

Step 1 : Go to Transaction CRMc_UI_NBLINKS

Step 2 : Define Logical links by adding new entries as shown below.

0 人点赞