UCCX 8.5.1 SU2 Agent Line/Ext on Two IP Communicators - Only One Will Be Registered

I have a corner case where an agents laptop may use a local Gigabit Ethernet port or a different Gigabit Ethernet port located on a laptop docking station using IP Communicator 8.6(2).
Due to a requirement for QM/Compliance Recording (per Calabrio), we need to code the SEP<NIC MAC ADDRESS> for each potential port; meaning I will have two IPCs coded; each with a unique device name set to SEP<NIC MAC ADDRESS>.
The IP Communicators are set to generate their device name automatically.  This means that they can only use / register one IPC at a time.
In the lab, having two IPCs configured with an identical line seems to function 100% when only one of IPC stations is registered to CUCM. 
SRND and various posts state the usual about shared lines for agents being unsupported.
Does my scenario fit with "this is a shared line" which would force us to alter design and complicate the user experience with extension mobility?
Thoughts?
Code in use is CUCM 8.6 and UCCX 8.5(1)SR2; CAD is being exclusively used on Win 7.

Calabrio professional services has informed us (and it was re-confirmed) that IPC needs to present the NIC being used for CR/QM/AQM to provide desktop recording functionality.
Do you have experience where you have "hard-set" or statically configured the device name to one of the NICs (LAN) but it also worked for other interfaces with unique MAC addresses (WLAN, dock LAN, AnyConnect)?
Also, our Cisco SE posed this question via IM to his Cisco AS associate and got a conflicting report; the justification was that "shared" in UCCX context means two or more active-registered to CUCM phone appliances with identical DN/in any partition (versus the CUCM definition of identical DN in a single partition).  He seemed to have direct knowledge of using two phone appliances associated to the same user/agent for a phone appliance migration effort (7940s to 7942s) where everything was pre-configured, the old phone was removed and the new one placed (only one entry was registered at a time).
Do I trust Cisco SE/AS resources or SRND?
Thanks

