How to update the path for a field which is of type textarea

Hi,
1.I have multiple record block,i need to update the textarea field in this multi entry block.I have put a for loop to achieve the same,however i'm able to update the path for text field,checkbox,selecttype,but am unable to update the path for field which is of textarea.Please suggest.
2. Also i have another problem which occurs randomly.although i have record for a button click event in  my property file,button click is not happening during the playback.am getting error asVariable "obj.libraryname.web_button_BTN_1" not found for string:
please not i have entry for the above button in my property file.
Please suggest.

Say i have 5 rows then
for(int i=1;i<=5;i++){
String Newpath = updatepath(eval("{{obj.libraryname.web_input_text_fieldname}}"),i)
web.text_area(Newpath).setText("Text to be set")
Below function is used to update my path
public String updatepath(String path,int i) throws exception {
String FPath = "";
if(i<2) {
FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
} else {
FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+(i-1)+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
return Fpath
anyother way to update path and set the fields in mutiple block is appreciable
thanks
Suresh

Similar Messages

  • HOw to  find the text for PERSK field in infotype 0001

    hi all
    HOw to  find the text for PERSK field in infotype 0001

    Hi
    T503T : contained the similar informative text for PERSK . read this for T503T-PTEXT.
    ..lakhan

  • How to find the Ranges for a field ?

    Hello All,
               Can anyone tell me how to find the ranges for a field.
    <b>1</b>, i.e say I want the Ranges Structure for the field LIFNR.
        The ranges structure for this is "<b>RANGE_LIFNR</b>".
        This I used in my Program since I know it previously.
        But now I want the ranges structure for the field <b>VBELN (Delivery Document).</b>
        I  don't know what is it !!!!!
    <b>2</b>, Is there any procedure to know the ranges structure for a particular field ?
    Regards,
    Deepu.K

    Hi Deepu,
    Using 'Where used list' you can able to find out RANGES tables.
    For VEBLN range table is --> CRM_AC_ASSIGN_VBELN
    If you using a program defined as shown below.
    DATA: r_vbeln type ranges of vbeln.
    The above statement also creates ranges structure in Runtime.
    Procedure finding range table structures
    go to SE37 -> Enter domain or dataelement value
    Go to where used list --> search for 'Structures'
    After getting all structure  --> Click 'SEARCH' butoon in tool bar --> Search for 'RANGES' word
    You can get all ranges tables in the search window
    If helps plz reward points.
    Regards
    Bhupal Reddy

  • How to populate the data for additional fields in custom report of fbl5n tr

    hallo friends,
    i ha ve to add some fields to the output of custome report of transaction FBL5N.
    Till now i have only added the fields to the output.
    Now i have to write the code to populate the data for those fields in the program.
    1.     Customer Credit Group(ACM/RCM): (Table: KNKK; Field Name: VKORG )
    2.     Credit Representative Group: (Table: KNKK; Field Name: SBGRP)
    3.     Customer Account Number(CAN#): (Table: KNKK; Field Name: KNKLI)
    4.     Alternative Payer(ALTP#) : (Table: KNA1; Field Name: KUNNR)
    5.     Risk Category: (Table: KNKK; Field Name: CTLPC)
    6.     Credit Info Number: (Table: KNKK; Field Name: KRAUS)
    7.     Rating: (Table: KNKK; Field Name: DBRTG)
    8.     Payment Index: (Table: KNKK; Field Name: DBPAY)
    9.     Credit control area: (Table: KNKK; Field Name: KKBER)
    10.     Company code: (Table: KNB1; Field Name: BUKRS)
    11.     Sales Organization: (Table: KNVV; Field Name: VKORG)
    These are al fields i have to populate in the program..
    MY ATTEMPTS:
    I tried getting the data for KNKK table by GET KNKK ,but it is giving some garbage values...
    And Logical database used here is DDF,and i have to add the VKORG of KNVV too...but KNVV is not there in DDF...
    Can anybody tell me how should i proceed..
    thanks in advance.

    Thnx Andreas,
    i have following doubts again..
    I have to add sales organisation field to the selection screen...(this is given in the req.)
    now if i will say GET KNKK...it would not keep account of this 'sales organisation' field...so how should i fetch the data with these input data( i.e. 'compny code' and 'customer' are the fields given by LDB and 'sales oraganisation' is the field i put it on the selection screen)
    And what about the KNVV-VKORG ,because the KNVV is not present in the LDB.

  • How to update the model for a checkbox

    Hello,
    I have a series of check boxes. The first checkbox when checked, programmatically checks the others.
    The bidrectional binding of the UI and the model is done in the controller.
    However, when I dumped the model to the console I noticed that the actual visualized states of the checkboxes are not reflected in the console.
    I have been searching for a refresh() method or some mechanism to to the update but failed so far.
    Any help will be appreciated.

    Say i have 5 rows then
    for(int i=1;i<=5;i++){
    String Newpath = updatepath(eval("{{obj.libraryname.web_input_text_fieldname}}"),i)
    web.text_area(Newpath).setText("Text to be set")
    Below function is used to update my path
    public String updatepath(String path,int i) throws exception {
    String FPath = "";
    if(i<2) {
    FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
    } else {
    FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+(i-1)+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
    return Fpath
    anyother way to update path and set the fields in mutiple block is appreciable
    thanks
    Suresh

  • How to update the r_ord for r_name (A & B)?

    hello experts,
    i having a below table @tbl,
    DECLARE @TBL TABLE (UID INT, R_ID INT, R_NAME VARCHAR(5), R_ORD INT)
    INSERT INTO @TBL VALUES
    (1, 25, 'A', 11),
    2, 25, 'B', 13),
    3, 25, 'X', 5),
    4, 20, 'A', 9),
    5, 20, 'x', 2),
    6, 21, 'A', 17),
    7, 21, 'B', 14),
    8, 29, 'Y', 10)
    1. here as per my requirement, the "r_order" of "A" (r_name) should be greater than "r_order" of "B", please note that it is not necessary that every "r_id" have "A" & "B" as a "r_name".
    2. in above set of data we have only 2 "r_id" for which we have "A" & "B", here for "r_id"
    21 the "r-order" is correct and for 25, incorrect.
    3.we just need to swap the "r_order" for "r_id" 25?
    how to write update query for this?
    4. Also how to get all the records having same issue as "r_id" 25?
    I also need a select query? 
    output for select query should be,
    DECLARE @TBL TABLE (UID INT, R_ID INT, R_NAME VARCHAR(5), R_ORD INT)
    INSERT INTO @TBL VALUES
    (1, 25, 'A', 11),
    2, 25, 'B', 13)
    Thanks!

    The select query would be as below
    Select R_ID,R_Name,R_Ord
    From
    Select R_ID,R_Name,R_Ord,
    count(1) over ( partition by R_ID) as Cnt,SUM(CASE WHEN R_Name ='A' THEN R_Ord WHEN R_Name ='B' THEN -1 * R_Ord ELSE 0 END) OVER (PARTITION BY R_ID) AS Tot
    FROM @TBL
    WHERE R_Name IN ('A','B')
    )t
    WHERE Tot > 0AND CNT = 2UPDATE t
    SET R_Ord = CASE R_Name
    WHEN 'A' THEN bval
    ELSE aval
    END
    From
    Select R_Name,R_Ord,
    max(case when r_name='A' then R_ord end) over (partition by r_id) as aval,
    max(case when r_name='B' then R_ord end) over (partition by r_id) as bval
    From @TBL
    where R_Name IN ('A','B')
    )t
    Where aval < bval
    then update can be written as below
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to update the value inside a field symbol ?

    ASSIGN COMPONENT 'MENGE' OF STRUCTURE <fs_line> TO <fs_field>.
    <fs_field> = itab_stpo-menge.
    COLLECT <fs_line> INTO <fs_table>.
    .processing some code......
    ASSIGN COMPONENT 'MENGE' OF STRUCTURE <fs_line> TO  <fs_field>.
    <fs_field> = ( itab_stpo-menge * itab_plpo-vgw03 ).
    COLLECT <fs_line> INTO <fs_table>.
    Hi, guys,
    May i know is there a way to update the value in inside a field symbol?
    I feel hard to figure out the way to solve this situation. Kindly give me some help or perhaos tell me other altenative way to do it also can.
    Thanks in advance.
    Edited by: Jiansi Lim on Apr 25, 2008 8:09 PM

    hi check this...
    For a structured data object s, you can use the statement
    ASSIGN COMPONENT comp OF STRUCTURE s TO FS.
    Here the comp is the component name or its index number in the structure.
    Find the following sample code -
    DATA: BEGIN OF LINE,
    COL1 TYPE I VALUE '11',
    COL2 TYPE I VALUE '22',
    COL3 TYPE I VALUE '33',
    END OF LINE.
    DATA COMP(5) VALUE 'COL3'.
    FIELD-SYMBOLS: <F1>, <F2>, <F3>.
    ASSIGN LINE TO <F1>.
    ASSIGN COMP TO <F2>.
    DO 3 TIMES.
    ASSIGN COMPONENT SY-INDEX OF STRUCTURE <F1> TO <F3>.
    WRITE <F3>.
    ENDDO.
    ASSIGN COMPONENT <F2> OF STRUCTURE <F1> TO <F3>.
    WRITE / <F3>.
    The output is:
    11 22 33
    33
    I need to update one field in Internal table
    regards,
    venkat

  • How to define the format for numeric field ?

    Hello
    I have Amount field and I would to define the format to be ( XX.XXX,000 )
    How can I do this ??
    I'm new in ADF and need your help ..
    rgrds
    Edited by: moh3li_pal on Mar 1, 2010 8:05 AM

    i have the same problem i try with pattern "###,###.##" but the application adf is the inverse "###.###,##" , this a bug or the pattern errornious.??Hi Joaquin. This is not a bug, although this is a little difficult to explain without face-to-face communication :D The confusing thing here is the difference between the 'special pattern characters' and actual output characters (which are chosen based on your locale).
    If you check the Java DecimalFormat class (which provides the rules for formatting) you'll see the following:
    Using , in the pattern = Grouping separator
    Using . in the pattern = Decimal separator or monetary decimal separator
    According to your locale, the grouping separator is '.' and the decimal separator is ','. So the pattern you have specified does dictate that you should get the result you have found.
    You either need to change your locale settings (best option) or cheat by switching the , and . in your pattern.

  • How to set parameter id for a field, which is in disable mode ?

    Hi,
    I Have to set parameter id for field ledger for transaction FAGLB03, which is in disable mode, i have to set it through program,please let me know how to set it.
    Thanks.

    Say i have 5 rows then
    for(int i=1;i<=5;i++){
    String Newpath = updatepath(eval("{{obj.libraryname.web_input_text_fieldname}}"),i)
    web.text_area(Newpath).setText("Text to be set")
    Below function is used to update my path
    public String updatepath(String path,int i) throws exception {
    String FPath = "";
    if(i<2) {
    FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
    } else {
    FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+(i-1)+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
    return Fpath
    anyother way to update path and set the fields in mutiple block is appreciable
    thanks
    Suresh

  • How to change the path for dms repository in navigation iview

    Hi all,
    We integrate DMS in KM. With the documentexplorer iview we can navigate through the folders structure. So far so good.
    But for the end-user it will be easer if they can startright  from point X in the folder structure. Like dmsrm/aaa/bbb/..../X
    It's not possible to change the iview path property to dmsrm/aaa/bbb/..../X, preview shows the message  'Item nof found
    The item you are attempting to access is not available. Check that the name or link is correct. You might also check whether the associated repository is currently accessible'. For all the folders (except the root folder dmsrm) there is no acces link tab, so the ID, explorer URL and webdav URL are unknown. How to find out what the ID is?
    Thanks in advance,
    Vo

    Try going to Options > Global Preferences > Paths tab, you will see the User Settings.
    Nestor
    National Instruments

  • How to get the keys for a field in the dropdown list?

    The dropdown list of payment terms on an account is unfortunately very big, containing al lot of different values, in our system and therefore very confusing for the user working with Web UI version 5.2 to pick the right one. The keys (code like e.i Z077 or ZO23) are not stated in the list available for user. Is there any way in the system to flag if the different fields should show boths the keys(codes) and the description of the values in the field as Payment terms, etc.
    In the ERP SAP Gui it is possible to activate if you want the keys should be shown in all drop down list.
    If this is not possible for all the fields at one time, what can be a solution to have the keys in the drop down lists, any suggestion will be very valuable for us.
    Kindly regards
    Camilla

    HI Joost
    No it is not that simple, that is not a solution for us. The fields are maintained i our backend system and replicated to CRM, and these fields descriptions are also printed at Order confirmations and invoices, and we do not want the keys that do not give any meaning  to be visible to customers.
    BR
    Camilla

  • How to change the path for a file download? Sometimes, I want to save a file in a specific folder in my hard disc and I don't know how to do it. Thanks.

    There is a default folder for the download of files from the internet ("Descargas" or "Downloads"). But, what can I do if I wish to save the file in another location of the hard disk?
    Thank you.

    Use about:config and filter on browser.download, you'll see them
    '''More information on configuration variables''' available in
    [http://kb.mozillazine.org/About:config_entries about:config (entries)] and for users not familiar with the process there is [http://kb.mozillazine.org/About:config about:config (How to change)]

  • How to set the path for new version of  jdk 1.5.0

    hi
    i downloaded jdk 1.5.0 from sun website . i gave path like this C:\jdk1.5.0\bin; but showing error internal command doent reconiged.give me some instructions aboth this one with details.

    Read item #5 in the Installation Instructions for the file you downloaded.

  • How to change the path for Home and Work in SQL Developer

    Hi,
    I am new to Oracle SQL Developer. Everytime when I open a file, it will default to the install directory. It is hurtingmy hand because I have to click back to the folder where I put my sql statements.
    Is there any way to set the Home or Work button to point to the location I like? or add anther button to point to my folder? I just don't want to click 5 to 10 times to open a file.

    SQL Developer (the SQL Developer forum) might be a better place to ask

  • How to read the data in a field that has data type as VARILRAW

    Hello friends
    I have created a table with one of the field to accept a huge variable lenght field of type 'VARILRAW'.
    I have written a short Function to accept the data from an external program.
    Is there a way to see the data that Ihave entered in this field?
    ALso another problem that I am seeing is that when I send this string back tothe application, I noticed that instead of the data that I have sent, it has stored just a huge strong of letter As (AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA).
    If you can please answer these two questions, I would really appreciate it.
    Thanks
    Ram

    Hi Ram,
    Check if it help
    http://help.sap.com/saphelp_nw70/helpdata/en/cf/21f2e5446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/9d/ab1b0f055b11d2806500c04fadbaa1/frameset.htm
    Regards,
    Atish

Maybe you are looking for

  • Hi, how do I get iPhoto set up to play avi files by double clicking them in Iphoto???

    Hi, I download photos and video shots from my digi camera into iPhoto 08 and it creates an event. All normal, all good....EXCEPT...for some reason today when I double click on the video file a .avi file, it wont play it unlesss i re-save it to the de

  • Artwork Problems Solved (for me and hopefully for you)

    Ok so for all you having problems with your artwork going missing on your devices I pretty much just hit the nail on the head!! Not sure if I was the first to mention this or notice it but after hours and hours of scratching my head I found it out. T

  • Difference server base client base groupware in crm ?

    Hello experts, what is the difference between client base <> server base groupware integration in crm ? I've added the add-on for outlook and I think this the cleint base gwi. But what about the server base ? Can anybody explain the scenarios ? What

  • Never ending "please reboot to update" cycle

    Ever since (successfully) updating to v 4.1.0, every time I boot up I receive the Adobe message "The computer must be restarted before updating can continue. Would you like to restart now?" I've lived with this as all it requires is for "No" to be cl

  • How can I make Transparent background?

    I want make some part of JFrame as Transparent so that I can see through. How can I do this? any example?