Would I use Dynamic Actions for this?

As part of my hiring action, I would like to trigger an email to the Org's chief once the employee record is created. Is this done via Dynamic Actions? If so, can someone give me a step-by-step on how to set that up?
Thanks!

Hi you can use code like this in table T588Z
Infotype
|0000 |    |          |06|101|P|P0000-MASSN='E9'| check Action Type
|0000 |    |          |06|102|P|P0000-MASSG='02'| check Reason for Action
|0000 |    |          |06|103|P|PSPAR-PERSG='4' | check Employee group
|0000 |    |          |06|104|W|PSPAR-PERSG='6' | check employee subgroup
|0000 |    |          |04|105|M|M0001           | call a feature
With this feature M0001 I think you can make it
M0001 Parameter Settings for Mail on Change to Infotype Record
   Object
     Feature
   Task
     This feature enables you to control who is sent a mail, the text sent,
     and the processing type used.
   Use
     The feature can be used for all master data infotypes for both employees
     and applicants.
   Note
     Decision field TCLAS enables you to control whether processing is
     carried out only for employees (TCLAS=A) or only for applicants
     (TCLAS=B).
   Procedure
     The return matrix of the feature has the following form: XXXXX ZZZZZ
     XXXXX Mail attribute
     o   IDTXT - Name of a standard text. The first line is used as a title,
                 therefore you should formulate the mail after the second
         line
                 of the standard text. The above variable is entered. You can
                 only activate the infotype fields that trigger a mail.
     o   RECV1 - Recipient 1 is the administrator for HR master data from the
                 Organizational Assignment infotype (0001) who is responsible
                 for the employee on today's date.
                 For applicants this is the personnel officer.
                 The user name contained in T526 is converted into an office
                 name. This conversion takes place for RECV2 and RECV3.
     o   RECV2 - Recipient 2 is the payroll administrator taken from
                 the Organizational Assignment infotype (0001) who is
                 responsible for the employee on today's date.
                 This field is not supported for applicants.
     o   RECV3 - Recipient 3 is for the Time Management administrator taken
                 from the Organizational Assignment infotype (0001) who is
                 responsible for the employee on today's date.
                 This field is not supported for applicants.
     o   SUBTY - You want the employee whose data is changed to receive an
         e-mail
                 Here you specify which subtype is to be used to read the
                 employee's infotype 0105 record, that is, in which subtype
         you
                 store the employee's mail name. The employee only
                 receives a mail if SUBTY is filled.
     o   OUTBX - The mail should be in the sender's outbox.
     o   DISTR - Distribution list that is stored in the general folders
                 in SAP-Office (Transaction SO04).
     o   NAME1 - If the infotype that triggers the mail is not the
                 Organizational Assignment infotype (0001), then the feature
                 specified is read.
                 You can define distribution lists and recipients in
                 this feature. The standard SAP system contains the
                 feature RCIEV, which can be used as an example.
     o   NAME2 - If the infotype that triggers the mail is the
                 Organizational Assignment infotype (0001),
                 then the feature specified will be read
                 using the new data contained in infotype 0001. New data
                 means data contained in an infotype record for infotype
                 0001 that has been changed after the mail was sent. You
                 can define a distribution list and a recipient in this
         feature.
                 The standard SAP system contains the feature RCNEW,
                 which can be used as an example.
     o   NAME3 - If the infotype that triggers the mail is the
                 Organizational Assignment infotype (0001),
                 then the feature specified here, will be
                 read using the old data contained in the infotype. Old
                 data means data prior to changing the infotype record that
                 triggered a mail to be sent. You can define distribution
                 lists and recipients in the feature. The standard SAP
                 system contains feature RCOLD, which can be used as an
                 example.
     You can give a mail a process. The recipient of the mail can start the
     transaction specified from the mail:
     o   TCODE - Transaction code
     o   PAINF - Infotype
     o   PASUB - Subtype
     o   PABEG - Begin date
     o   PAEND - End date
     o   PAFCD - Function code (OKcode)
     ZZZZZ 30-character value that is entered in the field.
     o   XXXXX = IDTXT: ZZZZZ is a standard text from SAPScript with the text
         ID PAMA (Transaction SO10)
     o   XXXXX = RECV1, RECV2, RECV3: ZZZZZ=X is the appropriate
         administrator who is to receive the mail
     o   XXXXX = SUBTY: ZZZZZ is 4-digit subtype for the infotype 0105
     o   XXXXX = OUTBX: ZZZZZ=X the mail is put in the sender's outbox
     o   XXXXX = TCODE: ZZZZZ=PA30, PA20, PB30 or PB20
     o   XXXXX = PAINF: ZZZZZ is the 4-digit number of an infotype
     o   XXXXX = PASUB: ZZZZZ is the 4-digit number of a subtype
     o   XXXXX = PABEG, PAEND: ZZZZZ= either an 8-digit date in the format
         YYYYMMDD, e.g. ZZZZZ=19950630 for "30.06.1995", or enter the name of
         a variable in inverted commas, e.g. ZZZZZ='P0001-ENDDA'. The
         following exist: P0001-BEGDA, P0001-ENDDA, P0002-BEGDA, P0002-ENDDA,
         Pnnnn-BEGDA, Pnnnn-ENDDA, nnnn is the number of the infotype that
         triggers the mail to be sent.
     o   XXXXX = PAFCD: ZZZZZ=COP  Copy, ZZZZZ=DEL  Delete, ZZZZZ=DIS
         Display, ZZZZZ=EDQ  Lock/Unlock, ZZZZZ=INS  Create, ZZZZZ=MOD Change
     By using the operation NEXTR, you will jump into the feature's
     subsequent line. The last line of an action is closed with commas (not
     NEXTR).

