PAI is not triggered after I choose value in F4

Hello experts,
I fight with the following problem:
On my screen I use input field (ucf_s_coi_afd03_ct-xrproc_param) and I coded the F4 help for it manually
PROCESS ON VALUE-REQUEST.
  FIELD ucf_s_coi_afd03_ct-xrproc_param
      MODULE req_xrproc_param_2006.
After I press f4 on this field, the values are correctly listed but after I choose one value (double click), I would expect that the PAI is triggered but it is not. I have to press ENTER, only then.
Is there a way how to trigger the PAI after the value is chosen?
I found one way, but I don't want to use it:
If I change the input field into "List box" or "List box with key", then I can assign function code to it and if I do that, then it works - PAI is triggered after value is chosen. However, I don't want to use list box, I need standard input field.
Any ideas?
Regards,
Tomas

>
Jonathan Coleman wrote:
> Rather than triggering the PBO in order to fill in other fields on the screen from your POV event, the usual approach I've seen is to call the function DYNP_VALUES_UPDATE (which is quite well documented) e.g. you could get a customer number from your F4 dropdown, then retrieve their name and address and populate that data back into the screen all from within the "process on value-request" module logic.
>
> Jonathan
The original problem (or at least my orignal problem) which was solved by the SUPPRESS DIALOG was how to trigger my PAI validation - not the PBO though that of course follows on afterwards - immediately on selecting a value from a search help in order to carry out a further check on the value selected.  I've used DYNP_VALUES_UPDATE in other situations, but it was not a suitable solution for me here.

