How to include the apex username in a trigger?

Hello everyone!
When I click in a button update one trigger is execute it,
I have a table, in this table I have create a trigger,
in this trigger when it does an insert or update in another table, one of field of the second table is the username,
How do I sent the apex username in a trigger?
With APP_USER I get the user_name but I don't know how to do for including in the trigger.
Any help would be appreciated.
Best Regards

Hello again ATD!
Thank you very much for your help.
I have marked ten points for you.
Excellent!!
Regards

Similar Messages

  • How to Include the URL of a page in Notification Email ?

    Hi ALL,
    I need your help to implement the below requirement.
    I have implemented Email notification in our application.so when ever the user creates any form/modify the form ,mail will be triggered to them.Now the users want to include the link in the email.
    When they click the link in email ,it should be navigated to the newly created form page in Apex.
    How to include the link of the page in the Email process?
    Thanks,
    Ramya.

    Hi Tuceef,
    Thanks for the response.
    I have created another hidden item P8_URL1 IN page 8 and
    I have created an on submit process in page processing section.
    the pl/sql code is
    Begin
    htp.p('<script type = "text/javascript">');
    function setLocation(href)
               // set the location path specified in the textbox.
               htp.p('location.href = document.getElementById(href).value;');
              htp.p('P8_URL1:= location.href');
    htp.p('</script>');
    end;But the code fetching the plain URL only,it's navigating to the empty form page when i click on the URL.
    Please correct the code if am wrong anywhere!
    Thanks & Regards,
    Ramya.

  • How to include the page dynamically in JSF

    Hi all
    Below is static include
    <jsp:include page="../inc/sideMenu.inc"/>
    How to include the file dynamically
    Thanks

    Hi,
    Though I have not tried it I think making use of a variable to hold the page name to be included should work. Could you try this and see if it works?
    Cheers
    Giri :-)

  • How to include the pages dynamically in JSF

    Hi all
    Below is static include
    <jsp:include page="../inc/sideMenu.inc"/>How to include the file dynamically
    Thanks
    Sudhakar

    Hi,
    Though I have not tried it I think making use of a variable to hold the page name to be included should work. Could you try this and see if it works?
    Cheers
    Giri :-)

  • How to include the insert picture option in the PDF form?

    Hi, Can some one please help How to include the insert picture option in the PDF form? I am using acrobat XI pro and trying to use an evaluation form which requires to insert product pictures.

    Here's a link to a previous topic where this was discussed: http://forums.adobe.com/message/6050458

  • How to Include the Infocubes in a Multiprovider..!!

    Hello Experts,
    Question is related to multiproviders. I have some 20 to 30 of the infocubes in Dev System.
    I have 2 multiproviders in the same system. I come to know..some of the infocubes missed out in multiproviders.
    I tried to add those missed infocubes into multiprovider (MPRO --> Context Menu --> Change ) Change Structure.
    But i found some of the infocubes are not available in the MPRO Structure Itself. For your info those all missed infocubes all are avaialable in the Dev system into some other info areas.
    Now Question is how to include the infocubes of which of them are not available in MPRO Structure itself. I want to add the infocubes in the Multiprovider itself.
    Please reply me the answer for the above scenario.
    Thanks and Regards,
    SN.

    Hi Parvin,
    Thanks for your reply. But i already tried as you mentioned.
    Here my issue is..even for giving the tickmark also..the infocube needs to be opened in the MPRO structure.
    My problem is Infocube itself is not opening in MPRO Structure.
    How to include the infocube in the MPRO Structure itself.
    Those cubes are avaialable in the Dev system where as those are not available in MPRO.
    Thanks,
    SN

  • How to include the simbol % in a flash chart

    hello everyone
    Do you know how to include the simbol % in a flash chart?
    I am using a 3D flash chart. This simbol obviously would be after that number of percentage.
    Do I must modify the chart XML adding some after that {VALUE} ?
    Any help would be very appreciated
    Thank you in advance
    Best Regards

    Erik:
    You can specify the '%' in the 'Postfix' field in the 'Display Settings' on the 'Chart Attributes' page.
    Varad

  • How to export the Apex web page to PDF with click of a button?

    How to export the Apex web page to PDF with click of a button?
    Am looking at exporting the Form view on APEX to be exported to PDF.

    In order to get a PDF, you need to generate a Report....in PDF format.
    If you are using the APEX Listener, you can initiate the download of the PDF by calling APEX_UTILS.download_print_document()  (I normally place this in a Process)
    BUT -- You have to create the Report (under Shared Components) and a Template (also under Shared Components).
    The white paper in my first post gives you the HOWTO "[Create] Custom PDF Reports with Oracle Application Express and the APEX Listener".
    Start by creating a Report (in Shared Components, bottom right) that uses a simple SQL statement like:
    Select * from emp where empno = :P15_EMPNO
    You may need to hard code the parameter before you hit "Download XML" button.
    The XML that you get from clicking "Download XML" satisfies the "Step 1 - Create an XML Data Source" found on Page 11 of the document.
    The rest of the instructions is in that whitepaper.
    MK

  • How to make the APEX tree in the "Expand All" shape by default?

    Could anybody please enlighten me on how to make the APEX tree in the "Expand All" shape by default please? I created an APEX tree and by default it's in the "Collapse All" shape. I am using APEX 4.1.0.00.21

    Hi,
    you can check the view source of html and check the onclick code written on that plus sign(Expand All), just copy that onclick javascript code and put it on page javascript event.
    Thanks,
    Jaydip Bosamiya
    +91-76000 23053
    http://jbosamiya.blogspot.com

  • How to include the hebrew languare in the Oracle Data?

    Hi All,
    I'm using this code in nls_lang value in the registry to include Arabic and English languages in the data:
    AMERICAN_AMERICA.AR8MSWIN1256
    but how to include the hebrew language to be used in the data also Plz?
    Note: I'm using Oracle DB 10g R2

    Your database character set (SELECT value FROM nls_database_parameters WHERE parameter='NLS_CHARACTERSET') must be AL32UTF8 to support both Arabic and Hebrew. The client must be Unicode-enabled to enter both languages simultaneously.
    -- Sergiusz

  • How to include the Pipe symbol ("|") in the column heading.

    Hi ,
    Can somebody advice how to include the Pipe symbol ("|") in the column heading.
    Regards,
    Yagne

    Are you looking for this ->
    satyaki>
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    satyaki>set colsep '|'
    satyaki>
    satyaki>select * from emp;
         EMPNO|ENAME     |JOB      |       MGR|HIREDATE |       SAL|      COMM|    DEPTNO|JOB1     |DOB
    ----------|----------|---------|----------|---------|----------|----------|----------|---------|----
          7499|ALLEN     |SALESMAN |      7698|20-FEB-81|     211.2|       300|        30|SALESMAN |
          7521|WARD      |SALESMAN |      7698|22-FEB-81|      1650|       500|        30|SALESMAN |
          7654|MARTIN    |SALESMAN |      7698|28-SEP-81|      1650|      1400|        30|SALESMAN |
          7788|SCOTT     |ANALYST  |      7566|19-APR-87|      4356|          |        20|ANALYST  |
          7839|KING      |PRESIDENT|          |17-NOV-81|      6600|          |        10|PRESIDENT|
          7844|TURNER    |SALESMAN |      7698|08-SEP-81|      1980|         0|        30|SALESMAN |
          7876|ADAMS     |CLERK    |      7788|23-MAY-87|     145.2|          |        20|CLERK    |
          7900|JAMES     |CLERK    |      7698|03-DEC-81|      1254|          |        30|CLERK    |
          7902|FORD      |ANALYST  |      7566|03-DEC-81|    4791.6|          |        20|ANALYST  |
          7934|MILLER    |CLERK    |      7782|23-JAN-82|      1716|          |        10|CLERK    |
          7566|Smith     |Manager  |      7839|23-JAN-82|      1680|         0|        10|Manager  |23-JAN-89
         EMPNO|ENAME     |JOB      |       MGR|HIREDATE |       SAL|      COMM|    DEPTNO|JOB1     |DOB
    ----------|----------|---------|----------|---------|----------|----------|----------|---------|----
          7698|Glen      |Manager  |      7839|23-JAN-82|      1680|         0|        10|Manager  |23-JAN-89
          1111|Selen     |SALESMAN |      7499|20-FEB-81|      1920|         0|        20|SALESMAN |23-JAN-89
          1111|Selen     |SALESMAN |      7499|19-OCT-08|      3000|         0|        10|         |
          7499|ALLEN     |SALESMAN |      7499|19-OCT-08|      3000|         0|        30|         |
             1|boock     |         |          |         |          |          |          |         |
    16 rows selected.
    Elapsed: 00:00:01.03
    satyaki>Regards.
    Satyaki De.

  • How to include the first row of detail in every xquery transformed xml?

    I am dealing with a XML file,where i need to publish to different BS.
    First node will be a common node node which contains vital info,second node goes to one BS and third goes to another BS.
    *<header></header>*
    *<details></details> (they are unbounded, but the first detail tag which comes in the input file is a mandatory tag in such a way that it needs to be included in every transformed message)*
    *<trailer></trailer>*
    We need to apply x query transformation on it in such a way:
    *</header></header>*
    *<1st detail></1st detail>*
    *<detail></detail> (2nd row of detail in input file)* -------------------------> Goes to BS1
    *<trailer></trailer>..*
    *<header></header>*
    *<1st detail></1st detail>*
    *<detail></detail> (3rd row of detail in input file)* ----------------------------->Goes to BS2
    *<trailer></trailer>*..
    And so on.
    Now, the problem is how to include the first row( *1st detail* ) of detail in every xquery transformed xml?

    are you looping of this input with a for each?
    /yourdata/details[1] should return always the first detail element.
    or before the for each do an assing of this first detail element to "generic_details_var"
    and use this var in every looping iteration (in an assign or as input for xquery)

  • How to include the promotion and sales deal in the value contract ?

    Question : Can a value contract contain other special pricing agreement ?
    If yes, how to include the promotion and sales deal in the value contract ?
    Thanks for your input.
    Oscar

    Hi Oscar,
    I have not worked on this aspect as such but once you create a value contract I think you as well create a promotion and sales deal for the customer with whom you have value contract with in the validity period of the contract and system should pick up data accordingly as the customer is same (Contract) and is within the validity period.
    Pl give feed back.
    regards
    Srini

  • How to include the file name as an XML field

    Hi,
    I'm using a file adapter for process a flat file and convert it into an XML. Does anybody knows how to include the file name into an XML field.
    Ex.
    I process the file named <b>XXIMN21022007.txt</b> and I need an XML like:
    <MT_FILE>
    <field1></field1>
    <field2></field2>
    <field3></field3>
    <filename><b>XXIMN21022007.txt</b></filename>
    </MT_FILE>
    Regards
    Gonzalo

    Just go for dynamic configuration.
    Check the sender file adapter to write the filename in the header (as explained in Michal's blog) and then read that header in some mapping.
    U can use that even in simple message mappings.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
    Your code for the filename tag would be something like:
    <i>DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(
        “http://sap.com/xi/XI/System/File”,
        “FileName”);
    return conf.get(key);</i>
    Regards,
    Henrique.

  • Can any one tell me how to include the company logo and some poictures into the Teststand report

    1. Can any one tell me how to include the company logo and some pictures into the Teststand report?
    2. How to include the waveforms into the report?

    http://zone.ni.com/devzone/cda/epd/p/id/3619
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

Maybe you are looking for

  • XSL Transformation enconding problem?

    Hi everybody. I have a strange problem with JDev 9.0.2.829 concerning XSL Transformation: I just tried to make the step from JDev 3.2.3 to 9i, imported my existing project and set up JDev 9 for use with XalanJ2 and Xerces2. Everything works fine exce

  • Scanning

    I use an HP Photosmart C8180 all-in-one printer/scanner, connected wirelessly to an iMac running 10.7.5 HP software was "updated" but I think this was something related to os 10.7.5 rather than HP, but I am not certain. Since the change in software I

  • Acrobat Distiller and music notation application

    Hi All, I am on Windows XP, and Acrobat 7.0. I am trying to convert sheet music to PDF from the application Finale 2008. Occasionaly, sections are produced in the PDF where the lines are lighter, or in some cases are missing altogether.  It is not a

  • Xslt/xpath: count preceding elements which starts-with 'S'

    Hi everybody, I got the following XML: <?xml version="1.0" encoding="UTF-8"?> <ROOT>      <A1>           <FOO>1</FOO>      </A1>      <A1>           <FOO>2</FOO>      </A1>      <B1>           <FOO>3</FOO>      </B1>      <A1>           <FOO>4</FOO>

  • OPC instance deadband

    DeadBand-Sets the percent of change within a range that a value from the OPC server must change before the OPC server communicates the value to the Shared Variable Engine. I can't understand how OPC Server relize data range for different OPC items, w