Similar Messages

  • Problem in copying wagetype into IT0008 using Dynamic Action for IT0015

    Hi All,
    My requirement is based on the Number/ Unit the user enters on the IT0015 screen in the PA30 transaction ,I have created a dynamicaction that will fetch the corresponding wage type from a table T511K and display the screen of IT0008 where the BEGDA would be the Date of Origin of IT0015 and a new record should be added to the already existing wagetypes of IT0008.
    I have already created the dynamic action and the BEGDA is getting correctly fetched from the IT0015's Date of Origin. However, I am in doubt as to how to add the corresponding wage type from table T511K in the already existing wagetypes of IT0008. Please help me. Points would be rewarded.
    If possible could you please provide the code for it.
    Regards,
    Rahul Agrawal.

    Rahul  Technically speaking this can be achieved by any way but would like to share you the nature of wage types which comes in IT0015 and IT008 completely differs functionally along with Respective infotypes Ie The wage types in 15 will be a irregular wage type and in IT0008 Regular wage type and IT0015 have Time constraint 2 and IT0008 have TC 1
    So would like you to check once with your functinal before going to the development

  • Would I use web apps for this?

    I'm new at Business Catalyst...
    Would I use a "web app" to allow a single business to log-in to just one page (their business directory listing) to make changes?  I'm trying to figure out the "work flow" for this. 
    It seems like a "secure zone" is a page that isn't seen by the public - but the directory listings will be public pages -  I want each business listing to be accessed by the business through a unique login so they can keep their page updated. Thanks.

    Thanks for the link.  I'll read those tutorials on webapps. I have been learning to use MUSE for the past week and published it to BC, but the BC environment is so different.  I understand you do the editing in MUSE and publish again.  I'm hoping that businesses in a directory updating their page from the "front end" will have a user friendly environment with a web app....
    Are there any live example sites that serve as an example of this?  Thanks again!

  • How to use dynamic query for this ??

    hi , i am new to ABAP. i got a requirement to write  dynamic query for the following code.
    kindly address. two set of queries are same.but condition is different.
    .IF p_psd EQ ' '.
    *C--End of change DF 1232137- (Transport # :CIDK980530 )
    *C--FETCH THE Deliverd Quantiity and Material Number
        SELECT aufnr "ORDER number
               wemng "Quantity of goods received for the order item
               matnr "MATERIAL NUMBER
               pwerk "PLANT
               dauat "Order Type
               FROM afpo
               INTO TABLE t_afpo
               WHERE aufnr IN s_order
               AND   wemng IN s_dqt
               AND   matnr IN s_matnr
               AND   pwerk IN s_plant
               AND   dauat = c_ro.
        IF sy-subrc = 0.
          SORT t_afpo BY aufnr matnr pwerk.
    *C--FETCH THE OBJECT NUMBER
          SELECT aufnr "ORDER number
                 objnr "Object number
                 FROM aufk
                 INTO TABLE t_aufk
                 FOR ALL ENTRIES IN t_afpo
                 WHERE aufnr = t_afpo-aufnr.
          IF sy-subrc = 0.
            SORT t_aufk BY aufnr objnr.
    *C--FETCH THE Target Quantiity
            SELECT aufnr "ORDER number
                   gamng "Total order quantity target quantity
                   FROM afko
                   INTO TABLE t_afko
                   FOR ALL ENTRIES IN t_afpo
                   WHERE aufnr = t_afpo-aufnr
                   AND   gamng IN s_tqt.
            IF sy-subrc = 0.
              SORT t_afko BY aufnr .
            ENDIF.
          ENDIF.
        ELSE.
          MESSAGE text-e03 TYPE c_s. " No data for the selection criteria
          LEAVE LIST-PROCESSING.
        ENDIF.
    *C--Begin of change DF 1232137- (Transport # :CIDK980530 )
      ENDIF.
      IF p_psd EQ c_x.
        SELECT aufnr "ORDER number
               wemng "Quantity of goods received for the order item
               matnr "MATERIAL NUMBER
               pwerk "PLANT
               dauat "Order Type
               FROM afpo
               INTO TABLE t_afpo
               WHERE aufnr IN s_order
               AND   wemng > 0
               AND   matnr IN s_matnr
               AND   pwerk IN s_plant
               AND   dauat = c_ro.
    if sy-subrc = 0.
    *C--FETCH THE OBJECT NUMBER
        IF  NOT t_afpo[] IS INITIAL.
          SORT t_afpo BY aufnr matnr pwerk.
          SELECT aufnr "ORDER number
                 objnr "Object number
                 FROM aufk
                 INTO TABLE t_aufk
                 FOR ALL ENTRIES IN t_afpo
                 WHERE aufnr = t_afpo-aufnr.
          IF sy-subrc = 0.
            SORT t_afko BY aufnr gamng.
          ELSE.
            MESSAGE text-e03 TYPE c_s. " No data for the selection criteria
            LEAVE LIST-PROCESSING.
          ENDIF.
        ENDIF.
        IF NOT t_afpo[] IS INITIAL.
    *C--FETCH THE Target Quantiity
          SELECT aufnr "ORDER number
                 gamng "Total order quantity target quantity
                 FROM afko
                 INTO TABLE t_afko
                 FOR ALL ENTRIES IN t_afpo
                 WHERE aufnr = t_afpo-aufnr
                 AND   gamng <> t_afpo-wemng .
          IF sy-subrc = 0.
            SORT t_afko BY aufnr gamng.
          ELSE.
            MESSAGE text-e03 TYPE c_s. " No data for the selection criteria
            LEAVE LIST-PROCESSING.
          ENDIF.
        ENDIF.
      ELSE.
        MESSAGE text-e03 TYPE c_s. " No data for the selection criteria
        LEAVE LIST-PROCESSING.
      ENDIF.
    Edited by: Thomas Zloch on Jan 5, 2011 1:30 PM please use code tags

    Hi friend,
    Try using MACRO and dynamic WHERE condition.
    Group simialr Select statements under a Macro.
    Build a dynamic where by checking conditions
    Call macro passing dynamic where condition.
    TABLES afpo.
    DATA: str TYPE string.
    *Macro definition
    DEFINE operation.
      select single *
           from afpo into afpo
           where (&1).    " Dynamic condition
    END-OF-DEFINITION.
    *Build dynamic WHERE by checking some conditions
    *If conditon 
    CONCATENATE 'AUFNR = ''000000700008''' 'AND POSNR = ''0001''' INTO str SEPARATED BY space.
    *Else
    CONCATENATE 'AUFNR = ''000000700008''' 'AND POSNR = ''0002''' INTO str SEPARATED BY space.
    *Endif.
    *Call Macro passing dynamic WHERE condition
    operation str.

  • Would I use the transformer for this?

    Here is what I want to do, I'm hoping someone can tell me how to do it.
    I would like to pan a (16th note) synth sound from one speaker to the other very rapidly. I've thought about just automating the pan settings, but the problem is I can't get the pan to come before the note. I could use two audio instrument channels but isn't it possible using the transformer to somehow tell logic where to send the data?
    Thanks,
    Erik

    You could sequence a bunch of notes, then use the transformer to convert that directly into fader pan data, for nice quantised values.
    Or you could draw in the pan data using automation over 1 beat, then use the Track Automation Folder or Automation Event editor to copy the data for as long as you need.
    Lots of other ways to skin this cat as well, as so often the case in Logic.

  • Can I convert the optical output to analog for a zone 2 audio? I would continue using the HDMI for the main zone. Can I use both of these simultaneously? Zone 2 only supports analog on this receiver.

    Can I convert the optical output to analog via a converter for  zone 2 audio? I would continue using the HDMI for the main zone. Can I use both of these simultaneously? Zone 2 only supports analog on this receiver.

    These will probably help.
    [http://www.jsresources.org/examples/audio_conversion.html]

  • Is it possible to change LOV definition using dynamic action?

    Hi,
    I have a multi-select LOV page item, P27_MULTI_CLASS_CODE, defined as below.  On page load, this list only contains values based on what has been passed to P27_OLO_CODE or P27_OLO_CODE_SW.
    SELECT DISTINCT c.class_code d, c.class_code r
      FROM ORGANIZATION o,
           POSITION p,
           CLASS c
    WHERE o.org_wk = p.org_wk
       AND p.class_wk = c.class_wk
       AND o.org_active_flag = 'Y'
       AND p.pos_active_flag = 'Y'
       AND c.class_active_flag = 'Y'
       AND (o.olo_code = :P27_OLO_CODE
            OR o.olo_code = :P27_OLO_CODE_SW)
    ORDER BY c.class_code ASC
    Before submitting the page, I would like the LOV definition of P27_MULTI_CLASS_CODE to change to the following (similar query without reference to P27_OLO_CODE or P27_OLO_CODE_SW) based on whether the user selects checkbox item, P27_ALLOW_SW.   By doing this, P27_MULTI_CLASS_CODE would contain a full range of values rather than limited values.
    SELECT DISTINCT c.class_code d, c.class_code r
      FROM ORGANIZATION o,
           POSITION p,
           CLASS c
    WHERE o.org_wk = p.org_wk
       AND p.class_wk = c.class_wk
       AND o.org_active_flag = 'Y'
       AND p.pos_active_flag = 'Y'
       AND c.class_active_flag = 'Y'
    ORDER BY c.class_code ASC
    I wanted to avoid writing Javascript.  Is this possible using dynamic actions...or at least somehow refresh P27_MULTI_CLASS_CODE so that it ignores P27_OLO_CODE and P27_OLO_CODE_SW?
    I've tried creating a dynamic action to clear the value of  P27_OLO_CODE or P27_OLO_CODE_SW, in hope it would trigger P27_MULTI_CLASS_CODE to display all values, but it has not been successful.  Any ideas?
    APEX 4.2

    I was able to resolve by changing the SQL statement to P27_MULTI_CLASS_CODE.  Note:  I also included an additional condition.
    SELECT DISTINCT c.class_code d, c.class_code r
      FROM ORGANIZATION o,
           POSITION p,
           CLASS c
    WHERE o.org_wk = p.org_wk
       AND p.class_wk = c.class_wk
       AND o.org_active_flag = 'Y'
       AND p.pos_active_flag = 'Y'
       AND c.class_active_flag = 'Y'
       AND (:P27_ALLOW_SW = 'Y'
            OR (o.olo_code =  :P27_OLO_CODE
                OR o.olo_code = :P27_OLO_CODE_SW)
       AND (:P27_PAY_PLAN IS NULL
             OR p.pay_plan = :P27_PAY_PLAN)
    ORDER BY c.class_code ASC
    I also changed the Cascading LOV Parent Item(s) value to:  P27_OLO_CODE,P27_OLO_CODE_SW,P27_PAY_PLAN,P27_ALLOW_SW.  Optimize Refresh = No, since a change in any one of these values should trigger refresh of LOV.
    The Dynamic Action was also modified to NULL out P27_OLO_CODE,P27_OLO_CODE_SW when P27_ALLOW_SW was enabled.
    So far, so good!  Thanks for your suggestions Tom and Howard!

  • How to make a default value by using dynamic actions

    Hi,
           I want to default a field nationality in infotype 0002 as a great britan, using dynamic actions but unable to go ahead. Any help regarding this really appreciate.
    Regards
    Niranjan

    Hi,
    I need some guidance around creating dynamic action with default value, Please guide me through.
    I am aware I can set default values for new infotype, but I need to set default value for same infotype, let me explain the scenario.
    Currently employee is on one pension scheme which is called NE1 and now we are moving this employee to CRESP Pension Scheme.
    When employee is in NE1, his IT0071 has got a opt in field with a flag on, when the same employee is moved from NE1 pension scheme to CRESP Pension scheme, his new IT0071 record should have the same opt in field with a flag on, I want it to set this flag automatically using dynamic action. I dont want to update this field manually, while moving from NE1 to CRESP.
    Currently the below dynamic  action is coded when employees are being moved form NE1 to CRESP, but now they will have a opt in flag which should appear automatically, What needs to be done to make this happen?
    Please let me know if I set default value for the Opt in field for the same infotype.
    . When employees are being moved from NE1 to CRESP pension scheme we currently use a dynamic action as show below:
    0071                      04      10      I        INS,0069
    0071                      04      20      W       P0069-BEGDA=P0071-BEGDA
    0071                      04      30      W       P0069-ENDDA=P0071-ENDDA
    0071                      06      1        F        DYNACT_PAE031(ZHRPROG016)
    Also if it is not possible via dynamic action could you please explain how to create it using user exit, I am not an ABAPer.
    Your help is very much appreciated.
    Kind Regards,
    SK

  • About creating an AJAX page with DML procedures  using dynamic actions

    About creating an AJAX page with DML procedures in APEX using dynamic actions. Help with limitations.
    I want to share my experience, creating AJAX procedures in APEX 4.0.
    LIMITATIONS
    •     How Can I Hide UPDATE button while I press NEW button. ??
    •     How Can I Hide CREATE button while I’m UPDATING A RECORD. ??
    •     How can I avoid multiple Inserts or Updates. ??
    Here are the steps to create an AJAX Updatable Form using the sample table DEPTS. You can see the demo here: [http://apex.oracle.com/pls/apex/f?p=15488:1]
    1)     Create a blank page
    2)     Add a Report Region for departments (It shows the columns deptno, dname and loc).
    3)     Add an HTML Region and create the elements to edit a Department.
    a.     P1_DEPTNO (Hidden to store PK)
    b.     P1_DNAME (Text Field)
    c.     P1_LOC (Text Field)
    4)     You also have to create a hidden element called P1_ACTION. This will help to trigger dynamic actions to perform DMLs.
    5)     Open Page Attributes and in the HTML Header Section include the following code.
    <script>
         function doSelect(pId){
              $x_Value(‘P1_DEPTNO’,pId);
              $x_Value(‘P1_ACTION’,’SELECT’);
    </script>
    6)     Modify the column DEPTNO in the report, to add column link. In the link text you can use #DEPTNO# , in target you must select ‘URL ‘ and in the URL field write javascript:doSelect(#DEPTNO#);
    7)     Create the following Buttons in the Form Region.
    CANCEL     Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’CANCEL’);
    NEW          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’NEW’);
    SAVE          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’UPDATE’);
    CREATE          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’CREATE’);
    8)     Create the following Dynamic Action to Select a Department
    Name:     Select Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     SELECT
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    SELECT dname, loc
    INTO :P1_DNAME, :P1_LOC
    FROM dept
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    The first limitation, the value of page elements don’t do refresh so I added the following true actions to the dynamic action AFTER Execute PL/SQL Code.
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     (none) (leave it blank)
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     (none) (leave it blank)
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    9)     Create the following Dynamic Action to Update a Department
    Name:     Update Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     CREATE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    UPDATE dept SET
    dname = :P1_DNAME,
    loc = :P1_LOC
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions BEFORE the Execute PL/SQL Code true Action.
    Action:     Set Value
    Unmark ‘Fire on page load’ and ‘Stop execution on error’
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     P1_DNAME
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     P1_LOC
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    Finally to refresh the Departments report, add the following true action at the end
    Action:     Refresh
    Affected Elements: Region Departments
    10)     Create the following Dynamic Action to Create a Department
    Name:     Create Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     CREATE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    INSERT INTO dept(deptno,dname,loc)
    VALUES (:P1_DEPTNO,:P1_DNAME,:P1_LOC);
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions BEFORE the Execute PL/SQL Code true Action.
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Function Body
    PL/SQL Function Body:     
    DECLARE
    v_pk NUMBER;
    BEGIN
    SELECT DEPT_SEQ.nextval INTO v_pk FROM DUAL;; -- or any other existing sequence
    RETURN v_pk;
    END;
    Page Items to submit:     P1_DEPTNO
    Affected Elements: Item P1_DEPTNO
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     P1_DNAME
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark ‘Fire on page load’ and ‘Stop execution on error’
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     P1_LOC
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    Finally to refresh the Departments report, add the following true action at the end
    Action:     Refresh
    Affected Elements: Region Departments
    11)     Create the following Dynamic Action to delete a department
    Name:     Delete Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     DELETE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    DELETE dept
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions AFTER the Execute PL/SQL Code true Action.
    Action:     Refresh
    Affected Elements: Region Departments
    Action:     Clear
    Unmark ‘Fire on page load’
    Affected Elements: Items P1_DEPTNO, P1_DNAME, P1_LOC
    12)     Finally Create the following Dynamic Action for the NEW event
    Name:     New Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     NEW
    Action:     Clear
    Unmark *‘Fire on page load’*
    Affected Elements: Items P1_DEPTNO, P1_DNAME, P1_LOC

    I need some help to solve this issues
    •     How Can I Hide UPDATE button while I press NEW button. ??
    •     How Can I Hide CREATE button while I’m UPDATING A RECORD. ??
    •     How can I avoid multiple Inserts or Updates. ??

  • Dynamic actions for buttons

    11gxe , apex 4.x ,
    hi all ,
    i am new to apex ,
    i want to create a button , then create a dynamic action to it to do an action , but when i create the button , then go to
    create a dynamic action , i see the a lot of events but when i go to pick an item to create the dynamic action for , i do not see the buttons created ?
    thanks

    Hi,
    I see. Your local install of Apex is version 4.0, apperantly it is not supported to create a dynamic action that is triggered by a button.
    You can, with some effort, create a dynamic action on a button. You'll need to create a button with 'Button Style' set to 'HTML button' and add a custom class or id to that button under the 'Button Attributes'. For example:
    http://vincentdeelen.com/images/otn/da_button_layout.png
    Then create a dynamic action, choose 'jQuery selector' as selection type and then use the class or the id of the button as selector. The outcome should look something like this:
    http://vincentdeelen.com/images/otn/da_da_layout.png
    For more info on jQuery and selectors, study the jQuery website: http://www.jquery.com
    Regards,
    Vincent

  • Sending mails using dynamic actions

    Hi
    How we can send mails using dynamic actions.
    Regards
    Santhosh

    Hi,
    Sending mails is possible by using the feature M0001. This is to be coded in the dynamic action depending on the requirement with function code "M".
    Hope this would help you to explore further. Incase of any specific query you can post back.
    Regards
    Tharak

  • Send mail using Dynamic actions

    Hello experts,
    How to send  a mail using Dynamic Actions??
    Requirement : Lets say one employee is hired on 26th Aug, so after 10 days he will be confirmed. so on 8th day need to send a mail to concerned person reminding the confirmation date.
    so how do i do that using dynamic actions??
    Thanks in advance.
    Saurabh

    Hi,
    In dynamic actions there is an option for calling sub-routine from any program or subroutine pool. So u can make subroutine for sending mail according to ur requirement. An call on th same from dynamic actions.
    if u want sample code for this, pls let me know.
    <removed_by_moderator>
    Regards,
    Ranjith
    Edited by: Julius Bussche on Aug 26, 2008 3:25 PM

  • How to know the dynamic values for this :AND category_id_query IN (1, :3, )

    Hi Team,
    R12 Instance :
    Oracle Installed Base Agent User Responsibility --> Item Instances -->
    Item Instance: Item Instances > View : Item Instance : xxxxx> Contracts : Item Instance : xxxxx> Service Contract: xxxxx>
    In the above page there are two table regions.
    Notes.
    -------------------------------------Table Region---------------------------
    Attachments
    -------------------------------------Table Region---------------------------
    --the attachments are shown using the query from the fnd_lobs and fnd_docs etc...
    I want to know what are the document types are displayed in this page ?
    --We developed a custom program to attach the attachments to the  services contracts and the above seeded OAF page displays those ..as needed.
    But after recent changes..the Attachments--> table region is not showing the attachments.
    I have verified the query..and could not find any clue in that..
    but i need some help if you guys can provide..
    SELECT *
    FROM
    *(SELECT d.DOCUMENT_ID,*
    d.DATATYPE_ID,
    d.DATATYPE_NAME,
    d.DESCRIPTION,
    DECODE(d.FILE_NAME, NULL,
    *(SELECT message_text*
    FROM fnd_new_messages
    WHERE message_name = 'FND_UNDEFINED'
    AND application_id = 0
    AND language_code  = userenv('LANG')
    *), d.FILE_NAME)FileName,*
    d.MEDIA_ID,
    d.CATEGORY_ID,
    d.DM_NODE,
    d.DM_FOLDER_PATH,
    d.DM_TYPE,
    d.DM_DOCUMENT_ID,
    d.DM_VERSION_NUMBER,
    ad.ATTACHED_DOCUMENT_ID,
    ad.ENTITY_NAME,
    ad.PK1_VALUE,
    ad.PK2_VALUE,
    ad.PK3_VALUE,
    ad.PK4_VALUE,
    ad.PK5_VALUE,
    d.usage_type,
    d.security_type,
    d.security_id,
    ad.category_id attachment_catgeory_id,
    ad.status,
    d.storage_type,
    d.image_type,
    d.START_DATE_ACTIVE,
    d.END_DATE_ACTIVE,
    d.REQUEST_ID,
    d.PROGRAM_APPLICATION_ID,
    d.PROGRAM_ID,
    d.category_description,
    d.publish_flag,
    DECODE(ad.category_id, NULL, d.category_id, ad.category_id) category_id_query,
    d.URL,
    d.TITLE
    FROM FND_DOCUMENTS_VL d,
    FND_ATTACHED_DOCUMENTS ad
    WHERE d.DOCUMENT_ID = ad.DOCUMENT_ID
    *) QRSLT*
    WHERE ((entity_name    ='OKC_K_HEADERS_V'-- :1
    AND pk1_value          IN ( 600144,599046) --:2
    AND category_id_query IN (1, :3, :4, :5, :6, :7) )
    AND datatype_id       IN (6,2,1,5)
    AND (SECURITY_TYPE     =4
    OR PUBLISH_FLAG        ='Y')))
    --='000180931' -- 'ADP118'
    The above seeded query is the one which is used for table region to retrieve the data..
    how to know the dynamic values for this : AND category_id_query IN (1, :3, :4, :5, :6, :7) )
    --Sridhar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Patricia,
    is it working for restricted key figure and calculated key figure ??
    Note Number Fisc Period Opening Days
    1 1 2
    2 1 3
    3 1 0
    because I have other restriction, so I create two restricted key figure..
    RK1  with restriction :  Total Number of Note,
    RK2  with restriction :  Total Opening Days ,
    then I Created a calculated key figure, average opening days in a period
    CK1 = RK2 / RK1..
    in this case, I am not sure if it will work or not..
    for example, during RK2 calclation, it might be this   2+3 = 5, the line with 0 will be ignored..
    during RK1 calcualtion, it might be 1 + 1 + 1 = 3. ---> Not sure in this case, the line with opening days 0 will be calculated or not..
    could you please confirm..

  • Can we create a dynamic action for Training and Event Management???

    Hi All
    i need to configure automatic email generation for an employee when he gets booked for a training program in the training and event management module. can we use a dynamic action for it? and how to configure it?? I also guess that i have to use the Feature MAILS for it. but i am not sure abt it and also not sure how to configure it. I will really appreciate if someone can provide me with a step to step configuration for the same. Its urgently sought.
    Thanks and Regards

    Notifications in T&E are done through Workflow.Dynamic Actions are only for PA Infotypes.
    ~Suresh

  • How to use same actions for differ pop-up buttons

    Hi gurus,
    I am using 2 popup in a view.same popup's having same buttons 'Yes', 'No'.when i use 1st one i have to create an action for that Yes button where i put my code for that particular Action.
    But when i used 2nd one the action define for that is not acceptable with differ name.it takes only standard one.
    Now my Query is : How to use same actions for differ pop-up buttons with in a similar view?Where i put my code.
    Plz sugges me.
    <b>Points will be sured.</b>
    Sanket sethi

    Hi ,
    u can use the method SUBSCRIBE_TO_BUTTON_EVENT of the IF_WD_WINDOW interface ... to handle the event fired by the popup .....used this method after creating the popup window ...
    regards
    Yash