Similar Messages

  • 925685 - Approval process is not triggered after documents are added

    Hi there,
    I was wondering if anyone found already a solution for the following problem.
    According to SAP Note: 925685 - Approval process is not triggered after documents are added.
    Within our SAP application, we want to approve purchase orders for departments based upon the document total.
    I was very astonished that employees are able to add a PO which will not trigger an approval stage and after the document is added, they have the possibility to change the document and at the update moment no approval will be started even if the document meets the approval requirements.
    Therefore I really want the flexibility to give users the possibility to change their PO.
    Meanwhile, documents which are added under approval, are also locked for changes, although this is another question it is also pretty annoying!
    I hope anyone has already found a method or work around for the stated problems above.
    (We are using SAP 8.8 PL 20)
    Thanks in advance.
    Kind regards,
    Marcel

    Hi Kambadasan,
    Thank you for your reply
    I'm sorry but I know how the approval templates work and they are configured correctly, however as SAP also mentioned in their own Note, this is due to the lack of SBO that SAP has such behaviour.
    Hi Gordon,
    Thanks for your reply.
    Unfortunately I have not found the post you mentioned...
    I will post my issue alson on the topic you mentioned.
    Hopefully they found a solution or maybe version 8.81 will solve the problem.
    Thanks a lot!!
    Kind regards,
    Marcel

  • PO change output not triggered after deletion of line item

    Hello SAP experts,
    I have one issue with PO output
    I have created PO with output type & we are outputing through ME9F( 3- Send with application own transaction)
    Below is the sequence,
    1.PO created & outputed thru ME9F
    2.Now ,i added the line item in the PO,Output triggred but not processed.
    3.I deleted the line item immedietely,Output not triggered.
    (My question is Why the output is not tiggered?)
    4.I outputed it through ME9F,vendor will receive only 1st output & never get the 2nd o/p for the deletion of item.
    I am clear that after processsing the 1st output,then only i can process the 2nd.
    But in business point of view,this scene created the problem.
    Please provide your valuable input.

    Hi,
    In IMG - Materials Management- Purchasing-Messages - Fields relevant to Print out of changes
    Enter Table EKPO , Reference Field LOEKZ, tick on change print relevant for purchase order,in routine enter 03.
    Now your Output will be triggered with a change indicator and you can process it using ME9F.
    Regards
    Chandra Shekhar

  • Release strategy for RFQ's not triggered after change

    Folks,
    Release strategy is active for RFQ's. In case of initial creation, the release strategy is active. After releasal a change is made to the existing RFQ. However, the release strategy is not triggered. Characteristics used are:
    1) document type (AN)
    2) purchasing type (RFQ purchasing document)
    It is obvious that these characteristics will not re-trigger the release strategy. On header level, there is no field in CEKKO available to re-trigger, for example total quantity? Any suggestions for a characteristic that can re-trigger the RS?
    Message was edited by:
            MdZ

    Hi,
    For RFQ Release strategy will be applicable only for Document type.No other characteristics will apply for that.
    As RFQ don't have any specific table where the data is stored related to RFQ.
    So we Use CEKKO which only identifies the document type of RFQ.
    In your case in initial process while creating the RFQ release strategy is active.
    What change you have made to the Released RFQ.
    rgds
    Chidanand

  • DATA_CHANGED event handler is not triggered after input.(OO ALV)

    Dear Experts,
    What I did:
    I register Enter as the trigger event for data_changed event, and I put my checking logic in data_changed_handler which is a method of a local class. When the checking fails, I put messages using er_data_changed->add_protocal_entry to show messages.
    My checking is simple, if the cell is empty, error messages pops up tells that this cell can not be blank for this row.
    My problem:
    When there is no entry in the alv list(Only this situation), I insert a new entry, the cell which is required is empty, I press Enter, data_changed event is triggered, the message pops up saying that the cell is required. Then close the pop up message window, I input something in the cell, and press enter. The data_changed event is not triggered.
    Is there any1 has any ideas on this problem?
    Vicnent
    Edited by: Changjiu Tan on Sep 7, 2009 1:33 PM

      METHOD HANDLE_DATA_CHANGED.                               "#EC NEEDED
    *<<<  BEGIN MODIFY EXAMPLE CODE
    *   u4FDDu5B58u30C7u30FCu30BFu3092u7DE8u96C6u3059u308Bu3000START
        DATA: LW_INS      TYPE LVC_S_MOCE,
              LV_FNAME    TYPE LVC_FNAME,
              LW_MOD      TYPE LVC_S_MODI,
              LV_MAX      TYPE I,
              LV_RES(12)  TYPE C,
              LW_LIST     TYPE ZTSRE012,
              LV_ROWID    TYPE LVC_S_ROID,
              LT_MOD      TYPE LVC_T_MODI,
              LV_COLID    TYPE LVC_S_COL,
              LV_ROW_ID    TYPE LVC_S_ROW,
              LV_COL_ID    TYPE LVC_S_COL.
    *   u73FEu5728u306Eu30D5u30A9u30FCu30ABu30B9u4F4Du7F6Eu3092u53D6u5F97
        CALL METHOD GO_ALV_GRID7->GET_CURRENT_CELL
          IMPORTING
            ES_ROW_ID = LV_ROW_ID
            ES_COL_ID = LV_COL_ID.
        LOOP AT GT_LIST INTO LW_LIST.
          IF LW_LIST-ID > LV_MAX.
            LV_MAX = LW_LIST-ID.
          ENDIF.
        ENDLOOP.
    *   u30B0u30EBu30FCu30D7ID
        LV_FNAME = CNS_ID.
        LOOP AT ER_DATA_CHANGED->MT_INSERTED_ROWS INTO LW_INS.
          LV_MAX = LV_MAX + 1.
          CALL METHOD ER_DATA_CHANGED->MODIFY_CELL
            EXPORTING
              I_ROW_ID    = LW_INS-ROW_ID
              I_FIELDNAME = LV_FNAME
              I_VALUE     = LV_MAX.
        ENDLOOP.
        CLEAR: LV_FNAME.
        LT_MOD[] = ER_DATA_CHANGED->MT_GOOD_CELLS[].
    *   u30C7u30FCu30BFu30C1u30A7u30C3u30AF
        LOOP AT LT_MOD INTO LW_MOD.
          IF LW_MOD-FIELDNAME = CNS_ZZTTSN.
            LV_COLID-FIELDNAME = LW_MOD-FIELDNAME.
            LV_ROWID-ROW_ID    = LW_MOD-ROW_ID.
            CALL METHOD GO_ALV_GRID7->SET_CURRENT_CELL_VIA_ID
              EXPORTING
                IS_COLUMN_ID = LV_COLID
                IS_ROW_NO    = LV_ROWID.
            CALL METHOD GO_ALV_GRID7->GET_CURRENT_CELL
              IMPORTING
                E_VALUE = LV_RES.
            IF LV_RES IS INITIAL.
              CALL METHOD ER_DATA_CHANGED->ADD_PROTOCOL_ENTRY
                EXPORTING
                  I_MSGID     = CNS_MSGID
                  I_MSGTY     = CNS_MSGTY
                  I_MSGNO     = CNS_MSGNO
                  I_FIELDNAME = LW_MOD-FIELDNAME
                  I_ROW_ID    = LW_MOD-ROW_ID.
            ENDIF.
            CALL METHOD ER_DATA_CHANGED->MODIFY_CELL
              EXPORTING
                I_ROW_ID    = LW_MOD-ROW_ID
                I_FIELDNAME = LW_MOD-FIELDNAME
                I_VALUE     = LV_RES.
           ENDIF.
          CLEAR:  LV_RES,
                  LV_COLID,
                  LV_ROWID.
        ENDLOOP.
        CALL METHOD GO_ALV_GRID7->SET_CURRENT_CELL_VIA_ID
          EXPORTING
            IS_ROW_ID    = LV_ROW_ID
            IS_COLUMN_ID = LV_COL_ID.
      ENDMETHOD.                    "handle_data_changed
    Edited by: Changjiu Tan on Sep 7, 2009 1:31 PM
    Edited by: Changjiu Tan on Sep 7, 2009 1:32 PM

  • PO release strategy not triggered after PO printout

    Hi Experts,
    I have configured PO release strategy and have given 10% tolerance to PO value.
    When I change PO value (more than 10%) after releasing the PO, but before taking Print out of PO, the system triggers new release strategy.
    But when I change the PO value (More than 10%) after taking PO print out, system do not trigger the new release strategy.
    I want the system to trigger new release strategy after PO print out (if its going beyond the tolerance).
    Please help.
    regards,
    Anand

    Hi Anand,
    you cannot reset the release once the PO is printed.
    When the purchase order is printed/faxed the vendor will deliver the goods. Therefore it would make no sense if the system resets the strategy.
    Please ensure that changeability of the release indicator should be 5 or 6.
    Sanjeev

  • Exception not triggered after 4 acknowledgement failures.

    Hi,
       I have an FTP Sender, When i am sending the file to FTP site. the send step is defined as throwing send exception and send exception is handled in send exception handler where i cancel the process. The send step is defined with acknowledgement as "Transport".
    I have FTP address wrongly spelt.
    So the BPM tries 4 times, with 5 min duration between retires. Then after the 4tn try i am expecting the send step to throw send exception. It does not do that.
    Could you please let me what changes i have to do to catch this acknowledgement exception.
    I also have a deadline exception. but i dont want this to go into the deadline exception. Can i catch this exception in send exception.
    Regards,
    Vinay.

    Hi,
    In IMG - Materials Management- Purchasing-Messages - Fields relevant to Print out of changes
    Enter Table EKPO , Reference Field LOEKZ, tick on change print relevant for purchase order,in routine enter 03.
    Now your Output will be triggered with a change indicator and you can process it using ME9F.
    Regards
    Chandra Shekhar

  • DisplayExecution event not triggered after sequencefile execution

    I have a problem now with my customized Test UI developed in C#.
    In my own PC, my codes works well:
    this.axSequenceFileViewMgr1.GetCommand(CommandKinds.CommandKind_ExecutionEntryPoints_Set, 0).Execute(true);
    // Run sequence---> This goes to DisplayExecution event
    private void axApplicationMgr1_DisplayExecution(object sender, NationalInstruments.TestStand.Interop.UI.Ax._ApplicationMgrEvents_DisplayExecutionEvent e)
                this.axExecutionViewMgr1.Execution = e.exec; 
    However, when I run this UI in another PC, which installed same softwares as mine, the DisplayExecution can not be triggered.
    And I found that the count of Executions in axApplicationMgr1 is always 0 after the command execute.
    I'm using TestStand 2014, 64bits version.
    C# in Visual studio 2010.
    Please advise where may go wrong in my code or the PC environment for my problem.
    Thanks alot!

    I figured out the reason of this issue by myself.
    The failure of not doing the GetCommand.Execute() is due to the user login issue.
    During my development I feel the login window is annoying so I disabled it by setting axApplicationMgr1.LoginOnStart to false.
    I'm not sure why it works in my PC but not in others. -> Maybe someone can advise on this point?
    So my current solution is to catch the UserChanged event after the login then to open the sequence file and execute it.
    Hope this is helpful to those meet similar issues.

  • Events listening to Image with map not triggered after DOM manipulation

    Hi again,
    I am rephrasing the issue that I had posted earlier today and assume that reproducing the issue wasn't clearly mentioned.
    ISSUE:
    After the DOM is updated with new image and corresponding image map, events assigned to the div containing the img and map, do not respond or get triggered.
    *TO REPRODUCE:*
    Click on the link below. There appears an image that has image map. Mouse over any of the two boxes and notice that corresponding area ID appears in the red colored box placed below the image.
    (Until here all browsers behave the same. So far so good ...).
    Now click on one of the two boxes (image) and then a new page is loaded that has a new image and corresponding image map to it.
    Now the new image has 4 pink colored boxes. Mouse over any of the boxes and the red colored box should now display the area id corresponding to the box.
    Red colored box below the image is updated with the area id of the box and you mouse over any of the 4 boxes in all the browser EXCEPT IN SAFARI.
    Further, (in all browsers except safari) click on the image and a again a new page is loaded and mouse over and click event are trigerred.
    As long as we mouse over the image, red box gets updated with the area id corresponding to that of the box from the image.
    Also as long as we click a new page is loaded with new image (there are 3 images that are in loop).
    *LINK TO SAMPLE:*
    I recommend you to try this either in Firefox or IE before you do on Safari (to see the normal, expected behaviour first).
    http://www.hivegroup.com/safari/test.html
    All inputs on this issue are welcome and greatly appreciated.
    Thanking you in advance.
    Regards,
    Shashi.

    Thanks for advice Reverse_parn. And I did report the bug to Apple, like you said.
    And, finally did you notice the wrong behaviour in Safari ?
    Regards,
    Shashi

  • Workflow not triggering after undletion of expense line item after release

    Hi Experts.
    There is one issue in which a PO contains inventory line item (an item without account assignment category) and expense line item (an item with account assifnment category).The user releases the PO through workflow.The user then deletes expense line item and after a span of time he undeletes the same line item.Now the business requirement is after undeletion of expense line item the workflow should trigger again.I have consulted with technical team they say that it is not possible by coding and is possible trough customization.

    Hi,
    Please check that Change Version for PO is active.
    IMG: SRM -> SRM Server -> Cross-Application Basic Settings -> Switch On Version Control for Purchasing Documents
    Regards,
    Masa

  • Why might the Title Tools Panel not open after I choose OK?

    I am new to Adobe Premiere Pro 5.  At first, a couple times I was successful in creating a NEW TITLE for a sequence, the Titler opened up, I made my title, and placed it in the timeline. 
    However, ever since that time for any new project, when I go to create a New Title, using any of the options, like default still, and click OK, nothing happens, i.e. no window opens to enter text and do formatting.
    I looked to see if I had checks next to everything in the Window view area that should allow the title panel to be visible, but everytime I try to create a title, the name I give it appears in the Project area, but no titler opens as it once did.  
    Please suggest any things to try.  I have all these videos to title, and cannot move forward without some advice.

    try resetting your work area and see if it comes back.
    I know a couple versions back in CS3 & CS4 the titler had a creep problem that resetting helped.  The workaround was to move the tools on the left to the bottom to fix it.
    Glenn

  • User-exit not triggered(variable)

    Hi mates,
    I have two variables A (fiscal year), B(calmonth interval) and both of type user-entry(replacement type).  I defined C varible of type user-exit(replacement type). In C, i'm reading A & B values and checked whether B's interval is in A.
    eg: A input is 2007 (means 04.2006 to 03.2007).
    B  input interval 03.2006 to 10.2006.
    In C i'm checking whether B's interval is in A (fiscal year).
    Based on B's value, dynamically i have to show  input & output layouts. I defined one function module for C, but it's not triggering after entering input values in plng folder.
    How to trigger user-exit immediately after user enter input values? (without selecting dependent input or output layout tabs, these input or output layout uses varible B interval values for dynamically showing calmonth columns).
    Previously i defined few varibles like above, there user-exits triggered only after i choosing related input or output layout tabs.
    thanks,
    Raju

    The user exit written in the variable will be triggered if that variable is used anywhere in folder or layout or function or called in the logic of any other variable. In your case, C is not used anywhere that why it is not executing this code. For the required functionality, you have to create planning function of type exit and place this code. Run this function on layout open or folder opening something like this.

  • Interactive Form - button SubmitToSap - OnSubmit event is not triggered

    Please help to resolve triggering OnSubmit event problem.
    I created a test Webdynpro with UI element InteractiveForm.
    The InteractiveForm properties are:
    - displayType = native
    - enabled is checked.
    OnSubmit event  a method is called. The method contains very simple code so I could debug and see if the event is triggered.
    The form was created in SFP with  Layout type = Native.
    The form properies are:
    Default Lang = Javascript.
    Default run =  at client
    Preserve scripting changes to form when saved = Manually
    I have inserted Webdynpro script thru SAP Utilities menu.
    The form has SubmitToSap button and Textfield.
    So now i am trying to debug WDA.
    At runtime WDA opens Adobe form.
    If I enter data into Textfield and then click SubmitToSap button  -  OnSubmit event is triggered. I am happy.
    Then I run WDA again. This time I click  SubmitToSap button  right away without entering data into Textfield. OnSubmit event is NOT triggered this time.
    Is something wrong with my form properties?
    Thank you very much,
    Tatyana.

    Manas, you are right.
    OnSubmit event was not triggered unless U enter value into Textfield because the Textfield property was "Requiered".
    Also just for clarification the form Layout type  is ZCI Layout (not Native like I said above).
    Thank you!

  • Gpib, wait does not return after timeout

    I use this code line:
    gpibDevice.Wait(GpibStatusFlags.DeviceServiceRequest | GpibStatusFlags.Timeout);
    I want to wait for a Service Request or a Timeout.
    The IOTimeout is set to 1s, but the Wait function does not return after 1s.
    What is the problem? Do I have to set any other timeout?

    Hi Gregor,
    I am sorry but this link that you send, did not help me. I am using this code within a c# application. This is a bit
    different to LabView. Here is my full code:
    gpibAddress = 1;
    timeoutValue = TimeoutValue.T1s;
    gpibDevice = newDevice( 0, gpibAddress , 0 , timeoutValue );
    gpibDevice.IOTimeout = timeoutValue;
    gpibDevice.Clear();
    gpibDevice.DefaultBufferSize = receiveBufferSize;
    gpibDevice.SerialPollResponseTimeout = timeoutValue;
    gpibDevice.Wait(GpibStatusFlags.DeviceServiceRequest | GpibStatusFlags.Timeout);
    And I still have the Problem, that this Wait Function does not return after the
    timeout value - here 1s. Do I have to configure anything else from the GPIB device?

  • After Update Trigger not triggering for first update

    Hi All,
    I have written a Trigger on AP_SUPPLIERS table to update AP_SUPPLIER_SITES_ALL when payment priority gets updated on AP_SUPPLIERS table. Trigger calls a pragma autonomous procedure after update happens, and updates sites table. We are on R12 (12.1.3) with  DB 11.2.0.3.0
    Somehow this is not working for the first update, after that for every update it is working. Any idea why this might be happening?
    Trigger Code: 
    CREATE OR REPLACE TRIGGER XX_AP_SUPPLIER_SIT_UPD_SYNC
    AFTER UPDATE
    ON AP.AP_SUPPLIERS
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    l_vendor_id     NUMBER;
    l_paym_priority NUMBER;
    BEGIN
       XX_AP_SUPSITE_UPDATE(:NEW.PAYMENT_PRIORITY, :NEW.VENDOR_ID);
       EXCEPTION
         WHEN OTHERS THEN
           RAISE;
    END XX_AP_SUPPLIER_SIT_UPD_SYNC;
    Procedure Code:
    CREATE OR REPLACE PROCEDURE APPS.XX_AP_SUPSITE_UPDATE (p_payment_priority  IN  NUMBER,p_vendor_id IN NUMBER) AS
      PRAGMA AUTONOMOUS_TRANSACTION;
      ex_custom EXCEPTION;
      PRAGMA EXCEPTION_INIT( ex_custom, -20001 ); 
    BEGIN
      UPDATE AP_SUPPLIER_SITES_ALL
      SET PAYMENT_PRIORITY =p_payment_priority
      WHERE VENDOR_ID = p_vendor_id;
      COMMIT;
    EXCEPTION 
    WHEN OTHERS THEN
        raise_application_error( -20001, 'Error while updating payment priority on Site '||SQLERRM );
    END XX_AP_SUPSITE_UPDATE;

    Thanks for your replies Saubhik/VT,
    now my trigger is compiled. but is not triggering. pl help me to resolve .....
    create or replace
    TRIGGER AUDIT_DEV.trg2
    AFTER DELETE OR UPDATE OF EMP_STATUS ON AUDIT_DEV.AUDIT_PERSONS
    FOR EACH ROW
    declare
    OSUSER varchar2(30);
         MACHINE varchar2(30);
         logon_time date;
    db_user varchar2(30);
    USERNAME VARCHAR2(30);
    EMP_USER_MODIFIED AUDIT_PERSONS.EMP_USER_MODIFIED%TYPE;
         EMP_DATE_MODIFIED AUDIT_PERSONS.EMP_DATE_MODIFIED%TYPE;
         EMP_SK AUDIT_PERSONS.EMP_SK%TYPE;
         EMP_ID AUDIT_PERSONS.EMP_ID%TYPE;
         EMP_NAME AUDIT_PERSONS.EMP_NAME%TYPE;
    EMP_RESIGNATION_DATE AUDIT_PERSONS.EMP_RESIGNATION_DATE%TYPE;
    BEGIN
    select     username,osuser,machine,logon_time into db_user,osuser,machine,logon_time from v$session where sid=(select sid from v$mystat where rownum=1);
    INSERT INTO AUDIT_DEV.AUDIT_PERSONS_LOG (EMP_USER_MODIFIED,EMP_DATE_MODIFIED,EMP_SK,EMP_ID,EMP_NAME,EMP_RESIGNATION_DATE,EMP_STATUS_OLD,EMP_STATUS_NEW,osuser,db_user,machine)
    VALUES(EMP_USER_MODIFIED,EMP_DATE_MODIFIED,EMP_SK,EMP_ID,EMP_NAME,EMP_RESIGNATION_DATE,:old.EMP_status,:new.EMP_status,osuser,db_user,machine );
    COMMIT;
    END;
    09:59:06 AUDIT_DEV@dev>UPDATE AUDIT_DEV.AUDIT_PERSONS SET EMP_STATUS='TEST' WHERE EMP_ID='4234';
    EMP_STATUS
    TEST
    1 row selected.
    Elapsed: 00:00:00.01
    10:00:03 AUDIT_DEV@dev>commit;
    Commit complete.
    Elapsed: 00:00:00.01
    10:00:17 AUDIT_DEV@dev>select * from AUDIT_persons_log;
    no rows selected
    Elapsed: 00:00:00.00
    10:00:17 AUDIT_DEV@dev>
    Edited by: Abk on Nov 4, 2010 10:42 AM

