How to find the ANI in the outbound script

Hi All;
I discover that the numbers in the import file are coming as ANI and that is what we see in the CTIOS client (for outbound, the blended agent software).
I need to capture this ANI in the script and store it as a variable (any of the vairables) to be passed for the Gateway ODBC.
Any one knows how can I store the ANI? Under which variable? Under which icon and properties I can find it?
Any help?
Regards
Bilal

I'm not sure you can do it server-side.
The ICM script is finding an agent to send the reservation call to. Once it finds an agent, it will reserve them and call a customer (more than 1 if over-dialing is set). If the customer answers, the other end is transferred to the agent. If the customer does not answer, the agent is kept reserved and another call is placed to another customer. You can easily see this. These are calls to different customers - yet the routing script was unaware of this.
I could not figure out how to do it server-side.
I think you will find that client-side lookup is the way to go. Since you are using CTIOS client, you can take the CTI OS Toolkit application and add VB (say) code to do the lookup, making a customised CTIOS Soft Phone.
You would not need to use the ANI, but the BAAccountNumber - which you loaded during the import process. This can easily be the primary key to a table in the back-end system you need to query.
I have done this for a customer using Outbound Direct Preview and it worked nicely.
Regards,
Geoff

Similar Messages

  • How to find the outbound program for standard IDoc

    Hi Folks,
    Can anyone tell me how to find the outbound program/tcode for a standard IDoc? For e.g. IDoc - MATMAS05 can be generated & distributed using tcode BD10. Similarly how do I find the outbound program/tcode for any standard IDoc? Is there any procedure to find the same.
    I have tried to search based on the package name, but unfortunately I didn't find the information for IDoc: COND_A04.
    Thanks in advance.
    Somu

    You can do following steps if the idoc is generated based on change pointer concept (for masters)
    - Identify the message type associated with idoc type (table EDIMSG).
    - Function module for generating the IDOC will be available in table TBDME (pass message type as input).
    Refer to the standard Outbound IDOC generation program RBDMIDOC for more details.
    If the idoc is generated based on the process code concept (transaction data), get the process code information from table TMSG1 (pass message type as input), get the function module associated process code from table TEDE1 (pass process code as input).
    Regards, Vinod
    P.S: There is no standard way to find out the associated program / Tcode for generating idoc. The above process will be helpful to find out the underlying function modules to generate the idoc.  For generating idocs based on change pointers the generic program RBDMIDOC can be used.
    Edited by: Vinod Kumar on Jul 13, 2011 2:15 PM

  • How to find the outbound idoc function module?(Urgent)

    Dear All,
    How to identify the outbound function module if there is process code assigned to message type.
    For partner profile the mesasge type is assigned and idoc type .This is the only information maintained .
    Now my question is how to identify the fucntion module which is getting trigger in the system is there any data maintained in the standard table  or any t-code .
    Points will be rewarded for right answers.
    Thank You.
    Regards,
    Ravi Ganji

    Hi,
    If u know the message and basictype then we can know the process code for that message type in transaction code WE64.
    if we know process codes then we can know the function modules in transaction codes WE41(Outbound process code) and WE42(Inbound process code).
    Each process code is attached with a FM...
    Reward if helpful
    Regards,
    Nagaraj

  • How to find the JavaScript Script Actions?

    Where can I find the JavaScript Script Actions for being executed in the
    Correlation Engine Java VM process?
    sonfan
    sonfan's Profile: https://forums.netiq.com/member.php?userid=692
    View this thread: https://forums.netiq.com/showthread.php?t=42697

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    What do you mean? The action plugins are available for download from
    the regular Sentinel plug-in site:
    http://support.novell.com/products/s...elplugins.html
    The ability to access or manage plugins will depend on your product
    (Sentinel 6.1, 7.x, or Log Manager).
    What you want to do may also slightly affect how you access them so
    knowing that, and really knowing the entire story, would help.
    The SDK can also be used to build new ones, if you're interested.
    Good luck.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.19 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
    iQIcBAEBAgAGBQJQbyY5AAoJEF+XTK08PnB5KVEP/RuXqAbhsFWtt5iBVF8OHn2y
    dlhgNcYbBHvC5YCrO+AD3lOD4kBX2NMCHXmZQiyU/c8eohGzG6iJgOXwIj1MiUiF
    fBkbvSi8tvT85j7og0noAUKMyhp4cASa8EPl0C5JiSRYZGvH57 PXDRxd+J5TUdyK
    lS9nHhmLXKgOTVeUcmUoqatywF2wgHbtvJsj0Ys5Zb1ITcddRK khenb8pn9cZrx0
    GUgQip3Z/wSPJphgpluVRs74z3qJkRwmpNBZCpRouDWJUM6ca2nwUOECMSO rIAD4
    KI2zHiJKdYosLdUpkIIFQpwmOEJ/JW0pLSL9TZxeO3/yz4gSuK/YFFw9GFAWtq/D
    ddl/9+iUoelYIl43PowvPG4gG8M/JCRLjL2f1FQ0ZHTPeAEIFPSzY1+1pu0O2fcG
    mq9vJ7cV1nrw2WGh46zCWVprB8bT1IEBffm8vj/6/tSysZAEgfZH/+2hmWMxstP8
    kZL03QeIJZ2Ks0fbZ4YroqIfPEI4qQTVHcRgV4OsgsRL2N6PiL aEJOaVqLthSCPG
    srUbECkg9JidSfp2BWDYI9tzOeOTwf4NCM7Wvlu2B9eqp97uEA cU0amuJrGYWxBP
    cKVqjTD6SwlvCsEo0614Q/ohlH524l+1gi985E3RNWeWn32BFt4sNCvaau4R0VJu
    n1RTg5azY9RlS/zjVR41
    =kCL+
    -----END PGP SIGNATURE-----

  • How to find the right script?

    I have a page with multiple files available (currently by
    download). A browser may want 1 or 10 files.
    I am trying to find the best scripting method for keeping
    notified of who is downloading which file (their email address).
    Thanks
    Aaron

    What scripting model are you using?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "InteractiveCommunications"
    <[email protected]> wrote in message
    news:e7eb6d$28d$[email protected]..
    >I have a page with multiple files available (currently by
    download). A
    >browser
    > may want 1 or 10 files.
    >
    > I am trying to find the best scripting method for
    keeping notified of who
    > is
    > downloading which file (their email address).
    >
    > Thanks
    > Aaron
    >
    >
    >
    >

  • How to find the IDOC for the archived message in integration engine

    Hello experts
                              In my outbound scenario (Idoc to file), I have a message id got processed from integration engine (SXMB_MONI) but failed in adapter engine (RWB) on 1week back, The same message archive in SXMB_MONI but i found same message in adapter engine.
    My question is how to find the archive message IDOC num
    We can't find in adapter engine it will show only (sender service, receiver service and interface date and time as well and receiver structure in message content tab) but not idoc no,
    Kindly provide the solution for the issue, Is there any alternative to find the idoc?
    I can search with partner in sap side but i can get lot of idoc's
    Thanks & Regards
    Rajashekar

    > We can't find in adapter engine it will show only (sender service, receiver service and interface date and time as well and receiver structure in message content tab) but not idoc no,
    >
    > I can search with partner in sap side but i can get lot of idoc's
    Hi,
    If solution given by experts in above replies doesn't work then you can try below method.
    What you can do is, take some unique values from message content tab (which came in some specific segment from IDOC)
    Now in R3 use tcode WE09 and set the dates when this was processed. Set other filter criteria as much as possible e.g. direction, idoc basic type, port, partner etc and at the bottom you can "Fast search mode" their you give the segment name and it's value.
    This will help you get you IDOC.
    Regards,
    Sarvesh

  • How to debugg the outbound idoc

    Hi all,
           I am adding one segment standard Invoic02 outbound idoc.
      Executing invoice number ,idoc automaticall y trigger and populate the data.
    1)problem is my new adding segment is not populated idoc level.
    2)I am testind idoc (WE19) showing a 02 error.
    3) How to debugg the outbound idoc.
    Thanks
    Sreddy

    Take a look at your outbound processing code (transaction WE41). When you double click on the entry you are using you can find the function module which is used to process the IDOC. Just set a breakpoint at the beginning of that function module and you can debug the creation of your outbound IDOC.
    Hope that helps,
    Michael

  • How to find the existing Idoc...

    Hi all
    How to find the existing Idoc...
    in tranction we02..?

    Please find the function module that is being used to generate the inbound/outbound IDoc.
    Then you go to inside the FM and search for 'CUSTOMER-FUNCTION' in the main program.
    This is the place that provided by SAP to modify the IDoc segments.
    CALL CUSTOMER-FUNCTION '012'
      EXPORTING
        DEKKO              = EKKO
        DPEKKO             = PEKKO
      TABLES
        DEKPO              = XEKPO
        DPEKPO             = XPEKPO
        DEKET              = XEKET
        DH_APPL            = APPL.
    Hope this will help.
    Regards,
    Ferry Lianto
    <b>Please reward points if helpful.</b>

  • How to find the number of data items in a file written with ArryToFile function?

    I have written an array of number in 2 column groups to a file using the LabWindows/CVI function ArrayToFile...Now if I want to read the file with FileToArray Function then how do I know the number of items in the file. during the write time I know how many array items to write. but suppose I want the file to read at some later time then How to find the number of items in the file,So that I can read the exact number and present it. Thanks to all
    If you are young work to Learn, not to earn.
    Solved!
    Go to Solution.

    What about:
    OpenFile ( your file );
    cnt = 0;
    while ((br = ReadLine ( ... )) != -2) {
    if (br == -1) {
    // I/O error: handle it!
    break;
    cnt++;
    CloseFile ( ... );
    There are some ways to improve performance of this code, but if you are not reading thousands of lines it's quite fast.
    After this part you can dimension the array to pass to FileToArray... unless you want to read it yourself since you already have it open!
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to find the number of entries in a master data table

    Hi Experts,
    I am trying to find the entries in 0CUSTOMER master data.
    BW>LISTCUBE>Data target: 0CUSTOMER and selected the fields that I need.
    I would like to know how to find the "number of entrees". I tried to run the SUM for a count field, but it is taking forever as there are huge number of records .

    Hi Dev,
    Go to the change/display mode of the info object (0CUSTOMER) in your case. Go to the Master data/Text tab. Here you will find the master data tables according to your settings (P orQ or X or Y). Double click on the table name and it will take you to the SE11 display. From there, you can check the number of records as you do in any transparent table.
    Hope this helps.
    Thanks and Regards
    Subray Hegde

  • How to find the number of links in a website

    hi every body
    can any one clear my doubt
    my doubt is that
    in a website how to find the number of links the hole website contains
    is there any navigation tool to find that
    plz help me yar
    i am waiting for the reply

    If you're talking about commercial sites (sites you don't have the source code for) I'm not sure.
    If you want to count the links in site that you have the source code for, it should be relatively easy to write a Java application to do it. All you really need to do is have a list of the files you want to count links in, read each file line by line and check for the existance of the <a> tag in each line. Anywhere their is an <a> tag there is a link.
    Hope this helps.

  • How to find the number of times method being called.....

    hi,
    can any one pls tell me how to find the number of times the method being called......herez the example....
    Refrence ref = new Refrence();
    for(int i = 0;i < arr.length; i++){
    if(somecondition){
    ref.getMethod();
    here i want to know how many times the getMethod() is calling...Is there any method to do this.. i have seen StrackTraceElement class..but not sure about that....pls tell me the solution....

    can any one pls tell me how to find the number of times the method being called......
    herez the example.... http://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • How to find the number of fetched lines from select statement

    Hi Experts,
    Can you tell me how to find the number of fetched lines from select statements..
    and one more thing is can you tell me how to check the written select statement or written statement is correct or not????
    Thanks in advance
    santosh

    Hi,
    Look for the system field SY_TABIX. That will contain the number of records which have been put into an internal table through a select statement.
    For ex:
    data: itab type mara occurs 0 with header line.
    Select * from mara into table itab.
    Write: Sy-tabix.
    This will give you the number of entries that has been selected.
    I am not sure what you mean by the second question. If you can let me know what you need then we might have a solution.
    Hope this helps,
    Sudhi
    Message was edited by:
            Sudhindra Chandrashekar

  • How to find the number of occurance of a string in text field of Infopath form?

    Hi All,
    In Infopath text field, How to find the number of occurrence of a particular string in that field?
    Thanks in advance!

    You can check to see if it contains a string once by using the contains function, but there isn't a very clean way to do what you want. If you wanted to guess at the maximum number of occurrences, then you could:
    Box A has your initial. Set Box B to do a concat of string-before and string-after of Box A where it copies Box A minus the string we're looking for. Then we have Box C that does the same thing to Box B. Repeat as many times as you see necessary.
    Example:
    String: "1"
    Box A - "123451234512345"
    Box B - "23451234512345"
    Box C - "2345234512345"
    Box D - "234523452345"
    etc.
    We then have a field that has nested ifs looking backwards from Z -> A looking for a non-blank. Based on that, we return the number of occurrences. Again, this isn't clean, but it will work if you think there's a predefinable maximum.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to find the number of users  connected to database from OS level(Linux)

    Hi All,
    Could anyone know , how to find the number of users connected to database without connecting with sql*plus
    is there any command to find it?
    example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
    oracle version:- 10g,11g
    Operating System:- OEL4/OEL5/AIX/Solaris
    any help will be appreciated.
    Thanks in advance.
    Thank you.
    Regards,
    Rajesh.

    Excellent.
    Tested, works as long as you set the ORACLE_SID first ( to change databases )
    ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
    Thanks!
    select OSUSER
        from V$SESSION
    where AUDSID = SYS_CONTEXT('userenv','sessionid')
        and rownum=1;Best Regards
    mseberg

  • How to find the number simultaneous call at a given moment on UCCX ?

    Hello,
    I would to know how to find the number simultaneous call at a given moment on UCCX ?
    it's on UCCX or UCCX RTMT, I don't know thanks a lot for your help.
    Aubert

    Hi Gergely,
    I should made a report on the number simultaneous call at a given moment on UCC on the server (all calls on the server)..

Maybe you are looking for