Help in alert modeler

hi,
  Processing Requirement
    Process:
Whenever a Business Partner has been identified during an Interaction, an Alert should be raised in the Interaction Center for the CSR (Call Center Representative). The Alerts would be based on Attributes attached to the Business Partner Master on based on Business Partner’s past Transactions (for eg. The customer has transacted for more than INR 10,000 in the last 1 month)
Step 1: Create Alert Profile
Define a Z Alert profile.
Step 2: Program in ‘Global Data’
Enter the Program for Alert Message (eg. “He is a frequent customer”)
Step 3: Program in Functions and for Even which triggers the Alert
Enter the Program that an Alert should be raised in case the Business Partner is identified.
Step 4: Alert Rule
In the Rule Tab enter the Program that is the following Attribute is found in the Business Partner Master then an Alert should be raised:
•     Top Management
•     Stakeholders
•     Legal
•     Chargeback
•     Sticky
•     Test ID
•     Mail Order ID
Output Requirements:
CSRs should get an Alert when the Business Partner is identified
Steps followed by me :
1.     TC ->  CRMC_CIC_AM_PROFILE
                          a >  created a profile  ztest
                          b>   clicked on search_target_found
            contents in following tabs:
                           Rule tab: sap_scripting_message("HI :"SEARCH_TARGET_FOUND.P1[0].PARTNER1);
               Function tab:
                       function z_display(l_cg1,l_cg2,l_cg3,l_cg4,l_cg5)
                                       return '<call id="CCM" method="zcic">
                                       <param id="l_cg1">'+ l_cg1 +'</param>
                                       <param id="l_cg2">'+ l_cg2 +'</param>
                                       <param id="l_cg3">'+ l_cg3 +'</param>
                                       <param id="l_cg4">'+ l_cg4 +'</param>
                                       <param id="l_cg5">'+ l_cg5 +'</param></call>';
              Global data tab:
                        var global_str = "Are you a Registered Indiatimes User:";
2.     TC -> SE24
a>     created a zclass (zcl_alert_modeler)
b>     copied the methods of a class cl_ccm_abstr_cmpwsp
c>     In method  if_ccm_workspace~create
                           METHOD if_ccm_workspace~create .
Runs the method create of superclass
                          CALL METHOD if_ccm_workspace~create
                            EXPORTING
                              proc_cl_id        = proc_cl_id
                              proc_instance     = proc_instance
                              abox_admin        = abox_admin
                              workspace_display = workspace_display
                              workspace_manager = workspace_manager.
Adds a class in list of events of CIC, to event
                           *SEARCH_TARGET_FOUND
                          CALL METHOD IF_CRM_CIC_CMPWSP_EVENT_GATE~add_listener
                              EXPORTING
                               event    = 'SEARCH_TARGET_FOUND'
                               listener = me.
                          ENDMETHOD. "IF_CCM_WORKSPACE~CREATE
d>     In method IF_CCM_CMPWSP_CIC_EV_HANDLER~HANDLE_EVENT.
                                               METHOD if_ccm_cmpwsp_cic_ev_handler~handle_event .
DATA: lv_t1 TYPE TABLE OF crmm_but_set0010. "Par. Alert
  DATA: p_partner TYPE crmt_cic_bpident.
DATA: wa TYPE crmm_but_set0010.
Check if BF was found
  CHECK event = 'SEARCH_TARGET_FOUND'.
Retrieve BP info
  p_partner = p1.
  CALL METHOD me->zcic
    EXPORTING
      business_partner = p_partner
    IMPORTING
      l_cg1            = wa-l_cg1
      l_cg2            = wa-l_cg2
      l_cg3            = wa-l_cg3
      l_cg4            = wa-l_cg4
      l_cg5            = wa-l_cg5
    EXCEPTIONS
      e_info_not_found = 1
      OTHERS           = 2.
  IF sy-subrc NE 0.
   wa_info-bpkind = '____'.
   wa_info-bpkind_t = '__________'.
   wa_info-industry = '____'.
   wa_info-industry_t = '____________'.
   wa_info-regiogroup = '____'.
   wa_info-regiogroup_t = '____________________'.
   APPEND wa_info TO lv_t1.
  ENDIF.
