Tabular Form - How to store in a column the User details (APP_USER)

Hi all,
I have let's say the following table:
USER_COMMENTS(
ID number primary key,
COMMENT_TEXT varchar2(50),
POSTED_BY_USER varchar2(50),
DATE_POSTED date,
UPDATED_BY_USER varchar2(50),
DATE_UPDATED date)
How do I, using a Tabular Form, get the USER details in the columns POSTED_BY_USER and UPDATED_BY_USER and the SYSDATE in DATE_UPDATED...
I've tried the following:
Created tabular form, all fields included. In Report Attributes > edit UPDATED_BY_USER > Display as Display as Text (saves state); Default Type: Item (application or page item); Default: APP_USER.
It's not working.
Thanks!
Andrei

It has to be a text field column type with source like the other updatable columns. You should hide that column and create a second of display as text if you want to show the content. Once this is done then you can use the default value and just type the item name there as you did:
P1_ITEM
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------------------

Similar Messages

  • Tabular form - How to add a G_USER column?

    Hi All,
    I have a tabular form that shows records form a table. the form allows updates only, not inserts/deletes.
    I want to add a column to hold the user who last updated the record. I know I can use APEX_APPLICATION.G_USER function but I am not sure where to put it.
    I tried by creating a computation but it shows me only page items, since I am using tabular form the column is not a page item.
    Also, how can ensure to update only those rows who were actually updated by the user and not all rows that were displayed?
    Thanks

    Fabio,
    You can create a database trigger on the table, "when updating" ...
    :NEW.LAST_UPDATED_BY := nvl(v('APP_USER'), user);
    Scott

  • Tabular form - how to auto populate a column with the user name

    Hi,
    I have a tabular form with 3 columns - (customer name, notes, user). my users are allowed to enter customer details in the notes section... as soon as the user completes notes section and save the form, I want "USER" field to be auto populate with the user name so that I may track activity by the user...
    Please advice how to accomplish it...
    thanks in advance

    Hi,
    After user saves the forms that means commit to the database, so you can simply write a trigger like:
    CREATE OR REPLACE TRIGGER "AUDIT"
    before insert or update on TABLE1
    for each row
    begin
    :new.user_field := nvl(v('APP_USER'),user);
    end;
    Regards,
    Aljaz
    Edited by: Aljaz on 4.3.2012 22:03

  • How to find out the User Details for the particular transaction

    Hi,
    Actually AJAB -Asset Year closing was done by One User.How and Where to find out the User details who executed the Transaction.Kindly tell me the T-code for this.
    Thanks
    Sap Guru

    Hi:
    Please contact you basis administrator.Give him the T.code and date when Year closing was done. He may resolve your problem.
    Please let me know if you need more information,
    Assign points if useful.
    Regards
    MSReddy

  • Tabular Forms - how to change the color of text when the field is disabled

    Hi,
    I have a tabular form and some of it's columns are disabled showing text in grey color...
    is there a way to change the color to black and bold the text...?
    thanks

    Okay, i've taken a look at your example.
    The column formatting does not work on the input fields. The help on the item says that it generates a span with a style attribute. This would work for a display field, not for an input field.
    Css like i've written should be in the style tags, put up in the header section of the page (page -> edit -> header region).
    You've already put script tags there, the style tags go there aswell. You shouldn't even need to put your script tags in the header region. Just put your code up in the javascript functions region (without the script tags).
    However, i tested in firefox and here color works on an input field, changing the font color. In IE it does not do this. Cross browser implementations and such, not much to do about it here. See http://stackoverflow.com/questions/602070/changing-font-colour-in-textboxes-in-ie-which-are-disabled.
    I did notice that you build your form with a bunch of input fields, which you disable through javascript in the footer of the region. Then on submit, you set the disabled to false again for all those fields! If you want those fields to always be submitted to the server, why wouldn't you use the readonly attribute? Readonly fields are always submitted, and can't be edited by the user. Plus, readonly fields CAN be styled however you want! You can get rid of the javascript code in your header then.
    Even the javascript in the footer is not necessary. If you just add 'readonly="true"' (without single quotes) to the element attributes of your items (edit column -> column attributes region) = no javascript at all (less maintenance).

  • How to validate input fields as the user is filling up a form with jQuery?

    Hello EA friends.
    Someone has experimented on how to validate input fields as the user is filling up a form with jQuery?, if the field is numeric and insert an A for example, an alert appears showing "insert a number" or not allowed to enter anything until a number is entered.
    Thanks and regards.
    Fer

    Hi Sudeshna.
    Sorry for not responding on time, how can I be included in this code?
    sym.setVariable("typeActivity", "input")
    var Element_1=document.createElement(typeActivity);
    $(Element_1).css({"text-align": "center"});
    //Answer
    sym.setVariable("Answer_1", "4");
    sym.$("box_1").append(Element_1)
    This code is on my creationComplete and it works fine.
    Would greatly appreciate your help.
    Regards.
    Fer García

  • How do I create a column the same size?

    How do I create a column the same size?
    I'm concatenating up to 6 cols into one col. If one of the column has a space it will shrink it (I used varchar2 and char) .
    e.g: col1= '123456', col2= ' ', col3= ' ',col4= ' 123', col5=' 51',....etc
    I want to see them as :colx= '123456', ' ', ' ',' 123',' 51'
    Thanks for your help.

    You are alomost right,:-)
    since OP said :If one of the column has a space it will shrink it (I used varchar2 and char) .
    So you should use replace function not trim function.
    test >  select  replace(' a b c ',' ') from dual
      2  /
    REP
    abc
    test >  select trim(' a b c ') from dual;
    TRIM(
    a b c

  • Allow a simple form with "data" to be saved by the user.

    Back in version -x, it used to be so simple.  You created a form that could be read in a web browser.  Users could could fill out the form and save the form to their computers with their data.  Since that first version that allowed that, Acrobat has not progressed in logical fashion.  In a later version, you couldn't save the data.  Then in another version, you could again save the data.  Now you have some nice interactive features. I appreciate the new developments and see where they could be a godsend.  However, the simple thing that I used to be able to do in version -x, and the thing I most want to do,  I can no longer do and it is frustrating.
    Here's the situation:  we have an announcement on the web for Vacation Bible School.  We want to have a pdf with a form that people can fill out online and save to their disk (as their copy of the registration form) and then print out one copy of the form so that they can send it along with their check for the registration fee.  Why should that be so difficult?
    If it weren't for the fact that people have to send in checks, one of the fancy new options would work.  But it is not applicable in this situation.
    Here are my current options:
    I can "distribute" an emailable form (which I don't want to do) and then explain to the user that they should not hit the "submit" button but save the file to their disk.  (First rule of public relations - Don't confuse the public!)  It works in the last version of REader 8+ and in Reader 9.
    I can save the form without distributing it. But the user can't save it with the data!
    Please, PLEASE, PLEASE.  Allow a simple form with "data" to be saved by the user.
    Peace and blessings
    Barbara

    Thanks for a quick response.
    In Acrobat *8 or 9 Professional you can enable a form to be activated with the save feature.
    How do you do this.  When I saved the form without distributing it, and opened the form up in Acrobat Reader, the header said specifically that the data could not be saved in the form.  And when I went to save it, I got the message in a popup that said "Data in this form will not be saved. Reader can only save a blank copy of this form."  Then a second message (with a light bulb) said:  "Please print your completed form if you would like a copy for your records."
    So, if in fact I can have the form (without "distributing" it) so that the user can save the form with the data, how do I do that?  Are there commands I use, options?  Please let me know.  I will be eternally grateful.
    Also, if you edit form fields, you may remove the submit button.
    The edit form fields does not offer any access to the submit button.
    Best,
    Barbara

  • How do I delete one of the user accounts on my computer and not lose the data in that account?

    How do I delete one of the user accounts on my computer and not lose the data in that account?

    I actually have the opposite of this problem. haha.
    https://discussions.apple.com/thread/4484354

  • Is it possible to have a PDF form flow to a second page IF the user needs to type in a lot of information? ( Like a Word Doc would)

    Is it possible to have a PDF form flow to a second page IF the user needs to type in a lot of information? ( Like a Word Doc would)
    An automated second page.

    There are two approaches.
    If you wish to use AcroForm technology, then you would need to write a bunch of JavaScript to enable this.  It has been done, but it’s not trivial.
    If you wish to use XFA technology, then it can be setup to happen automatically.
    Be aware that in both cases, even though both technologies are part of the PDF standard, that the forms will only be usable in this manner in Adobe’s viewers as many others don’t support JavaScript or XFA.

  • How to get the User Details inoformation in portal?

    I had defined the user informations in "Portal User Details". But i don't know how to get it and what the user table is?
    for example: How to get the email address of user i have defined in portals?
    Tank you very much!
    Ghia Liu
    Genesyslogic.com.tw

    You would use the portal API's for this, there is one named wwsec_api.person_info that returns a record with the specified user's information, such as first name, lsat name, email, telephone, etc - a pretty long list. With release 2 of portal the data is no longer stored in the wwsec_person$ table as it was in release 1 so use the API (which actually is how I would normally do it in release 1 as well).
    To get more documentation on portal API's go to: http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/plsql/doc/astart.htm
    Hope that this helps you - enjoy the day!
    Art

  • How to Add IBAN Field in the Bank Details Infotype?

    Hello All,
    I need to know the procedure for How to add IBAN field in the bank details infotype?
    Could anyone help me please.
    I m new to SAP HR.
    Immediate help will be appreciated.
    Thanks.
    Regards,
    Mudassir.Imtiaz

    Hi mudassir,
    For IBAN implementation:
    1. Implement SAP Notes 925410, 1409674, 1405521
    2. Go to t-code FIBF - From menu select Settings - P/S Modules - of an SAP Application - Create entry
    For Turkey we've added the following entry (depends on country) :
    00003040 TR CONVERT_IBAN_2_BANK_ACCOUNT_TR
    3. Go to V_T588M for module pool MP000900 and screen 2000 select IBAN & Q0009-IBAN00 fields as standard.
    4. Go to table T77S0 and make value of ADMIN IBAN entry S.
    Regards,
    Dilek

  • How to send external mails to the user

    Dears,
    How to send external mails to the user who creates the sales document (Quotation)
    Can you please suggest what modification required in the FM
    Thanks,
    pinky

    You can have a partner function like 'Created by' and use an exit to populate the User ID to this partner function(dont have the system right now but i think this can be done with standard partner detr. procedure also)
    Then, create an Output type for that Partner function with transmission medium as 'External Send'. You can use the standard SAP program to trigger the email. To send the actual email after the output is trigerred, the link connection has to be set up be BASIS but if you want to check, then goto SOST and see if the email got trigerred or not.

  • How to identify which record(s) the user hasbeen checked

    i have a internal table in which first field is represented as check box in the output .
    like bellow
      loop at g_it_final into g_wa_final.
            write : 5 sy-tabix ,
                   20 g_wa_final-g_v_check as checkbox,
                   25 g_wa_final-TRKORR,
                   40 g_wa_final-AS4TEXT.
      endloop.
    now the user will select some records from the output checking the check box
    NOW the QUESTION is
    how to identify which record(s) the user hasbeen checked(selected) ?
    so that i can disply only the selected records in the secondary list.

    Hi,
    You will have to use the 'READ LINE' command within a loop to retrieve the data back into your program.
    You may want to use the HIDE command to ease the retrieval of the checkbox value.
    Check out the online help for both of these.
    Darren

  • How to start Integration server with the user XISUPER

    Hi,
    How to start Integration server with the user XISUPER?
    Regards,

    Mahesh,
    In the post installation document, under Creating User XISUPER,
    I see the following,
    1.You must now log on to the Integration server host with the user XISUPER, to switch the initial password to a valid password.
    2.You must restart the J2EE engine to transfer the user creation to the J2EE immediately.
    I am unable to proceed here.Can you please help me to resume the post installation steps ?
    Thanks,

Maybe you are looking for