Similar Messages

  • UCCX 8.5(1)SU2 Agent E-mail Historical Reports

    Hi All, Anyway to generate a report on UCCX Historical Reporting client for E-mails which have been "forwarded" or "Printed" by Agent? Only thing which supervisors can report are emails which have been deleted after a forward or print. but then again this is not accurate information for us. I hope CUIC in version 9.x will allow us to report on forwarded/printed emails. Thanks, Yavuz

    Yavuz,
    It doesnt look possible out of the box, customization might help.
    About CUIC's capability of meeting the requirement, you might want to post your query at following portals
    https://communities.cisco.com/community/partner/collaboration/contactcenter/atp?view=discussions
    http://developer.cisco.com/web/ccr/forums
    HTH
    GP.
    Pls rate helpful posts !!

  • Why do borders for some cells allow changes in line thickness, but other cells are locked in only one thickness?

    It looks like you should be able to choose different line thickness for cell borders, but for some cells you can get three choices (0.5, 1, 2 pt), but in other cases you can only do 0.5?
    I can't make a consistent thickness border around the outside of all my cells!

    VS,
    Yes, I have lots of ideas. After all that work you probably don't want to hear them.
    1. I would use PDF versions of rotated text boxes, inserted into the cells as background Fill rather than floating the actual text boxes over the table.
    2. I would never merge a cell, or divide, a cell. Too many problems await you down the road if you do that. There are many ways in Numbers to avoid having to do those things. These are things we must do in Excel to get by, but we don't have to do them in Numbers.
    3. There is a Line Type called "Thin" that has only one size, and another line type shown as a heavier solid for which the weight can be adjusted. It's possible that you have some places where you need to change the line type.
    I believe that your difficulty may come from the merging of cells causing some ambiguity as to which border needs to be selected to change the display. This would be a bug, because you should be able to just select the border and edit it, but your table may have become so complex that the program has lost track of things in the course of all your changes.
    My suggestion is to print your table just as it is, for reference, and start over in a new document, not an imported one. Don't merge or split. Use multiple simple tables and the occasional text box for annotation. You will be on your way to doing things the "Numbers Way".
    Jerry

  • UCCX 8.5.1 SU3 agent get license error on signon

    Hi,
    Having an intermintent issue on UCCX 8.5.1 SU3  w/CUCM 8.6.2 SU2.
    From the agent debug logs, the day before the closing of CAD doesn't shutdown nicely it looks like (user did not report any errors at end of day when they shut down). The next morning they get licensing error when they try to log in and relaunch CAD 2-3 times then they can log in.
    The CAD version is correct and the LRM logs from server don't show this agent attempting to log in during the error, and the LRM log file only shows a successful log in from this agents PC IP address on the successful login. I restarted the LRM service to see if it helps today. Single UCCX server (no HA).
    AGENT DEBUG LOGS:
    2013-03-18 18:09:19:128 WARN DESK2121 Unable to write agent state change to RASCAL: GID=1363615138 Error=CORBA error.
    2013-03-18 18:09:20:267 WARN DESK2126 Unable to write call data to RASCAL: GID= 1363615138 Error=Client recovering connection to server
    2013-03-18 18:09:44:821 WARN DESK2018 Unable to update wrapup data to RASCAL: GID=1363615138 Error=Client recovering connection to server
    2013-03-18 18:09:44:821 WARN DESK2121 Unable to write agent state change to RASCAL: GID=1363615138 Error=Client recovering connection to server
    2013-03-18 18:10:26:130 INFO DESK1004 RASCAL auto-recovery message received.
    2013-03-18 18:10:26:161 INFO DESK1141 RASCAL Server Feature auto-recovery message received.
    2013-03-18 18:15:06:259 WARN STD3000 Get registry key <MTS_CitrixInstall> under path <SOFTWARE\Calabrio\CAD\Site Setup>. Object not found: <2:The system cannot find the file specified.>.
    2013-03-18 18:15:07:336 INFO SOCKET0000 <CADEEMConnector> service on port <59015> has started.
    2013-03-18 18:15:10:112 INFO VOIP4005 Desktop monitoring disabled for extension [1047].
    2013-03-18 18:15:11:782 ERROR DESK3007 Chat DropUser failed.
    2013-03-18 18:15:11:782 INFO DESK1053 Remaining time <2000>
    2013-03-18 18:15:11:782 INFO DESK1054 We received AS_LOGOUT so close CAD window.
    2013-03-18 18:15:12:187 INFO DESK1049 Releasing Agent License...
    2013-03-18 18:15:12:203 ERROR DESK3113 Unknown exception while releasing the license(s)
    2013-03-18 18:15:12:484 INFO STD0005 Client <Calabrio LDAP> disconnected from service at <10.1.1.10>.
    2013-03-18 18:15:12:593 INFO DESK1006 LDAP auto-recovery message received.
    2013-03-18 18:15:12:593 ERROR FCCC2009 Unexpected exception (Unexpected exception in Chat client service thread).
    The next morning, when they log in..
    2013-03-19 09:59:09:009 INFO LC0007 Invalid Value.
    2013-03-19 09:59:09:009 INFO LC0007 Invalid Value.
    2013-03-19 09:59:09:025 INFO LC0007 Invalid Value.
    2013-03-19 09:59:09:025 INFO LC0007 Invalid Value.
    2013-03-19 09:59:09:025 INFO LC0007 Invalid Value.
    2013-03-19 09:59:09:025 INFO LC0007 Invalid Value.
    2013-03-19 09:59:09:072 INFO STD0000 Starting preference change event dispatch thread.
    2013-03-19 09:59:10:179 INFO LC0000 Connected to Calabrio LDAP server on <10.1.1.10>.
    2013-03-19 09:59:10:179 INFO STD0004 Client <Calabrio LDAP> connected to service at <10.1.1.10>.
    2013-03-19 09:59:10:382 INFO DESK1122 Get Update Flag from LDAP successfully.
    2013-03-19 09:59:10:554 INFO SPUD0000 Successfully launched update from <C:\Program Files\Common Files\CAD\bin\update.exe>.
    2013-03-19 09:59:18:488 ERROR DESK3109 Could not obtain license from LRM.
    2013-03-19 09:59:19:600 ERROR DESK3113 Unknown exception while releasing the license(s)
    2013-03-19 09:59:19:600 ERROR DESK3113 Unknown exception while releasing the license(s)
    2013-03-19 09:59:19:614 INFO STD0005 Client <Calabrio LDAP> disconnected from service at <10.1.11.10>.

    Hi,
    DESK3109 Text: Could not obtain license from LRM.
    Type: Error
    Add’l Info: LRM is not running.
    Action: check if the server is running
    DESK3113 Text: Unknown exception while releasing the
    license(s)
    Type: Error
    Add’l Info: LRM is not running
    Action: check if the server is running
    FCCC2009 Text: Unexpected exception.
    Type: Fatal
    Add’l Info: CTIOS API waitforsingleobject fails.
    Action: Check system resource availability (CPU and
    memory).
    Reference:
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_8_5/reference/guide/cad85ccxecd.pdf
    I would suggest you to please restart the UCCX servers or LRM service specifically in your maintainance window and see if it helps.
    Thanks,
    Anand
    Please rate helpful posts !!

  • UCCX 10.5 - newly created agents can't login to CAD

    Hello,
    After upgrading UCM 8.6 to 10.5 and UCCX 8.5 to 10.5 I can't add new agents. I have installed second UCCX and reused CTI and RMCM users, registered CIPC, created end-user, configured IPCC extension and set CIPC in controlled devices on end user and rmcm user. DN is not a shared line. When I try to login to CAD it asks to associate the phone with RM JTAPI provider user. Agents created before upgrade works fine. I see the following traces:
    120643: Aug 08 16:46:18.387 MSK %MIVR-ICD_CTI-7-UNK:ClientConnMgr: Processing msg on socket:Socket[addr=10.1.9.66,port=62888,localport=12028] Msg is {length=71 type=SET_AGENT_STATE_REQ,invokeId=47,agentState=LOGIN,eventReasonCode=1,forcedFlag=False,agentID=m.denisov2,agentDN=1900,agentPwd=***** }
    120644: Aug 08 16:46:18.388 MSK %MIVR-ICD_CTI-7-UNK:This connection is using encrypted passwords for agent login message
    120645: Aug 08 16:46:18.401 MSK %MIVR-SS_RM-7-UNK:Processing msg: CTISetAgentStateReqMsg (Rsrc:m.denisov2 InvokeID:47 State:LOGIN Forced:False)
    120646: Aug 08 16:46:18.401 MSK %MIVR-SS_RM-7-UNK:Agent m.denisov2 is outbound capable.)
    120647: Aug 08 16:46:18.401 MSK %MIVR-SS_RM-7-UNK:Rsrc: m.denisov2 Contacts:
    120648: Aug 08 16:46:18.401 MSK %MIVR-SS_RM-7-UNK:Rsrc: m.denisov2 PrevState: UNKNOWN PrevStateSet:false
    120649: Aug 08 16:46:18.401 MSK %MIVR-SS_RM-7-UNK:Rsrcs in ARL of ESD RU-MSK-DIRECT_SALES: 
    120650: Aug 08 16:46:18.697 MSK %MIVR-SS_RM-7-UNK:Trying to authenticate agent m.denisov2
    120651: Aug 08 16:46:18.880 MSK %MIVR-SS_RM-7-UNK:Processing msg: class com.cisco.wf.subsystems.rmcm.msgs.UserAuthJobResponse Rsrc:m.denisov2
    120652: Aug 08 16:46:18.927 MSK %MIVR-SS_RM-7-UNK:Rsrc: m.denisov2 New State:LOGOFF Old State:LOGOFF Reason code:1
    120653: Aug 08 16:46:18.927 MSK %MIVR-SS_RM-7-UNK: The mapping SEP902B34750ED4-m.denisov2 has been added
    120654: Aug 08 16:46:18.927 MSK %MIVR-SS_RM-7-UNK:Terminal SEP902B34750ED4 IPv6 Address is NULL
    120655: Aug 08 16:46:18.927 MSK %MIVR-SS_RM-3-LOGIN_FAILED:Login of resource failed: Module Name=RM component,The description of a message sent from/to the RM=CTISetAgentStateReqMsg (Rsrc:m.denisov2 InvokeID:47 State:LOGIN Forced:False),A specific description for a trace=problems in JTAPI or CM
    120656: Aug 08 16:46:18.927 MSK %MIVR-SS_RM-7-UNK:Posting msg CONTROL_FAILURE_CONF Socket:Socket[addr=10.1.9.66,port=62888,localport=12028] invokeID:47 failureCode:CF_GENERIC_UNSPECIFIED errorCode:88001 text:Unable to login agent due to problems in JTAPI or CM in CTI Server's message queue
    120657: Aug 08 16:46:18.927 MSK %MIVR-ICD_CTI-7-UNK:OutboundMsgProcessor: got message: { CONTROL_FAILURE_CONF }
    120658: Aug 08 16:46:18.928 MSK %MIVR-ICD_CTI-7-UNK:OutboundMessageprocessor : sending msg : { length=-1 type=CONTROL_FAILURE_CONF,invokeId=47,failureCode=CF_GENERIC_UNSPECIFIED,errorCode=88001, text=Unable to login agent due to problems in JTAPI or CM to socket: Socket[addr=10.1.9.66,port=62888,localport=12028] } 
    120659: Aug 08 16:46:18.928 MSK %MIVR-ICD_CTI-7-UNK:MsgHandler : Sent : { CONTROL_FAILURE_CONF to Socket[addr=10.1.9.66,port=62888,localport=12028]  } 
    I have tried to disassociate and associate the phone with rmcm user and even rebooted UCCX, how can i troubleshoot this problem furher?
    I use IPv4 only, what means line 120654, is it normal?
    Regards,
    Maxim

    I have installed second UCCX and reused CTI and RMCM users,
    It sounds like the upgrade is irrelevant here, and what we're really troubleshooting is your second UCCX installation which is using the same accounts as your first UCCX installation.
    Of course, I've been around long enough to know that communication breakdowns are common, and you may have not meant that.
    For example, maybe what you meant was, you added an HA node?  But if not, and you really installed a new instance while reusing the existing credentials, I would suggest creating new app users for your new UCCX and not sharing them.
    PS It's very hard for me to read your log snippet with the black background.  Could you edit your post and remove the formatting please?  Thanks.

  • Agents line rings only twice before going to voice mail

    I have our queues set up so that if the agent does not answer the phone or if the caller is stuck in the queue the call will transfer to VM. This all works fine except that the agent is telling me that the phone only rings 2 times before the call gets sent to voice mail. I want to increase the number of rings to 4 or so.
    I thought this was a factor of time. Say if the person is on hold for 16 seconds (I think that is equivalent to 4 rings) then kick out to the voice mail. Unfortunately I am looking at the code in the UCCX Editor and cannot seem to find the timing or anything saying "Number of rings" to set a value. I also went through the UCCX GUI but did not find anything. I was going through my books form the class I took on UCCX 7 and cannot find anything on this, though I could have sworn we covered this. But, that was 2 or 3 years ago and I am also on UCCX v8.5 now.
    Anyway, does anyone have any suggestions on where I can look or what I can change to get this working. On a side note, when a call comes to her personal line, it does ring 4 times before going to voice mail. The agent line is the only one that only rings 2 times.
    Thanks for any help and pointers on what to look for.
    David Graham

    I cannot determine what method you are using to technically extend the call to voicemail after the ringing, and therefore couldn't give you any tips to check.  Could you just clarify the call flow for both points:
    1. How do you extend the call to the Agent?
    2. How do you extend the call to Voicemail?
    Typically, when working with Agents and Ringing time, you adjust two settings:
    1. In UCCX Script - Select Resource Step (Or Connect Step if applicable) Timeout value
    2. In CUCM - Directory Number (Or Service Parameter if applicable) Ring No Answer timer
    Depending on what you're doing in the scripting it could be something like a Call Consult Transfer even.  But that's not clear at this time.  Let us know, and we'll get you fixed up.
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • UCCX 10.5 - IP Phone Agent (IPPA) & Finesse

    I see that running CAD or Finesse is mutually exclusive i.e. one or the other but I can't find anything about IP Phone agent.
    My question is, if I enable and run Finesse will IP Phone agent still work and be supported?
    Thanks

    Yeah. It's not supported. During a UCCX presentation for CUG (or whatever it's called now), I asked if there will be a Finesse supported replacement and was told there would be but that was all that was offered. TBH, I don't get why they wouldn't have one already. I'm looking at new rollouts and when I explain the life expectancy of CAD, customers are opting right away for Finesse. Then I drop the "you have to have a PC at all times" line and the disappointment sets in. Ah well. 

  • Compatibility Uccx 9.0(2)SU2 with CUCM 9.1(2)SU3

    Have seen the recent discussion on UCCX 9.0(2)SU2 and CUCM 9.1(2)SU2 here:
    https://supportforums.cisco.com/discussion/12482146/compatibility-uccx-902su2-cucm-912su2
    But with the release of CUCM 9.1(2)SU3 looking at the same compatibility matrix:
    http://docwiki.cisco.com/wiki/Unified_CCX_Software_Compatibility_Matrix_for_9.0(2)_SU2
    I do not see that UCCX 9.0(2)SU2 and CUCM 9.1(2)SU3 are compatible.  Is this an error in the document or do we need to upgrade UCCX if we upgrade CUCM from 9.1(1) to 9.1(2)SU3?
    Thanks,
    Ryan

    Hi Ryan-
    Take a look the posts by Arundeep Nagaraj in this thread:  https://supportforums.cisco.com/discussion/12439306/ucm-uccx-compatibiity
    Thanks,
    DJ

  • UCCX 5.02 Copy/Move Agent Recordings

    UCCX 5.02 Copy/Move Agent Recordings
    We are running UCCX 5.02 and have a workflow setup to automatically record all agent calls without Supervisor intervention. We are not using QM. Is there a UCCX tool, other than writing a .bat file and scheduling it, that will copy/move the recordings to another location automatically?
    Thanks!!!
    Adam

    Hi
    See attached for a script a wrote to archive the .raw files created by CRS to .wav format on a Windows network share. All activities carried out by the script are logged to text file for reference.
    Use at your own risk!
    Be aware that it doesn't 'clean out' entries from the databases, so if you allow the script to remove files from the CRS server the recordings will appear in Supervisor desktop until they expire.
    To run the script, read it carefully, check the parameters, and rename it to .vbs.
    It should then be added as a Scheduled Task and executed as a local administrator on the CRS server itself. On a HA setup, set up the scheduled task on each recording server.
    If you use it, please rate my post!
    Aaron

  • Cisco Quality Management: 8.5.2.18. Recording only one agent.

    Good day! There are a cluster of two CUCM (8.5.1.13900-5), UCCX (8.5.1.11004-25, Licence – Enchanced), Cisco Quality Management (8.5.2.18), Cisco IP Comunicator as agent's phone (using SCCP for a registration) at the deployment. When I login in the Cisco Unified Workforce Optimization, I see only one of agent's recording, although I see four agent who are configurated at Quality Administrator Managment . I noticed the only one of difference among the agents. It's the field "Name Dialing" at User Configuration of CUCM (I reckon it doesn't matter). But possibly I need to set a configuration at local computers agents. When I tried to fix the my issue and I couldn't find the Device name for JTAPI user at CUCM. I add the Device and I have a question. Do I have to add only Device or CTI as well? I attached the screenshot "JTAPI". It is the configuration of application user at CUCM. Could you help me with recomendations for fixing this issues?

    Hi
    My first suggestion would be to look at your AQM config. AQM uses CTI as well, and may be set up with a different user for JTAPI.
    I typically set AQM and UCCX to use the same user (the one specified for RM-CM in UCCX) so that if an agent works for UCCX, he will work for AQM - for JTAPI at least.
    Regards
    Aaron

  • Unable to find line break between two lines in attachment file.

    Dear all I will be very great full if someone help me out,
    I am trying to send mail through SMTP server with an attachment of oracle report, but I am unable to find line break between two lines, when I down load the attachment from mail and open attach.txt file by double click on it. Next line starts right after previous line ends, it should starts with new line.
    In order to send an attachment file, I am reading source file line by line and put MIME protocol’s attachment instance, contain of source file is being properly written into target file if I open that attachment on cmd prompt.
    Following code may help you to understand the case.
    Thanks in advance.
    My code is as follows:-
    create or replace procedure bec_file_test
    v_subject varchar2, -- Subject of the email
    v_body varchar2, -- Body of the email
    v_from VARCHAR2 default 'XYZ.com', -- sender mail id
    v_to varchar2 default 'XYZ.com', -- Field To of the email
    v_cc varchar2 default 'XYZ.com' -- cc address
    ) is
    -- variable to hold the smtp server connection
    v_smtp_connection utl_smtp.connection;
    -- variable to hold the smtp host name
    v_smtp_host varchar2(100) default 'mail.bec-group.com';
    -- variable to hold the smtp port
    v_smtp_port number default 25;
    -- composite of {CR}{LF} caridge return and line feed.
    CRLF varchar2(2):=CHR(13)||CHR(10);
    cursor pr_rec is
    select requisition_no,line_no,release_no,a.contract,
    a.project_id,substr(a.activity_seq,1,11)ACT_SEQ,
    substr(a.part_no,1,12)PART_NO,
    substr(a.description,1,32)DESCRIPTION,
    substr(a.Bal_qty,1,8) BAL_QTY,
    substr(a.unit_meas,1,5)UOM,
    a.wanted_receipt_date WAN_REC_DT,
    a.latest_order_date LAT_ORD_DT
    from bec_pr_line_rep a
    where a.Bal_qty>0 and a.header_state not in 'Closed'
    and upper(a.state1) like 'RELEASED' and a.contract not in ('U1ENG','ULENG','U1FND','U2FND')
    and a.buyer_code='70306'
    order by a.part_no;
    begin
    declare
    fHandle UTL_FILE.FILE_TYPE;
    v_msg_line varchar2(2000);
    -- v_buffer varchar2(20000);
    --ALTER SYSTEM SET utl_file_dir = 'D:\Database\temp'
    --COMMENT='Temporary change on Dec 14'
    --SCOPE=SPFILE;
    SELECT name, value
    FROM gv$parameter
    WHERE name = 'utl_file_dir';
    --drop directory my_directory
    --CREATE or replace DIRECTORY my_directory AS 'D:\database\temp';
    --GRANT read,write ON DIRECTORY my_directory TO PUBLIC;
    begin ---writing data into a file.
    fHandle := UTL_FILE.FOPEN('MY_DIRECTORY', 'pending_pr_summry.txt', 'w');
    UTL_FILE.put_line(fHandle, ' Pending PR to process (detail report)');
    UTL_FILE.put_line(fHandle,TO_CHAR(SYSDATE,'MM-DD-YY HH:MI:SS AM'));
    UTL_FILE.put_line(fHandle, '--------------------------------------------------------------------------------------------------------------------------------------------------');
    UTL_FILE.put_line(fHandle, 'Req.no. li Re Site Prj Id Act seq Part no Description Qty UOM want rec dt lat ord dt' );
    UTL_FILE.put_line(fHandle, '--------------------------------------------------------------------------------------------------------------------------------------------------');
    for pr_temp in pr_rec loop
    begin
    v_msg_line:=to_char(rpad(pr_temp.requisition_no,12,' ')||'|'||
    lpad(pr_temp.line_no,3,' ')||'|'||
    lpad(pr_temp.release_no,3,' ')||'|'||
    rpad(pr_temp.contract,7,' ')||'|'||
    lpad(nvl(pr_temp.project_id,' '),7,' ')||'|'||
    lpad(nvl(pr_temp.act_seq,' '),12,' ')||'|'||
    lpad(pr_temp.part_no,12,' ')||'|'||
    rpad(pr_temp.description,35,' ')||'|'||
    lpad(pr_temp.bal_qty,10,' ')||'|'||
    rpad(pr_temp.uom,6,' ')||'|'||
    lpad(pr_temp.wan_rec_dt,14,' ')||'|'||
    lpad(pr_temp.lat_ord_dt,14,' '));
    UTL_FILE.put_line(fHandle,v_msg_line);
    end;
    end loop;
    UTL_FILE.put_line(fHandle, '--------------------------------------------------------------------------------------------------------------------------------------------------');
    UTL_FILE.put_line(fHandle, ' Regards : IFSAPP ( Application owner ) ');
    UTL_FILE.FCLOSE(fHandle); ------------writing into file is successfuly done here!
    --Reading of file starts here containt will be added in attchment file
    fHandle :=UTL_FILE.FOPEN('MY_DIRECTORY','pending_pr_summry.txt','R' );
    -- establish the connection to the smtp server
    v_smtp_connection := utl_smtp.open_connection(v_smtp_host, v_smtp_port); /** OPEN CONNECTION ON THE SERVER **/
    -- perform a handshake with the smtp server
    utl_smtp.helo(v_smtp_connection, v_smtp_host); /** DO THE INITIAL HAND SHAKE **/
    -- set the 'from' address of the message
    utl_smtp.mail(v_smtp_connection, v_from);
    -- add the recipient to the message
    utl_smtp.rcpt(v_smtp_connection, v_to);
    -- send the email
    utl_smtp.open_data(v_smtp_connection);
    v_msg_line:='Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || CRLF ||
    'From: ' || v_from || CRLF ||
    'Subject: ' || v_subject || CRLF ||
    'To: ' || v_to || CRLF ||
    'Cc: ' || v_cc || CRLF ||
    'MIME-Version: 1.0'|| CRLF || -- Use MIME mail standard
    'Content-Type: multipart/mixed;'||CRLF ||
    ' boundary="-----SECBOUND"'||CRLF||
    CRLF ||'-------SECBOUND'|| CRLF ||
    'Content-Type: text/plain;'|| CRLF ||
    'Content-Transfer_Encoding: 7bit'|| CRLF ||
    CRLF ||v_body|| CRLF;     -- Message body
    utl_smtp.write_data(v_smtp_connection,v_msg_line);
    v_msg_line:='-------SECBOUND'|| CRLF ||
    'Content-Type: application/octet-stream;'|| CRLF ||
    'Content-Type: text/plain;'|| CRLF ||
    'name="pending_pr_summry.txt"'|| CRLF ||
    'Content-Transfer_Encoding: 8bit'|| CRLF ||
    'Content-Disposition: attachment;'|| CRLF ||
    ' filename="pending_pr_summry.txt"'|| CRLF || CRLF;     -- Content of attachment
    utl_smtp.write_data(v_smtp_connection,v_msg_line);
    -- check file is opened
    IF utl_file.is_open(fHandle) THEN
    -- loop lines in the file
    LOOP
    BEGIN -- Content of attachment
    utl_file.get_line(fHandle,v_msg_line);
    v_msg_line:=concat(v_msg_line,CRLF);
    utl_smtp.write_data(v_smtp_connection,v_msg_line);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    EXIT;
    END;
    END LOOP;
    END IF;
    --end of attachment containt     
    utl_smtp.write_data(v_smtp_connection,v_msg_line);
    UTL_FILE.FCLOSE(fHandle);
    utl_smtp.close_data(v_smtp_connection);
    utl_smtp.quit(v_smtp_connection);
    exception
    when utl_smtp.invalid_operation then
    dbms_output.put_line(' Invalid Operation in Mail attempt using UTL_SMTP.');
    when utl_smtp.transient_error then
    dbms_output.put_line(' Temporary e-mail issue - try again');
    when utl_smtp.permanent_error then
    dbms_output.put_line(' Permanent Error Encountered.');
    when others then
    dbms_output.put_line('Exception: SQLCODE=' || SQLCODE || ' SQLERRM=' || SQLERRM);
    RAISE;
    end;
    end bec_file_test;

    Pending PR to process (detail report)01-17-13 12:43:19 PM--------------------------------------------------------------------------------------------------------------------------------------------------Req.no. li Re Site Prj Id Act seq Part no Description Qty UOM want rec dt lat ord dt--------------------------------------------------------------------------------------------------------------------------------------------------MAT/250370 | 2| 1|ISCSP | 4977| 100004207| 0104000016|Angle 50 X 50 X 6 IS:2062 Grade |500|kg |30-NOV-2012| 20-nov-2012MAT/250370 | 3| 1|ISCSP | 4977| 100004207| 0105000002|Channel 100 X 50 IS:2062 Grade A | 1000|kg | 30-NOV-2012| 20-nov-2012MAT/250579 | 2| 1|NMDCJ | 6001| 100005580| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 2991|kg | 13-DEC-2012| 03-dec-2012MAT/250606 | 2| |NMDCJ | 6002| 100005860| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 4500|kg | 29-DEC-2012| 19-dec-2012MAT/250607 | |1|NMDCJ|6001|100005580| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 1500|kg | 29-DEC-2012| 19-dec-2012MAT/250194 | 3| 1|NMDCJ | 6002| 100005818| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 3939|kg | 29-DEC-2012| 19-dec-2012MAT/250606 | 4| 1|NMDCJ | 6002| 100005860| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 39000|kg | 29-DEC-2012| 19-dec-2012MAT/250607 | 4| 1|NMDCJ | 6001| 100005580| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 17500|kg | 29-DEC-2012| 19-dec-2012MAT/250194 | 2| 1|NMDCJ | 6002| 100005818| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 12183|kg | 29-DEC-2012| 19-dec-2012MAT/250606 | 6| 1|NMDCJ | 6002| 100005860| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 9500|kg | 29-DEC-2012| 19-dec-2012MAT/250607 | 6| 1|NMDCJ | 6001| 100005580| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 4500|kg | 29-DEC-2012| 19-dec-2012MAT/250194 | 6| 1|NMDCJ | 6002| 100005818| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 17500|kg | 29-DEC-2012| 19-dec-2012MAT/250607 | 7| 1|NMDCJ | 6001| 100005580| 0109020008|TMT Bar 32 mm Fe 415 IS:1786 | 22000|kg | 29-DEC-2012| 19-dec-2012MAT/250194 | 7| 1|NMDCJ | 6002| 100005818| 0109020008|TMT Bar 32 mm Fe 415 IS:1786 | 27060|kg | 29-DEC-2012| 19-dec-2012MAT/251138 | 1| 1|NMDCJ | 6002| 100005825| 3501000001|Cement 50 kg | 1|pkt | 25-DEC-2013| 14-dec-2013--------------------------------------------------------------------------------------------------------------------------------------------------
    where as source file is like that:-
    Pending PR to process (detail report)
    01-17-13 12:43:19 PM
    Req.no. li Re Site Prj Id Act seq Part no Description Qty UOM want rec dt lat ord dt
    MAT/250370 | 2| 1|ISCSP | 4977| 100004207| 0104000016|Angle 50 X 50 X 6 IS:2062 Grade | 5500|kg | 30-NOV-2012| 20-nov-2012
    MAT/250370 | 3| 1|ISCSP | 4977| 100004207| 0105000002|Channel 100 X 50 IS:2062 Grade A | 1000|kg | 30-NOV-2012| 20-nov-2012
    MAT/250579 | 2| 1|NMDCJ | 6001| 100005580| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 2991|kg | 13-DEC-2012| 03-dec-2012
    MAT/250606 | 2| 1|NMDCJ | 6002| 100005860| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 4500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250607 | 2| 1|NMDCJ | 6001| 100005580| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 1500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250194 | 3| 1|NMDCJ | 6002| 100005818| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 3939|kg | 29-DEC-2012| 19-dec-2012
    MAT/250606 | 4| 1|NMDCJ | 6002| 100005860| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 39000|kg | 29-DEC-2012| 19-dec-2012
    MAT/250607 | 4| 1|NMDCJ | 6001| 100005580| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 17500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250194 | 2| 1|NMDCJ | 6002| 100005818| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 12183|kg | 29-DEC-2012| 19-dec-2012
    MAT/250606 | 6| 1|NMDCJ | 6002| 100005860| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 9500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250607 | 6| 1|NMDCJ | 6001| 100005580| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 4500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250194 | 6| 1|NMDCJ | 6002| 100005818| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 17500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250607 | 7| 1|NMDCJ | 6001| 100005580| 0109020008|TMT Bar 32 mm Fe 415 IS:1786 | 22000|kg | 29-DEC-2012| 19-dec-2012
    MAT/250194 | 7| 1|NMDCJ | 6002| 100005818| 0109020008|TMT Bar 32 mm Fe 415 IS:1786 | 27060|kg | 29-DEC-2012| 19-dec-2012
    MAT/251138 | 1| 1|NMDCJ | 6002| 100005825| 3501000001|Cement 50 kg | 1 |pkt | 25-DEC-2013| 14-dec-2013
    Ignore alignment. It is well formatted in source file.

  • Printing only one line record with total of all items through alv

    hi experts,
    i am facing a problem while printing a list through alv.
    requirement is, suppose i have 3 line items under one document no.
    i have to print only one record with total amount of all items.more clearly...
    1001  10  1000/-
    1001  20    234/-
    1001  30   540/- these records in internal table then i am passing it to reuse_alv_grid_display.
    i need to display only 1001  1774/-(means sum of all the items)
    please tell me how to do this.
    thanks in advance,
    manasi

    hi ansari,
    contains in itab
         3000000004     02.11.2000     5550     27.95     27.95     0
         3000000004     02.11.2000     5550     10.95     10.95     0
         3000000005     02.11.2000     5550     27.95     27.95     0
         3000000005     02.11.2000     5550     10.95     10.95     0
         3000000006     02.11.2000     3020     52.99     52.99     0
         3000000006     02.11.2000     3020     64.99     64.99     0
         3000000006     02.11.2000     3020     49.5     49.5     0
         3000000007     02.11.2000     3730     2,228.00     2,228.00     0
         3000000007     02.11.2000     3730     1,698.00     1,698.00     0
         3000000007     02.11.2000     3730     532     532     0
    now please tell me how to print the data
    output will be
    3000000004     02.11.2000     5550     38.90     38.90       0
    3000000005     02.11.2000     5550     38.90     38.90       0
    3000000006     02.11.2000     3020     117.19     117.19     0
    like that
    please help me out
    manasi

  • Work Items to PR Agents (Only one of two agents received)

    Dear all,
    I am facing a problem like this:
    In my PR Workflow, the task TS00007986 is assigned agents by position. There is one position applied for a particular release strategy and there are two agents under this position.
    Now, there is one PR created, it went to the correct release strategy and thus sent to the correct agent. However, only one of the agent is receiving that work item while the other don't. In another words, instead of sending to both the agents, only one received.
    In SWEL, the possible agents are showing both agents' names, but the icon "In User's Inbox" is only appearing on one of the agent.
    I would like to know, what would be the possible error for this and in such cases, how could I trace the errors?
    Thank you very much in all advances.

    Here's an update on this issue:
    For example, the two agents are Agent A and Agent B.
    I think Agent A and Agent B both received the work items. However, Agent A executed the work item but later canceled the action without processing the work item (approved or rejected the PR). When Agent A executed the work item, the same work item would be removed from Agent B's inbox, but it is still in Agent A's inbox.
    The problem is, the work item has yet to be processed. In this case, how this issue should be solved (only processed work item is removed from all the agents' inbox)?
    Thank you very much.

  • Multiple line item in billing but only one line item in accounting document

    Hi Everyone,
    I am having one scenario in which sales order has more than one line item. Only one billing document is create for all line items in Sales Order but billing document contains as many items as sales order has. In accounting document of billing i find only one customer line which has total amount of all line items in billing as debited. My requirement is Accounting document also should have as many line of customer-debit as in billing items i.e sales order. For example :
    (1) Sales order has 2 line items.
    (2) Billing document is only ONE and has 2 line items
    (3) currently accounting document has only ONE line of Customet - Debit ( Total amount of both items)
    My requirement is
    Accounting document should have 2 line item of customer - Debit
    Customer - Debit (amount of first line item)
    Customer - Debit (amount of Second line item)
    Sales - Credit
    How can it be done ?
    Regards,
    Manish

    Hi,
    This is the SAP expected behaviour
    As far as the values correspond to same account key and same GL account as per account determination, then ti will be posted as a single line item in FI document.
    If you want the customer specific items to be posted in two GL accounts , then you have to do the account determination that way.
    For example, you should have a condition table in FICO as follows.
    Sales org/ Account key / Customer
    For this condition table, the entries shoudl be as follows.
    5110/ERS/Customer A  GL ACCOUNT IS 5000100
    5110/ERS/Customer B GL ACCOUNT IS  5000200
    In this case, there will be 2 entries for the invoice instead of just one line entry.

  • Only one line is getting printed in Table in Smartforms (ECC 6.0)

    Hello Sir,
    I am new in ABAP and doing Smartforms (ECC 6.0) on project from customer side.
    I have to deliver the object in time and it is already late, please help me.
    This is my question:
    Object :  Stock Transport Order.
    =======================
    I have created Table in main window after Program Line Node.
    >Main Window
    >>Code2
    >>Table1
    >>>Header
    >>>>Row1
    >>>>>Cell1 to Cell10
    >>>Main Area
    >>>>Row2
    >>>>>Cell1 to Cell10
    >>>Footer
    >>>>Row3
    >>>>>Cell1 to Cell10
    I have mentioned internal tabel as well work area table in "DATA" tab in table Node.
    In Row1 I have created Text Node in every cell having Column Heading.
    In Row2 I have created Text Node in every cell having variable.
    In Row3 all cells are blank.
    On output only one line is getting printed
    What could be the reason.
    =====================================================================
    This is Code1 (is in the beginning of the form in window1)
    ==========
    *& Selection of Purchasing Document No,Plant,Short Text,Quantity,Material No,
    *& Gross order value in PO currency
    select single ebeln werks txz01 menge matnr brtwr
    from ekpo into
    (v_ebeln,v_werks,v_txz01,v_menge,v_matnr,v_brtwr)
    where ebeln = DOCNO.
    *& Selection of Plant address
    select single adrnr from t001w into v_adrnr
    where werks = v_werks.
    *& For Selection of phone,fax
    select single name1 tel_number fax_number from adrc into (v_name1,phone,fax)
    where addrnumber = v_adrnr.
    *& For E-Mail Selection
    select single SMTP_ADDR from adr6 into mail where addrnumber = v_adrnr.
    *& For CST No.,GST No.
    select single J_1ICSTNO J_1ILSTNO
                  from J_1IMOCOMP into (CST,GST)
                  where werks = v_werks.
    *& Selection of Vendor Address No., PO date
    select single reswk aedat from ekko into (v_reswk,v_aedat) where
    ebeln = v_ebeln.
    *& Selection of Supplying (Issuing) Plant address
    select single adrnr from t001w into vendor
    where werks = v_reswk.
    *& Selection of storage location
    select single lgort from ekpo into v_lgort where werks = v_werks
    and ebeln = v_ebeln.
    *& Selection of description of storage location
    select single lgobe from t001l into v_lgobe where werks = v_werks.
    *& Fetching data into internal table from ekpo
    select ebeln ebelp matnr txz01 menge brtwr from ekpo into corresponding fields
    of table iekpo where ebeln = v_ebeln and werks = v_werks.
    Fetching data into internal table from marm for Pck
    select * from marm into corresponding fields of table imarm for all entries
    in iekpo where matnr = iekpo-matnr.
    Fetching data into internal table from mara for Pack Type Code
    select * from mara into corresponding fields of table imara for all entries
    in iekpo where matnr = iekpo-matnr.
    Fetching data into internal table from tvegrt for Pack Type Description
    select * from tvegrt into corresponding fields of table itvegrt
    for all entries in imara where magrv = imara-magrv.
    Fetching data into internal table from eket for Receipt Date
    select * from eket into corresponding fields of table ieket
    where ebeln = v_ebeln.
    Selection of Order Type from mepo_topline
    *select single bsart from mepo_topline into v_bsart where ebeln = v_ebeln
    *and superfield = v_werks.
    *if v_bsart = 'UB'.
    xhead = 'Replenishment Order'.
    *eleseif v_bsart = 'ZSTO'.
    xhead = 'Purchase Order'.
    *endif.
    *& Defining of variable for Printing Line Serial Number,Total Quantity,
    *& Total Value
    =====================================================================
    This is Code2 (is in the main window)
    ==========
    xln = 0.
    tmenge = 0.
    tvalue = 0.
    Loop for printing table
    loop at iekpo into wekpo.
      xln = xln + 1.
      xmatnr = wekpo-matnr.      " Material Number (Code)
      xtxz01 = wekpo-txz01.      " Material Name
      xmenge = wekpo-menge.      " Line Quantiy
      xbrtwr = wekpo-brtwr.      " Basic Rate
    *& Pck
      read table imarm into wmarm with key matnr = wekpo-matnr.
      xpck = wmarm-umren.        " Packing Size
    *& Num
      xnum = xmenge / xpck.      " Numbers of Packing
    *& Line Value
      xvalue = xmenge * xbrtwr.  " Line Basic Value
    *& Packing Type
      read table imara into wmara with key matnr = wekpo-matnr.
      xpacktype = wmara-magrv.   " Packing Type Code
    *& Packing Type Description
    read table itvegrt into wtvegrt with key magrv = imara-magrv.
    xpackdesc = wtvegrt-bezei. " Packing Type Description
    *& Receipt Date
      read table ieket into weket with key ebeln = v_ebeln.
      xrcpdt = weket-eindt.      " Receipt Date
    *& Report Total
      tmenge = tmenge + xmenge.
      tvalue = tvalue + xvalue.
    *& Serial No. increment
    endloop.
    =====================================================================
    Thanks and Regards,
    Yogesh Pathak

    Did you debug and check the umber of values in internal table before calling the TABLE Node....
    seeing all SELECT SINGLE along with WHERE = condition and no loop call on them, my assumption  is there will be on record only. Check in Debug mood. Search forum to find how to debug a smartform.

Maybe you are looking for

  • Time Capsule and iTunes

    Hey there, first of all please excuse my bad english. I'm from germany and I don't practise my english as much as I should. Well, I bought my first MacBook Pro in June this year and I must say it's really great. I am planning to buy a Time Capsule (1

  • My iMac computer screen is blurred by black and white lines.

    My iMac G5 screen is blurred by black and white horizontal lines and tiny rectangles. This occured after I woke it up from sleeping. Everything else seems to be working fine, but is impossible to see what I'm doing. Any ideas on how to fix this?

  • How to configure port in oracle

    dear all i want to install oracle database 10g and application server 10.1.2.0.2 on same machine .but while doing so i am getign error that already listener port is used by another object .so how and what should i do as i want to install bothe oracle

  • Time Zone...When changing date and time.

    After having updated to version 10.6.1, I am still experiencing the same top sites glitch as everyone else. However, is anyone else's time zone graphics funky (missing squares?) and really unresponsive when moving across the earth from side to side?

  • New Authorization Objects after system upgrade

    Hi All , I require the list of all new Authorization Objects that have been added to the system after System Update. Regards Anthony D'souza