Maybe you are looking for

  • MSI K8N-Neo4 and PCI-E x4

    Hi Folks, I've got an MSI K8N-Neo4 (MS-7125) motherboard that I'm looking to add a RAID card to.  It's got a PCI-Express x4 slot on the board that I'd like to utilize.  However, I've seen some conflicting information regarding it's use.  In the manua

  • Current model Airport Extreme no longer accepting DHCP WAN assignment

    I woke up to my airport extreme not connecting to my ISP. I'm using DHCP on the WAN side, and my Airport can no longer retrieve a DHCP address.  It appears the Airport does find the ISP's router address (the router address and subnet mask are populat

  • What is the maximum number of contacts Address Book will support?

    We are a small business who have recently switched over to Kerio Connect. We are currently using Mac Address Book to store & share contacts (sharing via MobileMe), but have been told by our IT support company that we have too many contacts (approx. 4

  • Strange issue on Satelite R830-1GZ

    Owned for two weeks. Everything has worked fine, but today I had a strange thing happen I was connected to a modem Wi-Fi. I then disconnected from that modem and signed into btfon. After this I noticed Skype contacts were all not connected, so I clos

  • Field display in Notification

    Hi Everyone I am facing a strange problem.  While maintaining field display for a certain notification type, I have hidden fields of Problem code group, problem code, code description, assembly, assembly description etc.  But while creating/displayin