Is it possible to prefix a field with value in search layout in CRMOnDemand

Hi Folks,
We have a requirment where customer wants to prefix Service Request No field with "489124-" in the search layout,so that the agent can type in the remaining part of the SR number in the search layout w/o having to type "489124" every time as it is same for every SR that is created in the system.
Any help/ thoughts / ideas are appreciated.
Cheers!!!
Deepak Veearavalli.
Edited by: Deepak Veeravalli on Nov 30, 2010 1:34 PM

Hi,
Thank you for your response. Am sorry I couldn't get what exactly you meant. I Would be greatful if you could provide/elaborate in detail as how it needs to be done. Also please provide an example as how to do that.
Cheers!!!
Deepak.

Similar Messages

  • A function instead of UNBOUNDED PRECEDING (like "Last field with value=0")

    Hello,
    I have a table with many rows. The attributes of the table are code, month and value.
    For each code there are 12 months and 12 values.
    No I want to add the gaps between the months...
    Is it possible to count the following gaps between the different rows...?
    For example:
    Original table1:_
    code, month, value
    1,1,20
    1,2,0
    1,3,30
    1,4,0
    1,5,40
    1,6,0
    1,7,0
    1,8,20
    1,9,0
    1,10,10
    1,11,0
    1,12,0
    5,1,0
    5,2,20
    5,3,10
    description:*
    january value = 20
    february value = 0 (=>count this gap => new value 1 )
    march value = 30
    april value = 0 (=>count this gap => new value 1 )
    may value = 40
    june value = 0
    july value = 0 (=>count this two following gaps => new value 2 )
    agust value = 20
    september value = 0 (=>count this gap => new value 1 )
    october value = 10
    november value = 0
    december value = 0 (=>count this two following gaps => new value 2 )
    New target table:_
    code, month, value
    1,1,20
    1,2,*1*
    1,3,30
    1,4,*1*
    1,5,40
    1,6,0
    1,7,*2*
    1,8,20
    1,9,*1*
    1,10,10
    1,11,0
    1,12,*2*
    5,1,*1*
    5,2,20
    5,3,10
    I tried this code:
    select code, month
    sum(value) over (
    order by month
    rows between unbounded preceding and current row
    *) as final_value*
    from table1 order by month;
    This adds all following fields cumulative from beginning to current_row. But I need this adding only for the following gaps... then start with countin by 0.
    I need only the following like in the example on top. Maybe is there an other function like decode to count only the following gaps...!?
    A function instead of unbounded preceding....like "*Last field with value=0*" or something... ?
    Best regards,
    Tim

    TimB83 wrote:
    I have a table with many rows. The attributes of the table are code, month and value.
    For each code there are 12 months and 12 values.
    No I want to add the gaps between the months...
    Is it possible to count the following gaps between the different rows...?
    For example:
    Original table1:_
    code, month, value
    1,1,20
    1,2,0
    1,3,30
    1,4,0
    1,5,40
    1,6,0
    1,7,0
    1,8,20
    1,9,0
    1,10,10
    1,11,0
    1,12,0
    5,1,0
    5,2,20
    5,3,10
    description:*
    january value = 20
    february value = 0 (=>count this gap => new value 1 )
    march value = 30
    april value = 0 (=>count this gap => new value 1 )
    may value = 40
    june value = 0
    july value = 0 (=>count this two following gaps => new value 2 )
    agust value = 20
    september value = 0 (=>count this gap => new value 1 )
    october value = 10
    november value = 0
    december value = 0 (=>count this two following gaps => new value 2 )
    New target table:_
    code, month, value
    1,1,20
    1,2,*1*
    1,3,30
    1,4,*1*
    1,5,40
    1,6,0
    1,7,*2*
    1,8,20
    1,9,*1*
    1,10,10
    1,11,0
    1,12,*2*
    5,1,*1*
    5,2,20
    5,3,10
    ...Tim,
    you should post this question on the "SQL and PL/SQL" forum since it's a typical SQL question.
    There are probably much better ways to accomplish this and the guys over there will tell you, but here are two examples that might get you started:
    1. Pre-10g without MODEL clause
    with t as (
    select 1 as code, 1 as month, 20 as value from dual union all
    select 1 as code, 2 as month, 0 as value from dual union all
    select 1 as code, 3 as month, 30 as value from dual union all
    select 1 as code, 4 as month, 0 as value from dual union all
    select 1 as code, 5 as month, 40 as value from dual union all
    select 1 as code, 6 as month, 0 as value from dual union all
    select 1 as code, 7 as month, 0 as value from dual union all
    select 1 as code, 8 as month, 20 as value from dual union all
    select 1 as code, 9 as month, 0 as value from dual union all
    select 1 as code, 10 as month, 10 as value from dual union all
    select 1 as code, 11 as month, 0 as value from dual union all
    select 1 as code, 12 as month, 0 as value from dual union all
    select 5 as code, 1 as month, 0 as value from dual union all
    select 5 as code, 2 as month, 20 as value from dual union all
    select 5 as code, 3 as month, 10 as value from dual
    r1 as (
    select
            case
            when value = 0
            then 1
            else 0
            end as is_gap
          , case
            when value != 0
            then rownum
            else null
            end as grp_info
          , code
          , month
          , value
    from
            t
    r2 as (
    select
            last_value(grp_info ignore nulls) over (partition by code order by month) as grp
          , is_gap
          , code
          , month
          , value
    from
            r1
    select
            code
          , month
          , case
            when value = 0
            and (lead(value) over (partition by code order by month) != 0 or
                 lead(value) over (partition by code order by month) is null)
            then sum(is_gap) over (partition by code, grp)
            else value
            end as value
    from r2;2. 10g and later with MODEL clause
    with t as (
    select 1 as code, 1 as month, 20 as value from dual union all
    select 1 as code, 2 as month, 0 as value from dual union all
    select 1 as code, 3 as month, 30 as value from dual union all
    select 1 as code, 4 as month, 0 as value from dual union all
    select 1 as code, 5 as month, 40 as value from dual union all
    select 1 as code, 6 as month, 0 as value from dual union all
    select 1 as code, 7 as month, 0 as value from dual union all
    select 1 as code, 8 as month, 20 as value from dual union all
    select 1 as code, 9 as month, 0 as value from dual union all
    select 1 as code, 10 as month, 10 as value from dual union all
    select 1 as code, 11 as month, 0 as value from dual union all
    select 1 as code, 12 as month, 0 as value from dual union all
    select 5 as code, 1 as month, 0 as value from dual union all
    select 5 as code, 2 as month, 20 as value from dual union all
    select 5 as code, 3 as month, 10 as value from dual
    select
             code
           , month
           , value
    from
             t
    model
    partition by (code)
    dimension by (month)
    measures (value, 0 as gap_cnt)
    rules (
      gap_cnt[any] order by month =
      case
      when value[cv() - 1] = 0
      then gap_cnt[cv() - 1] + 1
      else 0
      end,
      value[any] order by month =
      case
      when value[cv()] = 0 and presentv(value[cv() + 1], value[cv() + 1], 1) != 0
      then presentv(gap_cnt[cv() + 1], gap_cnt[cv() + 1], gap_cnt[cv()] + 1)
      else value[cv()]
      end
    );Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Custom field in SRM as a dropdown field with values stored in R/3

    Hi all,
    I need help with custom drop-down field in SRM 5.0 shopping cart. We need to create custom field called Location in SRM goods receipt transaction. And this location field will be a drop-down field that will be filled with values from locations stored in R/3. I would really appreciate if someone can help me achieve this.
    Regds,
    Kim

    Hi,
       Just attach a  custom search help to this field and then in the search help EXIT(RFC enabled Function module) write the logic to reterive the values from R/3.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Can't initialise dialog screen fields with values

    Hi.
    I have a dialog screen with 10 fields named
    TXT_FILEDESC1, TXT_FILEDESC2, ...TXT_FILEDESC10.
    I tried to initialise these 10 fields with the following codes, but I got an error message:
    DATA: TXT_FILENAME TYPE ZDM_OF-FILE_NAME,
          TXT_FILEDESC TYPE ZDM_OF-FILE_DESC.
    FIELD-SYMBOLS: <FS_TXT_FILENAME>, <FS_TXT_FILEDESC>.
    MODULE PBO_9000 OUTPUT.
      SET PF-STATUS 'STATUS_9000'.
      SELECT FILE_NAME FILE_DESC FROM ZSCSDM_OF INTO TABLE SCREEN_INIT.
      LOOP AT SCREEN_INIT INTO SCREEN_INIT_LINE.
        SCREEN_INIT_NO = SY-TABIX.
        CONCATENATE 'TXT_FILEDESC' SCREEN_INIT_NO INTO TXT_FILEDESC.
        ASSIGN (TXT_FILEDESC) TO <FS_TXT_FILEDESC>.
        MESSAGE E002(ZMSGGARY) WITH TXT_FILENAME.
        <FS_TXT_FILEDESC> = SCREEN_INIT_FILEDESC.
        ENDLOOP.
    ENDMODULE.                    "PBO_9000 OUTPUT
    Runtime Error - A new value is to be assigned to the field "<FS_TXT_FIELDDESC>", although this field is entirely or partly protected against changes...
    Could anyone share why I got the above error message when i try to run the program (Execute --> In A New Window)? Thanks.
    null

    I got the reason for the error. It's because I did not clear the contents of TXT_FILENAME before the next loop.
    LOOP AT SCREEN_INIT INTO SCREEN_INIT_LINE.
    <b>TXT_FILENAME = ''. ==> This solves the problem.</b>
    CONCATENATE 'TXT_FILEDESC' SCREEN_INIT_NO INTO TXT_FILEDESC.
    ENDMODULE. "PBO_9000 OUTPUT

  • IDOC segment fields prefixing blank space with values

    Hi Experts,
    I am sending data through custom IDOC from SAP to XML which generates successfully but getting 2 problems in the data.
    its having 3 level idoc segments:
    SEGMENT1 with 1 field (field_name(20))
    SEGMENT2 with 3 fields, (code_g(20), field_name(20), value(20))
    SEGMENT3 with 4 fields, (code(20), field_name(20), Language(2) & text(20))
    When i check the idoc in WE02,
    1. i found that segment2-value field is prefixing some space along with the values.
        Eg: if the output is "0111" whihc is plant, in the output (WE02) it is giving "       0111"
    2. Segment3-language is no where in the output and text which should come as "011" is coming like "       EN011" means it is concatinating language field value and displaying it with the text field value with prefixing space.
    This is happening in PRD not in QA & DEV. I also checked the transport req and everything, Its same everywhere.
    Can anyone please help me on this.
    Regards,
    Nik

    Hi,
    This issue happnes when u are moving the data to iDOC segement with offset.
    to aviod this improper move instead of using offset statement use below mentioned code.
    decalare a structure as
    Data SEG1 type SEGMENT1 ,
            SEG2 type SEGMENT2,
           SEG3 type SEGMENT3.
    then while moving
    SEG2-code_g = 'XXXX'
    SEG2-field_name = 'YYYY'
    SEG3-value = 'ZZZZ'
    here u are moving the segment values to idoc data (SDATA) and then append it.
    move seg3 to idoc-sdata.
    then append it to idoc.
    hope this helps

  • Possible to include merge fields with exported PDF?

    Hello,
    I have only a simple question - is it possible to include data merge fields when exporting to pdf?
    Using InDesign CS2, we are doing a direct mailing campaign and having the printing outsourced. It is a 4 page document with only page 1 personalised - sending to over 1,500 recipients.
    The printer says he doesn't want our indesign file, he just wants us to create the 4 page indesign document, prepare the data merge fields, export to pdf and then send it to him.
    He says he'll then import it back into his own indesign one he gets this pdf and do the merge himself with the excel .csv file we provide.
    Does this sound about right? If so, how can I ensure the pdf is correct to send over?
    I have managed to get the data merge fields to be clickable like links in the exported PDF by including 'hyperlinks' and 'interactive elements' when exporting - but is this correct?
    Thank you in advance for all your help...

    The printer is right that he can use your pdf.  It is ok to place a pdf into InDesign. It might fit into his workflows and experience to do this work so.
    I would recommend to use a PDF/X4 with bleed as the printer requieres to place into an INDD file. But you should communicate with your printer how he wants it.

  • Auto populate field with value same as one in a previous existing field

    Hi,
    Suppose I have only two fields in an acrobat form, one is name A and aonther is B. I want A and B has the same value.
    If I input a date value into field A like November 20, 2010, is that possible the field B can be auto filled with the same value as that in the A field?
    How about other type of data such as number?
    What should I write in validation or calculation area in the field properties of B?
    Thanks and looking forward to getting help from the PDF expert.
    wayne

    The attached demonstrates global data binding and populating text, numeric and date fields on exit and calculate events.
    The file Population-and-binding.xml used in the preview to demonstrate global data binding looks like this.
    Steve

  • Search help on a field with value range

    Hi,
    I have a z-table. One of its fields has a z-data element with z-domain which has a value range. I have a requirement to add a search help on selection screen field which is parameter for mentioned field of my z-table. How can I do that?
    Tnx in advance,
    Nati

    Hi,
    Where you want to add the search help, i mean in report or in screen painter.
    In Screen painter, you can take the reference of Z-Data Element by Dictionary option in Screen layout.
    If it is report, you can use F4 function module(F4IF_INT_TABLE_VALUE_REQUES) or can creat the elementary search help in DDIC and give it as MATCHCODE OBJECT in PARAMETER statement.
    Regards,
    Chandu

  • Table with a dropdown field with values.....

    Friends, I opened this new thread with my good explanation whatim looking for . sorry for this.
    I have a table:
                        col1            col2               col3
    row1              r1c1           r1c2               r1c3
    row2              r2c1           r2c2               r2c3
    row3              r3c1           r3c2               r3c3.
    I need col2 to be dropdown. Here when doinit default data is being passed to this table. Now when the WDA loads, i want col2 to be dropdown, but with only one value. whatever i have in backend.Here intially i want to disable col2. User should not hcange it.
    But when i hit ADDNEWROW button, it shoudl create row4,  with some (i m writing a query to fetch col2 values) values in the dropdown. User should be able to select any value here.
    The r1c2 and r2c2, r3c2, should not change on ADDNEWROW.  they should remain the same.
    Hope this time i explained you correctly, and im expecting ur replies friends...
    Kindly respondg back to me. thanks to all in advance,
    Niraja

    Hi Niraja,
    Please refer the code below for filling drop down in table.... this is hard coding i.e. i m filling value directly with out using database table .now wht u have to do is that you have to create an internal table with two column one key and one value. select data from database into internal table. thn just replace hard coding with the value and key column of internal table
    Please note SAP doesnt recommend usage of select query in WD abap. use any FM instead.
    DATA LR_NODE_INFO TYPE REF TO if_wd_context_node_info.
    data ls_value type wdy_key_value.
    data lt_value_set type wdy_key_value_table.
    ls_value-key = 'a'.
    ls_value-value = 'APPLE'.
    append ls_value to lt_value_set.
    ls_value-key = 'b'.
    ls_value-value = 'BANANA'.
    append ls_value to lt_value_set.
    ls_value-key = 'c'.
    ls_value-value = 'GRAPES'.
    append ls_value to lt_value_set.
    ls_value-key = 'd'.
    ls_value-value = 'MANGO'.
    append ls_value to lt_value_set.
    lr_node_info = wd_context->get_node_info( ).
    lr_node_info = lr_node_info->get_child_node( 'CN_UITABLE' ).
    lr_node_info->set_attribute_value_set( name = 'CA_COLUMN2' value_set = lt_value_set ).
    As suggested by Stefan you can make the read only field by using enable property.
    regards Pranav
    Edited by: Pranav Nagpal on Nov 21, 2008 5:55 AM

  • How to add Currency field with dropdown on screen layout (module pool)

    I need to add a field called <b>Currency( field label )</b> with <b>dropdown (like SKB1-WAERS). </b>
    The <b>field label</b> and <b>input output field </b> should default as being hidden and
    sould be visible only when other field value ( on the same screen ) should match with the value in the database table . 
    Could you please suggest me how to create dropdown
    and give this functionality with coding ?
    Thanks in advance.

    Hi,
    In the field attributes of the SKB1-WAERS..in the group attributes..give a group name G1..Add the same G1 for the field lable also.
    Then in the PBO of the screen..
    ***Check the conditions..when other field value (on the same screen) matches
    ***with the value in the database table.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'G1'.
        SCREEN-INPUT = '0'.
        SCREEN-INVISIBLE = '1'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    Thanks,
    Naren

  • Infosource Fields with values from multiple Data Sources

    Hi Experts,
    My question is:
    i have to load values of only few fields of 0LIS_11_VAHDR and few fields of 0LIS_11_VAITM into one infocube.
    If i just create one infosource with those fields only in communication structure, but then i can assign only one data source at time, how to load values from another datasources at same time?
    Can i do it using single infosurce? and if yes any guideline....
    Thanks......

    My dear, the problem is that even for the first solution (only one infosource) you have to manage two separate dataloads, since linking several datasources to one infosource means only that you can manage a unique communication structure, but different transfer rules/structures and, avove all, two different infopackages !
    So, you have anyway to face the automation issue of your dataloading.
    My suggestion has been more functional and conceptual than technical (for which I gave the same answer, that is, "you can do it"): you are not loading a master data source (the same object 0MATERIAL) with attributes, texts and hierarchies (and in this case it's obvious that you have to use one infosource); here you want to use the infosource dedicated to the header flow to load item info too (and you will have to use the same and unique update rules).
    Again, no problem from a technical point of view, but I guess that someone who will look into your architecture, probably, will have something to say with this kind of choice !!!
    Bye,
    Roberto

  • To populate another alv grid's field with value selected from search help

    Hi,
    I have two fields in alv grid, first column holds code and the second one holds code's description. Also I have a search help includes these two fields. The search help is attached to the first column. The requirement is, when I select a code from the search help, second column should be populated with selected code's description.
    Any help will be appreciated. Thanks..

    Hi,
    have a look into Report: BCALV_EDIT_03.
    Regards, Dieter

  • Display a generated query in a text field with values

    Hello, I generate a query based on pl/sql. This works fine, but how can I display the query with the values from an item?
    i.e. in my query i have select * from a_table where name = :p1_name
    if i want to display the query in the correct way " select * from a_table where name = 'JOHN'.
    When i try this i only display select * from a_table where name = :p1_name, not the value i have applied to the item.
    Hope someone can help..

    htp.p('select * from a_table where name = ' || :P1_ENAME);
    Scott

  • Validate field with value range

    Hello,
    I need to validate a field. This field's domain is defined in the Dictionary as a Value Range (i. e. 'A', 'B', etc.).
    How can I do it generically, that is, when I update the domain, my code will still validate correctly the values?
    Thank you!

    hi,
    Write a select on DD07L table by passing DOMNAME and get DOMVALUE_L & DOMVALUE_H which has the domain values and validate accordingly ... You can get the domain name of a data element from DD04L table where pass the data element name in ROLLNAME and get DOMNAME ...
    Regards,
    Santosh

  • How can I add table fields with existing structure ?

    I like to add PSTLZ field to stucture KOMGG.Is it possible to add table field with the existind structure.If yes how can I do this?kindly help me on this.

    hi
    go to se11
    in change mode select the button append
    create new append which starts from Zpstlz in this komgg structure and add data element and domain to this field and activate with request number
    then in field catalogue this field should be visible ,here ends your append
    now it is ready to use in condition tables.
    reward if helps !!!!!

Maybe you are looking for

  • A resolution to many ID3 related issues

    If you search for problems with ID3 tags and iTunes you get a lot of result, and the problems people seem to have varies a lot. I myself have had problems for years and never figured it out before, but recently I got so annoyed and really wanted to g

  • MacBook will not shut down

    I cannot turn my MacBook Pro off. The shut down option doesn't work. Holding down the power off button doesn't work. I've tried letting the battery die out. It turns off only because it runs out of juice but when I get back on I have the same problem

  • Organism: extensible outliner+personal organizer (needs beta testers)

    Organism is basically a simple outliner structured in a very modular way: the core is written in Python 2 (but should be easily adaptable to Python 3) and provides the backend for interacting with sqlite databases, where the data is stored. The core

  • Authorisation object - F_BKPF_BUP

    Hi, I posted this question before but would just like to get confirmation, since no developer in my company thinks that this is possible. We want to restrict certain users from posting to a specific period, while we want to give everyone access to pe

  • Would like to cooy music data to microSD card

    I would like to copy the music data to microSD card, But BlackBerry Link copy the music data to device. Could you let me know how to copy the music data to microSD card? Thank you very much! BlackBerry Link Version 1.1.0 Build 32 (Mac version) Blackb