Dynamic Actions: background execution
Hi
here below the Dynamic Action that I have customized:
0000 04 310 P T001P-MOLGA='15'
0000 04 315 P PSPAR-MASSN='Z1'/X
0000 04 316 P PSPAR-MASSN='Z2'/X
0000 04 317 P PSPAR-MASSN='Z3'/X
0000 04 318 P PSPAR-MASSN='Z7'/X
0000 04 319 P PSPAR-MASSN='ZC'/X
0000 04 320 I INS,0016,,,(P0000-BEGDA),(P0000-ENDDA)/D
0000 04 325 W P0016-EINDT=P0000-BEGDA
The background execution works correctly for Action Types Z3 and Z7 which are not linked to Recruitment.
The execution of Dynamic Action DOESN'T WORK in the background mode but it works in foreground (even if in the dynamic action I've wrote /D) for Z1-Z2-ZC: these actions are linked to Recruitment.
Can you help me?
Paola
Edited by: Pizeta on Mar 2, 2012 10:59 AM
All the Actions are for Personnel Administration.
Actions:
Z1-Z2-ZC in T529A-FUNCH are customized like "7 Initial hiring and transfer of data from Recruitment" --> the dynamic action works but in foreground
Z3-Z7 in T529A-FUNCH are customized like "0 Other actions" or "1 Initial hiring" --> the dynamic action works correctly in the background
P.
Similar Messages
-
Executing Dynamic actions in Background???
Hello Experts,
We have a requirement where we need to automate PA40. The data would be sent in csv file and we need to perform the required steps to insert data into Infotypes.
The issue is in batch mode (background mode), the dynamic actions wouldn't be called and the business wants the dynamic actions to be considered as well.
Pls let me know if there is any way we can interpret the dynamic actions dynamically; meaning the prog should be able to handle the newly created dynamic actions as well.
Any pointers to this are highly appreciated.
Regards
RKHello Raj;
In documentation of Dynamic Actions it is written so:
Note on creating a batch input session:
Dynamic actions are not processed in a batch input session.
In batch input, you must specify the exact sequence of the screens. To
ensure this is the case, you must have already programmed the dynamic
action checks before you create the batch input session.
To avoid errors only the static actions are processed when you program
and process a session. Infotypes that usually only appear in the system
as a result of a dynamic action should be updated by calling up the
transaction separately.
Hope this can help you,
Regards.
Okan -
Issue in execution of Dynamic action on change event
Hi,
Greetings.
I have scenario, where I have one select list (P_CATEGORY) and one shuttle control (P_ROOMS) on page.
The values of the shuttle list is being populated based on the selected value in select list.
The left pane of shuttle control's value based on LOV and source of the shuttle item is a plsql function, which returning colon separated value list.
So that returned values shown in the right pane of shuttle.
The LOV values are getting being populated using cascading LOV i.e based on the of Select List item. But the Shuttle source values not getting auto refresh and for achieving that I've created a dynamic true action on change event of Select list.
The dynamic action is with :
Action : Set Value
Set Type : PL SQL funciton body
Page items to submit : P_CATEGORY (this is select list)
Escape Special Character : Yes
Suppress Change event : Yes
Affected Elements -
Selection type : Item(s)
Item(s) : P_ROOMS
This is perfectly working on Firefox but not working on IE9 & Google Chrome.
I've debugged in both IE9 & Google chrome and found the dynamic action get executes ajax call and the values get back but not rendering on the screen. i.e not assigning to the item.
So can you please advice me what will be a workaround for this issue?
I am using Application Express 4.1.0.00.32 .
I'll appreciate your prompt response.
Thanks & Regards,
Jaydipsinh RauljiI don't understand why this is not working withouth seeing an example, there might be multiple processes working on the item.
Anyway if the value is returned check if the value is in the session aswell. If it is in the session but not on the page that means you will need to find a way to bring it from the DB to the page. You can do this by adding an action to your DA:
Action: Execute PL/SQL code
PL/SQL code: NULL;
Page Items to Return: your shuttle item -
How to Handle Dynamic actions in batch mode???
Hello Experts,
We have a requirement where we need to automate PA40. The data would be sent in csv file and we need to perform the required steps to insert data into Infotypes.
The issue is in batch mode (background mode), the dynamic actions wouldn't be called and the business wants the dynamic actions to be considered as well.
Pls let me know if there is any way we can interpret the dynamic actions dynamically; meaning the prog should be able to handle the newly created dynamic actions as well.
Any pointers to this are highly appreciated.
Regards
RKHi.
As far as i know, the limitation comes from the BDC execution itself, it doesn't really matter whether the execution is online or in batch mode.
* dynamische Massnahme
IF sy-binpt EQ space.
* befinden wir uns im ALE-Eingang ?
CLEAR: ale_flag. "XFYAHRK063273
call function 'RHAP_ALE_FLG_GET' "XFYAHRK063273
importing "XFYAHRK063273
ale_flg = ale_flag. "XFYAHRK063273
IF ale_flag IS INITIAL. "XFYAHRK063273
IF pspar-vinft NE space. "infotype view "XYLPH9K007065
PERFORM dyn_measure IN PROGRAM (view_repid). "XYLPH9K007065
ELSE. "XYLPH9K007065
PERFORM dyn_measure.
ENDIF. "XYLPH9K007065
PERFORM process_m
One thing you could try to do to avoid this and get the dynamic measures executed is to use the NOBINPT variable of the OPTIONS structure in CALL TRANSACTION
DATA opt TYPE ctu_params.
opt-dismode = 'A'.
opt-nobinpt = 'X'.
CALL TRANSACTION 'PA30' USING bdcdata OPTIONS FROM opt.
PERFORM close_group. -
Hi Everyone, I have posted this question in the past and made huge progress with Denes Kubicek's help: https://apex.oracle.com/pls/apex/f?p=31517:294:115851992029365::::: based on my earlier question posted: https://forums.oracle.com/forums/thread.jspa?threadID=2537494
I am struggling with one item in my tabular form. It is a radio button. The choices all appear properly, but the value is not saved in the collection (and hence, not saved in the table). All other items in the tabular form save properly.
here is what I have for the query. It is item c024 (which maps to ;'f03'), which is defined as a radio LOV based on an existing LOV.
Currently I have:
2 page items:
P110_ID
P110_VALUE
Dynamic action called CHANGE COLUMN:
event: CHANGE
selection type: jQUERY Selector
jQuery:
jQuery Select = input[name='f03'],select[name'f08'],select[name='f09'],input[name='f10'],input[name='f11'],input[name='f12'],select[name='f40'],input[name='f21'],input[name='f22'],input[name='f23'],input[name='f50']
event scope: Dynamic
true action#1: set value P110_ID javascript expression this.triggeringElement.id
true action#2: set value P110_VALUE javascript expression this.triggeringElement.value
true action#3: execute pl/sql code
declare
v_member number;
v_seq number;
begin
v_member := TO_NUMBER (SUBSTR (:p110_id, 2, 2));
select ltrim(substr(:p110_ID,5,4),'0') into v_seq from dual;
safis_collections.update_column(v_seq,
v_member,
:p110_value);
true ation#4 refresh region :LANDINGS_COLLECTION
the tabular form is based on the query:
SELECT
apex_item.text(1,seq_id,'','','id="f01_'||seq_id,'','') "DeleteRow",
seq_id,
seq_id display_seq_id,
apex_item.text_from_LOV(c004,'SPECIES')||'-'||apex_item.text_from_LOV(c005,'GRADE')||'-'||apex_item.text_from_LOV(c006,'MARKETCODE')||'-'||apex_item.text_from_LOV_query(c007,'select unit_of_measure d, unit_of_measure r from species_qc') unit,
apex_item.select_list_from_LOV(8,c008,'DISPOSITIONS','onchange="getAllDisposition('||seq_id||')"','YES','0',' -- Select Favorite -- ','f08_'||seq_id,'') Disposition,
apex_item.select_list_from_LOV(9,c009,'GEARS','style="background-color:#FBEC5D; "onFocus="checkGearPreviousFocus('||seq_id||');"onchange="getAllGears('||seq_id||')"','YES','3333','-- Select Favorite --','f09_'||seq_id,'') Gear,
apex_item.text(10,TO_NUMBER(c010),5,null, 'onchange="setTotal('||seq_id||')"','f10_'||seq_id,'') Quantity,
apex_item.text(11,TO_NUMBER(c011),5,null,'onchange="getPriceBoundaries('||seq_id||')"','f11_'||seq_id,'') Price,
apex_item.text(12, TO_NUMBER(c012),5,null, 'onchange="changePrice
('||seq_id||')" onKeyDown="selectDollarsFocus('||seq_id||',event);"','f12_'||seq_id,'') Dollars,
decode(c013,'Y',apex_item.text(14, c014,30,null,'style="background-color:#FBEC5D;" onClick="onFocusAreaFished('||seq_id||');"','f14_'||seq_id,''),'N','N/A') Area_Fished,
decode(c017,'Y',apex_item.text(18, c018,4,null,'style="background-color:#FBEC5D; "onBlur="setUnitQuantity('||seq_id||')"','f18_'||seq_id,''),'N','N/A') UNIT_QUANTITY,
decode(c017,'Y',apex_item.text(19,'CN',3,null,'readOnly=readOnly;','f19_'||seq_id,''),'N','N/A') UNIT_COUNT,
c024 hms_flag,
decode(c050,'Y',apex_item.checkbox(21,'Y','id="f21_'||seq_id||'" style="background-color:#FBEC5D; " onClick="alterYes('||seq_id||');" onKeyPress="alterYes('||seq_id||');"',c021),'N','N/A') FinsAttached,
decode(c050,'Y',apex_item.checkbox(22,'N','id="f22_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterNo('||seq_id||');" onKeyPress="alterNo('||seq_id||');"',c022),'N','N/A') FinsNotAttached,
decode(c050,'Y',apex_item.checkbox(23,'U','id="f23_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterUnk('||seq_id||');" onKeyPress="alterUnk('||seq_id||');"',c023),'N','N/A') FinsUnknown,
decode(c050,'Y',apex_item.textarea(28,c028,3,null,null,'f28_'||seq_id,''),'N','N/A') Explanation,
decode(c024,'N',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'U',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'Y','N/A') Nature_Of_Sale,
decode(c020,'Y',
apex_item.select_list_from_LOV(40,c040,'HMS_AREA_CODE','style="background-color:#FBEC5D;"',null,null,null,'f40_'||seq_id,''),
'N','N/A') HMS_AREA_CODE,
c020,c050,
decode(c020,'Y',
apex_item.text(41,TO_NUMBER(c041),5,null,null,'f41_'||seq_id,''),
'N','N/A') Sale_Price
from apex_collections
where collection_name = 'SPECIES_COLLECTION' order by seq_id
I have noticed the following:
when I change column C011 (price) the following values are set in the dynamic action:
P110_ID = f11_1
P110_VALUE = whatever I change the price to.
when I change the column C024 (hms_flag), the following values are set:
P110_ID = f03_0001
P110_VALUE = whatever I change hms_flag to.
the region is refreshed in my dynamic action, and the change for hms_flag does not hold. I have tested the SQL query that generates the value for v_SEQ in the dynamic action. In both a change to price and HMS_FLAG it appears valid
select ltrim(substr(:p110_ID,5,4),'0') into v_seq from dual;
if f11_1, v_seq:= 1
if f03_0001, v_seq := 1
thank you!solved. sort of.
field c024 references f03.
the Dynamic ACtion, step 4 calculates v_member by taking a substring of P110_ID...and in all other fields, the column and the field (fxx) are the same value....except for c024.
I am not certain exactly how to resolve, but see the problem. -
0007 STAT3 P P0007-STAT3='0'
0007 STAT3 P PSAVE-STAT3='1'
The step is taken if the value in the P0007-STAT3 field changes from 1 to 0.
HOW I cant undersatand?
Also ,
Could not understand this too ...
Infotype Field .... Ind. Variable function part
.... I INS,19,01/D
Step: Create a Dates record, subtype 01, run in the background
.... I DEL,14,M559
Step: Delete Rec. Payments/Deds. record with subtype (wage type) M559.
0007 .... I INS,8,,,(P0007-BEGDA),(P0007-ENDDA
M stuck please help !
Cant understand Dynamic Action...P - stands for Plausibility check
if you action type is "AN" , Insert I , Create IT 0021 sub type 2
You will find lot of threads with introduction of Dynamic Actions Please check in Search forum with words "Dynamic Actions " -
IT0009: payment method "cheque" and dynamic actions
Hello,
I need your help on this issue.
I have looking for answers on the different posts but i didn't found any similar problems.
For a customer, i have to settle, in case of departure (leaving) action , the creation in background of an infotype 0009 from infotype 0000 with payment method 'C' - Cheque and the BEGDA equal to the first day of the month. It is a payroll need.
The dynamics action is easy to do but i have an error which makes appears the infotype. Actually, the information City is mandatory in SAP standard (?) in case of payment 'C' - Cheque.
I did the test and when i create infotype 0009, the name of the person, from infotype 0002 i guess, is put in the field but not the adress, city and postal code. If i select payment cheque, an errror alerts me that the city is mandatory for this payment method. If i put something, no problem, but i would like to automate it and retrieve data from IT0006. That is strange is when i delete the payee information (last and first name field) and validate the screen, no more error, even if i select payment cheque. And if i save and go back on the record, data from IT0006 (city, postal code and payee) have been automatically put in the infotype.
I would like to reproduce the same thing by the dynamic action but i can't access these fields because they are not part of the P0009 table but the Q0009 structure and i don't access it through dynamic action
Do you have some experiences to share on this topic ?
Thanks in advance.hi
To replace a check or to create a check instead of a bank transfer, the system must be able to access the
correct payment method. The standard system contains predefined payment methods. However, you can
also specify your own values.
The standard system contains the following methods of payment:
- C (Check)
- D (Transfer)
- M (Check with manual assignment of check number)
Reward points -
How to get the User input of Dynamic Action confirmation message ?
Hi Guys,
I'm using apex 4.1,
I have added a confirmation message box as page Dynamic Action. How can i get the user input of that confirmation pop up ?
ThanksHi,
you don't directly get the user input. But you should still be able to get what you want. Let's assume you have a dynamic action which fires for a "Change" (or any other) event and which has two or more actions
1) Confirm
2) Execute PL/SQL Code
If the user clicks Cancel/No in the confirm dialog, APEX will stop the execution of this dynamic action and not run "Execute PL/SQL Code".
Hope that helps
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Dynamic actions and PA-PD integration a problem
Are you aware of an update problem with MSS and PA-PD integration? This information was made available in a presentation to us last year. Was this issue resolved in mySAP ERP 2004?
Dynamic actions and PA-PD integration a problem
Dynamic actions and PA-PD integration are not
processed on updates made from the web (but in the
background through a batch or call transaction session)
Thats why most standard PCRs require HR to process
the transaction using the SAP GUI in the foreground
This normally affects changes to infotypes 0000 &
0001
Then the next slide states:
Workaround for dynamic actions
Review dynamic actions in table T588Z (use SE16 to
display) and document the infotypes and values that
trigger dynamic actions
Incorporate those infotypes into your background
processing and web forms (if necessary)
Workaround for PA-PD integration
Include the integration steps for these infotypes in your
background processing (just as in conversions)Hi John,
Not sure if it is fixed.. or can be fixed.. we are still in 47 & Use custom code to account for Dynamic Actions.. the PCR processes use the function module HR_MAINTAIN_MASTERDATA to update the infotypes. This function mimics a BDC & hence cannot handle Dynamic Actions... Basically, the issue is not with MSS but it is the way Dynamic Actions work.. to quote SAP "Dynamic actions are not correctly processed in batch input sessions since in batch input the sequence of the screens needs to be predefined correctly. To be able to process dynamic actions in batch input, the checks of the dynamic actions need to be programmed when creating the batch input session. To avoid errors when programming and running the session, the static actions only are processed in batch input. Calls of infotypes that are triggered by dynamic actions should be realized by separate Transaction calls.
Please take a look at OSS Note #386027 for additional info about Dynamic Actions.
Regards,
Suresh Datti -
Dynamic actions and tabular forms
I'm trying to attach a dynamic action to a tabular form item, and it's not working the way I'm expecting it to. Since you can't attach dynamic actions to parts of a tabular form in the "normal" way that you can for page items, I'm using JQuery selectors to pick the parts to link to. For links (such as opening a pop-up window with more information about a row), this is working fine. But I'm really struggling to attach to a simple checkbox.
On my tabular form, I've got a simple checkbox. I've tried putting text in the Element Attributes, Element Option Attributes, CSS Class, CSS Style, and HTML Expression fields, but none of them appear to be making it through to the source code of the generated page. Which means, I think, that I'm limited to using a jQuery Selector along the lines of "input[name=f07]", but creating a dynamic action on click or on change with that selector doesn't seem to ever fire.
What am I missing?
-DavidOk, this is interesting. When I tried to mock this up on apex.oracle.com, I was able to make it work (though I had to change the selector to "input[name=f07_NOSUBMIT]", which means I'm going to have to walk the DOM to get the actual value...but I'm pretty sure I can handle that). After a bit of scratching my head, I eventually found that my pop-up dynamic action was somehow or other blocking the checkbox dynamic action from firing. Changing the sequence so that the checkbox DA happens first allows them both to fire.
Here's the javascript from the pop-up DA (it's based on this post by Havard Kristiansen):
/* prevent default behavior on click */
var trgt = this.triggeringElement.href;
var e = this.browserEvent;
e.preventDefault();
/* Trigger JQuery UI dialog */
var horizontalPadding = 30;
var verticalPadding = 30;
$('<iframe id="modalDialog" src="' + trgt + '" />').dialog({
title: "Item Details",
autoOpen: true,
width: 570,
height: 400,
modal: true,
close: function(event, ui) {$(this).remove();},
overlay: {
opacity: 0.5,
background: "black"}
}).width(570 - horizontalPadding).height(400 - verticalPadding);
return false;At this point, the checkbox DA's action is simply an alert box. Like I said, I'm not sure what's going on, but I'm at least able to move forward...
-David -
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_LOCI 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 in Select List of Tabular Form
I have a tabular form in my application and one of the column A is Select List with lot of values. My requirement is, there is another column B in the same tabular column like Display text, which should appear when a user select A, B or C in the select list column A. Is it possible, how can I implement it?
I tried it through Dynamic Actions ->DOM Objects, but I am not sure what is the name of the Select List column value that needs to be specified, it is jst f06 or f06_???. Can someone tell me the exact steps that needs to be followed.My mistake, Javascript (and DOM attributes/methods) are case-sensitive. The attribute in question is readOnly, not readonly
I fixed it on my example page at http://htmldb.oracle.com/pls/otn/f?p=24317:255
<script type="text/javascript">
function ro_Item(nd,a){
var lEl = html_GetElement(nd);
if (lEl && lEl != false){
if(a){
lEl.readOnly = true;
lEl.style.background = '#cccccc';
}else{
lEl.readOnly = false;
lEl.style.background = '#ffffff';
return true;
function foo(pThis)
var lTD=pThis.parentNode;
var nextinput=lTD.nextSibling.getElementsByTagName('input')[0];
var nextnextinput=lTD.nextSibling.nextSibling.getElementsByTagName('input')[0];
if (pThis.value=="CLERK") {
ro_Item(nextinput,true);
ro_Item(nextnextinput,true);
else {
ro_Item(nextinput,false);
ro_Item(nextnextinput,false);
</script> -
Explain me briefly about Dynamic Actions in PA
HI Experts kindly let me know about the Dynamics actions in Personnel Administration.Am just confusing about this concept.In real time scenario what will be the use of this concept.How it will work ?Why we have given the 0077 as target infotype.Kindly describe me in detail.Actually i heard like this concept will be an added advantage in interview point of view.
Hi, Dynamic actions in real time is merely a event triggered processing that can be configured to do a required job in the back ground automatically. For example when you hire an employee (IT0000 gets created -> can be considered as a trigger). Now this creation of IT0000 can be configured to automatically create date specfications in the background or say can be used to create IT2006 -> all quota types which zero hrs.
Have a look at the following link:
http://wiki.sdn.sap.com/wiki/display/Snippets/Dynamic+Action -
Custom program for dynamic actions in BDC
Hi all,
Did anyone work on dynamic actions in BDC. I got a method of doing, but looking out for a simpler one.
Thanks..Hi,
Any updates that happen via dynamic actions in online mode must be explicitly included in the BDC session since dynamic actions are turned off during the execution of batch input sessions.this is a standard behavior.
Regards,
Manoj. -
Reg dynamic actions in abap-hr
Hi Gurus ,
What is dynamic actions in abap-hr ,can any body explains it
with an example ...
Thanks & Regards
Sumanhi dynamic actions changes or create the infotype record on maintainance of another infotype.
like after hiring a person if u want to default joining date in 0041 infotype.
then u will check molga.
p too1p-molga=40
p is used to check conditions.
then u will insert the records in 0041
i ins,0041,,,(p0000-begda),(p0000-endda)/d
/d is for processing in background.
then u will default values in 0000
w p0041-dar01 = 'hd'
w p0041-dat01 = p0000-begda.
w is for defaulting value.
go to spro-personnel management - personnel administration-customizing procedures-dynamic action .
here u have documentation.
Maybe you are looking for
-
My Ipod touch is stuck in the password screen and I can't turn it off or cancel. The screen that it is stuck at says :enter the password for the exchange account "exchange"
-
Creating ODBC Connections to SQL Server
I have posted a Question to two Forums about a problem I'm having connecting to SQL Server using an ODBC Connection. Suddenly we can connect using on the IP Address of the virtual server not its name. So we can connect using 192.168.16.122\GEMSQLSR
-
How to select the browser for output
Hi all I have two brosers mozilla and internet explorer when i run the application defaulty it's taking the mozilla. how to change it to internet explorer. is there any settings are there in NWDS to select the specific browser. thanks®ards Viswa
-
hi all, im working on cheque printing in se71...there i want to change my text font differently for each text field in one window. i.e., for Pay/Beared Name : Font should be big and (Courier 10,say example) for Rupess field: less than the size
-
I am using Leopard and iLife 08 but the same problem has been happening to me when on Tiger too. I sorted out all my photos, put them into categories and everything worked ok. Then suddenly when I start it I get messages saying that it cannot find ce