Configure CIC event. The event 'BP_GENERAL_DATA' will be executed
by Alert Modeler, executing the correspondent script JavaScript
The table T1 has the 2 fileds to be showed in
Alert Modeler: the status ID abd its description.
  CALL FUNCTION 'CIC_EVENT_RAISE'
    EXPORTING
      event = 'BP_GENERAL_DATA'
   TABLES
     t1 = lv_t1
    EXCEPTIONS
      event_currently_active = 1
      event_handler_failed = 2
      OTHERS = 3.
ENDMETHOD.  "IF_CCM_CMPWSP_CIC_EV_HANDLER~HANDLE_EVENT
e>     created my own method  ( zcic )
METHOD zcic.
*DATA p_partner TYPE but000-partner.
  DATA partner TYPE but000-partner.
  DATA : BEGIN OF wa,
          l_cg1 TYPE crmm_but_set0010-customer_group1,
          l_cg2 TYPE crmm_but_set0010-customer_group2,
          l_cg3 TYPE crmm_but_set0010-customer_group3,
          l_cg4 TYPE crmm_but_set0010-customer_group4,
          l_cg5 TYPE crmm_but_set0010-customer_group5,
          END OF wa.
  DATA : wa_but000_partner_guid  TYPE  but000-partner_guid,
         BEGIN OF wa_crmm_but_lnk0011,
          set_guid TYPE crmm_but_lnk0011-set_guid,
         END OF wa_crmm_but_lnk0011.
  SELECT SINGLE partner_guid
  INTO wa_but000_partner_guid
  FROM but000
  WHERE partner = p_partner .
  IF sy-subrc = 0.
    SELECT SINGLE set_guid
    INTO wa_crmm_but_lnk0011-set_guid
    FROM crmm_but_lnk0011
    WHERE partner_guid = wa_but000_partner_guid.
    SELECT SINGLE customer_group1 customer_group2    customer_group3
    customer_group4 customer_group5
    INTO  (wa-l_cg1, wa-l_cg2, wa-l_cg3,wa-l_cg4, wa-l_cg5)
    FROM crmm_but_set0010
    WHERE set_guid = wa_crmm_but_lnk0011-set_guid.
  ENDIF.
  MESSAGE 'hi' TYPE 'S'.
  WRITE : wa-l_cg1,wa-l_cg2,wa-l_cg3,wa-l_cg4,wa-l_cg5.
ENDMETHOD.
f>     TC : spro
                                       SAP Reference IMG
                                       CRM
                                        Interaction Center WinClient
                                        Customer-Specific System Modifications for IC
                                        Define Customer-Specific Meta Model
                       Created  a new meta  model  :  ZTEST     
                       Copied  the content of default meta model in my metamodel ZTEST
                          And entered the Z class name .
                                               <crbcomp>cl_crm_cic_crb_ia_scripting</crbcomp>
<crbcomp>cl_crm_cic_crb_am_test</crbcomp>
<crbcomp>cl_crm_cic_crb_wsm</crbcomp>
<crbcomp>cl_crm_cic_crb_1o_maintain</crbcomp>
<crbcomp>cl_crm_cic_crb_ib_nav</crbcomp>
<crbcomp>cl_crm_cic_crb_locator</crbcomp>
<crbcomp>zcl_alert_modeler</crbcomp>
g>     TC : cic0
                                            Giving partner and  clicking  “confirm search data”
                          ERROR :
                                          Alert modeler script error: CL_JAVA_SCRIPT, RCODE :(600)

Hi.....
More questions regarding alert modeler for CRM 5.0
Is there any way to make the messages "pop" more - i.e. change colour, or flash? Have had a request from a department who comments alerts do not stand out enough and would like some way of bringing them to the agents attention.
Cheers
Cara

