SAP Note 1408782 changes PSAVE-behaviour in Dynamic Actions

If anyone find any solution to fix this problem.
Thank you

Hi Sarah,
Thank you for reply. We did not use PSAVE in insert mode. We use for Plausibility Check .
After applying these 2 notes we are totally lost our code. SAP told us to apply another note 1459267 but it did not help.
Here is our Dyn action triggering with employee group/subgroup change.
0171              BSTAT     04     1     P     P0171-BSTAT='G001'
0171              BSTAT     04     2     P     PSAVE-BSTAT='G003'/X
0171              BSTAT     04     3     P     PSAVE-BSTAT='G002'/X
0171              BSTAT     04     4           *EMPLOYEE NOW ELIGIBLE FOR BENEFITS, CREATE 0378
0171              BSTAT     04     5     I     INS,0378,EMPL,,(P0171-BEGDA)
0171              BSTAT     04     10     I     INS,0378,FSAO,,(P0171-BEGDA)
0171              BSTAT     04     12           *CHANGES FOR 2ND PROGRAM GROUPING
0171              BSTAT     04     13     P     P0171-BSTAT='G003'
0171              BSTAT     04     15     P     PSAVE-BSTAT='G001'
0171              BSTAT     04     16           *EMPLOYEE NO LONGER ELIGIBLE FOR BENEFITS, DELIMIT
0171              BSTAT     04     17     I     LIS9,0167,,,(P0171-BEGDA),(P0171-ENDDA)
0171              BSTAT     04     18     I     LIS9,0168,,,(P0171-BEGDA),(P0171-ENDDA)
0171              BSTAT     04     20     F     GET_P0170_ENDDA(ZDYNACTION)
0171              BSTAT     04     21     I     LIS9,0170,,,(RP50D-DATE1),(P0171-ENDDA)
0171              BSTAT     04     22     F     GET_P0377_ENDDA(ZDYNACTION)
0171              BSTAT     04     23     I     LIS9,0377,,,(RP50D-DATE1),(P0171-ENDDA)
Thank you again,
Renata