Maybe you are looking for

  • Very slow performance of MacBook Pro

    Problem description: MacBook Pro became unusually slow. I can’t open / play videos. It takes **** of time to open normal excel / word applications. Starting also takes took toooo much time. Appreciate support to resolve the issue. EtreCheck version:

  • Personal email AND Enterprise email on Bold 9900?

    I have my own personal blackberry Bold 9900 that I am using for work as well. I wiped it and did the Enterpise activation..great...work emails now coming in. But now I can't add my personal emails... So the question is, if I wipe it again, and add my

  • ++ Debugging ACR Installation Problems ++

    If Photoshop CS2/Bridge is not working correctly after you attempt to install ACR (Adobe Camera Raw) 3.1 or higher, here a some hints on how to debug common installation problems. 1. Make sure that "Camera Raw" appears exactly once in Photoshop's "Ab

  • Migration from OLD HDD to LARGER NEW HDD

    Hi experts, I am deciding to upgrade my G4 cube HDD from 20G to 120G. The point is that how can I migrate my entire OS 10.3.9 ,application and other personal stuffs to new HDD? What method can I apply to or is there any possible way to reduce my time

  • GL date Entered Incorreclty

    Hi, The receipts from AR are created in GL with wrong period. While implementing ORACLE in our company , For history receipts By default gl_date is set to 31-AUG-08 and posted to GL. Till Aug-08 periods are closed in system.by accidently i opened th