Processing on check-in event

Does anyone have any ideas what the best way to capture the check in event is? I'd like to run custom code on the content of the object being checked in. I've written an agent to listen for events and have had some success, but it seems really cludgy and inconsistent. If you have a better idea, please let me know. Thanks!

hi check this...
Need to add signature in script
Digital signature in script
regards,
venkat.

Similar Messages

  • Canceled Status in Job Detail, Process Chain triggering w/event

    Hi All,
    I have created event, PC and trigger event with SM64 or with ABAP, everything is ok
    if I activate and Schedule PC, I see BI_PROCESS_TRIGGER job with released status, and when I trigger the event nothing  is happened but when I checked the Job detail I see canceled status job.
    I donu2019t understand why this problem occurs ?
    I can trigger the event but before event trigger the PC, scheduled job detail directly turn to the chancel status.
    if any one give me a clue to solve this problem I will appreciate
    Note : No Job log !!!
    Thanks
    Ali

    Ali,
    Check authorizations.
    Try to run process chain with out event(immediate) and check.
    Srini

  • Process Scheduler Report Success Event

    Does the Process Scheduler fire an event once a report has been generated? I want to run an automated function every time a report has been generated. My initial thought was that I could loop a sql query that checks the status of the report, but I cannot do that if the report is recurring. I noticed that if you choose a outdesttype as email, the email is not sent until the report is generated. Where can I find this logic. There has to be some kind of event that happens once it has been generated. Anyone?

    Does the Process Scheduler fire an event once a
    report has been generated? I want to run an automated
    function every time a report has been generated. My
    initial thought was that I could loop a sql query
    that checks the status of the report, but I cannot do
    that if the report is recurring.That assumption is wrong.
    You get a new process request that is generated before, or after, the report is initiated.
    I noticed that if
    you choose a outdesttype as email, the email is not
    sent until the report is generated. Where can I find
    this logic. There has to be some kind of event that
    happens once it has been generated. Anyone?Check the status of the Processrequest, that should do it.
    Cheers & HTH
    Peter

  • Process on Help request and Process on value request events examples

    HI All,
               Can anybody please give me some examples of Process on Help request and Process on value request events.
    Thanks in advance

    HI,
    Check programs
    <b>demo_selection_screen_f1</b>.
    <b>demo_selection_screen_f4.</b>
    Regards,
    Sesh

  • Error in VA01 - "Sales order cannot be processed. Check customer type."

    Hi,
    While creating a Sales Order in VA01, I receive this error message - "Sales order cannot be processed. Check customer type."
    Could you please tell me what could be the reason for this.
    Thank you,

    Hi,
    U Can Find the Customer Type in Extras> Account Group Information> Customer Types.
    There U can Make the Customer Type.
    Regards..
    Praveen Kumar.D

  • Multiple processing of the recon events

    Hello, my friends.
    I have a terrible issue and i hope, that you could help me to solve it.
    My system info is:
    Solaris OS 10
    Weblogic 10.3
    IDM 9.1.0.2 bp12
    I perform trusted recon with SAP HRMS (it doesn't metter, becouse it happens every recon).
    Thus i get two cases:
    1. When event is linked and all pre insert handlers (adapters) executed without errors or exceptions. In this case everything is ok and user is created.
    2. Event is recieved, but there are some errors during it processing (some of pre-insert adapters throws an exception).
    In this case i get default error (ERROR [XELLERATE.JMS] Processing Reconciliation Message with ID 3725 failed.)
    But after that, the processing of event didn't stop and continues more and more times and it don't going to finish.
    So, more and more times it throws the pre-insert adapter exception and the error, that i mentioned before. And the only way to stop it is closing the event.
    Any ideas? What the reason of this issue? May be something with JMS queue?
    Thanks in advance, Dimitry.

    There is a schedule taks which re-processes all the recon events in the Event Received state. It automatically runs unless explicitly disabled.
    Just disable this Schedule Task -> Resubmit Reconciliation Event and you should be good

  • How to setup PCG Flow Rule Process flow with Business Event subscription

    Hi,
    How to setup PCG Flow Rule Process flow with Business Event subscription type?
    When should Business Events be used?
    The latest user guide does not provide ay information on this functionality of Flow rules.
    Thanks

    You should find it's usage noted in the new PCG user guide on page 3-26 under the heading "Configuring Workflow/Event Rules". This way you can have a Flow Rule call a business event component or a workflow. This would be kicked off within a process flow as one of the steps.
    I hope that helps.

  • Process flow for Maintenance Event Builder integrated with PS

    Dear EAM  Master ,
    Good Day. Can anyone show me how's the process flow for Process flow for Maintenance Event Builder integrated with PS.
    Appreciate.
    Thank you.

    [SAP Help|http://help.sap.com/erp2005_ehp_05/helpdata/en/d7/d0b83a47d0c649e10000000a114084/frameset.htm]
    Thanks
    Narasimhan

  • The Data Access service is either not running or not yet initialized. Check the event log for more information

    Hi,
    I have SCSM with remote SQL and the SCSM Management server give below error
    Message: Failed to connect to server ‘Name of Server’
    Microsoft.EnterpriseManagement.Common.ServiceNotRunningException: The Data Access service is either not running or not yet initialized. Check the event log for more information. —> System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://ServerName:5724/DispatcherService.
    The connection attempt lasted for a time span of 00:00:04.0070932. TCP error code 10061: No connection could be made because the target machine actively refused it IPAddress:5724.  —> System.Net.Sockets.SocketException: No connection could be made
    because the target machine actively refused it IPAddress:5724
    I had try to restart SQL & MS with same error,
    Also i had try the following
    https://social.technet.microsoft.com/Forums/systemcenter/en-US/c670d54d-3a92-481f-8dc9-55c475ad196f/problems-with-data-access-service-after-rebooting
    https://social.technet.microsoft.com/Forums/systemcenter/en-US/26dc1d5c-fa82-403f-8949-3073f3b82a60/the-data-access-service-is-either-not-running-or-not-yet-initialized
    Not help meRegards

    I had same error before 
    below steps to solve it
    Make sure SQL Server Running & ServiceManager Database not full
    Stop All SCSM Services,
               System Center Management Configuration
       Microsoft System Center Data Access Service.
       Microsoft Monitoring Agent
    Rename Health Service State to Health Service State_old --- @ "C:\Program Files\Microsoft System Center 2012 R2\Service Manager"
    Start SCSM Services
        Microsoft Monitoring Agent
               System Center Management Configuration
       Microsoft System Center Data Access Service.
    Wait 2 min...
    check Event Viewer... 
    hope this help you.
    Regards, Ibrahim Hamdy

  • CS Extension Check In event for InDesign and Illustrator

    Hi,
    For CS6 InDesign Similar to DocumentEvent.BEFOR_SAVE, do we have anything for check in event as well, I am using cs 1.5 sdk.
    If that is not available, how we can implement such a functionality. Do we have to use Indesign SDK or are there any alternatives?
    And in illustrator, i am not able to load the plugin AIHostAdapter.aip in CS6, it was working fine in CS5.
    I am getting the error "Error Loading Plugins. AIHostAdapter.aip." Find attached screenshot.
    How do i work around this problem?
    Thanks in Advance,
    Senthil.

    Hello Paul bloxham
    I don’t know much about any decent plugins for Illustrator, however I sometimes make graphs using Microftsoft Word then export/copy into Illustrator, then manipulate within illustrator if needed, not used Apples Numbers or other free software as yet to make any comment, but I do get satisfactory results from using Word.
    Hope this is of help.

  • Check Keyboard events

    Hi
    I have a library written in C++,used from Cocoa, that must check keydown events on CTRL keyboard key.
    If possible, I´d like to use something similar to Windows GetAsyncKeyState( VK_CONTROL ). Do you know how can I get this on MacOSX?
    Thanks
    Pablo J. Royo

    implement KeyListener in your panel. Then in the keyTyped method use the keyEvent.getKeyChar() method to get the char of the key they pressed. If it's 'c' change some Color variable used in the panel's paint method to determine the color of the oval. Don't forget to add the KeyListener to the panel with panel.addKeyListener(panel). Do you understand?

  • SCOM2012 R2 The Data Access service is either not running or not yet initialized check the event log

    Can U guys tell me the solution of it i am using scom 2012 R2 with sql server 2012 High availability solution
    Failed to connect to server
    The Data Access service is either not running or not yet initialized check the event log
    Date: 5/6/2014 5:27:49 PM
    Application: Operations Manager
    Application Version: 7.1.10226.0
    Severity: Error
    Message: Failed to connect to server 'PPLKHIHOV23.ppl.com.pk'
    Microsoft.EnterpriseManagement.Common.ServiceNotRunningException: The Data Access service is either not running or not yet initialized. Check the event log for more information. ---> System.ServiceModel.EndpointNotFoundException: Could not connect to
    net.tcp://pplkhihov23.ppl.com.pk:5724/DispatcherService. The connection attempt lasted for a time span of 00:00:02.0020292. TCP error code 10061: No connection could be made because the target machine actively refused it 172.16.0.107:5724.  ---> System.Net.Sockets.SocketException:
    No connection could be made because the target machine actively refused it 172.16.0.107:5724
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       --- End of inner exception stack trace ---
    Server stack trace:
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
       at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
       at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
       --- End of inner exception stack trace ---
       at Microsoft.EnterpriseManagement.Common.Internal.ExceptionHandlers.HandleChannelExceptions(Exception ex)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.ConstructEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore clientCallback)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.RetrieveEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Connect[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
       at Microsoft.EnterpriseManagement.ManagementGroup.InternalInitialize(EnterpriseManagementConnectionSettings connectionSettings, ManagementGroupInternal internals)
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Common.ManagementGroupSessionManager.Connect(String server)
       at Microsoft.EnterpriseManagement.Monitoring.Console.Internal.ConsoleWindowBase.TryConnectToManagementGroupJob(Object sender, ConsoleJobEventArgs args)
    System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://pplkhihov23.ppl.com.pk:5724/DispatcherService. The connection attempt lasted for a time span of 00:00:02.0020292. TCP error code 10061: No connection could be made because the target
    machine actively refused it 172.16.0.107:5724.  ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 172.16.0.107:5724
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       --- End of inner exception stack trace ---
    Server stack trace:
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
       at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
       at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
    System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 172.16.0.107:5724
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)

    Get "System Center Data Access Service" is running Automatic not manual and verify that SQL server is running and connectivity between SCOM and SQL is up and not slow for any application run on background.
    To make sure that no application take utilize connectivity between SQL and SCOM. Try to restart SQL and SCOM and check again.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • Tcode to check the event linkage for a terminating event

    Hi ,
    Can some one plzz let me know the transaction code for checking the event linkage for a terminating event
    Thanks
    Sheetal

    And yes the FM RH_GET_TASKS_OF_EVENT gives you the list of tasks for a given BO-terminating event combination. Pass the parameters for this FM as folllows,
    CLSTYP = 'BO'
    CLSNAM = '<BO name>'
    EVENT = '<terminating event name>'
    GET_START_EVENTS = ' '
    GET_TERM_EVENTS = 'X'
    you will get the task list in the table TASKS_OF_EVENTS.
    Thanks,
    Prasath N

  • OO ALV validation check without event DATA_CHANGED and results via popup

    Hi Gurus,
    I'm working on SAP ECC 6.0 and I'm facing a problem during the ALV validation check. My requirement is to show an ALV with one editable field. In addition I have to pre-initialize this field in order to give a reference value to the user, but this is not always correct, or better, this field represent the maximum amount available, but, because of other validation checks, this field is not always correct (and it's ok, it's not a problem), and if it is greater than another amount I have to display an error.
    I was thinking about catching the event DATA_CHANGED and do the checks inside of it. It works but not completely, because if the user do not change anything the event is not raised and I cannot do my checks.
    My solution is to do the checks without catching the DATA_CHANGED event and display the errors in a separate popup window.
    The checks are ok, but I have problems during the displaying of the results: I would like to use the class CL_ALV_CHANGED_DATA_PROTOCOL in order to display the errors, I tried creating the Object:
      Data: go_Error Type Ref To CL_ALV_CHANGED_DATA_PROTOCOL.
      Create Object go_Error
        Exporting
    *      i_container =
          i_calling_alv = go_0200_Alv
    giving it a reference to the ALV (the go_0200_Alv is my CL_GUI_ALV_GRID object).
    Then I did many Call Methods to the Add_Protocol_Entry to add the message in the protocol and then display them calling the Display_Protocol Method of my "go_Error".
    The Popup is shown and the "links" to the ALV are correct (if I double click a message it selects the corresponding row of the ALV, but (and it's my problem) I cannot see the Description of the Column with the error: the popup window is an ALV grid itself with 3 columns ("Message Type", "Name of the Column" and "Message Text") where I can see correctly the Message Type and the Message Text but not the name of the column.
    Debugging the code I found that If I catch the event, the parameter er_Data_Changed (the class CL_ALV_CHANGED_DATA_PROTOCOL) is filled with some other informations like Modified Rows and other attributes like FieldCatalog, Row-ID, so I thought the problem was related to that, and that's why I replicated the whole case in my processing, filling every table I would see if I use the "standard way" for validation. Bu it didn't correct the error. I still don't see the name of the Column.
    This is my code, it's only the part interested, If you need other informations, please ask me and I will copy them.
    form CHECK_ALV_0200_0110 Changing pc_Error Type Char01.
      Data: lt_MatchK1 Type tp_Matches1_Key_t,
            l_Message  Type Char100,
            l_MessX    Type String,
            l_QtaRes   Type ZDM_AMT_ASSIGNED,
            l_QtaAcc   Type ZDM_AMT_ACCRUED,
            l_QtaStep  Type ZDM_AMT_ASSIGNED.
      Field-Symbols: <fs_Table>    Type Standard Table,
                     <fs_Master>   Type Standard Table,
                     <fs_Mod_Cell> Type LVC_S_MODI,
                     <fs_Line>     Type Any,
                     <fs_Field>    Type Any,
                     <fs_Any>      Type Any.
      Data lt_Matches_Alv_Mod Type tp_Matches1_Alv_t.
      Data ls_Modi Type LVC_S_MODI.
      Data: l_Row_ID Type I,
            l_Tabix  Type I.
      Field-Symbols: <fs_Match_ALV> Type tp_Matches1_Alv_s.
      Free go_Error.
      CREATE OBJECT go_Error
        EXPORTING
    *      i_container =
          i_calling_alv = go_0200_Alv
    * Validation Checks
      Clear pc_Error.
      Clear ls_Modi.
      Loop At gt_Matches1_Alv Assigning <fs_Match_ALV>.
        l_Tabix = Sy-Tabix.
        Check <fs_Match_ALV>-Status Eq con_Status_Temp.
    *   Set the Modified Row for the CL_ALV_CHANGED_DATA_PROTOCOL object
          Append <fs_Match_ALV> To lt_Matches_Alv_Mod.
          Add 1 To ls_Modi-Row_Id.
          ls_Modi-FieldName = 'AMT_DEDUCTED'.
          Write <fs_Match_ALV>-Amt_Deducted To ls_Modi-Value Currency <fs_Match_ALV>-Waers.
          Condense ls_Modi-Value No-Gaps.
          ls_Modi-Tabix = l_Tabix.
          Append ls_Modi To: go_Error->mt_Mod_Cells,
                             go_Error->mt_Good_Cells.
          l_Row_ID = ls_Modi-Row_Id.
        Clear l_Message.
        If <fs_Match_ALV>-Amt_Deducted Eq 0.
          pc_Error = con_X.
          CALL METHOD go_Error->Add_Protocol_Entry
            EXPORTING
              i_msgid     = 'ZDMV'
              i_msgty     = 'E'
              i_msgno     = '005'
    *          i_msgv1     =
    *          i_msgv2     =
    *          i_msgv3     =
    *          i_msgv4     =
              i_fieldname = 'AMT_DEDUCTED'
              i_row_id    = l_Row_ID
    *          i_tabix     =
          Continue.
        EndIf.
        Case g_Dynnr.
          When '0110'.
            Perform Get_ResQtaDispute1 Using lt_MatchK1
                                             <fs_Match_ALV>
                                       Changing l_QtaRes.
            Perform Get_ResQtaAccrued1 Using <fs_Match_ALV>
                                       Changing l_QtaAcc.
    *      When '0111'.
    *        Perform Get_ResQtaDispute2 Using lt_MatchK2
    *                                         <fs_Match_ALV>
    *                                   Changing l_QtaRes.
    *        Perform Get_ResQtaAccrued2 Using <fs_Match_ALV>
    *                                   Changing l_QtaAcc.
        EndCase.
        Add <fs_Match_ALV>-Amt_Deducted To l_QtaStep.
        If l_QtaStep > l_QtaRes.
    *     Store the Error
          pc_Error = con_X.
          Write l_QtaRes To l_Message Currency <fs_Match_ALV>-Waers.
          Condense l_Message No-Gaps.
          CALL METHOD go_Error->Add_Protocol_Entry
            EXPORTING
              i_msgid     = 'ZDMV'
              i_msgty     = 'E'
              i_msgno     = '002'
              i_msgv1     = l_Message
    *          i_msgv2     =
    *          i_msgv3     =
    *          i_msgv4     =
              i_fieldname = 'AMT_DEDUCTED'
              i_row_id    = l_Row_ID
    *          i_tabix     =
        EndIf.
        If l_QtaStep > l_QtaAcc.
    *     Store the Error
          pc_Error = con_X.
          Write l_QtaAcc To l_Message Currency <fs_Match_ALV>-Waers.
          Condense l_Message No-Gaps.
          CALL METHOD go_Error->Add_Protocol_Entry
            EXPORTING
              i_msgid     = 'ZDMV'
              i_msgty     = 'E'
              i_msgno     = '002'
              i_msgv1     = l_Message
    *          i_msgv2     =
    *          i_msgv3     =
    *          i_msgv4     =
              i_fieldname = 'AMT_DEDUCTED'
              i_row_id    = l_Row_ID
    *          i_tabix     =
        EndIf.
      EndLoop.
      If pc_Error Eq con_X.
    *   If there was at least one error, Display the Popup
        go_Error->mt_FieldCatalog[]   = gt_0200_FCat[].
        go_Error->ms_Layout-Zebra     = con_X.
        Get Reference Of lt_Matches_Alv_Mod[] Into go_Error->Mp_Mod_Rows.
        CALL METHOD go_error->display_protocol
    *      EXPORTING
    *        i_container        =
    *        i_display_toolbar  =
    *        i_optimize_columns =
      EndIf.
    EndForm.
    Do you know if there is a particular issue about that? Or, maybe, I'm doing something wrong...
    Please help me
    Regards,
    Claudio
    Edited by: Claudio Distrutti on Oct 31, 2008 12:38 PM

    Hello Claudio
    Nobody prevents you from calling your event handler method go_grid->HANDLE_DATA_CHANGED directly!
    What do I mean with that?
    I assume you are calling method go_grid->CHECK_CHANGED_DATA at the beginning of the PAI module to catch any changes from the editable ALV grid. Within the event handler method you do your validation and send the error popup if necessary.
    Now when the user closes the error popup and pushes e.g. the SAVE button then I can happen that method HANDLE_DATA_CHANGED does not trigger event DATA_CHANGED because nothing was indeed changed on the ALV grid. Yet the invalid value is still there.
    However within the FORM routine for saving the data you can just call your event handler method directly:
    FORM save_data.
    CALL METHOD go_grid->handle_data_changed
        EXPORTING
    *      er_data_changed =
          e_ucomm = 'SAVE'.
    ENDFORM.
    Now within your event handler method you always know when the method was called because if method CHECK_CHANGED_DATA triggers event DATA_CHANGED the IMPORTING parameter ER_DATA_CHANGED is bound whereas it is empty when the method is called from your SAVE routine.
    METHOD handle_data_changed.
      DATA: lo_log   TYPE REF TO CL_ALV_CHANGED_DATA_PROTOCOL.
        IF ( er_data_changed IS BOUND ).
          lo_log = er_data_changed.
        ELSE.
          CREATE OBJECT lo_log.
        ENDIF.
    " Do the validations and send error log if necessary
      lo_log->DISPLAY_PROTOCOL( ).
    ENDMETHOD.
    Regards
      Uwe

  • Triggering of process chains based on  events

    Hello experts,
    I have a requirement to trigger the process chain whenever there is a file placed into the application server.
    The file comes comes into the application server  randomly i.e not periodically and the file name comes with created date and time.
    My process chain has to run immediately once file has been placed in the application server.
    Can you help me on this?
    Regards,
    Babu
    Please search the forum before posting a thread
    Edited by: Pravender on Aug 22, 2011 2:49 PM

    Hi
    This means your Event need to run every day to check if the file exist or not? if the file exist in the application server then PC need to be triggered.
    Take the help of ABAP person, so that he can implement the logic you are looking for.
    Check the below link which can give u idea how to proceed.(its also similar to ur requirement)
    Triggering the Process Chains at Particular Date using Events
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0a41bc6-a7f6-2b10-b3bf-804e1c45ae6c

Maybe you are looking for