Similar Messages

  • SAP Note manual changes

    Hi experts,
    i got requirement to change data type and length of fields NO_OF_PART1 in structure J_1iEXHEAD.
    So, please any one advice me how to change these and generate the request as the changes are mentioned in SAP note 1314399.
    Please kindly advice me how to find whether this note is implemented or not.
    I hope im clear with my problem.
    advance thanks
    vijay

    Hi suresh,
    thank you for your quick response.
    Do I need to take access key to make the necessary changes in structure?
    Please tell me one more thing how to check wheather this note got implemented or not.
    thank you
    vijay

  • 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!

  • SAP Note 1374976 - Q3/2009: Functional changes for U.S.

    Hi Experts,
    Can you please let me know what exactly this SAP note does to the Texas SUI report?
    After implementing the SAP note, what changes am I looking forward for?
    Thanks in advance,
    Soujanya.

    Hello,
    After some searches I have found that the corrections delivered in the
    Q-3 notes:
    o The "Employee Name" column in the Employee correction form the
    employees´ first name are concatenated.
    o Also, when you have more then one employee, the first name and the
       SSN that appears in the field was repeated in the others lines.
    Hope this help
    Sarah

  • SAP note validity

    Hi experts,
    I've read that SAP notes are changes to standard code which are to be included in the next release. I was approached by a team to implement a SAP note; upon checking the validity the note is only applicable to previous SAP versions. Our system is a more recent one. When I check the SAP note in SNOTE, it says "can be implemented". My question is, is this note applicable? Should I follow the validity section of the SAP note? Or can I implement this because it's status says so in SNOTE?
    Thanks in advance.

    Hi Jack,
    sometimes SAP notes are containing some wrong informations. For example if a SAP note is only valid for other releases, but contains a correction instruction for your release, which is valid for your support package level, then you can try to implement it. Many incorrect informations in SAP notes come from SAP version updates, when the note says, it is valid for release x SP level from a to b and correction instruction says, it is valid for release x SP level from c to d. 
    But please check carefully, that all manual activities can be done and all additionally required notes and their manual activities can also be implemented (or are obsolete).
    If you get an installation error, please uninstall the note after installation  (if this is possible).
    There are many possible errors and issues that may occur:
    Correction instruction is already partially implemented
    You get activation errors, for some business functions are not active (Switch Framework). In this case you may be unable to uninstall the note without errors.
    and many more
    If you're thinking that the note will help you to solve an issue, please try to implement it. In case of error you should feel free to contact SAP support.
    Regards,
    Klaus

  • How to Upload SAP notes

    How to Upload SAP notes in the system.
    Can anybody tell me the step by step procedure.
    Thanks & Regards
    Mayank Tyagi

    Hi,
    Go to Tr Code.<b>SNote</b>
    1. Check the OSS no whether already been downloaded or not,
    2. if not download it
    3. it will be in the New tree.
    4. FInd your note and double click on the same. then Pdf will open
    5. Read it properly check whether it can be implemented it or cn not be implemented
    6. If can be implemented then implemetnte the note and create a request for the same.
    7. once implemented then go to consistant portion then change the status of the Notes for this you need to go to the SAP Note and change the note processing status to completed.
    <b>
    Note</b> : Soms times the SAP tells to download the files from the Service.sap.com and for some notes u need to create a field or new objects. For this u need to get the Access key from ur team and change the same.
    Lastly go inside the report and check whether the changes have been done or not.
    sometimes changes may not be there. this will lead to problem
    Hope this will help you
    Sail

  • Implement SAP Notes

    Hi to all,
    Can u please tell me about the following:
    ·     Implement SAP Notes No. 730527 to display the error message 330 "Price of goods movement will become negative"

    Are you familiar to implementing OSS Notes. Your message asks to implement OSS Note.
    Here are details for how to implement an OSS Note. Hope this helps,
    Go to Tr Code.SNote
    1. Check the OSS no whether already been downloaded or not,
    2. if not download it
    3. it will be in the New tree.
    4. FInd your note and double click on the same. then Pdf will open
    5. Read it properly check whether it can be implemented it or cn not be implemented
    6. If can be implemented then implemetnte the note and create a request for the same.
    7. once implemented then go to consistant portion then change the status of the Notes for this you need to go to the SAP Note and change the note processing status to completed.
    Note : Some times the SAP tells to download the files from the Service.sap.com and for some notes u need to create a field or new objects. For this u need to get the Access key from your team and change the same.
    Lastly go inside the report and check whether the changes have been done or not.
    sometimes changes may not be there. this will lead to problem
    Check this thread for more details.
    How to Implement OSS note
    Reward if this helps.

  • 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)
    That’s 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 - how to create an infotype with a date - 1 day.

    Hi everyone,
    I need a requirement to change an infotype through dynamic action with ENDDA = BEGDA of maintaned infotype(0000) - 1 day.
    In other words when a  personel action is performed, another infotype (2001) should appear for change, and in the validity period of this infotype should end with the day before the start of the personel action.
    is it possible to achieive this using dynamic actions? how?
    Thanks!
    Stanislaw Adamski

    Hi Adamski,
    A dynamic action has the following components.
    Infotype Number (INFTY): specifies the infotype for which you want the dynamic action triggered
    Subtype (SUBTY): narrows the focus to a specific subtype
    Field Name (FIELDN): starts your action when a maintenance function is performed on a particular field
    Function (FC): specifies the various maintenance operations to which your dynamic action would respond. They are 02 (change); 04 (create); 06 (create and change); 08 (delete); 10 (change and delete); 12 (create and delete). Dynamic actions are only applicable in maintenance operations, not in display functions.
    Sequence Number (NO): refers to a sequential number.
    Step (A): specifies a particular type of action. No dynamic action is executed if the function character has a value other than one of the following:
                 P: Plausibility checks, which allow you to check certain conditions.          
                 I: Calls an infotype for processing
                 W: Called after the I statement and used to assign values to screen fields while creating or copying another infotype record through the I statement 
                  F: Calls a FORM routine (subroutines in ABAP) during your action. The routine may reside in or out the module pool MPNNNN00.
                 V: Lets you treat collectively a number of fields for which you want to define a common dynamic action
                  M: Sends SAP Office mail
    Variable function part: The variable function part along with the step indicator forms the core part of your action. It specifies the processing details when the dynamic action is triggered. For example: 
    you have to look for the scenario what you are planning tyo create .
    The maintenance of dynamic actions is done via the view V_T588Z, as shown in 1 (IMG menu path Personnel Management>Global Settings in Personnel Management>Basic Settings>Infotypes>Create Dynamic Actions
    Here you havev to use conditions INS for the infotype what you want to create..
    Please brief the light on the scenario.
    Warm Regards,
    Kapil Kaushal

  • Modify IT0001 record using dynamic actions

    Hello Folks,
    I have a requirement to modify the data i.e., P0001-VDSK1=P0001-KOSTL+4(6),
    Whenever Coscenter data changes OrgKey also should be updated with same data.
    KOSTL     06     0           COST CENTER COPY TO VDSK1--
    KOSTL     06     5     P     T001P-MOLGA='21'
    KOSTL     06     10     I     MOD,0001/D
    KOSTL     06     20     W     P0001-VDSK1=P0001-KOSTL+4(6)
    Above code iam able to update Current record only, but it is not updating old records. Please suggest how to update all records also using PSAVE or ..
    Any sample code please.
    -Nishanth

    Hi Nishanth,
    If you are not able to solve it through dynamic actions, check with your technical people to implement user exit enhancement PBAS0001 component ZXPADU02.
    Br/Manas

  • How to make use of a Badi in dynamic action on infotype?

    Hi...
    i need to create a dynamic action on infotype 6 to create a record in infotype 207.
    I have to use badi for it.
    i need to use 'f' for 'Indicator for step'. right?
    kindly help..
    Thnx and regards.
    Abhi.

    Hi,
    Using F calls a routine and not BAdI.
    If record will directly be created then there is no need to write Z program and calling it using F indicator. However, in case there is some logic which can not be written directly in the Dynamic Action then you need to write that logic in a routine and call it using F indicator.
    VK

  • The dynamic action didn't work

    Apex 4.1
    There are 2 items in a Form on Page 3,  P3_REG_ID and P3_SUBMITTER_ID.
    I'd like set submitter id=reg_id when reg_id has been change, so created the dynamic action on item P3_REG_ID, but P3_submitter_id didn't change whatever P3_reg_id did.
    What I did:
    {code}
    Event: Change
    Selection Type: Item
    Item: P3_REG_ID
    Conditions: null
    True action:
    Set type: PL/SQL Expression
    PL/SQL Expression: : P3_REG_ID
    Effected elements
    Selection type: Item
    {code}
    Who can help me? thanks a lot
    Item: P3_SUBMITTER_ID

    Hi Howard,
    I have requested the example workspace in OTN, and created a application, please reference.
    http://apex.oracle.com/pls/apex/f?p=4550:1:0:::::
    workspace:  huangyong
    usename: test
    password: 1234

  • Dynamic action on text box change does not working

    i have a page with following components.
    a report that has and edit link.
    a text box to catch the primary key from report link when it is clicked
    a number of elements (text boxes, check boxes and LOVs) which are used as data entry form.
    Now my design is that user enter values save them and no sooner did they save, the report depicts new
    values. if user want to edit any record, they click on edit link and the data entry form elements
    should now bring all those values from DB on page. i m successful to pick primary key and bring
    it in a hidden text box and wrote a dynamic action on its change event that will bring values from
    DB and set all page elements. but but but.........the change event doesnt work. it only work
    when focus is lost from the text box...!! offcourse user wont want to click in that "hiddent" text
    box and then click some where else to bring values in page data entry form......
    help is humbly requested from forum or if any other solution approach is to be used easier than
    one i m using, would be appreciated.
    thanks in advance for reading my bore question :)

    bundles of thanks for reply. i m going to elaborate.
    1. My page no is 3.
    2. Hidden Item name is P3_EDIT_ACTIVITY_ID
    3. Data entry form, hidden item and the report are on the same page.
    4. on the edit link of report, i have used following settings.
        Target: Page in this application
         Page: 3
         and i set hidden item as follows......
         Item 1   P3_EDIT_ACTIVITY_ID         Value #ACTIVITY_ID#
       well, when i click the link on report it does bring Activity_Id in the hidden box (which is not yet hidden for debugging purpose)
    Next i wrote Dynamic action which fires on the change event of P3_EDIT_ACTIVITY_ID and run PL/SQL code with in it which is as follows
      declare
      Dept varchar(50);
    begin
       select my_dept into Dept from activity_main ACTIVITY_ID = :P3_EDIT_ACTIVITY_ID;
       :P3_Dept := :Dept;          (i did use :P3_Dept := Dept also but this wont work)
      insert into testdynamic (stamp) values (Dept);  (I did this to check whether correct value is brought from DB, yes it works correctly, correct Dept is being inserted in stamp column)
    end;
      i have created another true action to check when the dynamic action is fired. its very simple alert. and the problem is, it only fires when focus is lost from the P3_EDIT_ACTIVITY_ID. i mean, when u keep changing value inside the text box, nothing happens, when u go outside, the alert is fired and so the pl/sql procedure. but the line
        :P3_Dept := :Dept;       OR      :P3_Dept  := Dept;         arent working which is the actual requirement.
      I m not using set value here as i have to set a lot of values on page not one. further. plz let me get rid of this lost focus thing as i want the form to be populated with correct values related to P3_EDIT_ACTIVITY_ID as the user click on any edit_link in the report.
    Thanks for persistence. i hope i have provided all the details.
    looking forward.

  • Dynamic Action, validation check, on an Item, could not use Change event

    I am learning how to use Dynamic Actions in a 3.2.x app that was upgraded to 4.0.x. I wanted to share what I learned adding client side validation with these actions. Perhaps an Apex guru could suggest an easier method to use this feature.
    I have an existing function where a user selects multiple rows in a report page, and then assigns a single status and enters justification text for the selected rows in another page, then saves changes (via submit).
    One item, justification, is required. I replaced my JavaScript validation of an empty value, e.g., P10_JUSTIFICATION.value, with a dynamic action. The Change event was a candidate for this item, with the "is not null" Condition. However, it is possible to initiate this screen to review the status, overlook the justification text and immediately select a button to save changes. No Change event has fired. The Before Page Submit event was applicable here. This Event selection in the wizard does not provide the Item for definition and then the Condition wasn't the right context though available for selection. I selected JavaScript expression for the Condition, actually entered my original JS test expression, and created one True Action. The True action displays an Alert to tell the user that required text is missing.
    Test of this DA was not completely successful. The alert appeared but the page went on to submit anyway. I found I had to add another True Action, Cancel Event, to stop the submit. The DA was then successful.
    The Apex site examples, [http://st-curriculum.oracle.com/obe/db/apex/r40/apexdynactions/apexdynactions_ll.htm] , do a great job showing use of Change and Set Value events for Items but a user may not always navigate through items. These features were promoted for developers with no to little knowledge of JavaScript to use Apex for application development. This DA required using/understanding JS anyways.
    My next step is to implement actions on a tabular form that that has required values. It is disconcerting that I have read in the forum that the column value references such as f0x and its row number are required to get it all working (as a DOM or JQuery selector). I have already found that tabular form columns can be re-ordered from v3.2.1 to 4.0.x. I was hoping I could declare dynamic actions or simpler Javascript methods that would not rely on f0x array references.
    Thanks,
    Kelly

    It is disconcerting that I have read in the forum that the column value references such as f0x and its row number are required to get it all working (as a DOM or JQuery selector).Not necessarily. One possibility is to use descendent jQuery selectors to attach the dynamic action event handler by column heading:
    td[headers="HIREDATE"] input

  • Dynamic Action not triggering on Radio Group change

    I have a form that contains a text item, a radio group item and a display-only item. I have created a single dynamic action "CHANGE SUBJECT" associated with both the text and radio group items that updates the display-only item's value whenever either is changed. The action fires properly when the text item is changed, but not when the radio group is changed. If I set the radio group item's "Page Action when Value Changed" property to "Redirect and Set Value", than everything works, but that is not the desired behavior as that requires a refresh of the entire page. Any suggestions on how to make this action work? Is there a different action for the radio-group that I should be using instead of CHANGE? Thanks for your help.
    -Jeff
    Edited by: jritschel on Sep 1, 2010 2:05 PM

    OK, then change it to JavaScript Expression instead of SQL and put this code in the value :
    "Radio Group Value= "+ $v('P65_RADIO_GROUP')+" - Text Box Value= "+ $x('P65_TEXT').value I tried it and it work!
    Sam
    Update:
    I tried the same code you had before (plsql Expression) but there is something that you need to do to make it work, in the TRUE action setting , there is a "Page Items to Submit" field, you need to put your text item and radio in it as follows:
    Page Items to Submit : P65_RADIO_GROUP,P65_TEXTThis should make your code work in addition to the other way I provided.
    Thanks,
    Sam
    Edited by: Sam_06 on Sep 1, 2010 2:27 PM

Maybe you are looking for

  • Project Not Filling Screen?

    When burned to disc, my 720 X 480 DV project fails to fill the screen. This happens whether I burn directly from FCPX, or export as a full quality .mov and import into iMovie HD (widescreen) and then share with iDVD. (I have FCPX to set project prope

  • [SOLVED] Lightweight DE authorization after hibernation

    Hi, I am using xmonad and pm-utils. At the end of my day I simply hibernate instead of shutdown. But after hibernation I have last session shown without asking for any password. In GNOME there was a dialog asking for password, you could leave message

  • Help! Compressor 1.2.1...Deadline Looms!

    I have a movie created in FCP HD 4, exporting it into Compressor and using presets for MPEG2 60min High Quality. The footage is "8mm movie footage" ...using this compressor setting with De-Interlace(even) and due I suppose t all the motion in the mov

  • Setting PortalPath from database not working.

    We're authenticating via LDAP to OID. We then read out user group membership from a table in Oracle. We've recently tried adding a PORTALPATH variable to the db table so that we can specify the default dashboard for each user. We have a session init

  • Optional Printer Tray

    When printing to a printer with optional printer tray i see only the standard tray but cannot select any of additional trays. We are using terminal server WIN 2000 SP4 and tarantella 4.1. On the terminal server the optional trays are visible and can