How to make data entries in a database table field as a hyperlink?

Hello all,
I am designing an application in BSP. The requirement is to  make some of the entries in the database
tables as hyperlink values.
I have a database table which has a field "country feature". The scenario is  that the user can enter any value in this field through view. The value can be a hyperlink or a free text, depending on the user requirement.
Is there any way by which the user can enter hyperlink values in the particular field in a database table?
Thanks in advance for your help.
Gurmahima.

Hey Gurmahima ,
This is sample code for Selecting and deselecting all the checkboxes .
All you have to do is Set a pf-status and follow the code logic .
Here w_check is the check box field , w_line is the line your raeding and w_lines is the total number of lines(entries ) you have in table .
set pf-status 'SELECT' .
case sy-ucomm .
    when 'SELECTALL' .
      set pf-status 'SELECT' excluding 'SELECTALL' immediately.
      w_line = w_line + 3  .
      do w_lines times .
        read line w_line field value w_check .
        if w_check = space .
          w_check = 'X' .
          modify line w_line field value w_check.   
          add 1 to w_line .
        endif .                        " IF W_CHECK = ' '
      enddo .                          " DO W_LINES TIMES
      clear w_line .
    when 'DESELECT' .
      set pf-status 'SELECT' excluding 'DESELECT' immediately.
      w_line = w_line + 3  .
      do w_lines times .
        read line w_line field value w_check .
        if w_check = 'X' .
          w_check = space .
          modify line w_line field value w_check .
          add 1 to w_line .
        endif .                        " IF W_CHECK = 'X' .
      enddo .                          " DO W_LINES TIMES
      clear w_line .
Hope you get it!
Much Regards ,
Amuktha .
Edited by: Amuktha Naraparaju on Feb 5, 2009 6:22 AM