Similar Messages

  • How to configure IC winclient alert modeler - CRM 5.0

    We are wanting to assign a marketing attribute against certain customers, to have them flagged within CIC0 that any incoming calls from them need to be forwarded to one particular person within our organisation. The alert modeler would work well for this, where it would display an alert on these certain customers.
    I have figured out most of how to do this, in terms of components to turn on in IMG. However, I want the Alert Modeler Editor to pick up a marketing attribute I have defined (I have set a profile to retrieve the marketing attribute already - using tx CRMC_CIC_BP_PROFILE), and have it display either the text held against the attribute (have set the att as a chara), or else pick up a name held against the attribute and display set text - as an example "All calls are to be forwarded to <name>" where <name> is held against the marketing attribute set. Can anyone assist with this part? At present, in CIC0 I have now displaying the name of the customer in the Call processing area (we don't use this for call processing). I don't want the name to display, I want the above text instead.
    I think i need to set some rules in the rule modeler itself, but am not sure how to do this - sample code would be greatly appreciated as well!
    Thanks in advance

    Hi Cara,
    In order to make use of the Marketing attributes in CIC Alert Modeler, please make sure the following customizing entires are maintained properly:
    1) You need to first create the attributes using the transaction 'crmd_prof_char'.
    Just create an attribute(say for eg., BP_MAIN) with some description, format and Number of chanracters and then save the attribute.
    2) Now, create a profile template (attribute set) using the transaction 'crmd_prof_templ'.
    Just create an attribute(say for eg., BP_MAIN_SET) with some description, authorization, etc., and once
    this is done, you need to assign the attribute just got created in step 1 and then save the attribute set.
    3) Assign this attribute set(profile template) which got created in step 2 to a Business partner(for which the marketting attributes are to be set) using the transaction 'crmd_prof_bp' and maintain his attribute values.
    4) Create target groups and assign business partner:
    Using the transaction 'crmd_mktseg', you can create the Target Group as follows:
    -> Right mouse click in the top right field and choose 'Create Profile Set'.
    -> In the Popup, just give some description and then click on the green check mark.
    -> Now right mouse click in the top right field 'create target group' -> Right mouse click on the new group, goto the properties and then provide some description of the target group.
    -> Right mouse click on the new group, and choose Open target group.
    -> Add business partner to the target group with button 'Add'.
    5) In transaction CRMC_CIC_BP_PROFILE, maintain your own 'Retrieval Profile'.
    -> Decide if the data should be read asynchronously
    -> Decide if the target groups should be read
    -> Decide which profile templates should be read (insert your own created attribute set via F4)
    -> Decide which BW key figures should be read (optional).
    6) Change your CIC Profile and insert the following Profile Categories apart from the Alert Modeler Profile(ALRT_MODLRX):
    -> COMPANY_PROF = your newly created business partner retrieval profile
    -> CONTACT_PROF  = your newly created business partner retrieval profile
    7) Change your CIC Framework ID and insert the following Components as part of the Hidden Components:
    COMPANY_PROF
    CONTACT_PROF
    Please follow the above mentioned steps in accordance with your own BP Marketing attribute and I hope this way will fetch the value of the Marketing attribute of the respective BP during confirmation in CIC, with which the Alert Message can be triggered.
    Hope this information helps !
    With Best Regards,
    Vinod

  • Data objects in the alert modeler.

    Hi,
    in the default alert modeler profile, there are some data objects.
    Can we add more data objects to this profile..
    As in ... i want to display the campaign information of the business partner in the alert..
    also .. i want to display the last interaction record data like ... date.. description of the interaction record ..
    How can i achieve this.
    Regards
    Vandana Gupta

    hi vandana
    i suppose that u cant add new data object to ur alert modeler,because alert modeler is linked to the meta model and these meta models includes the set of data object which u can use while using a default profile but what u can do is assign new function event as data objects are linked with the events ,that way u can easily incubate ur new data object which u want to use with the alert modeler profile and assign that profile to the IC profile,
    for creating new function events u have to do some coding which is very easy ,if u don know u may ask the same in ur time who knows that.
    guess it will help
    best regards
    ashish

  • Alert Modeler in IC Webclient

    Hi,
    Could you help me out with the code in the alert modeler to achieve this functionality. After i confirm the BP i would like the sevice ticket transaction to appear by default rather than clicking on the link in the navigation bar. I know this functionality can be achieved in the IC WIn by having the following code in the alert modeler."SAP_Select_workspace(Bus_Trans_maintain)" in the  "Search_target_found" event. Is there an equivalent of this in IC Web.
    Thank you for all the help.

    Hi,
    We have achieved this in the IC webclient not by using the alert modeller.
      We copied the view and the controller to our ZApplication. Then we created a class and inherited from the standard controller class.
    Then we had to override the eh_onconfirm method and add code to navigate to the require view. You can add the corresponding navigation link in the Z Design time repository.
    Thanks and regards,
    Murli Rao

  • Trigger alert modeler CRM IC based on SAP ISU information

    Hi experts,
    My current client will start a trial with smart meters shortly. These meters will be registered in SAP ISU as devices with a specially reserved device type.
    Device type is not replicated to CRM, but the call center wishes to receive an alert in IC alert modeler if a customer has a smart meter placed.
    My questions:
    - Is it possible to trigger an alert based on information in another system?
    - If so, what would be the best approach (with rough indication of effort involved)?
    - How can this custom made check be used within the alert modeler?
    Alternatively, we could create a special marketing attribute for these customers, but standard SAP cannot use marketing attributes assigned to a Business Partner either. So the question how to integrate custom check within alert modeler remains relevant for this scenario as well.
    Thank you in advance for your help.
    Regards,
    Jeroen
    PS Feel free to contact me if more information is needed!

    solved

  • Pop up message via Alert Modeler tool

    Hello,
    I would like to know if it's possible to prompt a pop-up message in CIC, via configuration in Alert Modeler.
    I know that the tool allows to prompt messages in the script reminder in the CIC screen, but what about pop up messages?! Does anybody already did that? Any help you be apreciated!
    Thanks a lot!
    Susana Messias

    Hi,
    i configured the alert ,
    like when entered name of customer it should show the poup message like he is VIP customer,
    where can i need to attach this field to  alert message , and how it is show ,
    in webclient , i went through webclient cook book , but am  failed,
    can anybody send the screen shots of config ,
    urget

  • Alert Modeler Configuration.

    Hello,
    I Need your help regarding the Alert Modeler customizing for IC WinClient framework. (CRM 4.0 Standalone)
    We have done all the basic customizing, regarding the IC profile, assign the alert
    modeler element for 'hidden components' and so on, but the main problem I think is
    to cofigure transaction 'Define Alert Modeler Profiles'.
    My intention is to make available on the IC WinClient a message that contains a
    marketing attribute of the BP, that is already assigned on transaction
    'Define Retrieval Profiles for Business Partner Attributes'.
    I´m not sure of what is missing but I think it´s something regarding the functions
    and global data we have to enter for my specific alert modeler profile.
    Could anybody help me on that please ?
    Thanks in advance and Best regards,
    Paulo Pela

    Hello,
    Thank you for your rapid help.
    In fact, I don´t know which tab (function or Global data, etc...) do I need to write the code and what javascript code do I need to write to display a marketing attribute from BP.
    Do you have any material to help me? If yes, please send it to [email protected]
    I couldn't´t find any documentation on SAP material.
    Or can you guide me to do it?
    Thank you for your attention,
    Regards
    Paulo Pela

  • Alert Modeler in IC Winclient

    Hi all,
    I am configuring the alert modeler in IC WinClient in CRM 5.0. I have created a Alert modeler profile assigned it to the IC WinClient profile. And i am able to trigger the events defined the profile.
    My problem is that i am unable to use the parameters available under each event. for example you have parameters "P1, P2, P3, P4" for ONEORDER_SAVED event. If I access them as ONEORDER_SAVED.P1 in the function, the system gives a runtime error.
    If someone has an idea as how to access these parameters, kindly let me know.
    Thanks & Regards,
    Karthik

    Karthik
    I am also doing the configuration part on Alert Modeler for IC Winclient 5.0, can you please help  me by sending the documention,how you did the configuration and assigned to the IC Winclient Profile.
    Early response is Higly appreciated.
    Regards
    Surendra

  • Alert Modeler Diffrence between 5.0 and 6.0

    Hi to all...
    I would like to know the difference between alert Modeler functionality in CRM 5.0 and CRM 6.0 .
    Is it same as Alert id,events,Placeholders ,parameters....
    or does it have a new way to achieve this functionality...?
    Your inputs are Valuable.......
    Regards
    Sanjana.

    Hi,
    The following link will give you information about the features of  CRM 2007
    http://www.sap.com/solutions/business-suite/crm/CRM_2007_features.epx
    To learn more about crm 2007 go to the following link for elearning session.
    https://www.sdn.sap.com/irj/sdn/crm-elearning
    Pls do reward points if helpful.
    regards
    Prathiba

  • Help with Alert.show()

    I need help with Alert.show(). My goal is to display a message box when a button is pressed.
    My program header:
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx"
    actionBarVisible="true" fontWeight="normal" overlayControls="false"
    tabBarVisible="true" textAlign="right" title="tipCalc">
    //// start of script section:
    <fx:Script>
            <![CDATA[
            import mx.controls.Alert;
            import mx.events.CloseEvent;
    // show a message box when button pressed
    protected function about_clickHandler(event:MouseEvent):void
                Alert.show( "This is a message!", "Dialog Title" );    }
    This results in the errors below:
    Access of undefined property Alert.
    Definition mx.controls:Alert could not be found.  

    Well, me and my three days of Flash Builder are lost in the woods. I have no idea how to do what you suggest. The code Google's showing me seems to call for scrapping my working functional program and starting from scratch. For a message box.
    Can I add a message box to my existing code?
    Here's the header...
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx"
    actionBarVisible="true" fontWeight="normal" overlayControls="false"
    tabBarVisible="true" textAlign="right" title="tipCalc">
    And here's theclickHandler that should call the popup.
        protected function about_clickHandler(event:MouseEvent):void
                    //  Call a message box.

  • Need help to read model node input field attribute present in view - first time developer.

    Hello Experts,
    I am new to CRM Web UI development.
    Presently, I am trying to develop a Guided Activity Page having 2 views.
    First view has the field Business Partner Number, I have added model Node BuilHeader and the attribute BP_NUMBER while creation of the view.
    The Second View consists of 2 fields from the Model Node BuilHeader, namely First Name and Last Name.
    The requirement is to enter the BP Number on the first screen then click on the NEXT button from the Guided Activity buttons, on navigating to the Second View, the Names should auto-populate.
    I have Created both views and the GP page, the GP navigation is also happening. Initially the fields were showing Not Bound text in value, so I commented the line in GET_I and GET methods to enable the field and remove the Not Bound text. I have created a custom controller with BuilHeader
    I have tried doing this but facing the below problems :
    1) When I enter the BP number on the first view and press Enter, the value disappears. How to solve this ?
    2) Does clicking on the NEXT button on the GP Navigation trigger a Server Roundtrip ?
    3) How to read the context node value of BP Number entered on the first view and populate the Name fields on the second view.
    Please help.........

    you can take reference from from below code as in above case we use BuilHeaderAdvancedSearch search object, to get current entity.
    data:    query        TYPE REF TO cl_crm_bol_dquery_service,.
      query ?= me->typed_context->BuilHeaderAdvancedSearch->collection_wrapper->get_current( ).
    Do not remove code from getter setter of fields , it will not clear.
    Check with http://scn.sap.com/thread/3391203 , for basic understanding of UI.
    Regards,
    Harish Kumar

  • Help with SQL MODEL Clause

    I have the privilege of performing a very tedious task.
    We have some home grown regular expressions in our company. I now need to expand these regular expressions.
    Samples:
    a = 0-3
    b = Null, 0, 1
    Expression: Meaning
    1:5: 1,2,3,4,5
    1a: 10, 11, 12, 13
    1b: 1, 10, 11
    1[2,3]ab: 120, 1200, 1201, ....
    It get's even more inetersting because there is a possibility of 1[2,3]a.ab
    I have created two base queries to aid me in my quest. I am using the SQL MODEL clause to solve this problem. I pretty confident that I should be able to convert evrything into a range and the use one of the MODEL clause listed below.
    My only confusion is how do I INCREMENT dynamically. The INCREMENT seems to be a constant in both a FOR and ITERATE statement. I need to figure a way to increment with .01, .1, etc.
    Any help will be greatly appreciated.
    CODE:
    Reference:          http://www.sqlsnippets.com/en/topic-11663.html
    Objective:          Expand a range with ITERATE
    WITH t AS
    (SELECT '2:4' pt
    FROM DUAL
    UNION ALL
    SELECT '6:9' pt
    FROM DUAL)
    SELECT pt AS code_expression
    -- , KEY
    -- , min_key
    -- , max_key
    , m_1 AS code
    FROM t
    MODEL
    PARTITION BY (pt)
    DIMENSION BY ( 0 AS KEY )
    MEASURES (
                        0 AS m_1,
                        TO_NUMBER(SUBSTR(pt, 1, INSTR(pt, ':') - 1)) AS min_key,
                        TO_NUMBER(SUBSTR(pt, INSTR(pt, ':') + 1)) AS max_key               
    RULES
    -- UPSERT
    ITERATE (100000) UNTIL ( ITERATION_NUMBER = max_key[0] - min_key[0] )
    m_1[ITERATION_NUMBER] = min_key[0] + ITERATION_NUMBER
    ORDER BY pt, m_1
    Explanation:
    Line numbers are based on the assupmtion that "WITH t AS" starts at line 5.
    If you need detailed information regarding the MODEL clause please refer to
    the Refrence site stated above or read some documentation.
    Partition-
    Line 18:     PARTITION BY (pt)
                   This will make sure that each "KEY" will start at 0 for each value of pt.
    Dimension-
    Line 19:     DIMENSION BY ( 0 AS KEY )     
                   This is necessary for the refrences max_key[0], and min_key[0] to work.
    Measures-
    Line 21:      0 AS m_1
                   A space holder for new values.
    Line 22:     TO_NUMBER(SUBSTR(pt, 1, INSTR(pt, ':') - 1)) AS min_key
                   The result is '1' for '1:5'.
    Line 23:     TO_NUMBER(SUBSTR(pt, INSTR(pt, ':') + 1)) AS max_key                                        
                   The result is '5' for '1:5'.
    Rules-
    Line 26:     UPSERT
                   This makes it possible for new rows to be created.
    Line 27:     ITERATE (100000) UNTIL ( ITERATION_NUMBER = max_key[0] - min_key[0] )
                   This reads ITERATE 100000 times or UNTIL the ITERATION_NUMBER = max_key[0] - min_key[0]
                   which would be 4 for '1:5', but since the ITERATION_NUMBER starts at 0, whatever follows
                   is repaeted 5 times.
    Line 29:     m_1[ITERATION_NUMBER] = min_key[0] + ITERATION_NUMBER
                   m_1[ITERATION_NUMBER] means m_1[Value of Dimension KEY].
                   Thus for each row of KEY the m_1 is min_key[0] + ITERATION_NUMBER.
    Reference:          http://www.sqlsnippets.com/en/topic-11663.html
    Objective:          Expand a range using FOR
    WITH t AS
    (SELECT '2:4' pt
    FROM DUAL
    UNION ALL
    SELECT '6:9' pt
    FROM DUAL)
    , base AS
    SELECT pt AS code_expression
    , KEY AS code
    , min_key
    , max_key
         , my_increment
    , m_1
    FROM t
    MODEL
    PARTITION BY (pt)
    DIMENSION BY ( CAST(0 AS NUMBER) AS KEY )
    MEASURES (
                        CAST(NULL AS CHAR) AS m_1,
                        TO_NUMBER(SUBSTR(pt, 1, INSTR(pt, ':') - 1)) AS min_key,
                        TO_NUMBER(SUBSTR(pt, INSTR(pt, ':') + 1)) AS max_key,     
                        .1 AS my_increment     
    RULES
    -- UPSERT
              m_1[FOR KEY FROM min_key[0] TO max_key[0] INCREMENT 1] = 'Y'
    ORDER BY pt, KEY, m_1
    SELECT code_expression, code
    FROM base
    WHERE m_1 = 'Y'
    Explanation:
    Line numbers are based on the assupmtion that "WITH t AS" starts at line 5.
    If you need detailed information regarding the MODEL clause please refer to
    the Refrence site stated above or read some documentation.
    Partition-
    Line 21:     PARTITION BY (pt)
                   This will make sure that each "KEY" will start at 0 for each value of pt.
    Dimension-
    Line 22:     DIMENSION BY ( 0 AS KEY )     
                   This is necessary for the refrences max_key[0], and min_key[0] to work.
    Measures-
    Line 24:      CAST(NULL AS CHAR) AS m_1
                   A space holder for results.
    Line 25:     TO_NUMBER(SUBSTR(pt, 1, INSTR(pt, ':') - 1)) AS min_key
                   The result is '1' for '1:5'.
    Line 26:     TO_NUMBER(SUBSTR(pt, INSTR(pt, ':') + 1)) AS max_key                                        
                   The result is '5' for '1:5'.
    Line 27:     .1 AS my_increment     
                   The INCREMENT I would like to use.
    Rules-
    Line 30:     UPSERT
                   This makes it possible for new rows to be created.
                   However seems like it is not necessary.
    Line 32:     m_1[FOR KEY FROM min_key[0] TO max_key[0] INCREMENT 1] = 'Y'
                   Where the KE value is between min_key[0] and max_key[0] set the value of m_1 to 'Y'
    */

    Of course, you can accomplish the same thing without MODEL using an Integer Series Generator like this.
    create table t ( min_val number, max_val number, increment_size number );
    insert into t values ( 2, 3, 0.1 );
    insert into t values ( 1.02, 1.08, 0.02 );
    commit;
    create table integer_table as
      select rownum - 1 as n from all_objects where rownum <= 100 ;
    select
      min_val ,
      increment_size ,
      min_val + (increment_size * n) as val
    from t, integer_table
    where
      n between 0 and ((max_val - min_val)/increment_size)
    order by 3
       MIN_VAL INCREMENT_SIZE        VAL
          1.02            .02       1.02
          1.02            .02       1.04
          1.02            .02       1.06
          1.02            .02       1.08
             2             .1          2
             2             .1        2.1
             2             .1        2.2
             2             .1        2.3
             2             .1        2.4
             2             .1        2.5
             2             .1        2.6
             2             .1        2.7
             2             .1        2.8
             2             .1        2.9
             2             .1          3
    15 rows selected.--
    Joe Fuda
    http://www.sqlsnippets.com/

  • Help with logical model

    Hi, I am new to this software and need some help with a simple logical model.
    Here is the task:
    I need to create a model for a parking garage.
    Each level can have any number of lots.
    There are different types of lots (handicapped, women, regular, ...) with different Prices and Sizes.
    It is important for the users and the system to know whether a lot is free or occupied.
    It is crucial to assign numbers to the lots, so users can find it again.
    And this is my model:
    Level 1:n Lot n:1 Type
    (#Level) (#Number,*Availability) (#Type,*Price,*Size)
    Question:
    Is it correct or would you change something? I am not quite sure whether to make availability and level an entity or an attribute of Lot.
    Which data types do I need to assign each attribute? What is the difference between logical and domain?
    Thanks in advance
    Edited by: user13256814 on Jun 2, 2010 3:51 AM

    Hi Bhaskaran,
      u can see the logs correspoding to your application in the server location..
    \usr\sap\<sid>\<instance_number>\j2ee\cluster\server0\
    i think ur application folder will be there inside this or within one subdirectory here.
    http://help.sap.com/saphelp_nw04s/helpdata/en/fe/4f5542253fb330e10000000a155106/content.htm
    U can check the service entries in services file which is located in
    <Drive Name>:\WINDOWS\system32\drivers\etc...
    but normally in JCO Connection test , if it is not showing errors(especially MetaData) , then it means this entry is there in the services file.
                                   Regards
                                     Kishor Gopinathan

  • Which model should I use for Multimedia purposes? (Multimedia major in need of help deciding which model is the best for me.)

    Multimedia major looking for a model in Apple that is best for me. Any advice is welcome.

    Hi
    1)you need to check the requiered characteristics are available or not from these data sources which supply data to the above said cubes,,2
    2)0CCA_C11
    3)0IC_C03
    You cann't get the inventory report from the purchasing data(purchasing data always talks about the vendor supplying inventory,it never talks about the production inventory)
    Hope it helps
    Thanks
    Teja

  • Need help identifying which model G4 I have

    I've been trying to figure out which G4 I have but have gotten a little confused by this article:
    http://docs.info.apple.com/article.html?artnum=42739
    Given my model # (M8570) and given that there are only 2 firewire ports it should be a MDD. But, in the table on the link in the Processor(s) row it says its a dual processor. When I go to the System Profiler it shows 1 processor.
    I don't think mines a dual. I think its a 1.25 GHz single.
    Is the table wrong or am I not reading it right?
    Thanks
    Tom

    Thanks, and thanks Rodney too. I'll ignore the tag on the case and dive inside. FYI I bought the machine from CDW on 5/13/04.
    I'll pop it open a little later but I have a question about the reliability of the profiler. I have another post in the 10.3.9 section asking about why my MS Office apps aren't showing up in the apps section and now the sales order stuff being missing.
    Where is the info that the profiler is displaying coming from? This is what's listed in the Hardware Overview:
    Machine Model: Power Mac G4
    CPU Type: PowerPC G4 (3.3)
    Number Of CPUs: 1
    CPU Speed: 1.25 GHz
    L2 Cache (per CPU): 256 KB
    L3 Cache (per CPU): 1 MB
    Memory: 768 MB
    Bus Speed: 167 MHz
    Boot ROM Version: 4.4.8f2
    Serial Number: YM4118ECPC1
    And in the Firewire section it lists only the 400 mb/sec bus.
    The only 1 CPU 1.25 GHz 167 MHz bus config I've seen (like in MacTracker) would make this an MDD 2003. If that turns out to be the case, then the whole problem is the tag on the case.
    I'll post back what I see inside.
    I really appreciate all the help. The reason behind this search is 1) because I will probably be selling the unit soon (have a mini) and 2) we're having trouble getting a Sonnet wireless card to work. In both cases having an accurate description helps.
    Tom

