Urgent help on a dynamic action

Hi,
I am working on SAP 4.6C and have an issue with a dynamic action. I started having this problem since a month. We did not customize this new dynamic action. I dont understand how it entered in my SAP R/3 system.Support packs were added last month can they be responsible.I am entering the discription of the dynamic action.
0041 04 1 * --- BEI NEUANLAGE/EINTRITT IT2006 MIT 10 VORSCHLAGEN ---
0041 04 3 I INS,2006,10,,(P0041-BEGDA),
0041 04 4 W P2006-ENDDA=P0041-BEGDA
0041 04 5 W P2006-ENDDA+4(4)='1231'.
I did compare the table T588Z with the T-Code SCMP and can see that above dynamic action is newly added but need to know how.
ASAP help would be appreciated.
Thanks and Regards
Swati.

.

Similar Messages

  • Help using a dynamic action to update tabular form items (specifically radio button) based on collection

    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.

  • Urgent help on a dynamiv action issue

    Hi,
    I am working on SAP 4.6C and have an issue with a dynamic action. I started having this problem since a month. We did not customize this new dynamic action. I dont understand how it entered in my SAP R/3 system.Support packs were added last month can they be responsible.I am entering the discription of the dynamic action.
    0041 04 1 * --- BEI NEUANLAGE/EINTRITT IT2006 MIT 10 VORSCHLAGEN ---
    0041 04 3 I INS,2006,10,,(P0041-BEGDA),
    0041 04 4 W P2006-ENDDA=P0041-BEGDA
    0041 04 5 W P2006-ENDDA+4(4)='1231'
    ASAP help would be appreciated.
    Thanks and Regards
    - Swati.

    I am sorry just new to it . I will change it.
    Thanks for the information.

  • Dynamic Action On Date Picker

    Hi,
    I need help with understanding dynamic actions. I have two date pickers, I want the value of the first date picker to be the minimum date of the second date picker. To achieve this I have a hidden item whose value I want to reflect the selected date in the required format. In the dynamic action on the date picker I have no condition, and the true action is set to execute the following pl/sql code
    :P200220000_Y_MIN_DT := TO_CHAR(TO_DATE(:P200220000_Y_STR, 'DD-MON-YYYY'), 'YYYYMMDDHH24MI');. The items to submit field contains both the first date picker and the hidden item.
    The "P200220000_Y_MIN_DT" is now passed into the minimum date field of the second date picker. The problem is when the date is changed the hidden item does not get the value until the page is refreshed.
    Am I doing something wrong or just have not mastered the use of dynamic action or are my colleagues right use AJX call backs not dynamic actions.
    Thanks
    Aderemi

    Hi Aderemi,
    first of all as already explained, the min/max values are already used on the server side when the necessary code for the date picker is rendered. When you changed the referenced values in the browser, these values will not change the behavior of the client side date picker widget. But when you submit the page, the new min/max values will be used by the date picker validation check on the server.
    To over the client side date picker display issue, you could directly call the date picker JavaScript code and pass in the new min/max values. Have a look at http://jqueryui.com/demos/datepicker/
    So for example you could have a dynamic action of type "Execute JavaScript code" which executes the following Javascript code.
    apex.jQuery('#P200220000_MY_DATE_PICKER').datepicker("option", "minDate", "-1m");I think that should work. Note: I haven't tested if that really works and it's also some kind of unsupported, because it uses the underlaying jQueryUI APIs the APEX date picker is using. This could change in the future and would invalidate your code.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • 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 in Visual Composer

    Hi,
    Can anyone help me with dynamic actions in VC.
    I am trying to open different popups based on my selection in a Drill Down Field.
    How can I do this?
    Where can I find an example for using Dynamic actions in Visual Composer?

    Hi
    Dynamic actions can be used to trigger actions when specific criteria is met. This can be used as a type of validation, checking if a specific field has been filled, to check if a user has permission to do a certain action. I have used it an it works in a simple model. I created a dynamic action using the following formula IF(@NUM1>1,'END','STORE') and then if the number was greater than 1 the application was stopped using an end point or data was stored using the STORE event and a datastore. You will get an error that the END and STORE events are declared but can not be raised, this will not cause a problem when you run the model.
    Jarrod

  • HR - Dynamic Actions help required

    Hi,
    We have a requirement like this:
    Each Org unit is attached to a Work Address and the same is stored in Infotype 1028.
    Whenever hiring action takes place the dynamic action should read the Infotype 1028 for the Org unit to which the employee is assigned and fetch the Work address details.
    These details should be stored in Infotype 0006 under Work Address subtype.
    Request your help as this is a very urgent requirement for us.
    Title edited by: Alvaro Tejada Galindo on Jun 12, 2008 7:05 PM

    In the dynamic actions, you can specify the name of a subroutine of a program.
    Create a subroutine, and write code inside that

  • Dynamic Action-help needed

    Hi ,
    My requirement is in dynamic Action I need to delimit all records in a Subtype of an Infotype and create New record for these records with BEGDA as ENDDA + 1 of the delimited records.
    Iam able to delimit all records in the Subtype but , Iam not able to create new records.
    My code for delimiting is as given below, in T588Z,
    9901 2 06 801 P P9901-SUBTY='2'
    9901 2 06 802 P PSYST-IOPER='MOD'
    9901 2 06 803 P P9901-STATS='X'
    9901 2 06 804 P P9901-PREAS='91'
    9901 2 06 805 F DELIMIT_DTE(ZHSRAS_T588Z_9901)
    9901 2 06 806 W P9901-ENDDA=RP50D-ZZDATE3
    9901 2 06 807 I MOD,9901,3
    9901 3 06 808 P SY-UCOMM='UPD'
    9901 3 06 809 F DELIMIT_DTE(ZHSRAS_T588Z_9901)
    9901 3 06 810 W P9901-ENDDA=RP50D-ZZDATE3
    The above code is working fine.
    My code for creating new record is as given below, even though the control is oing to the subroutine, INS statement is not working, and hence new record is not getting created.
    9901 3 06 811 P SY-UCOMM='UPD'
    9901 3 06 812 P PSAVE-ENDDA<>P9901-ENDDA
    9901 3 06 813 P P9901-STATS<>'X'
    9901 3 06 814 I INS,9901,3
    9901 3 06 815 F BEGIN_DATE(ZHSRAS_T588Z_9901)
    9901 3 06 816 W P9901-BEGDA=RP50D-ZZDATE3
    9901 3 06 817 W P9901-ENDDA='99991231'
    Kindly help me on this.
    Thanks in Advance

    hi,
    thankyou for all ur valuable replies.
    Time constraint for this custom infotype is 2.
    It is not allowing to create a new subtype record if 1 exists.
    Here scenerio is
    Each Subtype ,ie, Subtp 2 ad 3 has got 4 records each with distinct OBJPS field.
    when STATS field of subtype 2 is changed for any 1 record in Subtype 2, corresponding record in Subtype 3 should get delimited .
    And, rest of the records of Subtype 3 should get created again with new start date.
    The code I have written for this is ,
    9901     2          06     800           *BEG*****DEATH OF WIDOW*****************
    9901     2          06     801     P     P9901-SUBTY='2'
    9901     2          06     802     P     PSYST-IOPER='MOD'
    9901     2          06     803     P     P9901-STATS='X'
    9901     2          06     804     F     DELIMIT_DTE(ZHSRAS_T588Z_9901)
    9901     2          06     805     W     P9901-ENDDA=RP50D-ZZDATE3
    9901     2          06     806     *     ****PSAVE-ENDDA<>P9901-ENDDA
    9901     2          06     807     F     LOCK_REC3(ZHSRAS_T588Z_0015)
    9901     2          06     808     I     <b>MOD,9901,3,P9901-OBJPS,(P9901-BEGDA),(P9901-ENDDA)</b>
    9901     2          06     812     *     *BEGCREATE NEW REC FOR SURVIVING WIDOWS******
    9901     2          06     813     *     *
    9901     2          06     814     P     P9901-STATS<>'X'
    9901     2          06     815     F     BEGIN_DATE(ZHSRAS_T588Z_9901)
    9901     2          06     816     W     P9901-BEGDA=RP50D-ZZDATE3
    9901     2          06     817     W     P9901-ENDDA='99991231'
    9901     2          06     818     I     <b>COP,9901,3,P9901-OBJPS,(P9901-BEGDA),(P9901-ENDDA)</b>
    9901     2          06     819     *     *ENDCREATE NEW REC FOR SURVIVING WIDOWS*****
    9901     2          06     830     *     ***END*****DEATH OF WIDOW*****************
    Control is going to all routines, but
    MOD,9901,3,P9901-OBJPS,(P9901-BEGDA),(P9901-ENDDA)  and
    COP,9901,3,P9901-OBJPS,(P9901-BEGDA),(P9901-ENDDA) is not working.
    Message was edited by: Shahana Shahul
    Message was edited by: Shahana Shahul

  • Need help in Dynamic Actions

    Hi Experts,
    I have a requirement to create Additional Payments for two wage types 591 and 691 for a particular Employee subgroup and for three personnel areas whenever a person is hired. I have written the code like this
    400           *BEK047.01 RECURRING PAYM 591 / 691
    401     P     PSPAR-MASSN='01'
    402     P     P0001-PERSK='AA'
    403     P     P0001-WERKS='037'
    404               P                    P0001-Werks='039'/X
    405               P                   P0001-WERKs='041'/X
    406     I     INS,0014/D
    407     W     P0014-LGART='0591'
    408     W     P0014-BETRG='109'
    409     W     P0014-ZANZL='1'
    410     W     P0014-ZEINZ='012'
    411     W     P0014-ZDATE=P0001-BEGDA
    412     W     P0014-BEGDA=P0001-BEGDA
    414     W     P0014-ENDDA=P0001-ENDDA
    Apparently above code doenst work . I removed the OR condition and write the code three times for diff personnel area and that works. So i wanted to know what is wrong in above code. Also when records are created they should be defaulted with the amount mentioned in the code i.e. 109 .....but somehow some other value is coming which i havent entered.
    Please help
    Regards,
    Navneet.

    Dear Navneet
               your dynamic action shows that you want to default the valued in the Recurring Payment and Deductions but not the Additional Payments. Usually the Indicator /X is used with the condition is endup with Logical OR.
    Try out the following values and test
    IT            FC     Num     Indi     Variable Function Part
    0001     04     101     P     T001P-MOLGA='40'
    0001     04     102     P     P0000-MASSN='01'
    0001     04     103     P     P0001-PERSK='AA'
    0001     04     104     P     P0001-WERKS='037'
    0001     04     105     P     P0001-WERKS='039'
    0001     04     106     P     P0001-WERKS='041'
    0001     04     107     I     INS,0014,,,(P0001-BEGDA),(P0001-ENDDA)/D
    0001     04     108     W     P0014-LGART='0591'
    0001     04     109     W     Q0014-BETRG='109'
    0001     04     110     W     P0014-ZDATE=P0001-BEGDA
    0001     04     111     W     Q0014-ZANZL='1'
    0001     04     112     W     Q0014-ZEITX='Months'
    If the above coding is not working, Tryout individually for every condition seperately starting from 3rd line and followed by I like followes.
    0001     04     101     P     T001P-MOLGA='40'
    0001     04     102     P     P0000-MASSN='01'
    0001     04     103     P     P0001-PERSK='AA'
    0001     04     107     I     INS,0014,,,(P0001-BEGDA),(P0001-ENDDA)/D
    0001     04     108     W     P0014-LGART='0591'
    0001     04     109     W     Q0014-BETRG='109'
    0001     04     110     W     P0014-ZDATE=P0001-BEGDA
    0001     04     111     W     Q0014-ZANZL='1'
    0001     04     112     W     Q0014-ZEITX='Months'

  • Need Help calling Dynamic Action from Link in Interactive Report

    Hello I have an Interactive Report. I would like to have a Dynamic Action called when the user selects a row (Clicks a Link).
    I am running Application Express 4.0.2.00.07 on Oracle 11gR1.
    Any help would be great.

    Hi VANJ,
    Sorry for the poorly written original post. I will be much more specific.
    I have a Interactive Report on page 40. That report has a column named X_UID that is a link back to page 40 and sets a text item named P40_X_UID in a Region we will call "Form X" with the value of the column. That page refresh also then calls a Automated Row Fetch process to fetch all the values needed for the rest of the page items in the "Form X" region. Also "Form X" region has a conditional display on to only display when P40_X_UID is not null.
    What I would like to do:
    When the user clicks on link in the IR for X_UID instead of the "Form X" region becoming visible I would like to become modal. I am trying to use a Plug-In named "ClariFit Simple Modal - Show". I have it working with a Dynamic Action when you click a Page Item. But I would like to to work when the link is clicked and the data populated.
    I hope that helps some.

  • Dynamic Actions...Help

    Hi Guys,
    During a new hire, standard SAP process is to pop up Benefits Enrollment screen immediately after we maintain IT 171.
    In my case, i would like to be taken to IT 378 (Benefits Adjustment reason) immediately after i maintain IT 171 (general benefits info), and then i should be taken to Benefits Enrollment screen (1st IT 171, 2nd IT 378, 3rd Enrollment Screen).
    I guess we could do it through Dynamic Actions, but i am not sure how we do it.
    Can someone help me step by step.
    Thank a lot!

    instead, You can add those infotypes in the infogroup used for your hiring action. Try that

  • Dynamic Action help please

    Good day
    I am a new user to SAP (roughly 6 weeks), focussing on the HR side. I have been asked to attempt to compile the code for the following requirement:
    Capture IT9007 (Service History) for new employees, or those who have a change in Position The fields required are Start Date; To Date; Employee Type; Status; Workplace; Grade; Position.
    Please help me understand how to go about gathering the data. Explanation of the syntax too would be appreciated too.
    Thanks for the help
    P.s. I have put together the following code, but my colleague has just informed me it does nothing...
    IType     STy.          Field Name     FC     No.     S     Variable function part
    0                    6          P     SY-TCODE='PA40'
    0                    6          P     PSPAR-BUKRS='5005'
    0               MASSN               P     P0000-MASSN='Z1'/X
    0               MASSN               P     P0000-MASSN='Z2'/X
    0               MASSN               P     P0000-MASSN='ZA'/X
                        0          I     COP,P0001-PLANS
                                  W     P9007-PLANS=P0001-PLANS
    0               MASSN               P     P0000-MASSN='12'/X
    0               MASSN               P     P0000-MASSN='Z9'/X
    0               MASSN               P     P0000-MASSN='ZAZ5'
                        0          I     COP,P0000-BEGDA
                                  W     P9007-BEGDA=P0000-BEGDA
                        0          I     COP,P0000-ENDDA
                                  W     P9007-ENDDA=P0000ENDDA
                        0          I     COP,PSPAR-PERSG
                                  W     P9007-EMPLOYEE_TYPE=PSPAR-PERSG
                                       EMPLOYEE STATUS
                        0          I     COP,P0001-WERKS
                                  W     P9007-WORKPLACE=P0001-WERKS
                        0          I     COP,P0001-PERSK
                                  W     P9007-GRADE=P0001-PERSK
                        0          I     COP,P0001-PLANS
                                  W     P9007-PLANS=P0001-PLANS

    Hi KNaidoo,
    Welcome to swim the SAP ocean:).
    Dynamic actions are actions that is triggered during infotype maintainance.
    lets say you enter some details in infotypes and save it (PAI ) ,it has to populate an email or populated another inoftype,its intended for this purpose.
    There are standard infotypes and customer infotypes(9000-9999).If you see in your case it IT9007(customer infotype)
    http://www.hrexpertonline.com/downloads/Rehan%20Zaidi%20Online%20Portion.doc
    tcode pa30 lets say you are opening IT0001  for one employee and when you go to view the infotype details.click system->under SAP data you will find MP000100(MPXXXX) its module pool program .when you double click on that will take you to abap editor.every module pool program of the infotype will have a standard program MPPERS00(standard include) and it wil have the routine that checks if there is a dynamic action maintained for that infotype be refering T588Z.
    Rehan zaidi power of dymamic action is an execllent one for understanding .please download the doc from the link shared.
    No Worries
    KG

  • Need urgent help on dynamic download of applets in smart card

    hi
    Can anyone help me on dynamic download of applets onto smartcard using javacard kit.
    I need to know : 1. how much memory it requires?
    2. how fast it is?
    3. the limitations?
    Regards
    Bharath

    Hi Joseph,
    I wanted to know the minimum memory requirements / constraints (if any). The size of the smallest capplet I have is around 10K . I dont want any extra features on the install method as of now. I am still not clear how to take up the scriptgen path of dynamic applet downloading. Can you please elaborate some initial steps to start with? I have already gone through the JCDK users guide, HC12 users guide and CW manuals. I have also successfully flashed and tested JCDK on HC12 for maskgen path.
    Regards
    Bharath

  • HELP Filtering and IReport with Dynamic Actions

    Hi all,
    Now that I've upgraded to 4.0, I'm trying to make more use of Dynamic Actions. I followed the example at: http://anthonyrayner.blogspot.com/2010/07/report-filtering-with-apex-40-dynamic.html and it works fine. The thing is that it is based on a select list which kind of takes away from the effect. What I want is to have an interactive report which is filtered by the value in a text box. I want to use a dynamic action that when a user types a search string, the IR is filtered down based on each character typed. I used the "Change" Event on the text box and the Refresh action on the report region for the IR, but it only refreshes when I "Enter" (submit). Any ideas on how I can get an AJAX-like action using dynamic actions?
    Thanks!!!

    Hi,
    See this post
    APEX 3.2 Refresh interective report
    It works also for Apex 4.
    You can call javascript that set your item session state and refresh IR like in that post
    Regards,
    Jari

  • Help with Dynamic Action Construction

    I want to create a dynamic action that will disable a field called P1_TBRN when any of the following conditions in the form are true:
    :P1_TRIAL_STATUS in ('Off-Trial','Unknown') or
    :P1_DIAGNOSIS_MAJOR ='UNKNOWN' or
    :P1_INSTITUTION ='Unknown' or
    :P1_CONSENT_EXISTS <> 'Y';
    I assume I use a "Change" event but I can't work out how to enter the 4 condtions so that they are all checked each time. If I create 4 separate dynamic actions, when I change one of the fields, it does not take into consideration the other field values.
    An alternative I've tried is to set up a Read Only condition on P1_TRIAL with the above condition. The only problem is that I have to submit the page each time there is a change in one of the 4 fields above. It would be better if I didn't have to submit the page each time so I'd like to use a Dynamic Action.
    thanks in advance
    Paul P

    Hi Paul.
    If you want to evaluate 4 variables in 1 dynamic action you have to post the value of these 4 items on each change of one of these items as far as I know.
    I had a form with multiple checks of this kind and ended up having serieus performance issues.
    My way around was to evaluate in javascript. You creat a dynamic action on change of any of these 4 fields and set the condition to a javascript expression. The expression looks something like (quick edit so there might be some typos):
    $v('P1_TRIAL_STATUS')=='Off-Trial'||
    $v('P1_TRIAL_STATUS')=='Unknown')||
    $v('P1_DIAGNOSIS_MAJOR')=='UNKNOWN'||
    $v('P1_INSTITUTION') =='Unknown'||
    $v('P1_CONSENT_EXISTS') == 'Y'
    If this evaluates to true the true action of the dynamic action is executed, otherwise the false action.
    Cheers
    Bas

Maybe you are looking for

  • Having trouble setting up a VPN with anywhere access.

    I have tried setting up different domains/settings but I always get thge same error when setting up a VPN using Windows Server 2012. I'd like to be able to access the server on my laptop from home. Any suggestions or is more info needed? http://imgur

  • Problem with MM Scheduling Agreement Inbound Delivery

    Hello all Gurus, I have a problem with inbound delivery. Whenever I am trying to create inbound delivery in VL31N with the total open quantity of MM scheduling agreement, I am getting a warning message as below "Notified quantity less than goods rece

  • Cover flow window size keeps changing

    As you can see to the images below, iTunes suddenly started to changing my cover flow size every time I restart it. !http://img11.imageshack.us/img11/2162/30848223.jpg! !http://img13.imageshack.us/img13/695/39067239.jpg! Before 2-3 days I never had t

  • Content of xml and atr files in Presentation Catalog.

    Guys i need info on what is the exact content of the .xml and .atr files in Presentation Catalog. I need to study the contents in detail. Please help me.

  • SetColumnType on nested Dataset with delayed loading

    Hi all, I have a master dataset which is set to null in the header, with a nested data set that follows. I then load the dataset via a javascript function from an onclick method, which is all working fine. The problem I have is one of the columns con