Similar Messages

  • How to select alternate entries from the database table

    Hi Experts,
    can u help me, how to select alternate entries from the database table.
    Thanks

    As there is no concept of sequence (unless there is a field specifically included for the purpose), there is no meaning to "alternate" records.
    What table do you have in mind, what data does it hold, and why do you want alternate records?
    matt

  • How to make "Data Entry Profile" field input unable or display only in CAT2

    hi ,
    I have requiremnet where I need to make "Data Entry Profile" field in the CAT2 transaction as Display only .That is for each user it should come as default one .
    The reason behind this is , user should not change this Profile and maintain an incorrect timesheet entries.
    Is there any User exit where i can do this ? 
    Let me know as this is very urgent requirement.
    Points will be definately rewarded.
    Thanks .

    Hemant,
    Got SHD0 transaction and create screen variant for that transaction there you can disable that field.
    Create Transaction variant for that transaction and assign previously created screen variant to this transaction varient. actiavte.
    Reward if it helps,
    Satish

  • How to Copy Existing values & make new entries in ISU Database tables TE609

    Hi friends,
    In SAP-ISU for a database table TE609(MR Reasons (Values))
    how can I maintain the new MR Reasons, when I press  F4 help, in the EL28 standard Transaction those new MR reasons must reflect in the Selection-screen.
    There is one Maintenance view TE609T, I maintained the entries in it, but those entries are not reflecting in EL28 Tcode when I pressed F4 Help.
    Please guide me in this...
    Thanks in Advance
    Ganesh

    Hello Ganesh,
    You are not dealing with the same Data Element (Meaning of the field).
    In EL28, it's ABLESGRE - Meter reading reasons for single entry
    On table TE609, it's ABLESGR - Meter reading reason
    If you take a look at the domain of ABLESGRE, ABLESGRE , you will see that there are FIXED VALUES, that's where come your values.
    For single entry (EL28), you can only use those values( Fixed Values from Domain of the Data Element).
    Maybe what you need is to find another transaction to enter Meter Readings and not SINGLE ENTRY.
    Don't forget to give me points if it's helping you.
    Kind Regards,
    Artur Moreira

  • How to retrieve deleted entries of a database table

    Hi,
    I accedentally deleted database table from se14.
    how to retreive the table of entries.
    regards ,
    Rajesh

    you did not assigned any point to any one i guess... its not how we thanks to an answer on sdn community. (whether it had helped u solve ur problem or a concrete answer with not possible)
    But i am pretty much sure you can restore from ur latest backup and you could get your table along with data. in case u are not still gatting it. then probably you need to restore DB strcuture first (i know in AIX OS you can make a copy of DB structure using MKSYS command ) which will create structure of database and then you can restore the same backup which we are talking about using restore procedure.
    Mandeep

  • How to restrict the entries of a database table based on the user name

    Hi All,
    I have created a Database Table. Table maintenance generator is generated for the table.
    UNAME(user name) is one of the fields in the table. whenever the user creates a new entry, the field UNAME will be populated automatically with SY-UNAME value. I have used Table event '05' to do this.
    My requirement is...
    When a user tries to maintain the entries of the table using SM30, when 'DISPLAY' is chosen, all the records of the table should be displayed.
    When 'MAINTAIN' is chosen, only those records which have UNAME = SY-UNAME(User Logged in) should be in EDIT mode. and rest all the records should be in DISPLAY mode(greyed out). It should allow to edit only those records which are created by the user logged in.
    Could you please tell me how to do this..? Thanks in advance.
    Thanks & Regards,
    Paddu.

    HI,
    In table main. gen there are number of events , try to select one event like 05 for the Sy-uname.
    For the  requirement:
    In that event write the code like
    this is basic idea not the code:
    Case ' Sy-ucomm'.
    when 'display'.  " button
       Nomally for the display button it will show all the records, but we need to write a code like this.
    select all records frm the table.
    ( Need to write the code in case if the user first maintained the data then again press the display , list has to be refreshed.)
    when ' Maintain'. " button.
    Fetch the records that are with SY-UNAME and find out the edit function and implement it on each and every record.
    endcase.
    Thanks and Regards,
    Bharani.

  • How to create mass entries in a database table

    Hi,
    I am going to do a program that can help me to charge registers in a database table. The origin of the registers is an excell file, that contains 39000 entries.
    In other programs I use this function: 'ALSM_EXCEL_TO_INTERNAL_TABLE' but this function can only read 9999 registers. So I ask for us if There is another function that can help me. The other possibility that I think is call many times this function but If is possible to find another function, I guess that is better.
    Thanks and regards.

    Please allow me to translate "charge registers" into "create entries".
    This function module works quite simple via the clipboard, you could take the code and create your own version that allows more rows. However there might be a bottleneck at some point due to your local PC power.
    You could also store as CSV or TXT and use GUI_UPLOAD function or the "frontend" classes.
    For more performant processing the data would need to be transferred to the application server and uploaded from there using OPEN DATASET and so on, please search for more information.
    Thomas

  • Oracle DB: How to read data from a corrupted database table.

    Hi All,
    Wanted to know if there is a way I could read data from a corrupted Oracle database table?
    Are there any tools that I can use? Or does Oracle provides any mechanism to do that?
    Any pointers in this regard would be helpful.
    Thanks in Advance.

    user10600611 wrote:
    Table shows inconsistent data.You are going to have to be more specific. Inconsistent in what sense? A correct data model should not allow for inconsistencies to crop up.
    However, you may be able to use one of the many FLASHBACK features of Oracle to look at the table at a prior point in time before the corruption.
    HTH!

  • How to insert data from screen to database Table..??

    This is regarding screen painter area..
    I have created a Z-table.
    Also created a screen where i am having input box.
    After entering text in the input box, i will click "SAVE" push button.
    When i click "SAVE" push button, the Text entered in the screen input box should be saved in that z-table.
    How to do it...??
    Can anybody explain me with ABAP code...???
    Thanks
    Pavan

    Hi,
    You can try follwong logic.
    tables : ztable.
    data wa_ztable like line of ztable.
    Case sy-ucomm.
    when 'SAVE'.
      clear wa_ztable.
      wa_ztable-field1 = screenfield1.
      wa_ztable-field2 = screenfield2.
      wa_ztable-field3 = screenfield3.
    modify ztable from wa_ztable.
    endcase.
    If it is simple database insertion,
    you can always use Table Maintainance provided by SAP.
    So that the code will be automatically generated and you dont have to worry.
    Regards,
    Shashank

  • Import  data in excel to database table

    How to insert data from excel to database table ? any suggestion ?

    Hi,
    1. Save your file as csv (say having empno, ename, sal and deptno columns).
    2. Create a HTML page with file browse item.
    3. Create a button.
    3. Create the following process to be executed on pressing button on your region.
    BEGIN
    DECLARE
    v_blob_data BLOB;
    v_blob_len NUMBER;
    v_position NUMBER;
    v_raw_chunk RAW(10000);
    v_char CHAR(1);
    c_chunk_len number := 1;
    v_line VARCHAR2 (32767) := NULL;
    v_data_array wwv_flow_global.vc_arr2;
    v_rows number;
    v_sr_no number := 1;
    v_rows_loaded NUMBER;
    BEGIN
    -- Read data from wwv_flow_files</span>
    select blob_content into v_blob_data
    from wwv_flow_files
    where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER)
    and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
    v_blob_len := dbms_lob.getlength(v_blob_data);
    v_position := 1;
    -- Read and convert binary to char</span>
    WHILE ( v_position <= v_blob_len ) LOOP
    v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
    v_char := chr(hex_to_decimal(rawtohex(v_raw_chunk)));
    v_line := v_line || v_char;
    v_position := v_position + c_chunk_len;
    -- When a whole line is retrieved </span>
    IF v_char = CHR(10) THEN
    -- Convert comma to : to use wwv_flow_utilities </span>
    v_line := REPLACE (v_line, ',', ':');
    -- Convert each column separated by : into array of data </span>
    v_data_array := wwv_flow_utilities.string_to_table (v_line);
    --DELETE OLD DATA
    -- Insert data into target table </span>
    IF v_sr_no >1 THEN
    EXECUTE IMMEDIATE 'INSERT INTO EMP(EMPNO, ENAME, SAL, DEPTNO)
    VALUES (:1, :2, :3, :4)'
    USING
    -- v_sr_no,
    v_data_array(1),
    v_data_array(2),
    v_data_array(3),
    v_data_array(4);
    END IF;
    -- Clear out
    v_line := NULL;
    v_sr_no := v_sr_no + 1;
    END IF;
    END LOOP;
    END;
    COMMIT;
    END;
    Hope this helps.
    Regards,
    Zahid

  • How to insert date/time to sql database

    Hi,
    I would like to insert date and time alongside with my data receiving from the sensor.
    Right now i can insert data into sql table everytime when the data changes but i also wanted to insert the date and time as well.
    Thank you in advance!

    I create a field that is a datetime and set the default value to getdate().  So everytime i make an entry into this database, it automatically adds a datestamp.

  • How can I Insert data into my msaccess Database table

    Hello all,
    I am new to Java programming and I have problem that how can i insert name into my database table.
    The code which i have written is following:
    String filename = "d:/test.mdb";
    String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
    database+= filename.trim() + ";DriverID=22;READONLY=true}";
    Connection con = DriverManager.getConnection(database,"","");
    String s = String.valueOf(text.getText());
    int k =10;
    Statement st = con.createStatement();
    st.execute("create table Test123(name text)");
    st.execute("INSERT INTO Test123 values" +s);
    on the INSERT program throws exception???
    can any one help me how to insert data into tabel.
    Thanks

    he INSERT program throws exception???
    can any one help me how to insert data into tabel.I have never used the jdbc driver to access, but what do you think that the flag READONLY=true means? An insert is not a read.
    Kaj

  • How to make an entry in transport tab of business system in SLD

    Hi gurus,
    In PI, in SLD we maintain Business systems. In this business sytem if we go to have a detail look there is a Transport tab.
    What is this used for and how to make an entry here.
    I'm a basis person and i'm configuring XI for the first time. Kindly help.
    Regards,
    Priya

    1. Yes , you have to maintain target business system for the EACH BS in PROD system.
    2. Normally we do have 2 different sld one is explictly for production system. another one is for dev and QA system. Once u done creating all the systems needed for the project. we will copy all business from the dev server to production server. So production server will have all BS from Dev and  BS of production server.
    3. i am not sure about this. i dont have particular docuemnts . normally we assign target business system in transport tab. and in Intergration Directory we will export the business system from DEV and and import the business system in production system.
    Regards,
    Balaji
    Edited by: Balaji Pichaimuthu on May 19, 2010 9:06 AM

  • I have an Ipad using 5.0.01 and am new to the experience. When I click on the icon for calendar, I get the calendar presentation but do not no how to make an entry.  The tutorials all say you click on the " " sign, but there is no such sign in the lower r

    I have an ipad with 5.0.1 and trying to learn how to use it.  When I click on the icon Calender, I get the calendar  presentation but I do not know how to make an entry.  Every tutorial I have looked at says that you click on a + sign in the lower right corner and then make your entry.  I do not have a + sign on my screen.  Can some one help me.

    You can download a complete iPad 2 User Guide here: http://manuals.info.apple.com/en/ipad_user_guide.pdf
    Also, Good Instructions http://www.tcgeeks.com/how-to-use-ipad-2/
     Cheers, Tom

  • How to make the entry unique

    Hi guys,
    I have a table of people with the following fields:
    firstName
    lastName
    DOB
    email
    address
    group
    as you can see, nothing makes an entry unique. so say I would like to get some info about John Smith, I might found more than one entry for John Smith.
    Question: any idea how to make an entry unique? hashing???
    I'm using mySQL.
    Thanks for any help
    Peter

    You need to assign a primary key to your table ( a field that can't be reproduced). You can add a social security field and make it your primary key.
    Your mysql line might look like this (for a table with 2 fields):
    mysql> CREATE TABLE Info( Name varchar(64),
                                                         SSN varchar(64) primary key);

Maybe you are looking for

  • Error while releasing Transport request number

    Hi Friends,                    Whenever i release the Transport request from SE01 i am getting the following error. Please view the attached image . Could you please explain about that error ? and how can i prevent it in future ?

  • Oracle 9i and 10g in one computer

    Could I install oracle 10g in computer where 9i is instaled. I want that both oracle is instal and test oracle 9i and 10g. Could I run oracle database 9i and 10g together and I use both of the database? Thanks for answer. Rafal Dmitrowski

  • Encoding/windows issue  .m4v versus .mp4

    I like the results of encoding with h.264, but I now have a new problem. About half of my windows users cannot see the videos or have to go to through inconvenient steps to see the video postings at http://kitesites.libsyn.com. The first posting (Luc

  • Join two table in different instance

    Hi, I have two table in different instance . IMEI in instance A RCA_SMART_CARD in instance B Below is the desc table : SQL> desc RCA_SMART_CARD; Name Null? Type N_CARD_ID NOT NULL NUMBER(10) C_CARD_SERIAL_NUMBER NOT NULL VARCHAR2(20) C_SIM_MSISDN VAR

  • Hierarchical View from STS

    Hi    As an planning coordinator, when he launch the STS, he will sees the Hierarchical View from the overview page first, if he need to see the status of each node, he have to open each sub-node one after another, currently it take about 40 seconds