Programming exit tabpage

Hi all,
I have a requirement to implement some coding in a 'Program Exit' tab page in a Activity Step, and for some reason, I have to call a RFC function in this  area, like below:
call function 'XXX' starting new TASK l_task
   exporting
And I found some note in Library like below:
ABAP classes that you use as programming exits must not use the following elements:
●      COMMIT WORK
●      ROLLBACK WORK
●      Calling of function module DB_COMMIT
●      Any type of RFC calls
●      Change a system element in the container
Then I want to know, why shouldn't I use "Any type of RFC calls" here?
Thanks a lot.
Best Regards,
Ivan

Hi ivan zhao
  I think you can use RFC but not the ABAP statements like roll back, commit work. Check out this link it would be helpful to you.
[Program Exits In Workflow |https://wiki.sdn.sap.com/wiki/display/ABAP/Program%20Exits%20In%20Workflow]
Regards
vijay

Similar Messages

  • Whether Workflow Program Exit works in ABAP WebDynpro

    Hi,
    I have the custom  workflow in which in each task i have given a program exit to update the status into my custom tables.
    Now i'm in doing the change in workflow, that it should call the abap webdynpro screen, where the user decisions has to be made.
    I'm getting the Workitem id from the UWL and then it lauches the Web Dynpro to choose either Approve, Reject or Change etc along with some other travel expense information.
    Now once i complete the web dynpro by calling the method 'SAP_WAPI_WORKITEM_COMPLETE', the particular work item is completed.
    I want to ask whether before this FM is called,whether the Program Exit which i have written in the Class method and which is called in the Workflow, whether it triggers or not?
    Regards,

    It is calling the workflow program exit before the SAP_WAPI_WORKITEM_COMPLETE function module.
    So closing the thread.

  • Retrieve workflow container data in programming exit

    I am trying to use a programming exit in Workflow in order to amend the task container for the receipients field of a "Send Email" step. The reason why we are not determining the receipients in the usual way is because we hold the receipients (amongst other data) in a separate Z* table - this needs to stay this way.
    I created a class and copied method CHANGE_CONT_ELEMENT to base my altered code on. The method is triggered fine when testing the workflow. Here is what it now looks like:
    method CHANGE_CONT_ELEMENT .
      DATA: container TYPE REF TO if_swf_cnt_container,
            if_swf_cnt_container,
            cont TYPE REF TO IF_SWF_IFS_PARAMETER_CONTAINER,
            name TYPE swfdname,
            lh_wihandle TYPE REF TO if_swf_run_wim_internal,
            l_exception TYPE REF TO cx_swf_cnt_container,
            l_wiid TYPE sww_wiid,
            w_container type ref to IF_SWF_IFS_PARAMETER_CONTAINER,
            w_names type SWFDNAMTAB,
            wa_names type line of SWFDNAMTAB,
            w_value(30).
      w_container = me->m_ctx->GET_WI_CONTAINER( ).
      w_names = w_container->LIST_NAMES( ).
    data: w_name type SWFDNAME.
    w_name = 'TEST-NUMBER'.
    TRY.
      loop at w_names into wa_names.
        CALL METHOD w_container->get
         EXPORTING
          name       = wa_names.
      endloop.
    CATCH CX_SWF_CNT_ELEM_NOT_FOUND .
    CATCH CX_SWF_CNT_ELEM_TYPE_CONFLICT .
    CATCH CX_SWF_CNT_UNIT_TYPE_CONFLICT .
    CATCH CX_SWF_CNT_CONTAINER .
    ENDTRY.
    ENDMETHOD.
    Now w_names retrieves the names of the fields fine (including my "TEST" entry which I declared in the Workflow Builder), but the GET method causes a "CX_SWF_CNT_ELEM_NOT_FOUND" exception.
    Is this the correct way to retrieve data out of a Workflow container within a WF programming exit? What am I doing wrong?
    Kind regards,
    Michael Koch

    Hi Michael, Paolo & Other experts,
    I am trying to understand when, why and how to use a 'programming exit' in a SAP workflow.
    (1) Did you figure out the solution to your problem?
    (2) Is there any material / tutorial on use of a  'programming exit' in a workflow?
    Thanks
    Abaper

  • Doubt in Workflows using Programming Exits on OO ABAP

    I have a doubt on workflows:-
    Let me brief you about my requirement:
    I am trying to update some Master data using ABAP Methods through Programming Exits in a Workflow.
    I managed to find an OO method that can fetch the workflow container values directly into the structure.
    While testing the workflow:-
    The OO ABAP method executes and successfully updates the master tables.
    However, a calling method (that triggers this method indirectly), raises an exception called SWF_RUN_WIM_EXEC_INTERRUPTED.  
    The exception is caught within the caller method and the workflow errors saying that “the method ABC… cannot be executed.”
    The caller method is:-
    CL_SWF_RUN_WORKFLOW_START
    The exception is raised on execution of the following statement:-
    CALL METHOD me->start_workitem( lh_wi_handle ).
    One reason for this is that the workflow is still not completed and still in “READY” state.
    Alternative method
    Once the Master data is updated successfully,
    I tried to use the FM SAP_WAPI_WORKITEM_COMPLETE to end the work item or tried another FM to suspend the workflow.
    Now it gives an error saying that these FMs are restricted from use during run-time execution.
    Query
    Do you have an idea why the exception is raised and how to track/prevent the same?
    Can you suggest any other alternative?  Your valuable advice is urgently needed.
    Thanks a million in advance,
    Best Regards,
    Vinod

    Check the code
          CLASS zcl_event_handler IMPLEMENTATION
    CLASS zcl_event_handler IMPLEMENTATION.
    Top-of-page event
      METHOD top_of_page.
        PERFORM event_top_of_page
                USING z_dyndoc_id.
      ENDMETHOD.   "METHOD top_of_page
    Change Status Button
      METHOD handle_toolbar.
        IF NOT pa_prodr IS INITIAL.
          DATA: lz_toolbar  TYPE stb_button.
          CLEAR lz_toolbar.
          MOVE    'CHANGE_STATUS'  TO lz_toolbar-function.
          MOVE    text-001         TO lz_toolbar-text.
          APPEND  lz_toolbar       TO e_object->mt_toolbar.
        ENDIF.          "IF NOT pa_prodr IS INITIAL
      ENDMETHOD.   "METHOD handle_toolbar
    Handle User Command
      METHOD handle_user_command.
        CASE e_ucomm.
          WHEN 'CHANGE_STATUS'.
            LOOP AT    it_output
                 INTO  wa_output.
              IF wa_output-chk_box EQ kc_x.
                z_flag = 1.
                EXIT.
              ENDIF.          "IF wa_output-chk_box EQ kc_x
            ENDLOOP.      "LOOP AT it_output INTO  wa_output
            IF z_flag EQ 1.
              PERFORM display_selected_data.
            ELSE.
              MESSAGE i001(zzrefn01)
                      WITH text-023.
            ENDIF.       "IF z_flag EQ 1
        ENDCASE.      "CASE e_ucomm
      ENDMETHOD.   "METHOD handle_user_command
    ENDCLASS.   "zcl_event_handler IMPLEMENTATION

  • Program exit - IF_SWF_IFS_WORKITEM_EXIT - Executed by WF-batch.

    Hi all,
    I have implemented a Program exit in my User decision step. This user exit is for finding the actual agent rule. But whats happening now is that the events are getting triggered in the below fashion.
    1. swfco_event_before_creation(BEF_CREAT)
    2. swfco_event_after_creation
    The above two are getting executed by the user who created the workflow.
    But after that the event 'swfco_event_state_changed' is getting automatically execute by the WF-batch user and later the WF-batch user has trigerring the event -AFT_EXEC and allowing the Work item to be in the complete state.
    I tried simulating the same in test system and i was not able to find it and the Workflow is waiting in the event-swfco_event_after_creation and it is still in the wait status till in reached the deadline and didnt get executed by WF-batch.
    Kindly guide.
    Thanks,
    Neslin.

    WF-BATCH is starting at the event-C_EVTTYP_STATE_CHANGED(STATE_CHG) automatically. I can see it in the information message near to WF-BATCH.
    Correct agent             Dialog work item created                 26.06.2009 11:54:57
    Correct agent             Work Item Exit Called                    26.06.2009 11:54:57
    Correct agent             Work Item Exit Called                    26.06.2009 11:54:57
    Correct agent             Work Item Exit Called                    26.06.2009 11:54:57
    Correct agent             Work Item Exit Called                    26.06.2009 11:54:57
    Correct agent             Work Item Exit Called                    26.06.2009 11:54:57
    Correct agent             Work Item Exit Called                    26.06.2009 11:54:57
    WF-BATCH                  Work Item Exit Called                    26.06.2009 11:57:15
    WF-BATCH                  Work Item Exit Called                    26.06.2009 11:57:15
    WF-BATCH                  Work Item Exit Called                    26.06.2009 11:57:15
    WF-BATCH                  Work Item Exit Called                    26.06.2009 11:57:15
    WF-BATCH                  Work Item Reserved                       26.06.2009 11:57:15
    WF-BATCH                  Work Item Exit Called                    26.06.2009 11:57:15
    WF-BATCH                  Work Item Exit Called                    26.06.2009 11:57:15
    WF-BATCH                  Work Item Exit Called                    26.06.2009 11:57:15
    WF-BATCH                  Work Item Exit Called                    26.06.2009 11:57:15
    WF-BATCH                  Work Item Processing Complete            26.06.2009 11:57:15
    WF-BATCH                  Result Processing                        26.06.2009 11:57:15
    This is how it is coming in the log.
    Thanks,
    neslin.

  • Read container element in program exits

    Hi all,
    again me
    Today the question is that i want to read and change the element 'ObjectType' of an BOR element's container before execute method of the task. I use the program exits with CL_SWF_TST_PE_BEFOREEXEC class, it's work fine.
    But this element is a BOR of a BOR, so i know how to read an element with CALL METHOD container->element_get_value but in this case how can i do ?
    Thanks
    Edited by: CECG on Jan 24, 2008 2:46 PM

    I think you can use following macros
    swc_get_object_type
    swc_get_object_key
    Checki in Include <CNTN01> for syntax
    Thanks
    Arghadip

  • Program exit to change workitem text

    Hi All,
    I have a requirement to change work item text at runtime, i am using program exit to change the task contrainer variable which is being used to display work item text. i have written a code in program exit to update container element, but it's not reflected to change workitem text, when i check in ln workflow log the variable shows with updated value.
    Please help to solve issue.
    Many thanks,

    Hi Gupta,
    I used below code to update container element.
    CASE im_event_name.
         WHEN swfco_event_after_creation.
            CLEAR l_value.
           CALL METHOD l_wi_cont->get
             EXPORTING
               name  = 'LV_WITEXT'
             IMPORTING
               value = l_value.
             REPLACE '$' INTO l_value WITH lv_id.
           CALL METHOD l_wi_cont->set
             EXPORTING
               name  = 'LV_WITEXT'
               value = l_value.
    With above code LV_WITEXT is updated with new value, but same is not displayed as workitem text in inbox.
    After workitem displayed in inbox if i use FM SWL_REFRESH_WORKITEM_TEXT explicitly to refresh, workitem text getting refreshed.
    Many thanks.

  • How do the Program exits in Workflow  work?

    hi all,
    there is a Program Exit available in Workflow tasks...and it says
    You can execute additional methods that you have programmed when predefined events occur. Add the ABAP classes that contain these methods. The ABAP classes added must support the IF_SWF_IFS_WORKITEM_EXIT interface.
    now i want to use this program exits in my workflow...so that this program exit(which is basically a class) will take input from Workflow container and gives back processed data <b>back to workflow</b>.
    so how to go about with these Program exits.
    thanks,
    subba

    hi
    good
    go throgh this links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/82d03e23-0a01-0010-b482-dccfe1c877c4
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/6b023c3f6aaf08e10000000a11402f/content.htm
    thanks
    mrutyun^

  • Program Exit for Travel Expense approval workflow

    Dear Experts,
    When a travel expense request is raised from the portal, the requester can attach certain documents like Files, notes to the same  for the approver to see.
    But when the approver sees the request in his UWL, he is not able to see the documents that the requester attached while creating the request.
    I used a Program Exit for the same to happen, which creates a custom Event of a Custom BO, which in turn is attached to a standard task, that calls a method of an ABAP Class, that in turn attaches the document for that particular Employee and trip number.
    But I am not able to View the document in the UWL.
    Am I missing anything?
    Please help..
    Note: I reffered the following document (which was very helpful):
    http://scn.sap.com/docs/DOC-29492

    Try changing the behavior of the uwl when calling a SAP GUI from the default ITS to WIN GUI since you can't display documents on ITS:
    Content Administration->Portal Content->Portal Users->Standard Portal Users->Universal Worklist->UWL - Launch SAP Transaction
    Under Property Category choose Content - Transaction. Set the property SAP GUI Type to SAP GUI for Windows.

  • Current Agent Value in Program Exit Workflow

    Hi Gurus,
    we are using program exit to send mail to outlook on user decsion step and it is working fine for Sequential approval but when we have to send mail for parallel approval(have used block for parallel approval) we are not able to fetch current agent.
    - Have store agent in workflow container 'Agent' and used it in Block in workflow for implementing parallel appoaval.
    - Created class implementing inetrface IF_SWF_IFS_WORKITEM_EXIT and put it under program exit of user decsion in workflow
    - Now in this class I have created method at work item created to trigger email for which i require runtime work item id and agent for it.
    - We are getting workitem id at runtime and based on it picking up approval agent from workflow container and send mail to it.
    - this workfs fine for sequential one as there is only one approver at a time but in parallel where all approver are maintained in one multiline container, it is sending mail to first person maintained in multiline container.
    Please find steps below what i have tried:-
    - i tried with  FM RH_USERS_OF_WI_READ to get current agent for particular work item id  but it is throwing dump no value found at   runtime but stangely gives value if we run standalone for same work item id.
    - Then,  I tried putting wait upto to see if it helps, but then also above fm is unable to fetch agent.
    - Tried by putting select on   SWWUSERWI table but that also is not giving current agent
    Question is:
    Why we are not able to get value of current agent through above FM or select from userwi table? How do we get current agent value at the time of work item creation event is triggered which further hits our custom method.
    Please help...
    Regards
    Ajit C

    Hi Ajit,
    Here you go.
    You must be having a multiline container (probably of type WFSYST-AGENT) in your workflow which holds all the user ids to whom work item must be going parellely. e.g if the multiline container name is AGENT.
    The current agent from that multiline container is referred by &AGENT[_AGENT_line_]&. This you must hast have put in your user decision step/activity as an agent also.
    Now in your user decision step/activity, create one single line container element of type WFSYST-AGENT e.g. current_agent. in workflow to task binding, bind &AGENT[_AGENT_line_]& to CURRENT_AGENT. This way you will have current agent in that task container.
    Finally use function module SAP_WAPI_READ_CONTAINER using WORKITEM id to read the value of CURRENT_AGENT in your program exit.
    Regards,
    Ibrahim

  • How to avoid swing program exit

    My application, while in a specific condition, need to avoid program exit. In my application program exit can be done:
    - through a menu bar menu item (exit): no problem to avoid exiting, I manage it with success.
    - by clicking the standard red button in the applcation title bar (in other words the standard close button): here I need your help since I didnt' found a way to avoid the program closure.
    To be clear, my application should avoid ( I mean avoid not delay) it's closure when is communicating (throgh RS232C connection) with other external devices, infact when the user select the exit item in main menù the application show a warning dialog with the mesage "you connot exit now, wait communication end". But I don't fiond a way to do the same whit close button, I can do something (i.e. showing the warnign dialog) creating a listener but I cannot "consume" the event so I'm not able to avoid the program exit.
    Do you know a way to do it?
    Thanks a lot for your help.

    I tried with setDefaultCloseOperation(...) but seems have no effect one exit (exit in any case). I don't know if is a matter of SingleFrameApplication implementation (that I use since my project is crated with NetBeans swing wizard).
    In any case at the end I found success using the SingleFrameApplication ExitListener interface, hereafter my solution (that works correctly):
    public class FuelFEPApp extends SingleFrameApplication {
        class ConfirmExit implements ExitListener
            public boolean canExit(java.util.EventObject e)
                boolean result= false;
                if (mainThread.areChannelsCommunicating())
                    // There are communications running, avoid exit...
                    Object source = (e != null) ? e.getSource() : null;
                    Component owner = (source instanceof Component) ? (Component)source : null;
                    JOptionPane.showMessageDialog(owner,
                                                  (Object)"Communications running, you cannot exit application",
                                                  "Warning",
                                                  JOptionPane.WARNING_MESSAGE);
                else
                    // No communications then exit
                    result= true;
                return result;
            public void willExit(java.util.EventObject e)
        @Override protected void startup() {
            FEPView= new FuelFEPView(this);
            show(FEPView);
            this.addExitListener(new ConfirmExit());
    ...

  • Program exits - IF_SWF_IFS_WORKITEM_EXIT

    Hi experts,
    i have implemented a class with IF_SWF_IFS_WORKITEM_EXIT interface with the method BEFORE_EXECUTION and STATE_CHANGED; in these methods, i do some authority check and i give errore message. In this way, the wi has the reserved status.
    In this conditon, when the WF are deleted, the wi with the program exits is again opened and there is a lcok on SM12 transaction.
    Any ideas?
    Thanks and regards
    Antonella

    .

  • Has anyone implemented Program exits in Workflow?

    hi all,
    i know we can capture workflow container values in the program exits.
    but i need to manipulate/change the container values and pass the new container values back to the task from the class.
    so how should i implement the binding and the class.
    thanks,
    Subba

    for this you will have to create a dummy method of a class and use the macros from <cntn01> to modify the contents. Probably you know this.
    Note that only the variables created in workflow , that are not default can be set as export parameters.
    get the required parameters as import parameters and export parameters of the method you create. Create a task out of that and insert it in the workflow definition.
    Write logic inside the method such that... only if required, modify the contents else pass the same to export.. so that net effect is nil.
    This is one method of creating program exits.
    another method is what you are asking
    add the class, shd have the interface IF_SWF_IFS_WORKITEM_EXIT  in its definition.
    Define its methods.
    By default the task container will be available for the class to operate on. they will be public. so you can reference them in your method.
    regards,
    Sandeep Josyula
    *Mark helpful answers

  • Import workflow container element to program exits

    Hi Friends
    Can you please let me know if we can import container elements from workflow to program exits in step?
    Regards
    Rajeev

    Hi Rajeev,
    Yes you can import container elements from the workitem (not the workflow) to the program exit. You need an element which references the container (if_swf_ifs_parameter_container). You probably have an attribute in you class which is a reference to IF_WAPI_WORKITEM_CONTEXT called M_CTX. This has a method called get_wi_container which will give you the workitem container. Now you not only have the option to read elements with method get in your container class, but there is also a method set which will allow you to fill or change values in the container.
    Regards,
    Martin

  • Program exit code 259 in SCCM Cllient

    Hi,
    I am getting Error "Program exit code 259" in Execmgr.log while installing symantec backup tool on sccm client.
    Execmgr.log:
    Execution Request for package C010194B program Symantec Backup Exec System Recovery v8.5.3.314-0 state change from Running to NotifyExecution execmgr 8/26/2009 1:09:52 AM 448 (0x01C0)
    Checking content location C:\WINDOWS\system32\CCM\Cache\C010194B.1.System for use execmgr 8/26/2009 1:09:52 AM 448 (0x01C0)
    Successfully selected content location C:\WINDOWS\system32\CCM\Cache\C010194B.1.System execmgr 8/26/2009 1:09:52 AM 448 (0x01C0)
    Executing program as a script execmgr 8/26/2009 1:09:52 AM 448 (0x01C0)
    Successfully prepared command line "C:\WINDOWS\system32\CCM\Cache\C010194B.1.System\loader.EXE" /s CM_DSLID=002FDA execmgr 8/26/2009 1:09:52 AM 448 (0x01C0)
    Command line = "C:\WINDOWS\system32\CCM\Cache\C010194B.1.System\loader.EXE" /s CM_DSLID=002FDA, Working Directory = C:\WINDOWS\system32\CCM\Cache\C010194B.1.System\ execmgr 8/26/2009 1:09:52 AM 448 (0x01C0)
    Created Process for the passed command line execmgr 8/26/2009 1:09:52 AM 448 (0x01C0)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramStartedEvent
     AdvertisementId = "N0120AAD";
     ClientID = "GUID:C7E780C0-72FE-4876-B3B3-ACC7E7AB5D71";
     CommandLine = "\"C:\\WINDOWS\\system32\\CCM\\Cache\\C010194B.1.System\\loader.EXE\" /s CM_DSLID=002FDA";
     DateTime = "20090826050952.320000+000";
     MachineName = "WFSLUSLVA8DYW";
     PackageName = "C010194B";
     ProcessID = 3876;
     ProgramName = "Symantec Backup Exec System Recovery v8.5.3.314-0";
     SiteCode = "N02";
     ThreadID = 448;
     UserContext = "NT AUTHORITY\\SYSTEM";
     WorkingDirectory = "C:\\WINDOWS\\system32\\CCM\\Cache\\C010194B.1.System\\";
     execmgr 8/26/2009 1:09:52 AM 448 (0x01C0)
    Raised Program Started Event for Ad:N0120AAD, Package:C010194B, Program: Symantec Backup Exec System Recovery v8.5.3.314-0 execmgr 8/26/2009 1:09:52 AM 448 (0x01C0)
    Execution Manager timer has been fired. execmgr 8/26/2009 1:12:03 AM 2228 (0x08B4)
    Program exit code 259 execmgr 8/26/2009 2:09:52 AM 5392 (0x1510)

    <![LOG[Software Distribution Site Settings for the client are missing from WMI.]LOG]!><time="16:09:34.651+000" date="10-13-2009" component="execmgr" context="" type="3" thread="3120" file="softdistpolicy.cpp:1312">
    <![LOG[Software Distribution Site Settings for the client are missing from WMI.]LOG]!><time="16:09:34.827+000" date="10-13-2009" component="execmgr" context="" type="3" thread="3120" file="softdistpolicy.cpp:1312">
    <![LOG[Common Client Agent Settings for the client are missing from WMI.]LOG]!><time="16:09:34.842+000" date="10-13-2009" component="execmgr" context="" type="3" thread="3120" file="softdistpolicy.cpp:1413">
    <![LOG[Software distribution agent was enabled]LOG]!><time="16:11:48.870+000" date="10-13-2009" component="execmgr" context="" type="1" thread="3804" file="execreqmgr.cpp:5969">
    <![LOG[Policy arrived for parent package QQQ00009 program RAR]LOG]!><time="04:19:00.850+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3668" file="execreqmgr.cpp:6451">
    <![LOG[Raising event:
    [SMS_CodePage(866), SMS_LocaleID(1049)]
    instance of SoftDistProgramOfferReceivedEvent
        AdvertisementId = "QQQ20008";
        ClientID = "GUID:97CDFA0B-BE94-4B45-949F-546BFB130163";
        DateTime = "20091013221900.962000+000";
        MachineName = "SCOM";
        ProcessID = 2824;
        SiteCode = "QQQ";
        ThreadID = 3668;
    ]LOG]!><time="04:19:00.976+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3668" file="event.cpp:525">
    <![LOG[Policy arrived for parent package QQQ0000E program Setup]LOG]!><time="04:19:01.005+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3668" file="execreqmgr.cpp:6451">
    <![LOG[Raising event:
    [SMS_CodePage(866), SMS_LocaleID(1049)]
    instance of SoftDistProgramOfferReceivedEvent
        AdvertisementId = "QQQ20011";
        ClientID = "GUID:97CDFA0B-BE94-4B45-949F-546BFB130163";
        DateTime = "20091013221901.016000+000";
        MachineName = "SCOM";
        ProcessID = 2824;
        SiteCode = "QQQ";
        ThreadID = 3668;
    ]LOG]!><time="04:19:01.017+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3668" file="event.cpp:525">
    <![LOG[Requesting content from CAS for package QQQ00009 version 1]LOG]!><time="04:19:02.678+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1168" file="contentaccesshelper.cpp:138">
    <![LOG[Successfully created a content request handle {E493064B-D93A-4FD2-83FF-886B4325A796} for the package QQQ00009 version 1]LOG]!><time="04:19:03.315+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1168" file="contentaccesshelper.cpp:216">
    <![LOG[Program RAR change to state STATE_ADVANCED_DOWNLOAD content in progress]LOG]!><time="04:19:03.315+000" date="10-14-2009" component="execmgr" context="" type="2" thread="1168" file="executionrequest.cpp:3670">
    <![LOG[Execution Request for package QQQ00009 program RAR state change from NotExist to AdvancedDownload]LOG]!><time="04:19:03.315+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1168" file="executionrequest.cpp:488">
    <![LOG[Mandatory execution requested for program RAR and advertisement QQQ20008]LOG]!><time="04:19:03.344+000" date="10-14-2009" component="execmgr" context="" type="1" thread="2964" file="execreqmgr.cpp:3317">
    <![LOG[Creating mandatory request for advert QQQ20008, program RAR, package QQQ00009]LOG]!><time="04:19:03.357+000" date="10-14-2009" component="execmgr" context="" type="1" thread="2964" file="execreqmgr.cpp:3440">
    <![LOG[Raising event:
    [SMS_CodePage(866), SMS_LocaleID(1049)]
    instance of SoftDistWaitingContentEvent
        AdvertisementId = "QQQ20008";
        ClientID = "GUID:97CDFA0B-BE94-4B45-949F-546BFB130163";
        DateTime = "20091013221903.978000+000";
        MachineName = "SCOM";
        PackageName = "QQQ00009";
        PackageVersion = "1";
        ProcessID = 2824;
        ProgramName = "RAR";
        SiteCode = "QQQ";
        ThreadID = 2964;
    ]LOG]!><time="04:19:03.983+000" date="10-14-2009" component="execmgr" context="" type="1" thread="2964" file="event.cpp:525">
    <![LOG[Successfully raised SoftDistWaitingContentEvent event for program RAR]LOG]!><time="04:19:03.985+000" date="10-14-2009" component="execmgr" context="" type="1" thread="2964" file="executionrequest.cpp:2623">
    <![LOG[Execution Request for package QQQ00009 program RAR state change from WaitingDependency to WaitingContent]LOG]!><time="04:19:03.985+000" date="10-14-2009" component="execmgr" context="" type="1" thread="2964" file="executionrequest.cpp:488">
    <![LOG[Requesting content from CAS for package QQQ0000E version 1]LOG]!><time="04:19:04.328+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1280" file="contentaccesshelper.cpp:138">
    <![LOG[Successfully created a content request handle {1AEB98AA-58BE-428F-883A-936448A7AC88} for the package QQQ0000E version 1]LOG]!><time="04:19:04.451+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1280" file="contentaccesshelper.cpp:216">
    <![LOG[Program Setup change to state STATE_ADVANCED_DOWNLOAD content in progress]LOG]!><time="04:19:04.451+000" date="10-14-2009" component="execmgr" context="" type="2" thread="1280" file="executionrequest.cpp:3670">
    <![LOG[Execution Request for package QQQ0000E program Setup state change from NotExist to AdvancedDownload]LOG]!><time="04:19:04.451+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1280" file="executionrequest.cpp:488">
    <![LOG[Mandatory execution requested for program Setup and advertisement QQQ20011]LOG]!><time="04:19:04.483+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3460" file="execreqmgr.cpp:3317">
    <![LOG[Creating mandatory request for advert QQQ20011, program Setup, package QQQ0000E]LOG]!><time="04:19:04.534+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3460" file="execreqmgr.cpp:3440">
    <![LOG[Raising event:
    [SMS_CodePage(866), SMS_LocaleID(1049)]
    instance of SoftDistWaitingContentEvent
        AdvertisementId = "QQQ20011";
        ClientID = "GUID:97CDFA0B-BE94-4B45-949F-546BFB130163";
        DateTime = "20091013221904.861000+000";
        MachineName = "SCOM";
        PackageName = "QQQ0000E";
        PackageVersion = "1";
        ProcessID = 2824;
        ProgramName = "Setup";
        SiteCode = "QQQ";
        ThreadID = 3460;
    ]LOG]!><time="04:19:04.871+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3460" file="event.cpp:525">
    <![LOG[Successfully raised SoftDistWaitingContentEvent event for program Setup]LOG]!><time="04:19:04.877+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3460" file="executionrequest.cpp:2623">
    <![LOG[Execution Request for package QQQ0000E program Setup state change from WaitingDependency to WaitingContent]LOG]!><time="04:19:04.877+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3460" file="executionrequest.cpp:488">
    <![LOG[Content is available for program RAR.]LOG]!><time="04:19:08.813+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3460" file="executionrequest.cpp:4915">
    <![LOG[CExecutionRequest::Service Windows Manager has allowed us to run.]LOG]!><time="04:19:08.859+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3460" file="executionrequest.cpp:3071">
    <![LOG[Execution Request for package QQQ00009 program RAR state change from WaitingContent to NotifyExecution]LOG]!><time="04:19:08.859+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3460" file="executionrequest.cpp:488">
    <![LOG[Notify user mandatory program RAR is about to run]LOG]!><time="04:19:08.893+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3460" file="executionrequest.cpp:3112">
    <![LOG[Content is available for program Setup.]LOG]!><time="04:22:59.476+000" date="10-14-2009" component="execmgr" context="" type="1" thread="864" file="executionrequest.cpp:4915">
    <![LOG[Raising event:
    [SMS_CodePage(866), SMS_LocaleID(1049)]
    instance of SoftDistProgramWaitingForAnotherProgram
        AdvertisementId = "QQQ20011";
        BlockingPackageID = "QQQ00009";
        BlockingProgramName = "RAR";
        ClientID = "GUID:97CDFA0B-BE94-4B45-949F-546BFB130163";
        DateTime = "20091013222259.546000+000";
        MachineName = "SCOM";
        PackageName = "QQQ0000E";
        ProcessID = 2824;
        ProgramName = "Setup";
        SiteCode = "QQQ";
        ThreadID = 864;
    ]LOG]!><time="04:22:59.551+000" date="10-14-2009" component="execmgr" context="" type="1" thread="864" file="event.cpp:525">
    <![LOG[Successfully raised SoftDistProgramWaitingForAnotherProgram event for program Setup.]LOG]!><time="04:22:59.554+000" date="10-14-2009" component="execmgr" context="" type="1" thread="864" file="executionrequest.cpp:2899">
    <![LOG[Execution Request for package QQQ0000E program Setup state change from WaitingContent to Ready]LOG]!><time="04:22:59.554+000" date="10-14-2009" component="execmgr" context="" type="1" thread="864" file="executionrequest.cpp:488">
    <![LOG[Execution Manager timer has been fired.]LOG]!><time="04:24:08.940+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1788" file="execreqmgr.cpp:5188">
    <![LOG[Execution Manager timer has been fired.]LOG]!><time="04:24:08.993+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3564" file="execreqmgr.cpp:5188">
    <![LOG[Executing program "wrar380ru.exe" /s in Admin context]LOG]!><time="04:24:09.038+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1788" file="executionrequest.cpp:3277">
    <![LOG[Execution Request for package QQQ00009 program RAR state change from Running to NotifyExecution]LOG]!><time="04:24:09.085+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1788" file="executionrequest.cpp:488">
    <![LOG[Checking content location C:\Windows\system32\CCM\Cache\QQQ00009.1.System for use]LOG]!><time="04:24:09.172+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1788" file="executioncontext.cpp:1635">
    <![LOG[Successfully selected content location C:\Windows\system32\CCM\Cache\QQQ00009.1.System]LOG]!><time="04:24:09.173+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1788" file="executioncontext.cpp:1703">
    <![LOG[GetFileVersionInfoSize failed for file C:\Windows\system32\CCM\Cache\QQQ00009.1.System\wrar380ru.exe, error 1813]LOG]!><time="04:24:09.205+000" date="10-14-2009" component="execmgr" context="" type="2" thread="1788" file="executioncontext.cpp:119">
    <![LOG[Executing program as a script]LOG]!><time="04:24:09.205+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1788" file="executionengine.cpp:103">
    <![LOG[Successfully prepared command line "C:\Windows\system32\CCM\Cache\QQQ00009.1.System\wrar380ru.exe" /s]LOG]!><time="04:24:09.205+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1788" file="scriptexecution.cpp:523">
    <![LOG[Command line = "C:\Windows\system32\CCM\Cache\QQQ00009.1.System\wrar380ru.exe" /s, Working Directory = C:\Windows\system32\CCM\Cache\QQQ00009.1.System\]LOG]!><time="04:24:09.206+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1788" file="scriptexecution.cpp:284">
    <![LOG[Created Process for the passed command line]LOG]!><time="04:24:09.300+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1788" file="scriptexecution.cpp:407">
    <![LOG[Raising event:
    [SMS_CodePage(866), SMS_LocaleID(1049)]
    instance of SoftDistProgramStartedEvent
        AdvertisementId = "QQQ20008";
        ClientID = "GUID:97CDFA0B-BE94-4B45-949F-546BFB130163";
        CommandLine = "\"C:\\Windows\\system32\\CCM\\Cache\\QQQ00009.1.System\\wrar380ru.exe\" /s";
        DateTime = "20091013222409.308000+000";
        MachineName = "SCOM";
        PackageName = "QQQ00009";
        ProcessID = 2824;
        ProgramName = "RAR";
        SiteCode = "QQQ";
        ThreadID = 1788;
        UserContext = "NT AUTHORITY\\SYSTEM";
        WorkingDirectory = "C:\\Windows\\system32\\CCM\\Cache\\QQQ00009.1.System\\";
    ]LOG]!><time="04:24:09.318+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1788" file="event.cpp:525">
    <![LOG[Raised Program Started Event for Ad:QQQ20008, Package:QQQ00009, Program: RAR]LOG]!><time="04:24:09.321+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1788" file="executioncontext.cpp:523">
    <![LOG[Program exit code 0]LOG]!><time="04:24:12.399+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3564" file="scriptexecution.cpp:547">
    <![LOG[Looking for MIF file to get program status]LOG]!><time="04:24:12.399+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3564" file="executionstatus.cpp:282">
    <![LOG[Script for  Package:QQQ00009, Program: RAR succeeded with exit code 0]LOG]!><time="04:24:12.401+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3564" file="executionstatus.cpp:259">
    <![LOG[Raising event:
    [SMS_CodePage(866), SMS_LocaleID(1049)]
    instance of SoftDistProgramCompletedSuccessfullyEvent
        AdvertisementId = "QQQ20008";
        ClientID = "GUID:97CDFA0B-BE94-4B45-949F-546BFB130163";
        DateTime = "20091013222412.410000+000";
        MachineName = "SCOM";
        PackageName = "QQQ00009";
        ProcessID = 2824;
        ProgramName = "RAR";
        SiteCode = "QQQ";
        ThreadID = 3564;
        UserContext = "NT AUTHORITY\\SYSTEM";
    ]LOG]!><time="04:24:12.415+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3564" file="event.cpp:525">
    <![LOG[Raised Program Success Event for Ad:QQQ20008, Package:QQQ00009, Program: RAR]LOG]!><time="04:24:12.419+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3564" file="executioncontext.cpp:551">
    <![LOG[Execution is complete for program RAR. The exit code is 0, the execution status is Success]LOG]!><time="04:24:12.419+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3564" file="execreqmgr.cpp:3908">
    <![LOG[CExecutionRequest::Service Windows Manager has allowed us to run.]LOG]!><time="04:24:12.554+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3564" file="executionrequest.cpp:3071">
    <![LOG[Execution Request for package QQQ0000E program Setup state change from Ready to NotifyExecution]LOG]!><time="04:24:12.554+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3564" file="executionrequest.cpp:488">
    <![LOG[Notify user mandatory program Setup is about to run]LOG]!><time="04:24:12.558+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3564" file="executionrequest.cpp:3112">
    <![LOG[Execution Manager timer has been fired.]LOG]!><time="04:26:19.903+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3820" file="execreqmgr.cpp:5188">
    <![LOG[Execution Manager timer has been fired.]LOG]!><time="04:29:12.150+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3840" file="execreqmgr.cpp:5188">
    <![LOG[Executing program Setup.exe in Admin context]LOG]!><time="04:29:12.161+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1320" file="executionrequest.cpp:3277">
    <![LOG[Execution Request for package QQQ0000E program Setup state change from Running to NotifyExecution]LOG]!><time="04:29:12.173+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1320" file="executionrequest.cpp:488">
    <![LOG[Checking content location C:\Windows\system32\CCM\Cache\QQQ0000E.1.System for use]LOG]!><time="04:29:12.196+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1320" file="executioncontext.cpp:1635">
    <![LOG[Successfully selected content location C:\Windows\system32\CCM\Cache\QQQ0000E.1.System]LOG]!><time="04:29:12.196+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1320" file="executioncontext.cpp:1703">
    <![LOG[Executing program as a script]LOG]!><time="04:29:12.200+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1320" file="executionengine.cpp:103">
    <![LOG[Successfully prepared command line "C:\Windows\system32\CCM\Cache\QQQ0000E.1.System\setup.exe"]LOG]!><time="04:29:12.200+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1320" file="scriptexecution.cpp:523">
    <![LOG[Command line = "C:\Windows\system32\CCM\Cache\QQQ0000E.1.System\setup.exe", Working Directory = C:\Windows\system32\CCM\Cache\QQQ0000E.1.System\]LOG]!><time="04:29:12.200+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1320" file="scriptexecution.cpp:284">
    <![LOG[Created Process for the passed command line]LOG]!><time="04:29:12.395+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1320" file="scriptexecution.cpp:407">
    <![LOG[Raising event:
    [SMS_CodePage(866), SMS_LocaleID(1049)]
    instance of SoftDistProgramStartedEvent
        AdvertisementId = "QQQ20011";
        ClientID = "GUID:97CDFA0B-BE94-4B45-949F-546BFB130163";
        CommandLine = "\"C:\\Windows\\system32\\CCM\\Cache\\QQQ0000E.1.System\\setup.exe\"";
        DateTime = "20091013222912.413000+000";
        MachineName = "SCOM";
        PackageName = "QQQ0000E";
        ProcessID = 2824;
        ProgramName = "Setup";
        SiteCode = "QQQ";
        ThreadID = 1320;
        UserContext = "NT AUTHORITY\\SYSTEM";
        WorkingDirectory = "C:\\Windows\\system32\\CCM\\Cache\\QQQ0000E.1.System\\";
    ]LOG]!><time="04:29:12.423+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1320" file="event.cpp:525">
    <![LOG[Raised Program Started Event for Ad:QQQ20011, Package:QQQ0000E, Program: Setup]LOG]!><time="04:29:12.426+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1320" file="executioncontext.cpp:523">
    <![LOG[Execution Manager timer has been fired.]LOG]!><time="04:33:31.003+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1280" file="execreqmgr.cpp:5188">
    <![LOG[Program exit code 259]LOG]!><time="06:29:13.174+000" date="10-14-2009" component="execmgr" context="" type="1" thread="2788" file="scriptexecution.cpp:547">
    <![LOG[Looking for MIF file to get program status]LOG]!><time="06:29:13.178+000" date="10-14-2009" component="execmgr" context="" type="1" thread="2788" file="executionstatus.cpp:282">
    <![LOG[Program ran past its maximum runtime. It will be orphaned]LOG]!><time="06:29:13.184+000" date="10-14-2009" component="execmgr" context="" type="1" thread="2788" file="executionstatus.cpp:232">
    <![LOG[Raising event:
    [SMS_CodePage(866), SMS_LocaleID(1049)]
    instance of SoftDistProgramExceededTime
        AdvertisementId = "QQQ20011";
        ClientID = "GUID:97CDFA0B-BE94-4B45-949F-546BFB130163";
        DateTime = "20091014002913.196000+000";
        MachineName = "SCOM";
        MaximumTime = "120";
        PackageName = "QQQ0000E";
        ProcessID = 2824;
        ProgramName = "Setup";
        SiteCode = "QQQ";
        ThreadID = 2788;
    ]LOG]!><time="06:29:13.204+000" date="10-14-2009" component="execmgr" context="" type="1" thread="2788" file="event.cpp:525">
    <![LOG[Raised Program Exceeded Time Event for Ad:QQQ20011, Package:QQQ0000E, Program: Setup]LOG]!><time="06:29:13.206+000" date="10-14-2009" component="execmgr" context="" type="1" thread="2788" file="executioncontext.cpp:945">
    <![LOG[Execution is complete for program Setup. The exit code is 259, the execution status is Unknown Status]LOG]!><time="06:29:13.206+000" date="10-14-2009" component="execmgr" context="" type="1" thread="2788" file="execreqmgr.cpp:3908">
    <![LOG[A user has logged on.]LOG]!><time="10:24:37.257+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3644" file="execreqmgr.cpp:4522">
    <![LOG[The logged on user is WER\admin]LOG]!><time="10:24:37.595+000" date="10-14-2009" component="execmgr" context="" type="1" thread="3644" file="execreqmgr.cpp:4540">
    <![LOG[A user has logged on.]LOG]!><time="15:55:34.833+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1708" file="execreqmgr.cpp:4522">
    <![LOG[The logged on user is WER\admin]LOG]!><time="15:55:35.776+000" date="10-14-2009" component="execmgr" context="" type="1" thread="1708" file="execreqmgr.cpp:4540">

Maybe you are looking for