Webview call type report missing a completed call
i have a call handled by an agent in my call center but i cannot find it in the webview call type report but in the webview database route_call_detail table i find it ? hope for your help
call is received at 10:34 but the call type first period start from 15:30 !!
and i have attached the SQL query results.
Hello Ahmed,
So you meant to say that for the whole day the Call Type Report is starting only from 15:30 ? And you are not able to find 10:30 Interval ?
Have you checked for any other Call Types ? Was there any failure happened in any of the components ? The RouterCallKey's doesn't look normal.
Regards,
Senthil
Similar Messages
-
Call type Report, Return Value
Hello,
I need a understanding description for the Return column in the call type report, i need a description other than what is already described in the webview template reference .
Thanks.
AmerHello Ahmed,
So you meant to say that for the whole day the Call Type Report is starting only from 15:30 ? And you are not able to find 10:30 Interval ?
Have you checked for any other Call Types ? Was there any failure happened in any of the components ? The RouterCallKey's doesn't look normal.
Regards,
Senthil -
How to call a Include type Report Program in Executable Program. ?
Hi experts,
I have created a Include type report program and I want to run this include program in other report program. Which abap statement should i use ?
Thanks
SaurabhHi Saurabh,
We can make use of programs of Type - Include(I) in other type of ABAP Programs.
These Include programs cannot be executed directly but can be used as a part of the main program i.e Executable program - Type E.
So after creating your main program of type executable program then use the below line
REPORT ZM_SAMPLE_PROGRAM.
INCLUDE INC_PRG_NAME.
Now the code as availablein INC_PRG_NAME becomes part of the main program ZM_SAMPLE_PROGRAM.le
Also you can make use of this Include program in other executable/include programs too...
Regards,
Rafi -
Webview Agent 24 Report Question
From business Unit
I was running agent report 24 last week to look at calls held and hold time. I noticed several agents where the report does not seem to record the hold time properly. Looking at the Queue summary.
For example, the February report shows Agent 1 had 76 calls on hold for an average of :36 seconds. However, when I look at the total hold time it says Agent 1 only had 2:21 (2 minutes 21 seconds). Am I not looking at this correctly?
My Thoughts
I can not figure out why there is a discrepancy. For three different agents, I found that their average hold time should mean that their total agent state hold time should be nearly twice what WebView reports. If anything, I would expect that the total hold time would be much larger as that number would include out-calls on the xxxx extension (busy other) that were put on hold.
Do you have any thoughts why the average hold time is over-reporting or the total hold time is under-reporting? What are we missing?
Thanks,Hello Ahmed,
So you meant to say that for the whole day the Call Type Report is starting only from 15:30 ? And you are not able to find 10:30 Interval ?
Have you checked for any other Call Types ? Was there any failure happened in any of the components ? The RouterCallKey's doesn't look normal.
Regards,
Senthil -
Triggering a report after the completion of processing the session
Hi Friends,
I want to know how to trigger an report after the completion of processing the session.
Thanks,
RajHi
SELECTION-SCREEN *
PARAMETERS: p_name LIKE apqi-groupid,
p_datum LIKE apqi-credate,
p_time LIKE apqi-cretime,
p_event LIKE tbtco-eventid.
DATA *
DATA: fl_job_ok TYPE c,
fl_event TYPE c,
cont_sysubrc_6 TYPE i.
DATA: start_time LIKE sy-uzeit,
start_date LIKE sy-datum,
time LIKE sy-uzeit,
delta_time TYPE i.
DATA: apqitab LIKE STANDARD TABLE OF apqi WITH HEADER LINE.
DATA:
btc_running LIKE tbtco-status VALUE 'R',
btc_ready LIKE tbtco-status VALUE 'Y',
btc_scheduled LIKE tbtco-status VALUE 'P',
btc_released LIKE tbtco-status VALUE 'S',
btc_aborted LIKE tbtco-status VALUE 'A',
btc_finished LIKE tbtco-status VALUE 'F',
btc_put_active LIKE tbtco-status VALUE 'Z',
btc_unknown_state LIKE tbtco-status VALUE 'X'.
START-OF-SELECTION *
START-OF-SELECTION.
DATA: a VALUE '1', b.
Controllo esistenza job:
start_time = sy-uzeit.
start_date = sy-datum.
DO.
apqitab-creator = sy-uname.
CALL FUNCTION 'BDC_OBJECT_SELECT'
EXPORTING
name = p_name
datatype = 'BDC'
CLIENT = SY-MANDT
date_from = p_datum
DATE_TO =
time_from = p_time
TIME_TO =
QSTATE = 'F'
session_creator = apqitab-creator
TABLES
apqitab = apqitab
EXCEPTIONS
invalid_datatype = 1
OTHERS = 2.
IF sy-subrc <> 0.
fl_job_ok = space.
ELSE.
LOOP AT apqitab.
CASE apqitab-qstate.
WHEN 'F'. fl_job_ok = 'X'. EXIT.
WHEN 'E'. fl_job_ok = 'E'. EXIT.
WHEN OTHERS. fl_job_ok = space.
ENDCASE.
ENDLOOP.
IF fl_job_ok = 'X' OR fl_job_ok = 'E'.
EXIT.
ENDIF.
ENDIF.
IF start_date <> sy-datum.
start_time = sy-uzeit.
ENDIF.
time = sy-uzeit.
delta_time = time - start_time.
IF delta_time > 1800.
EXIT.
ENDIF.
REFRESH apqitab.
ENDDO.
IF fl_job_ok = 'X'. " Trovato JOB
fl_event = 'X'.
IF fl_event = 'X'.
Attiva evento
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
eventid = p_event
EXCEPTIONS
bad_eventid = 1
eventid_does_not_exist = 2
eventid_missing = 3
raise_failed = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE e999(zfagm) WITH p_event 'is not actived'(002).
ELSE.
MESSAGE i999(zfagm) WITH p_event 'is successfully actived'(002).
ENDIF.
ELSE.
MESSAGE e999(zfagm) WITH p_event 'is not actived'(002).
ENDIF.
ELSE.
IF fl_job_ok = space.
MESSAGE e999(zfagm) WITH p_event 'is successfully actived'(002).
ELSE.
MESSAGE e999(zfagm) WITH p_event 'is successfully actived'(002).
ENDIF.
ENDIF.
Max -
Hi all,
Can anyone give sample code for TREE TYPE REPORT(simple code), like for example: The list should contain 2 main items (parent item) and when i expand each item i should have 1 item(child item) .and when i double click on that it should perform some action say it should go to new list.
like :
+ food
+ tools
(this is in first list , 2 main items) when i expand this
- food
noodles
- tools
hammer
(this sub item , when i click on this it should go to new list)
thanks in advance.
kumaran.cHI Kumaran,
Have a look at the following code of simple tree control ...Its in module pool style.. will copy each include as well..
*& Module Pool ZKM_SIMPLETREE_CONTROL
REPORT ZKM_SIMPLETREE_CONTROL.
INCLUDE ZKM_TOP.
INCLUDE ZKM_CL.
INCLUDE ZKM_PBO_100O01.
INCLUDE ZKM_FORM01.
INCLUDE ZKM_PAI_100I01.
START-OF-SELECTION.
create the application object
this object is needed to handle the ABAP Objects Events of
Controls
CREATE OBJECT G_APPLICATION.
SET SCREEN 1000.
*& Include ZKM_TOP
*REPORT ZKM_SIMPLETREE_CONTROL MESSAGE-ID TREE_CONTROL_MSG.
CLASS lcl_application DEFINITION DEFERRED.
CLASS cl_gui_cfw DEFINITION LOAD.
TYPES: node_table_type LIKE STANDARD TABLE OF zkm_treesnode
WITH DEFAULT KEY.
CAUTION: MTREESNODE is the name of the node structure which must
be defined by the programmer. DO NOT USE MTREESNODE!
*internal table and work area for storing all the nodes that are created
DATA: gt_nodetable TYPE node_table_type,
gw_nodetable TYPE zkm_treesnode.
*objects refering to the classes used.
DATA: g_application TYPE REF TO lcl_application,
g_custom_container TYPE REF TO cl_gui_custom_container,
g_tree TYPE REF TO cl_gui_simple_tree.
Fields on Dynpro 1000
DATA: g_event(30),
g_key TYPE i,
g_node_key TYPE tv_nodekey.
Fields on Dynpro 2000
DATA: g_relatship TYPE i,
g_cb_sub,
g_cb_same,
g_cb_under VALUE 'X',
g_nodename(30).
Structure for preserving the skeleton
TYPES: BEGIN OF ty_flag,
relatkey TYPE tv_nodekey,
node_key TYPE tv_nodekey,
flag TYPE i, "1 = skeleton
"2 = service line
"3 = levels
END OF ty_flag.
DATA: gt_flag TYPE TABLE OF ty_flag,
gw_flag TYPE ty_flag.
*structure storing the hierarchy and the nodes under them.
***INCLUDE ZKM_PBO_100O01 .
*& Module PBO_1000 OUTPUT
text
MODULE pbo_1000 OUTPUT.
SET PF-STATUS 'ZMAIN'.
SET TITLEBAR 'ZTITLE'.
IF g_tree IS INITIAL.
" The Tree Control has not been created yet.
" Create a Tree Control and insert nodes into it.
PERFORM create_and_init_tree.
ENDIF.
*registering keys which can trigger the event
PERFORM register_key_strokes.
*checking status of the actions performed
CASE sy-ucomm.
WHEN 'ADD'. "node successfully added
MESSAGE s002(zkm_class).
WHEN 'YES'. "node successfully deleted
MESSAGE s003(zkm_class).
WHEN 'NO' OR 'CANCEL'. "action cancelled
MESSAGE s007(zkm_class).
ENDCASE.
ENDMODULE. " PBO_1000 OUTPUT
*& Module PBO_2000 OUTPUT
text
MODULE pbo_2000 OUTPUT.
SET PF-STATUS 'ZDIALOG'.
SET TITLEBAR 'ZADD'.
*setting the attributes of the screen field depending on node attributes
READ TABLE gt_flag INTO gw_flag WITH KEY node_key = g_node_key.
IF gw_flag-flag = 3.
LOOP AT SCREEN.
IF screen-name = 'BRANCH'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
ENDMODULE. " PBO_2000 OUTPUT
*& Module PBO_3000 OUTPUT
text
MODULE pbo_3000 OUTPUT.
SET PF-STATUS 'ZDIALOG'.
SET TITLEBAR 'ZCONFIRM'.
ENDMODULE. " PBO_3000 OUTPUT
***INCLUDE ZKM_PAI_100I01 .
*& Module PAI_1000 INPUT
text
MODULE pai_1000 INPUT.
DATA: return_code TYPE i.
CL_GUI_CFW=>DISPATCH must be called if events are registered
that trigger PAI
this method calls the event handler method of an event
CALL METHOD cl_gui_cfw=>dispatch
IMPORTING
return_code = return_code.
IF return_code <> cl_gui_cfw=>rc_noevent.
"a control event occured => exit PAI.
EXIT.
ENDIF.
CASE sy-ucomm.
WHEN 'ADDND'.
*check whether node has been selected or not
IF g_event NE 'NODE_DOUBLE_CLICK'. "AND g_node_key EQ ' '.
MESSAGE e000(zkm_class).
ELSE.
*whether selected node can have sub-branches or not
READ TABLE gt_nodetable INTO gw_nodetable WITH KEY node_key = g_node_key.
IF gw_nodetable-isfolder = ' '.
MESSAGE e006(zkm_class).
ELSE.
*call screen for adding the node.
CALL SCREEN 2000 STARTING AT 20 10.
ENDIF.
ENDIF.
CLEAR g_event.
WHEN 'DELND'.
*check whether node has been selected or not
IF g_event NE 'NODE_DOUBLE_CLICK'.
MESSAGE e000(zkm_class).
ELSE.
*skeleton should not be deleted.
IF g_node_key EQ 'Capgemini' OR
g_node_key EQ 'TSP-SAP-CRM' OR
g_node_key EQ 'MANAGERS' OR
g_node_key EQ 'TEAM LEAD'.
MESSAGE e004(zkm_class).
ENDIF.
*call screen for confirmation
CALL SCREEN 3000 STARTING AT 20 10.
ENDIF.
CLEAR g_event.
WHEN 'TEST'.
CALL METHOD g_tree->expand_node
EXPORTING
node_key = 'New1'.
WHEN 'BACK'. " Finish program
IF NOT g_custom_container IS INITIAL.
destroy tree container (detroys contained tree control, too)
CALL METHOD g_custom_container->free
EXCEPTIONS
cntl_system_error = 1
cntl_error = 2.
IF sy-subrc <> 0.
MESSAGE a000.
ENDIF.
CLEAR g_custom_container.
CLEAR g_tree.
ENDIF.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " PAI_1000 INPUT
*& Module pai_2000 INPUT
text
MODULE pai_2000 INPUT.
DATA: node_table TYPE node_table_type,
node LIKE zkm_treesnode.
CASE sy-ucomm.
WHEN 'BACK'.
CALL SCREEN 1000.
WHEN 'ADD'.
IF g_nodename IS INITIAL. "Has to enter the Node name
MESSAGE s005(zkm_class).
CALL SCREEN 2000 STARTING AT 20 10.
ELSE.
*Checking whether specified node already exists or not
READ TABLE gt_nodetable INTO gw_nodetable WITH KEY node_key = g_nodename.
IF sy-subrc EQ 0.
CLEAR gw_flag.
MESSAGE s008(zkm_class).
CALL SCREEN 2000 STARTING AT 20 10.
ENDIF.
*assigning attributes to the node
CLEAR node.
CLEAR node_table.
node-node_key = g_nodename. "Key of the Node.
node-relatkey = g_node_key. "Relationship with the selected node
node-relatship = cl_gui_simple_tree=>relat_last_child.
*checking whether the node would be a folder or a leaf
READ TABLE gt_flag INTO gw_flag WITH KEY node_key = g_node_key.
IF gw_flag-flag = 1 OR gw_flag-flag = 2.
node-hidden = ' '.
node-disabled = ' '.
node-isfolder = 'X'.
CLEAR node-n_image.
CLEAR node-exp_image.
CLEAR node-expander.
IF gw_flag-flag EQ 1.
gw_flag-flag = 2.
ELSE.
gw_flag-flag = 3.
ENDIF.
ELSEIF gw_flag-flag = 3.
node-n_image = '@XY@'.
node-isfolder = ' '.
node-expander = ' '.
gw_flag-flag = 3.
ENDIF.
CLEAR node-exp_image.
node-text = g_nodename.
APPEND node TO node_table.
*keeping records of all the nodes added in the tree
gw_nodetable = node.
APPEND gw_nodetable TO gt_nodetable.
CLEAR gw_nodetable.
*append structure 'FLAG' to group the added node according to position
gw_flag-relatkey = g_node_key.
gw_flag-node_key = g_nodename.
APPEND gw_flag TO gt_flag.
CLEAR gw_flag.
*adding nodes in the tree
CALL METHOD g_tree->add_nodes
EXPORTING
table_structure_name = 'ZKM_TREESNODE'
node_table = node_table
EXCEPTIONS
error_in_node_table = 1
failed = 2
dp_error = 3
table_structure_name_not_found = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CLEAR g_nodename. "clearing screen field
CALL SCREEN 1000.
ENDIF.
WHEN 'CANCEL'.
CALL SCREEN 1000.
ENDCASE.
ENDMODULE. " pai_2000 INPUT
*& Module PAI_3000 INPUT
text
MODULE pai_3000 INPUT.
CASE sy-ucomm.
WHEN 'YES'. "user agrees to delete the node
CALL METHOD g_tree->delete_node
EXPORTING
node_key = g_node_key
EXCEPTIONS
failed = 1
node_not_found = 2
cntl_system_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
gw_nodetable-node_key = g_node_key.
gw_flag-node_key = g_node_key.
READ TABLE gt_nodetable INTO gw_nodetable WITH KEY node_key = g_node_key.
IF sy-subrc EQ 0.
DELETE gt_nodetable INDEX sy-tabix.
ENDIF.
READ TABLE gt_flag INTO gw_flag WITH KEY node_key = g_node_key.
IF sy-subrc EQ 0.
DELETE gt_flag INDEX sy-tabix.
ENDIF.
CLEAR gw_flag.
CLEAR gw_nodetable.
CALL SCREEN 1000.
ENDIF.
WHEN 'NO'. "user clicks the cancel button
CALL SCREEN 1000.
ENDCASE.
ENDMODULE. " PAI_3000 INPUT
***INCLUDE ZKM_FORM01 .
*& Form create_and_init_tree
text
--> p1 text
<-- p2 text
FORM create_and_init_tree .
DATA: node_table TYPE node_table_type,
events TYPE cntl_simple_events,
event TYPE cntl_simple_event.
*create a container for the tree control.
CREATE OBJECT g_custom_container
EXPORTING
" the container is linked to the custom control with the
" name 'TREE_CONTAINER' on the dynpro
container_name = 'TREE_CONTAINER'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*create tree control.
CREATE OBJECT g_tree
EXPORTING
parent = g_custom_container
node_selection_mode = cl_gui_simple_tree=>node_sel_mode_single
EXCEPTIONS
lifetime_error = 1
cntl_system_error = 2
create_error = 3
failed = 4
illegal_node_selection_mode = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*define events which will be passed to the backend.
"node double click.
event-eventid = cl_gui_simple_tree=>eventid_node_double_click.
event-appl_event = 'X'. "process PAI if event occurs.
APPEND event TO events.
"expand no children.
event-eventid = cl_gui_simple_tree=>eventid_expand_no_children.
event-appl_event = 'X'.
APPEND event TO events.
"node key press
event-eventid = cl_gui_simple_tree=>eventid_node_keypress.
event-appl_event = 'X'.
APPEND event TO events.
"NODE_CONTEXT_MENU_REQUEST
event-eventid = cl_gui_simple_tree=>eventid_node_context_menu_req.
event-appl_event = 'X'.
APPEND event TO events.
"event node_context_menu_select is automatically registered on registering
" the event NODE_CONTEXT_MENU_REQUEST
" process PAI if context menu select event occurs
CALL METHOD g_tree->set_ctx_menu_select_event_appl
EXPORTING
appl_event = 'X'.
CALL METHOD g_tree->set_registered_events
EXPORTING
events = events
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
illegal_event_combination = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*assign event handlers in the application class to each desired event.
SET HANDLER g_application->handle_node_double_click FOR g_tree.
SET HANDLER g_application->handle_expand_no_children FOR g_tree.
SET HANDLER g_application->handle_node_keypress FOR g_tree.
SET HANDLER g_application->handle_node_context_menu_req FOR g_tree.
SET HANDLER g_application->handle_node_context_menu_sel FOR g_tree.
add some nodes to the tree control
NOTE: the tree control does not store data at the backend. If an
application wants to access tree data later, it must store the
tree data itself.
PERFORM build_node_table USING node_table.
CALL METHOD g_tree->add_nodes
EXPORTING
table_structure_name = 'ZKM_TREESNODE'
node_table = node_table
EXCEPTIONS
error_in_node_table = 1
failed = 2
dp_error = 3
table_structure_name_not_found = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " create_and_init_tree
*& Form BUILD_NODE_TABLE
text
-->P_NODE_TABLE text
FORM build_node_table
USING node_table TYPE node_table_type.
DATA: node LIKE zkm_treesnode.
Build the node table.
Caution: The nodes are inserted into the tree according to the order
in which they occur in the table. In consequence, a node must not
occur in the node table before its parent node.
*Node with key 'Capgemini'.
node-node_key = 'Capgemini'. "Key of the node.
CLEAR node-relatkey. "Special case.. A root node has no parent node.
CLEAR node-relatship.
node-hidden = ' '. "Node is visible.
node-disabled = ' '. "Selectable.
node-isfolder = 'X'. "folder.
CLEAR node-n_image. "Folder-/ Leaf-Symbol in state "closed":
"use default.
CLEAR node-exp_image. "Folder-/ Leaf-Symbol in state "open".
"use default.
CLEAR node-expander.
node-text = 'Capgemini'.
APPEND node TO node_table.
gw_nodetable = node.
APPEND gw_nodetable TO gt_nodetable.
CLEAR gw_nodetable.
CLEAR gw_flag-relatkey.
gw_flag-node_key = 'Capgemini'.
gw_flag-flag = 1. "Skeleton
APPEND gw_flag TO gt_flag.
CLEAR gw_flag.
CLEAR node.
*Node with key 'TSP-SAP-CRM'.
node-node_key = 'TSP-SAP-CRM'. "Key of the Node.
"Node is inserted as child of the node with key 'Root'.
node-relatkey = 'Capgemini'.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-hidden = ' '. "Node is visible.
node-disabled = ' '. "Selectable.
node-isfolder = 'X'. "folder.
CLEAR node-n_image. "Folder-/ Leaf-Symbol in state "closed":
"use default.
CLEAR node-exp_image. "Folder-/ Leaf-Symbol in state "open".
"use default.
CLEAR node-expander.
node-text = 'TSP-SAP-CRM'.
APPEND node TO node_table.
gw_nodetable = node.
APPEND gw_nodetable TO gt_nodetable.
CLEAR gw_nodetable.
*adding the node for corresponding relatkey
gw_flag-relatkey = 'Capgemini'.
gw_flag-node_key = 'TSP-SAP-CRM'.
gw_flag-flag = 2. "Service line
APPEND gw_flag TO gt_flag.
CLEAR gw_flag.
*creating new relatkey in gt_flag
gw_flag-relatkey = 'TSP-SAP-CRM'.
gw_flag-node_key = ' '.
gw_flag-flag = '2'.
APPEND gw_flag TO gt_flag.
*Node with key 'Managers'
node-node_key = 'MANAGERS'.
node-relatkey = 'TSP-SAP-CRM'.
node-relatship = cl_gui_simple_tree=>relat_last_child.
CLEAR node-n_image.
CLEAR node-exp_image.
CLEAR node-expander. " = ' '.
node-isfolder = 'X'.
node-text = 'Managers'.
APPEND node TO node_table.
gw_nodetable = node.
APPEND gw_nodetable TO gt_nodetable.
CLEAR gw_nodetable.
gw_flag-relatkey = 'TSP-SAP-CRM'.
gw_flag-node_key = 'MANAGERS'.
gw_flag-flag = 3. "Levels
APPEND gw_flag TO gt_flag.
CLEAR gw_flag.
gw_flag-relatkey = 'MANAGERS'.
gw_flag-node_key = ' '.
gw_flag-flag = '2'.
APPEND gw_flag TO gt_flag.
*Node with key 'Team Lead'.
node-node_key = 'TEAM LEAD'.
node-relatkey = 'TSP-SAP-CRM'.
node-relatship = cl_gui_simple_tree=>relat_last_child.
CLEAR node-n_image.
CLEAR node-exp_image.
CLEAR node-expander. " = ' '.
node-isfolder = 'X'.
node-text = 'TEAM LEAD'.
APPEND node TO node_table.
gw_nodetable = node.
APPEND gw_nodetable TO gt_nodetable.
CLEAR gw_nodetable.
gw_flag-relatkey = 'TSP-SAP-CRM'.
gw_flag-node_key = 'Team_Lead'.
gw_flag-flag = 3. "Levels
APPEND gw_flag TO gt_flag.
CLEAR gw_flag.
gw_flag-relatkey = 'TEAM LEAD'.
gw_flag-node_key = ' '.
gw_flag-flag = '2'.
APPEND gw_flag TO gt_flag.
ENDFORM. " BUILD_NODE_TABLE
*& Form register_key_strokes
text
--> p1 text
<-- p2 text
FORM register_key_strokes .
g_key = cl_tree_control_base=>key_delete.
"process PAI if node key press occurs
CALL METHOD g_tree->add_key_stroke
EXPORTING
key = g_key
EXCEPTIONS
failed = 1
illegal_key = 2
cntl_system_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
g_key = cl_tree_control_base=>key_enter.
"process PAI if node key press occurs
CALL METHOD g_tree->add_key_stroke
EXPORTING
key = g_key
EXCEPTIONS
failed = 1
illegal_key = 2
cntl_system_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
g_key = cl_tree_control_base=>key_insert.
CALL METHOD g_tree->add_key_stroke
EXPORTING
key = g_key
EXCEPTIONS
failed = 1
illegal_key = 2
cntl_system_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " register_key_strokes
***INCLUDE ZKM_CL .
*& Class LCL_APPLICATION
Text
CLASS lcl_application DEFINITION.
PUBLIC SECTION.
METHODS:
handle_node_double_click
FOR EVENT node_double_click
OF cl_gui_simple_tree
IMPORTING node_key,
handle_expand_no_children
FOR EVENT expand_no_children
OF cl_gui_simple_tree
IMPORTING node_key,
handle_node_keypress
FOR EVENT node_keypress
OF cl_gui_simple_tree
IMPORTING node_key key,
handle_node_context_menu_req
FOR EVENT node_context_menu_request
OF cl_gui_simple_tree
IMPORTING node_key menu,
handle_node_context_menu_sel
FOR EVENT node_context_menu_select
OF cl_gui_simple_tree
IMPORTING node_key fcode.
ENDCLASS. "LCL_APPLICATION
*& Class (Implementation) LCL_APPLICATION
Text
CLASS lcl_application IMPLEMENTATION.
METHOD handle_node_double_click.
" this method handles the node double click event of the tree
" control instance
" show the key of the double clicked node in a dynpro field
g_event = 'NODE_DOUBLE_CLICK'.
g_node_key = node_key.
ENDMETHOD. "HANDLE_NODE_DOUBLE_CLICK
METHOD handle_expand_no_children.
" this method handles the expand no children event of the tree
" control instance
DATA: node_table TYPE node_table_type,
node TYPE zkm_treesnode.
"show the key of the double clicked node on the dynpro field.
g_event = 'EXPAND_NO_CHILDREN'.
g_node_key = node_key.
IF node_key = 'TSP-SAP-CRM'.
*add two nodes to the tree control (The children of Child1).
*Node with key 'New1'.
CLEAR node.
node-node_key = 'Managers'.
node-relatkey = 'TSP-SAP-CRM'.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-n_image = '@XY@'.
CLEAR node-exp_image.
node-expander = ' '.
node-isfolder = ' '.
node-text = 'Managers'.
APPEND node TO node_table.
*Node with key 'New2'.
CLEAR node.
node-node_key = 'Team_Lead'.
node-relatkey = 'TSP-SAP-CRM'.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-n_image = '10'.
CLEAR node-exp_image.
node-expander = ' '.
node-isfolder = ' '.
node-text = 'Team Lead'.
APPEND node TO node_table.
ENDIF.
CALL METHOD g_tree->add_nodes
EXPORTING
table_structure_name = 'MTREESNODE'
node_table = node_table
EXCEPTIONS
error_in_node_table = 1
failed = 2
dp_error = 3
table_structure_name_not_found = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDMETHOD. "HANDLE_EXPAND_NO_CHILDREN
METHOD handle_node_keypress.
g_node_key = node_key.
CASE key.
WHEN 2.
g_event = 'DELETE KEY PRESSED'.
READ TABLE gt_flag INTO gw_flag WITH KEY node_key = g_node_key.
IF gw_flag-flag EQ 1.
MESSAGE e004(zkm_class).
ENDIF.
CALL SCREEN 3000 STARTING AT 20 10.
CLEAR g_event.
WHEN 3.
g_event = 'INSERT KEY PRESSED'.
READ TABLE gt_nodetable INTO gw_nodetable WITH KEY node_key = g_node_key.
IF gw_nodetable-isfolder = ' '.
MESSAGE e006(zkm_class).
ELSE.
CALL SCREEN 2000 STARTING AT 20 10.
MESSAGE s001(zkm_class).
ENDIF.
CLEAR g_event.
WHEN 5.
g_event = 'ENTER KEY PRESSED'.
READ TABLE gt_nodetable INTO gw_nodetable WITH KEY node_key = node_key.
IF gw_nodetable-isfolder = ' '.
MESSAGE e009(zkm_class).
ELSE.
CALL METHOD g_tree->expand_node
EXPORTING
node_key = node_key
EXCEPTIONS
failed = 1
illegal_level_count = 2
cntl_system_error = 3
node_not_found = 4
cannot_expand_leaf = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
ENDCASE.
CALL METHOD g_tree->remove_all_key_strokes
EXCEPTIONS
failed = 1
cntl_system_error = 2.
ENDMETHOD. "HANDLE_NODE_KEYPRESS.
METHOD handle_node_context_menu_req.
g_event = 'NODE_CONTEXT_MENU_REQ'.
g_node_key = node_key.
CALL METHOD menu->add_function
EXPORTING
fcode = 'ADD'
text = 'Add Node'.
CALL METHOD menu->add_function
EXPORTING
fcode = 'DELETE'
text = 'Delete Node'.
ENDMETHOD. "handle_node_context_menu_req
METHOD handle_node_context_menu_sel.
g_event = 'NODE_CONTEXT_MENU_SELECT'.
CASE fcode.
WHEN 'ADD'.
READ TABLE gt_nodetable INTO gw_nodetable WITH KEY node_key = g_node_key.
IF gw_nodetable-isfolder = ' '.
MESSAGE e006(zkm_class).
ELSE.
CALL SCREEN 2000 STARTING AT 20 10.
MESSAGE s001(zkm_class).
ENDIF.
CLEAR g_event.
WHEN 'DELETE'.
IF g_node_key EQ 'Capgemini' OR
g_node_key EQ 'TSP-SAP-CRM' OR
g_node_key EQ 'MANAGERS' OR
g_node_key EQ 'TEAM LEAD'.
MESSAGE e004(zkm_class).
ENDIF.
CALL SCREEN 3000 STARTING AT 20 10.
CLEAR g_event.
ENDCASE.
ENDMETHOD. "handle_node_context_menu_sel
ENDCLASS. "LCL_APPLICATION
This is a complete tree control application.. I am sure it will solve all your problems.
Pls pls reward points if useful.
Regards,
Karan -
I recently upgraded from Discoverer v 9.0.2 to Discoverer v 10.1.2.1 - I exported the EUL by exporting the EUL owner (we called it Discoverer). I created a new schema on a new machine called REPORT_ADMIN. I imported the data using fromuser=Discoverer touser=REPORT_ADMIN. I then followed the instructions for upgrading an eul and I opened Discoverer Administrator using REPORT_ADMIN. It automatically upgraded the EUL for me but when I look at the reports for REPORT_ADMIN there are numerous reports missing. Did I miss a step - do I need to import the eex file?
Thank youHi,
Have you tried the link below to troubleshoot this issue:
Service Manager 2012 Reporting Wunderbar Missing Reports
http://blogs.technet.com/b/brianbarrington/archive/2014/05/19/service-manager-2012-reporting-wunderbar-missing-reports.aspx
System Center Service Manager 2012 Management Server is connected to my Data Warehouse server but no reports are showing in the Service Manager console--how can I make them display?
http://windowsitpro.com/system-center/q-system-center-service-manager-2012-management-server-connected-my-data-warehouse-ser
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
BI Publisher report ends with Warning Message for Pivot type reports..
Hi,
I had used BI reporting(xml publisher) to develop our all reports and registered in R12 and works fine for all the tabular/forms type reports but it fails with the warning message(colored in yellow) for Pivot type reports. The output comes in xml..
When I changed the pivot table type report to tabular it comes with pdf. No issues.I do not know how to solve this issue...
Please help me on this..
Thanks
ImranWelcome to the forums !
Pl post details of OS, database and EBS versions, along with the complete error message.
HTH
Srini -
EWA Report Issue: No complete data is populated in EWA report
Hi All,
I am facing a problem where in, the generated EWA report for our XI system is not poplated with the complete data. This problem is there from past 2 months and before that this EWA report for XI system was duly generated with full and correct data.
There has been no changes in the recent time and all of a sudden this problem erupt. May any one help me in diagnosing this problem and solving it? Help is greatly appreciated.
Should there be any queries, please do ask me.
Waiting for your kind replies.
Regards,
FaisalHi Faisal,
Last time I asked you if the Red flag was gone.
You are saying the ABAP data is missing.
This would mean there is a Rated EWA report missing the ABAP instance data.
Does this mean it is a dual stack and the Java data is present.
EWA is a pretty straight forward process, so if you follwo the process, you can usually narrow down where the problem has occurred.
If ABAP data is missing in a generated EWA report, the first place to look for that missing data is in the service session.
You can view the service session by clicking the eye glasses under tha activity column in DSWP, or entering the session number in transaction DSA. If the data is mssing, then it never got to solution manger from the managed system, so you would then check the RFC functions and the RFC user has a valid logon, THere would be no point checking SM:EXEC:SERRVICES, or authorizations if the data is not int he service session.
If the data is in the service session and is missing, then it would be in the processing of the session into a Word ot HTML document, not the processing of the service session, because it would be processed and rated already by SM:EXEC SERVICES..
I had explained that you create an EWA and it is scheduled in DSWP > Solution Monitoring > Earlywatch Alert
it creates a service session, with a number and a tree. This is determined by the defintions in SMSY and the mapping to the DMD. It is scheduled for a date and time. On the managed system via RFC throught the maintenance package task in SDCCN or perhaps a scheduled refresh session taask, runs and via RFC to SOlman, logs on with the RFC use (SM*_BACK) and gets the
session numbers of unprocessed servies sessions for that SID. If it can't open the service session, it will just find not sessions to refresh. If it can, then an EWA task is created that will prepare a transport with the collected data. So if the collectors have issues, data won't be available. ST-A/PI and ST-PI are involved on colelction of data and preparation for transport on managed systems. But there is also SAPOSCOL and ST03 and ST06 that need to be checked. The SDCCN EWA task log. Then it sends the data back to Solman via the RFC and either the single Flask or the red flag will then turn to 2 flasks indicating the data is ready to be processed by SM:EXEC SERVICES. SM:EXEC SERVICES processes the session, populates it, and rates it.
Then you can look at the session in DSA o DSWP, you can geerate the report in Word or HTML.
So this is the process.flow overview. And it helps to know where it gets to in the flow to determine where something went missing or if it was ever there at all.SM:EXEC SERVICES doesn't colelc the data. So if it processes a service session the user had the authorizations. If the data is not int he service session its because it was never passed to Solution manage.
Iif the data is in thd service session, but missing from the report, then the issue is likely with ST-SER, or perhaps SCU.update has not been applied.
I suspect that the data is not in the service session and you are still having issues. Is the EWA still red flagged? Yes or No?
If yes, then you still have an issue where no ABAP data was sent via SDCCN to Solman. If no, then likely there is an issue with
collection, where data is being sent, but some data is missing, and this could be due to errors that have not been addressed in the SDCCN task logs. Or it could be problems wit SDCCN service definitions, and may need to be replaced.
I hope tis helps.
Regards,
Paul -
Roadrunner reports missing Windows Media Player 9 when accessing roadrunner Radio
Roadrunner report missing Windows Media Player 9 when trying to run Roadrunner Radio. I have higher version of Media Player on p.c. Is this an add-on I have to download?
Close your iTunes,
Go to command Prompt -
(Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
(Win XP SP2 n above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
In the "Command Prompt" screen, type in
netsh winsock reset
Hit "ENTER" key
Restart your computer.
If you do get a prompt after restart windows to remap LSP, just click NO.
Now launch your iTunes and see if it is working now.
If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
Apple software on Windows: May see performance issues and blank iTunes Store
http://support.apple.com/kb/TS4123?viewlocale=en_US -
hi guys,
Can anyone tell me what is the easiest way to find out Report miss match error of bi with r3 report especially in fi.
thanks in advance,
regards,
Bunty.lots of ways we can do that.Check your reconciliation reports at your organistaion , then you will get an idea how they compare each time otherwise in general everybody copies data in excel and want to compare.
-
Condition type is missing in Pricing Procedure determination
Hi experts,
We have a problem with Pricing Condition type in CRM.
We have created a Transction in CRM as a follow up for the Transaction which is replicated from ECC to CRM the pricing procedure has been determined. But the net value is "0".
when I checked in the conditions tab page "the condition type is missing" I checked Pricing Procedure the condition type is very much there. Then I checked for access sequence for that Condition type "Access sequence is also maintained.
Then I checked copy controls for the Source and Target Item categories, for copy conditions the indicator is set up as "copy conditions,Redetermine taxes" then I changed it to "Copy all conditions".
But still it is not happening.
Can any please help me in this regard? Did I miss any configuration?
Any help will be rewarded with points.
Regards,
Frederick.Hi Fredrick,
This requirement must be assigned in your Pricing Procedure for condition type VKPO.
The system first checks whether the requirement is fulfilled and than only execute that condition type.
Requirements are nothing but Java Routines, which check for some condition before executing a condition type.
For this Go to path
IMG: CRM-> Basic Functions-> Pricing-> Define settings for Pricing-> Create Pricing Procedure.
Choose your pricing procedure here. Here for the condition type VKPO requirement 41 must be assigned in column REQ. The requirements are coded in JAVA in SAP CRM.
If this Pricing Procedure has been downloaded from SAP R/3, u can check in R/3 itself (Tcode: V/08) what the requirement is meant for, but choosing F1 and than the path for customizing.
Regards,
Shalini Chauhan
Edited by: Shalini Chauhan on Apr 29, 2008 2:43 PM -
Unit of measure for calculation type C must be completed
Hi All
When releasing some contracts in SRM , we are getting the error message as above.
The error message doesn't specify any particular part and the contract has more than 3000 parts.
There are no conditions at header or item level.
There is no Target quantity also. Just a Target value for the contract and prices for individual items are maintained.
We are using extended classic scenario and the contract is manually created in SRM.
I have checked the OSS notes for this error, but they are mostly for contract creation in Bidding and not for a manually created SRM contract.
We checked the UOMs for all the contract parts with the UOMs ( Base and Purchasing) in ECC Material Master and they are OK.
In our scenario , MM changes in ECC are replicated to SRM in real time
Any pointers towards pin pointing the error will be rewarded!
Regards
KedarHi,
We encountered this error message and resolved the problem by applying the following 3 SAP Notes:
a) Note #1022928 - Unit of Measure for Calculation Type C Must Be Completed
(Previously Mentioned)
b) Note #1702484 - Unit of Measure for Calculation Type C Must Be Completed
c) Note #1517648 - Default Conditions Added for Product Category Item Type
Although the contract required is similar to a "Limit" item, but had to be placed for bid, then the RFX PS Item Type was set to "Service" to receive the bid responses. After accepting the bid response, then we created a contract from the bid response. Since it was to be a "Limit" type contract, then we immediately removed the data from the following fields:
Remove the Quantity
Remove the Unit of Measure
Remove the Price
Remove the Price Condition
After removing the values from these fields, then we switched the PS Item Type from "Service" to "Product Category". We added the Guaranteed Minimum and account assignment data to encumber the funds. We were able to "Release" the contract successfully.
Bob Zinsmeister -
Control data for storage type is missing Message no. L3006
Dear Mates
i am trying to create a transfer order from delivery. the moment i click on save in LT03 its giving me the error message as
Control data for storage type is missing
Message no. L3006
i have explored every thread regarding the same issue and also implemented some measures like
-> extending the material to particular warehouse and maintaining stock removal and stock placement strategies in it(i created new one from MM01 itself)
-> going to spro path SPRO->Logistics Execution->shipping->picking->Lean WM->Define storage type. and assigned storage type.
but still i am getting the same message in LT03
can you please help me out on this.Please take a look at the following links and see if they will help at all.
Error on creating a TO - Control data for storage type is missing
"control data for storage type is missing"
Kind Regards,
Jason -
"control data for storage type is missing"
Hi Guys
I am trying to create a goods receipt for an inbound delivery.
I created the inbound delivery VL31N - sucessfully
But when trying to create a putaway LT0F - error
control data for storage type is missing. msg no. L3006
Do i maiantain this control data for storage type in the Material master?
is there anything Im doing wrong?
Can someone help please.
Thanks in advance for the help.
Ahmad YahyaHi,
Check in SPRO > Logistics Execution > Warehouse Management > Master Data > Define storage type, here for your warehouse and storage type check stock placement and stcok removal control is configured.
Regards,
Prabu
Maybe you are looking for
-
Post 2010-005 security update freshclam now complains
I applied the 2010-005 security update to 3 of our Xserves. These invoke freshclam via a cronjob (/usr/bin/freshclam --no-dns --quiet). Post security update we now get this output mailed to us after the cronjob runs: LibClamAV Warning: Cannot dlopen
-
Problem configuring Email transport for business service
Hi, I'm trying to configure an email transport for an outgoing business service and the General Configuration page is showing the error: [WliSbTransports:381030]Neither SMTP nor mail session exists and consequently the Email Transport configuration p
-
After updating to iOS 7.0.4 the phone wants to set up. I choose I-tunes, it syncronises but then nothing else happens. I can't reach anything, I can't pass this step even though I can see at my computer that it syncronises. Hope someone knows what to
-
Hi, We recently upgraded the oracle version from 9.07 to 9.08. Since the upgrade out application has been performing poorly. We spoke to the Oracle DBAs and they identified this to be a latch contention problem. They changed the cursor sharing from e
-
I am in the process of switching from iPhoto and Flickr to Revel. Everything went fine with dozens of albums and thousands of photos, until I tried to import photos directly from an SD card on my desktop. After I (perhaps too early) removed the SD ca