on 08-14-2007 5:11 PM
Folks,
In tcode CIC0 the Data Environment is used to display objects such as Orders, Contacts, Billing Documents etc. My requirement is to create a new object, Deliveries and it should display all the deliveries for the Business partner that acts as the sold to party. The delivery data will be extracted from LIKP. And upon clicking the delivery it should goto VL02 transaction for editing.
Actually there is a BADI ISU_CIC_ENV which creates the nodes in the Data environment but it does not handle the navigation to VL02.
Can anyone help me out how to do the navigation to VL02.
Points will be awarded.
Thanks,
Alok
Alok,
I got the solution.
Use ISU_CIC_ENV.
SAP Notes: 632811
Summary
Symptom
Additional data can be issued in the data environment of the CIC using BAdI
ISU_CIC_ENV. However, no context menu is available for the nodes that are
added in this way.
More Terms
Customer Interaction Center, navigation area, data environment, customer
environment, ENVD, business add-in ISU_CIC_ENV, context menu
Cause and Prerequisites
The BAdI ISU_CIC_ENV does not make any method available for a context menu.
Solution
A context menu can be made available for nodes that are output using the
BAdi if you follow these steps:
o Maintain table TJHCUSTENVCLUB using transaction SM30 (since this
table has delivery class 'S', this is a modification).
- Create a new entry with a line number higher than 900.
- Fill the following fields
Field name Importance Example
Name any text SD orders
Text Identifier SDOrder
+ Node name SD_ORDERS
Object type BOR object type BUS2032
Call group any number 9000 + line number
o Adjust the BAdI implementation.
In method IF_EX_ISU_CIC_ENV~ADD_CHILDREN of the BadI, the fields
must be filled in table EX_CHILD_TAB according to the values in
table TJHCUSTENVCLUB.
Field Importance
CLUSTER_TYPE Node name (SD_ORDERS)
CLASSID BOR object type defined as in the
TJHCUSTENVCLUB in field 'Object type' (BUS2032)
KEY Key of object with leading zeros
o Maintain the action profile for the data environment (transaction
ENVD). There is an additional node there (recognizable by the call
group and the identifier) under which you reassign the actions that
are supposed to be available in the context menu of the new node.
Header Data
Release Status: Released for Customer
Released on: 08.03.2006 13:13:53
Priority: Recommendations/additional info
Category: Consulting
27.08.2007 Page 2 of 2
Note 632811 - Data environment in CIC: Context menu on additional nodes
Main Component IS-M-SD-PS-SL-O Order
Additional Components:
IS-M-AM-SL-O Order
Valid Releases
Psedo code:
METHOD if_ex_isu_cic_env~add_children.
***structure for Line Structure for Added Data Environment Nodes
DATA: ls_child TYPE isu_badi_cic_env.
***SD Document: Delivery Header Data
DATA: likp TYPE likp.
***Type Declaration
TYPES: BEGIN OF t_likp,
vbeln TYPE vbeln,
kunnr TYPE kunnr,
lfdat TYPE lfdat,
END OF t_likp.
***Internal table Declaration for LIKP
DATA:it_likp TYPE STANDARD TABLE OF t_likp.
***Work Area for LIKP
DATA:wa_likp TYPE t_likp.
DATA: c_del(30) TYPE c.
DATA: c_tab(10) TYPE c.
DATA: c_name(30) TYPE c.
SELECT vbeln kunnr lfdat
FROM likp INTO TABLE it_likp
WHERE kunnr = im_key.
***Grouping Deliveries using Date.
SORT it_likp BY lfdat.
MOVE im_key TO c_del.
c_tab = sy-dbcnt.
CONCATENATE c_tab 'Deliveries' INTO c_name SEPARATED BY space.
CASE im_cluster_type.
WHEN 'PARTNER'.
ls_child-cluster_type = 'ZCIC_NT_DEL'.
ls_child-classid = 'LIKP'.
ls_child-key = c_del.
ls_child-icon = 'ICON_BOX'.
ls_child-text1 = c_name.
APPEND ls_child TO ex_child_tab.
WHEN 'ZCIC_NT_DEL'.
ls_child-cluster_type = 'ZCIC_NT_DEL'.
ls_child-classid = 'LIKP'.
ls_child-key = wa_likp-vbeln.
ls_child-icon = 'ICON_ORDER'.
LOOP AT it_likp INTO wa_likp.
ls_child-text1 = wa_likp-vbeln.
APPEND ls_child TO ex_child_tab.
ENDLOOP.
ENDCASE.
ENDMETHOD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi tiger,
I am also facing the same problem, please tell if it is solved.
Thanks,
siri.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alok,
I am working on same kind of object. Please help me to complete this object. If you know anything. Please let me know.
Best regards,
Pradeep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.