ANI and DNIS field displays same value

Hi,
During the outbound call the ANI and the DNIS field displays the same number which i am dialling. Is this the standard behaviour?
Whereas the Inbound call displays the correct numbers in both the field.
Thanks
Selvan

Yes, it seams that this is the standard behaviour. It's in the same way in the freshly installed system.

Similar Messages

  • UCCX V8.5 - ANI and DNIS

    Hi all,
    Using a Script.aef I would like to receive ANI and DNIS from CAD.
    I already have an user.layout configured and I can get others values using Call.PeripheralVariablex normally, but I don't know how I can get ANI and DNIS.
    Does Anybody know how can it work?
    Could you send me an example?
    Could you help me, please?
    Thank you,
    Valber Carvalho

    Hi Anthony,
    Thank you for reply me.
    I was asking it because every time that I used the GET CONTACT INFO STEP in my Script, I was seeing this error:
    An error occured while loading the script SCRIPT[scriptname.aef]. Please check log for more details.
    This error was being shown when I updated my Script in CCX Administration/Applications/Application Management web page. Then I deleted the GET CONTACT INFO STEP from my Script, and the error disappeared.
    I was looking for another possibility to get the ANI and DNIS without to use
    GET CONTACT INFO STEP.
    I think that I have some problem with my workstation, my co-worker tested the same Script that I had developed and using his workstation we don't see any error on CCX Administration, and everithing is working very well.
    I will reinstall my Cisco Editor 8.5.
    Thanks Anthony,
    Have a nice week,
    Valber Carvalho.

  • ANI and DNIS support

    Setup Overview: VoIP using digital T1 CAS connected to a PABX
    Issue: PABX is not receiving DNIS and ANI information
    Running Config: (for Site A and Site B)
    Site A:
    controller T1 2/0
    framing sf
    clock source line primary
    linecode ami
    ds0-group 1 timeslots 1-5 type e&m-wink-start
    ds0-group 6 timeslots 6-24 type e&m-wink-start
    voice-port 2/0:1
    compand-type a-law
    voice-port 2/0:6
    compand-type a-law
    voice-port 2/0:6
    compand-type a-law
    dial-peer voice 301 voip
    destination-pattern 5T
    session target ipv4: x.x.x.y
    dial-peer voice 206 pots
    destination-pattern 6...
    port 2/0:1
    prefix 6
    Site B:
    controller T1 1/0
    framing sf
    clock source line primary
    linecode ami
    cablelength short 133
    ds0-group 1 timeslots 1-5 type e&m-wink-start
    ds0-group 2 timeslots 6-24 type e&m-wink-start
    voice-port 1/0:1
    voice-port 1/0:2
    dial-peer voice 301 pots
    incoming called-number 6...
    direct-inward-dial
    dial-peer voice 401 voip
    destination-pattern 6...
    session target ipv4:x.x.x.y2
    The flow of the call above is from PSTN at Site B wherein PSTN at Site B is connected directly to Router of Site B and then the call should be answered at PABX local of Site A, indicating at their call monitoring log the DID number and the calling number/ANI.
    Example:
    When a toll free numbers are dialed, PSTN switch will send a star, ani, star, dnis, star. Calling 8663006720 , PABX of Site A should get *2102713407*6720*.
    We need your ideas if our config above are correct and if we missed something in our config.
    Looking forward for your prompt reply. Thanks
    Vivira Alastra

    Ok. thanks for your quick reply. May we know also what debug commands we can sure to see if the router is receiving the expected output which are to receive the ANI and DNIS. we have tried using debug vtsp all but we dont know if router is showing the correct values. Which line here below should be kept track?
    Please see below sample output:
    2w2d: vtsp_tsp_call_setup_ind (sdb=0x62D65F60, tdm_info=0x0, tsp_info=0x630FE894
    , calling_number= calling_oct3 = 0x0, called_number= called_oct3 = 0x81, oct3a=0
    x0): peer_tag=0
    2w2d: : ev.clg.clir is 0
    ev.clg.clid_transparent is
    0
    ev.clg.null_orig_clg is 1
    ev.clg.calling_translated is false
    2w2d: vtsp_do_call_setup_ind
    2w2d: vtsp_allocate_cdb,cdb 0x63155784
    2w2d: vtsp_do_call_setup_ind: Call ID=98842, guid=63155CE4
    2w2d: vtsp_do_call_setup_ind: type=0, under_spec=0, name=b @X`9 cWb0#|b2, id0
    =1, id1=0, id2=24633, calling=, called= subscriber=RegularLine
    2w2d: vtsp_do_normal_call_setup_ind
    2w2d: vtsp_insert_cdb,cdb 0x63155784
    2w2d: vtsp_open_voice_and_set_params
    2w2d: vtsp_modem_proto_from_cdb: cap_modem_proto 1073741824
    2w2d: vtsp_modem_proto_from_cdb: cap_modem_proto 1073741824playout default
    Above is the debug vtsp output at Router of Site B connecting going to PSTN. Thanks.
    Vivira Alastra

  • How to check empty string and null? Assign same value to multiple variables

    Hi,
    1.
    How do I check for empty string and null?
    in_value IN VARCHAR2
    2. Also how do I assign same value to multiple variables?
    var_one NUMBER := 0;
    var_two NUMBER := 0;
    var_one := var_two := 0; --- Gives an error
    Thanks

    MichaelS wrote:
    Not always: Beware of CHAR's:
    Bug 727361: ZERO-LENGTH STRING DOES NOT RETURN NULL WHEN USED WITH CHAR DATA TYPE IN PL/SQL:
    SQL> declare
      2    l_str1   char (10) := '';
      3    l_str2   char (10) := null;
      4  begin
      5  
      6    if l_str1 is null
      7    then
      8      dbms_output.put_line ('oh STR1 is null');
      9    elsif l_str1 is not null
    10    then
    11      dbms_output.put_line ('oh STR1 is NOT null');
    12    end if;
    13  
    14    if l_str2 is null
    15    then
    16      dbms_output.put_line ('oh STR2 is null');
    17    elsif l_str2 is not null
    18    then
    19      dbms_output.put_line ('oh STR2 is NOT null');
    20    end if;
    21  end;
    22  /
    oh STR1 is NOT null
    oh STR2 is null
    PL/SQL procedure successfully completed.
    SQL> alter session set events '10932 trace name context forever, level 16384';
    Session altered.
    SQL> declare
      2    l_str1   char (10) := '';
      3    l_str2   char (10) := null;
      4  begin
      5  
      6    if l_str1 is null
      7    then
      8      dbms_output.put_line ('oh STR1 is null');
      9    elsif l_str1 is not null
    10    then
    11      dbms_output.put_line ('oh STR1 is NOT null');
    12    end if;
    13  
    14    if l_str2 is null
    15    then
    16      dbms_output.put_line ('oh STR2 is null');
    17    elsif l_str2 is not null
    18    then
    19      dbms_output.put_line ('oh STR2 is NOT null');
    20    end if;
    21  end;
    22  /
    oh STR1 is null
    oh STR2 is null
    PL/SQL procedure successfully completed.
    SQL> SY.

  • Column is summing up all the rows and displaying same value in all rows.

    Hi,
    Kindly see the below query. I have a problem in this query to fetch the abs_qty when the parameter P:item ie)msib.segment1 is not given as the input parameter. Its just summing up the entire quantity for all the items.When I pass P:item ie)msib.segment1 as input parameter, It fetches the exact value for abs_qty. Kindly help me to resolve this.
    Note only : Manufacturing plant ,Start date and End Date are Mandatory(required) parameters. Others like Item,Base Model and Planner code are optional.
    SELECT mmt.transaction_date date_produced, msib.segment1 item,
    cic.cost_type_id, msib.description item_description,
    mc.segment6 base_model, mc.segment7 trade_brand,
    mmt.subinventory_code subinventory,
    mil.segment1 || '.' || mil.segment2 || '.' || mil.segment3 LOCATOR,
    ood.organization_code
    || '-'
    || ood.organization_name manufacturing_plant,
    mmt.transaction_quantity quantity_produced,
    mtt.transaction_type_name transaction_type, msib.inventory_item_id,
    msib.organization_id, cic.material_cost COST,
    cic.material_overhead_cost freight, csc.standard_cost,
    *(select (NVL((SELECT SUM (mmt.transaction_quantity) total_NET_qty*
    FROM mtl_material_transactions mmt,
    mtl_system_items_b msib,
    mtl_transaction_types mtt,
    org_organization_definitions ood,
    mtl_txn_source_types mts
    WHERE mmt.organization_id = msib.organization_id
    AND msib.inventory_item_id = mmt.inventory_item_id
    AND mmt.transaction_type_id = mtt.transaction_type_id
    AND mmt.organization_id = ood.organization_id
    AND mtt.transaction_type_name = 'WIP Completion'
    AND mts.transaction_source_type_name = 'Job or Schedule'
    AND msib.segment1 = NVL (:p_item, msib.segment1)
    AND ood.organization_code = :p_manufacturing_plant
    AND TRUNC (mmt.transaction_date) BETWEEN :p_start_date
    AND :p_end_date ),0)
    *(NVL((SELECT SUM (mmt.transaction_quantity) total_NET_qty*
    FROM mtl_material_transactions mmt,
    mtl_system_items_b msib,
    mtl_transaction_types mtt,
    org_organization_definitions ood,
    mtl_txn_source_types mts
    WHERE mmt.organization_id = msib.organization_id
    AND msib.inventory_item_id = mmt.inventory_item_id
    AND mmt.transaction_type_id = mtt.transaction_type_id
    AND mmt.organization_id = ood.organization_id
    AND mtt.transaction_type_name = 'WIP Issue'
    AND mts.transaction_source_type_name = 'Job or Schedule'
    AND msib.segment1 = NVL (:p_item, msib.segment1)
    AND ood.organization_code = :p_manufacturing_plant
    AND TRUNC (mmt.transaction_date) BETWEEN :p_start_date
    AND :p_end_date
    *),0))) abs_qty from dual) AS ABS_qtyy,*(select (NVL((SELECT SUM (mmt.transaction_quantity) total_NET_qty
    FROM mtl_material_transactions mmt,
    mtl_system_items_b msib,
    mtl_transaction_types mtt,
    org_organization_definitions ood,
    mtl_txn_source_types mts
    WHERE mmt.organization_id = msib.organization_id
    AND msib.inventory_item_id = mmt.inventory_item_id
    AND mmt.transaction_type_id = mtt.transaction_type_id
    AND mmt.organization_id = ood.organization_id
    AND mtt.transaction_type_name = 'WIP Completion'
    AND mts.transaction_source_type_name = 'Job or Schedule'
    AND msib.segment1 = NVL (:p_item, msib.segment1)
    AND ood.organization_code = :p_manufacturing_plant
    AND TRUNC (mmt.transaction_date) BETWEEN :p_start_date
    AND :p_end_date ),0)
    (NVL((SELECT SUM (mmt.transaction_quantity) total_NET_qty
    FROM mtl_material_transactions mmt,
    mtl_system_items_b msib,
    mtl_transaction_types mtt,
    org_organization_definitions ood,
    mtl_txn_source_types mts
    WHERE mmt.organization_id = msib.organization_id
    AND msib.inventory_item_id = mmt.inventory_item_id
    AND mmt.transaction_type_id = mtt.transaction_type_id
    AND mmt.organization_id = ood.organization_id
    AND mtt.transaction_type_name = 'WIP Issue'
    AND mts.transaction_source_type_name = 'Job or Schedule'
    AND msib.segment1 = NVL (:p_item, msib.segment1)
    AND ood.organization_code = :p_manufacturing_plant
    AND TRUNC (mmt.transaction_date) BETWEEN :p_start_date
    AND :p_end_date
    ),0))) abs_qty from dual)*csc.standard_cost AS abs_val
    FROM mtl_material_transactions mmt,
    mtl_system_items_b msib,
    mtl_item_locations mil,
    mtl_transaction_types mtt,
    org_organization_definitions ood,
    mtl_txn_source_types mts,
    mtl_categories mc,
    mtl_item_categories mic,
    mtl_category_sets mcs,
    cst_item_costs cic,
    cst_standard_costs csc,
    cst_cost_types ct,
    mfg_lookups mlo
    WHERE mmt.organization_id = msib.organization_id
    AND msib.inventory_item_id = mmt.inventory_item_id
    AND mmt.locator_id = mil.inventory_location_id
    AND mil.organization_id = msib.organization_id
    AND mil.subinventory_code = mmt.subinventory_code
    AND mmt.transaction_type_id = mtt.transaction_type_id
    AND msib.organization_id = ood.organization_id
    AND mic.category_set_id = mcs.category_set_id
    AND mc.category_id = mic.category_id
    AND mc.structure_id = mcs.structure_id
    AND mic.inventory_item_id = msib.inventory_item_id
    AND mic.organization_id = msib.organization_id
    AND mcs.category_set_id = 52487965
    AND msib.inventory_item_id = cic.inventory_item_id
    AND msib.organization_id = cic.organization_id
    AND ct.cost_type_id = cic.cost_type_id
    AND cic.organization_id = ood.organization_id
    AND mil.inventory_location_id = mmt.locator_id
    AND mmt.transaction_source_type_id = mtt.transaction_source_type_id
    AND mmt.transaction_action_id = mtt.transaction_action_id
    AND mmt.transaction_source_type_id = mts.transaction_source_type_id
    AND mmt.transaction_action_id = mlo.lookup_code
    AND mmt.inventory_item_id = csc.inventory_item_id
    AND mmt.organization_id = csc.organization_id
    AND csc.last_update_date >=
    (SELECT MAX (csc1.last_update_date)
    FROM cst_standard_costs csc1
    WHERE csc1.inventory_item_id = mmt.inventory_item_id
    AND csc1.organization_id = mmt.organization_id)
    AND msib.segment1 = NVL (:p_item, msib.segment1)
    AND NVL (mc.segment6, 'X') = NVL (:p_base_model, NVL (mc.segment6, 'X'))
    AND NVL (msib.planner_code, 'Y') =
    NVL (:p_planner_code, NVL (msib.planner_code, 'Y'))
    AND UPPER (mlo.meaning) = 'ASSEMBLY COMPLETION'
    AND mtt.transaction_type_name = 'WIP Completion'
    AND ct.cost_type = 'Frozen'
    AND mts.transaction_source_type_name = 'Job or Schedule'
    AND ood.organization_code = :p_manufacturing_plant
    AND TRUNC (mmt.transaction_date) BETWEEN :p_start_date AND :p_end_date

    If <tt>abs_qty</tt> and consequently <tt>abs_val</tt> should not be the same for all rows returned, you'll have to rewrite your query so that the <tt>abs_qty</tt> won't be computed in isolation (separately) with no interaction with data from the main from table list.
    Your query is treated the same as the one below (note the changed table aliases by appending numbers to the originals of yours)
    SELECT mmt.transaction_date date_produced,
           msib.segment1 item,
           cic.cost_type_id,
           msib.description item_description,
           mc.segment6 base_model,
           mc.segment7 trade_brand,
           mmt.subinventory_code subinventory,
           mil.segment1 || '.' || mil.segment2 || '.' || mil.segment3 LOCATOR,
           ood.organization_code || '-' || ood.organization_name manufacturing_plant,
           mmt.transaction_quantity quantity_produced,
           mtt.transaction_type_name transaction_type,
           msib.inventory_item_id,
           msib.organization_id,
           cic.material_cost COST,
           cic.material_overhead_cost freight,
           csc.standard_cost,
           (select (NVL(
                        (SELECT SUM (mmt1.transaction_quantity) total_NET_qty
                           FROM mtl_material_transactions mmt1,
                                mtl_system_items_b msib1,
                                mtl_transaction_types mtt1,
                                org_organization_definitions ood1,
                                mtl_txn_source_types mts1
                          WHERE mmt1.organization_id = msib1.organization_id
                            AND msib1.inventory_item_id = mmt1.inventory_item_id
                            AND mmt1.transaction_type_id = mtt1.transaction_type_id
                            AND mmt1.organization_id = ood1.organization_id
                            AND mtt1.transaction_type_name = 'WIP Completion'
                            AND mts1.transaction_source_type_name = 'Job or Schedule'
                            AND msib1.segment1 = NVL (:p_item, msib1.segment1)
                            AND ood1.organization_code = :p_manufacturing_plant
                            AND TRUNC (mmt1.transaction_date) BETWEEN :p_start_date AND :p_end_date
                        ),0
                       ) - NVL(
                               (SELECT SUM (mmt2.transaction_quantity) total_NET_qty
                                  FROM mtl_material_transactions mmt2,
                                       mtl_system_items_b msib2,
                                       mtl_transaction_types mtt2,
                                       org_organization_definitions ood2,
                                       mtl_txn_source_types mts2
                                 WHERE mmt2.organization_id = msib2.organization_id
                                   AND msib2.inventory_item_id = mmt2.inventory_item_id
                                   AND mmt2.transaction_type_id = mtt2.transaction_type_id
                                   AND mmt2.organization_id = ood.2organization_id
                                   AND mtt2.transaction_type_name = 'WIP Issue'
                                   AND mts2.transaction_source_type_name = 'Job or Schedule'
                                   AND msib2.segment1 = NVL (:p_item, msib2.segment1)
                                   AND ood2.organization_code = :p_manufacturing_plant
                                   AND TRUNC (mmt.2transaction_date) BETWEEN :p_start_date AND :p_end_date
                               ),0
                   ) abs_qty
              from dual
           ) AS ABS_qtyy,
           (select (NVL(
                        (SELECT SUM (mmt3.transaction_quantity) total_NET_qty
                           FROM mtl_material_transactions mmt3,
                                mtl_system_items_b msib3,
                                mtl_transaction_types mtt3,
                                org_organization_definitions ood3,
                                mtl_txn_source_types mts3
                          WHERE mmt3.organization_id = msib3.organization_id
                            AND msib3.inventory_item_id = mmt3.inventory_item_id
                            AND mmt3.transaction_type_id = mtt3.transaction_type_id
                            AND mmt3.organization_id = ood3.organization_id
                            AND mtt3.transaction_type_name = 'WIP Completion'
                            AND mts3.transaction_source_type_name = 'Job or Schedule'
                            AND msib3.segment1 = NVL (:p_item, msib3.segment1)
                            AND ood3.organization_code = :p_manufacturing_plant
                            AND TRUNC (mmt3.transaction_date) BETWEEN :p_start_date AND :p_end_date
                        ),0
                       ) - NVL(
                               (SELECT SUM (mmt4.transaction_quantity) total_NET_qty
                                  FROM mtl_material_transactions mmt4,
                                       mtl_system_items_b msib4,
                                       mtl_transaction_types mtt4,
                                       org_organization_definitions ood4,
                                       mtl_txn_source_types mts4
                                 WHERE mmt4.organization_id = msib4.organization_id
                                   AND msib4.inventory_item_id = mmt4.inventory_item_id
                                   AND mmt4.transaction_type_id = mtt4.transaction_type_id
                                   AND mmt4.organization_id = ood4.organization_id
                                   AND mtt4.transaction_type_name = 'WIP Issue'
                                   AND mts4.transaction_source_type_name = 'Job or Schedule'
                                   AND msib4.segment1 = NVL (:p_item, msib4.segment1)
                                   AND ood4.organization_code = :p_manufacturing_plant
                                   AND TRUNC (mmt4.transaction_date) BETWEEN :p_start_date AND :p_end_date
                               ),0
                   ) abs_qty
              from dual
           ) * csc.standard_cost AS abs_val
      FROM mtl_material_transactions mmt,
           mtl_system_items_b msib,
           mtl_item_locations mil,
           mtl_transaction_types mtt,
           org_organization_definitions ood,
           mtl_txn_source_types mts,
           mtl_categories mc,
           mtl_item_categories mic,
           mtl_category_sets mcs,
           cst_item_costs cic,
           cst_standard_costs csc,
           cst_cost_types ct,
           mfg_lookups mlo
    WHERE mmt.organization_id = msib.organization_id
       AND msib.inventory_item_id = mmt.inventory_item_id
       AND mmt.locator_id = mil.inventory_location_id
       AND mil.organization_id = msib.organization_id
       AND mil.subinventory_code = mmt.subinventory_code
       AND mmt.transaction_type_id = mtt.transaction_type_id
       AND msib.organization_id = ood.organization_id
       AND mic.category_set_id = mcs.category_set_id
       AND mc.category_id = mic.category_id
       AND mc.structure_id = mcs.structure_id
       AND mic.inventory_item_id = msib.inventory_item_id
       AND mic.organization_id = msib.organization_id
       AND mcs.category_set_id = 52487965
       AND msib.inventory_item_id = cic.inventory_item_id
       AND msib.organization_id = cic.organization_id
       AND ct.cost_type_id = cic.cost_type_id
       AND cic.organization_id = ood.organization_id
       AND mil.inventory_location_id = mmt.locator_id
       AND mmt.transaction_source_type_id = mtt.transaction_source_type_id
       AND mmt.transaction_action_id = mtt.transaction_action_id
       AND mmt.transaction_source_type_id = mts.transaction_source_type_id
       AND mmt.transaction_action_id = mlo.lookup_code
       AND mmt.inventory_item_id = csc.inventory_item_id
       AND mmt.organization_id = csc.organization_id
       AND csc.last_update_date >= (SELECT MAX (csc1.last_update_date)
                                      FROM cst_standard_costs csc1
                                     WHERE csc1.inventory_item_id = mmt.inventory_item_id
                                       AND csc1.organization_id = mmt.organization_id
       AND msib.segment1 = NVL (:p_item, msib.segment1)
       AND NVL (mc.segment6, 'X') = NVL (:p_base_model, NVL (mc.segment6, 'X'))
       AND NVL (msib.planner_code, 'Y') = NVL (:p_planner_code, NVL (msib.planner_code, 'Y'))
       AND UPPER (mlo.meaning) = 'ASSEMBLY COMPLETION'
       AND mtt.transaction_type_name = 'WIP Completion'
       AND ct.cost_type = 'Frozen'
       AND mts.transaction_source_type_name = 'Job or Schedule'
       AND ood.organization_code = :p_manufacturing_plant
       AND TRUNC (mmt.transaction_date) BETWEEN :p_start_date AND :p_end_dateRegards
    Etbin

  • Display Text Area and Text field in same line

    All,
    Please help with this scenario.
    I have 3-4 text fields, which are all on NEW LINE. I want a text area adjacent to these 4 fields.
    How to achieve this.
    Thanks and Regards,

    Hi,
    OK - My Textarea item is immediately after the first normal Text item in sequence numbers (the first item is sequence 10 on my page and my textarea item is sequence 15).
    The only settings I changed on my TextArea item are:
    Begin on new line: No
    HTML Table Cell Attributes (Element section): rowspan=4
    This second setting merges together 4 table cells in one column into a single cell
    Andy

  • Reference characteristic not displaying same values as the original

    Hi ,
    I am using ZGL_ACCT infoobjects as Reference characteristic of  0GL_ACCOUNT.
    when i run a report using ZGL_ACCT  and  0GL_ACCOUNT the vales of key figure Balance is different for the abouve mentioned info objects.As per my understanding when i use as reference characteristic data should be same for both.Please correct me if i am wrong.
    Thanks,
    Sasi

    Hi,
    The reference characteristic will be refering only to the master data of the other characteristic. In your case, ZGL_ACCT will refer to the master data table, text table and hierarchy table of 0GL_ACCOUNT. To be simple, ZGL_ACCT doesnot have any tables and it will refere to the table of 0GL_ACCOUNT.
    The transaction data present in the two info objects in infoprovider is independent to the property of reference characteristic.
    Check if both the info object have same data for all the records in infoprovider. In your case, the data should be different that is why the keyfigures values are different when drilled down.
    Hope this gives you an idea.
    Regards,
    Akhan

  • Bar and Pie chart  display with values

    Hi All...
    I want implement the my swing application Bar and Pie chart functionality with vales, If both are disply same veues.
    Thanx to Advance
    Arjun

    www.jfree.org

  • Few Projectproperty and Listproperty fields returning empty values (CrossListQueryInfo)

    I am running a CrossListQueryInfo and the ViewFields for the CAML includes
    <ProjectProperty Name="Title"/>
    <ProjectProperty Name="Url"/>
    <ListProperty Name="Title"/>
    <ListProperty Name="DefaultViewUrl"/>
    I am getting empty values for Url and DefaultViewUrl, although it is returning Titles correctly. Is this some limitation or I am missing something?

    I Feel I have to say this... Just a thought: have you received legal
    advice on whether the "data sent by email is not secure" disclaimer
    would hold up? I'd recommand also checking with your merchant account
    provider. Your form could be argued as leading the user into
    irresponsible use of their card.
    Aandi Inston

  • Populating internal table field with same value

    Is there syntax that will fill a field value in every record in an internal table without looping?

    Hi Rob,
    I didn't know this, after studying online help on MODIFY itab, ABAP Statement
    MODIFY itab - itab_lines
    Syntax
    ... itab FROM wa TRANSPORTING comp1 comp2 ... WHERE log_exp.
    I tried
    DATA:
        ls_t100 TYPE t100,
        lt_t100 TYPE TABLE OF t100.
      SELECT * INTO TABLE lt_t100 FROM t100 UP TO 20 ROWS.
      MODIFY lt_t100 FROM ls_t100 TRANSPORTING text where text &lt;&gt; ls_t100-text .
    clears field text in all rows of lt_t100.
    after many years of field-symbols finally a reason to use MODIFY again
    Regards,
    Clemens

  • Display same value of a column once in multiple rows

    Dear All:
    I have a table id, values with following data
    ID VALUES
    ===============
    EG001 5888314
    EG001 5888315
    EG001 5888316
    EG002 5888317
    EG002 5888318
    I want to display a query to display the result as follows:
    ID VALUES
    ===============
    EG001 5888314
    5888315
    5888316
    EG002 5888317
    5888318
    Regards,
    Hassan

    Hi,
    Without subquery.
    Regards Salim.
    /* Formatted on 2009/06/05 09:49 (Formatter Plus v4.8.8) */
    WITH test_tab AS
         (SELECT 'EG001' rec_id, 5888314 VALUE
            FROM DUAL
          UNION ALL
          SELECT 'EG001', 5888315
            FROM DUAL
          UNION ALL
          SELECT 'EG001', 5888316
            FROM DUAL
          UNION ALL
          SELECT 'EG002', 5888317
            FROM DUAL
          UNION ALL
          SELECT 'EG002', 5888318
            FROM DUAL)
    -- end test data
    SELECT CASE
              WHEN MIN (VALUE) OVER (PARTITION BY rec_id) = VALUE
                 THEN rec_id
              ELSE TO_CHAR (VALUE)
           END rec_id,
           CASE
              WHEN MIN (VALUE) OVER (PARTITION BY rec_id) = VALUE
                 THEN VALUE
              ELSE NULL
           END VALUE
      FROM test_tab;
    REC_ID                                        VALUE
    EG001                                       5888314
    5888315                                           
    5888316                                           
    EG002                                       5888317
    5888318                                           
    5 rows selected.

  • How to get ANI and DNIS on SAPphone and to CIC in SAP R3

    I have a client using SAP R3 4.7 with thick client. In CAD admin I can come upto workflow but then I am stuck...
    They say they have SAPphone that can work with TAPI how do I do this?

    So you want everything enclosed in a panelTab? For example
    PanelTab1
    R1R2
    R3
    R4R5
    I assume you'll have multiple PanelTabs (ie not only PT1 but also PT2.... PTx). Correct? What will the additional Panel Tab layout be? the same as PT1 with the 5 regions as you've defined?
    What version of JDeveloper are you using?

  • How to all  those set of records for which a given field have same value.

    Hi,
    I've a table
    T1 as
    id val
    1 A
    2 B
    3 A
    4 C
    5 D
    6 A
    7 D
    Now i want to write a query that'll return only those val for which there r more than one existence of val.
    result desired is:
    val count(val)
    A 3
    D 2
    Thanks
    Amitesh

    This?
    SQL> select * from t;
            ID VAL                                                                 
             1 A                                                                   
             2 B                                                                   
             3 A                                                                   
    SQL> select val,count(*) c
      2  from t
      3  group by val
      4  having count(*) > 1;
    VAL     C                                                              
    A              2
    Message was edited by:
            jeneesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Dont show fields with same value as previous row.

    Hi, If I have a table like this:
    DEPNO_MONTH__COST__ID
    10_____ Jan______100___ 2
    10_____ Jan______200___ 4
    10_____ Jan_______50____3
    20_____ Feb______30____4
    30_____ Jan ______30____5
    30_____ Feb______40____6
    I need a select that shows the table like this:
    DEPNO_MONTH_COST_ID
    10______Jan_____100___2
    ________________200___4
    ________________50____3
    20______Feb_____30____4
    30______Jan_____30____5
    ________Feb_____40____6
    Can someone please help me? (ingore underscore)
    /Sören

    like this ?
    SQL> select decode(rno1, 1, depno, null) depno,
      2         decode(rno2, 1, mon, null) month,
      3         cost, id
      4    from (select depno,
      5                 mon,
      6                row_number() over (partition by depno order by  depno, mon, cost ) rno1,
      7                row_number() over (partition by depno, mon order by  depno, mon, cost ) rno2,
      8                cost, id
      9           from t1
    10         order by depno, mon, cost );
         DEPNO MONTH            COST         ID
            10 Jan                50          3
                                 100          2
                                 200          4
            20 Feb                30          4
            30 Feb                40          6
               Jan                30          5
    6 rows selected.
    SQL>
    [pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Data fields and key fields

    Hi,
    Data fields and key fields are same as Characteristcs and key figures? Or they are diffrerent?
    Thanks,
    Radha

    HI
    Key Fields =  Acts as Primary Key for The ODS like Primary of Tables in R3.
    Data fields =  Apart from Key fields We consider rest as data fields.
    Ususally we use Characteristic info Objects and Dates in Key Fields and Key figures in Data fields.
    It's decisive factor for overwriting property of ODS or DOS.
    Hope this helps.
    Regards,
    Rangzz
    Edited by: Ranganath Kodiugane on Feb 7, 2009 12:14 PM

Maybe you are looking for