Maybe you are looking for

  • Flat file Hirarchies

    Hai.. i have created a Flat file Hierarchy in BI...Now i want create a Bex query on this ..i would like to know how to load transactional data into this Hierarchy.so, that i can view the data  in my query.....kindly revert Mahi...

  • Windows 8.1 system with new Office 2013 install not pulling down any Office 2013 updates from my SCCM 2012 SP1 server

    Hi, I've just setup a new Windows 8.1 system and added to my SCCM 2012 SP1 server and all is good and it pulled down all the correct Windows updates and pulls down automatically the FEP updates that are distributed from SCCM 2012 daily.  I just insta

  • Drag and Drop from inside iTunes to external drive won't work

    Hello all, I have a huge library of nearly 6000 cds on my computer, all in itunes. I have lots backed up on DL dvds, but i bought a 1tb drive to back up the rest. So i am selectively dragging and dropping the songs in big chunks to a backup folder i

  • Need help changing "name" on my Nano

    HI! I'm one of the lucky few who won a Nano from Tivo. My hubby wanted to use it and put his "name" on it (let's call it "Billy's iPod".) But now I got it back and set it up on my computer. How do I change it to "Bean"s iPod"? Thanks! emahine Windows

  • Wine Project looking for Photoshop CS users who want Linux support

    If you're not a Linux user, or if you don't like the idea of running Photoshop for Windows on Linux, you can stop reading now, this message probably won't be interesting to you. The Wine project is looking for hardcore Photoshop CS or 7 users who use