Message Mapping for multiple item levels

Hi,
My query is regarding message mapping
Example of source data structure & Target data structure
Source data Structure
<item>
      --<no>1</no>
      --<address/>
      --<ITEMS>
        ----<item>
          ------<Name>a</Name>
        ----<item>
          ------<Name>b</Name>
<item>
      --<no>2</no>
      --<address/>
      --<ITEMS>
        ----<item>
          ------<Name>c</Name>
        ----<item>
          ------<Name>d</Name>
Expected  Target data structure
<Item>
  -- <no>1</no>
  -- <name>a</name>
<Item>
  -- <no>1</no>
  -- <name>b</name>
<Item>
  -- <no>2</no>
  -- <name>c</name>
<Item>
  -- <no>2</no>
  -- <name>d</name>
How I can map the '<no>' field to target '<no>' field to repeat value until to second sub item level occurance complete ?
Thank you
Sateesh

Hi Sateesh,
Please see the solution below.
The are 2 contect changes you need to do on field level. Right click and go to context and select your context you need.
Context on ITEMS - Should be on Root Structure(In my mapping it is MT_Multiple_Item_Level_Source)
Context on Name - Should be on Item (The first Item Tag)
Good Luck.
Regards,
Jannus Botha

Similar Messages

  • Require a Message mapping for this Logic.

    Hi Experts,
    I require a Message mapping for this Logic.
    In the Source there are 4 fields and, the Target side, the fields should appear like this.
    Source Structure- File
    Record
    |-> Header
    Order_No
    Date
    |-> Item
    Mat_No
    Quantity
    Target Structure-IDoc
    IDoc
    |-> Header
    |-> Segment
    Delivery_Order_No
    Recv_Date
    |-> Item
    |-> Segment
    Delivery_Order_No
    Material_Num
    Recv_Quantity.
    The Logic is for every Order number an IDOC is generated.And if the Material num matches then the quantity should be added. and important note  is that the material numbers are different for every order number. That means if a material number is 2 in the order number A. Then the material number can never be 2 in any of the order numbers.Here is the following with an example for the above scenario.
    For example:-
    we have
    Source Structure- File
    Order-no Date Mat_No Quantity
    1 01/02/2011 A 10
    1 01/02/2011 B 15
    1 01/02/2011 A 10
    2 01/02/2011 C 10
    2 01/02/2011 C 10
    3 01/02/2011 D 20
    3 01/02/2011 D 10
    3 01/02/2011 E 25
    Target Structure-IDoc
    Delivery_Order_No Recv_Date Material_Num Recv_Quantity
    1 01/02/2011 A 20
    1 01/02/2011 B 15
    2 01/02/2011 C 20
    3 01/02/2011 D 30
    3 01/02/2011 E 25
               So for this example total of 5-Idocs created. That means for this example if Order_No is 1 When the Mat_No is A the quantity gets added. For this Scenario 1 IDoc with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) is generated by adding the quantity field in the Target Side. Similarly if Order_No is 1 when the Mat_No is B  then separate IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) in the Target Side. Similarly, if Order_No is 2 when the Mat_No is C, an IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) by adding the quantity field  in the Target Side.  ike wise the process goes on upto 3.Kindly do the needy..
    Thanq very much in advance..
    Edited by: Prashanth Bharadwaj on Oct 17, 2011 1:29 PM

    Hi Prashanth,
    Concatinate the two fields OrderNo and MaterialNo and follow the below logic which will resolve your problem.
    concatinationOfOrderNo&MaterialNo>removecontext>sort>splitByValueChange>collapseContext-->IDOC
    concatinationOfOrderNo&MaterialNo>removecontext>sort>splitByValueChange>collapseContext>splitByEachValue>subString(0,1)-->Delivery_Order_No
    formatByExample>collapseContext>SplitByEachValue-->Recv_Date
    FormatByExample:
    input1:resulrOfSortByKey
    input2:concatination>removecontext>sort-->SplitByValuChange
    sortByKey:
    input1:concatination-->removecontext
    input2:date-->removecontext
    concatinationOfOrderNo&MaterialNo>removecontext>sort>splitByValueChange>collapseContext>splitByEachValue>subString(1,1)-->Material_Num
    formatByExample>sum>Recv_Quantity
    FormatByExample:
    input1:sortByKey
    input2:concatination>removecontext>sort-->SplitByValueChange
    SortByKey:
    input1:concatination-->removecontext
    input2:Quantity-->removeContext
    Regards,
    Priyanka.

  • How do I update grouping or description for multiple items?

    As the question implies, I would like to update information in the Grouping and Description fields for multiple items as a way to keep things organized. What I have discovered is that there are some quirks in the new Get Info window that were not in past implementations, which are completely inexplicable and nonsensical to me.
    For instance, when you open the Get Info window for an item that has no information in, for instance, the Grouping field, you will not see a Grouping input field, as in this screenshot. The Grouping field should be where the bottom arrow is. Notice also that the Description field is available. I will get back to that in a minute.
    If you manually double-click into the Grouping field on the main iTunes screen, you can enter the information there. Then, when you open the Get Info window, ta-dah! The field magically reappears, as in the screenshot below.
    The trouble comes when you want to edit this field for multiple tracks. If you select multiple tracks, and they do not all have the Grouping field already populated, the field does not appear. What this means is that you are forced to manually enter the information for every track! This is completely unacceptable when you need to edit information for, as in my case, 122 tracks. The following image shows the Get Info window that appears after selecting two items, one with the Grouping field manually populated, and one with no info in the Grouping field.
    Not only has the Grouping field disappeared, but the Description field, as well. Thanks, Apple, but I think I can decide for myself whether or not to populate these fields for multiple items. Let's get 'em back, huh?
    SO… does anyone know of any valid method for accomplishing this task? Without manually entering the same information in hundreds of fields? This is the future; computers are supposed to do these monotonous tasks for us, aren't they?
    Oh, please don't suggest Option-clicking to open the older, better, Get Info window, as Apple has decided that we should not have that option any longer. We apparently have to organize our music their way. Think different!

    The Add Field button was in the editors of 12.0.1 (where the new-style editors had a very "half-finished" feel)  - it is not there in 12.1.  Apple have determined which metadata fields should be available for each kind of media, with no option for the user to modify this.  In Apple's own words: "Get Info has been completely redesigned in iTunes 12 to focus your attention only on what’s necessary for the selected item."
    The only options are:
    temporarily change the media kind (Options tab) to one that includes the field you want to add values to, enter those values, and then change the media kind back again
    make the relevant fields visible in an appropriate list view and edit values there - the big limitation being that you can only do this one item at a time
    I can see - to a degree - why Apple may have made some limitations so that metadata elements are available based on their relevance to different media kinds.  However, one of the issues mentioned above seems like a bug - if a single audiobook file can have a Description tab, I see no reason at all for that not to be available for multiple items of the same kind.
    If not already done so, report these issues and dissatisfaction with the "new" metadata editors in 12.1 (and the absence of a "back door" for the old-style ones) using Apple's iTunes feedback page.

  • How to create production order for multiple items having common raw materia

    Dear all,
    We are running a sheet metal fabrication company at Vadodara Gujrat.
    Please guide us how to create single production order for multiple items using single raw material??
    For example, We want to produce baby shirt(item code AAA001), shirt with full sleeve(item code AAA002), shirt with half sleeve(item code AAA003),shirt slim fit (item code AAA004),shirt loose fit(item code AAA005) from single raw material say(item code XXX001).
    Right now we have to create 5 production order to produce above 5 items of single sales order  in SAP B1 though it is made from single raw material which is foolishness and time consuming too. (Please also note that to produce any finfish good item, raw material required for that item may vary every time in our process.)
    Kindly guide us how to solve the problem.
    Thanks.
    RUPESH  +91-9227744273
    WEB : www.gorasia.co.in

    Hi Rupesh Gorashiya,
    This is possible through MRP for that you have to put Sales Order first and Run MRP Wizard
    MRP Wizard Put Multi Production Order as per Item Taking in Sales Order just click it on and execute.
    Thanks,
    Srujal Patel

  • MRP - Single Purchase requisition for multiple Items

    Hi
    We have recently introduced MRP module in SAP .In some specific scaeanrios , we want to create a single Purchase Requisition for multiple items .Standard SAP generate different Purchase requisition for each item
    Is there any way out

    Sandeep,
    This topic has been covered numerous times in this forum and in the MM forum.  You evidently have not used the search feature.  There are thousands of posts in these forums, and the search function will be very helpful for you in future questions.
    To answer your question, No, nothing is available to make standard SAP MRP create Purchase requisitions for multiple items.
    Most companies address this issue during the conversion of Purchase Requisitions to Purchase orders.  During this process, you can add many items to a single purchase order.
    Rgds,
    DB49

  • Get Info..for multiple items where's THaT preference ?

    The 1st few times I'd try to Get Info for multiple items , I'd get one window opened, and could make , say , 12 .aiffs open w/ iTunes rather then QuickTime. [ and even THaT seemed to change at the point of the latest iTunes/QTime upgrades...now QTime Pro is in charge ! ]
    My point is : I like to get that one window for multiples, which used to come randomly, and not 12 seperate windows. Where DoeS one control that ?
    -=TIA=-
    ~~~=Dave

    Actually it's a function not a bug.... If you do GetInfo on more than 10 items it opens a "group" pane, otherwise it opens individual windows. Unless you want to count items the reliable way is to use Show Inspector instead (add the option key). I find Inspector more useful anyway, so changed the Keyboard shortcut to make Inspector the default of Command-I.
    Francine
    Francine
    Schwieder

  • Is there pre-configured message mapping for SRM Content?

    Hi,
    My requirement is to do a message mapping between the SRM Message "Purchase Order Request" and the R/3 Idoc Orders01. Is there a preconfigured message mapping in SRM content or will I have to do it?
    I see the generated proxy class from the outbound message interfacePurchaseOrderRequest_Out which will carry the message to XI and my requirement is to map it to the Interface ORDRSP.Orders01 Please let me know if there is a pre-configured message mapping for this ? or is the message mapping between the message "Purchase Order Request" and the R/3 IDOC ORDERS01 to be done by the developer himself?

    HI,
    There are mappings available in the predelivered SRM content from SAP.
    Did you import  the SRM content into the repository? If so , you can find this.
    www.service.sap.com/ibc -> Integrated Business Content for mySAP SRM->
    Hope this helps,
    Rgds,
    Moorthy
    Message was edited by:
            Krishna Moorthy P

  • Is it possible to run single workflow instance for multiple item changed or created?

    I have created a SharePoint Designer 2010 approval workflow and I am starting this workflow on item created and modified . Now when I am adding and updating multiple items it is starting workflow for each item but I want to start only one workflow for all items.
    I think it is possible in workflow 2013 but i want to use in
    workflow 2010.
    Is this possible? if yes then how?

    Hi Resham,
    From your description, my understanding is that you want to only start a workflow instance when multiple items are added or updated.
    Per my knowledge, if we set workflow start on item created or modified, when we add or update multiple items, SharePoint will create a workflow instance for each item, it is unable to just create an instance for multiple items. It is same
    between SharePoint 2010 workflow and SharePoint 2013 workflow.
    You said it is possible in workflow 2013, do you have any references?
    Thanks,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Handling lsmw recording for multiple items

    how to handle one header and multiple line items  using lsmw recording. can anyone please send the code for that for iw31 transaction.
    Regards,
    Sridhar

    Hi Sridhar,
    You have to define two structures. One as header and the other as Its subordinate in Maintain Source Structures.
    Then you can define what are all the fields at header level and what are the fields at Item level in maintain Source fields.
    Then you can map the corresponding fields to the target structure in the Maintain fixed values, translations, user-defined routines step.
    Regards,
    Ravi

  • One Target for multiple items

    Does anyone know how to set up a drag and drop activity where
    you can have 1 target that multiple items get dragged to? For
    example, an activity where you would drag multiple images into a
    trash can.
    I've tried, and it seems like once one items goes into the
    target, nothing else works because its going on top of the first
    item.
    TIA!!!

    OK, I'm having trouble again. I need multiple items to drag
    to one target. I'm putting all my actionscript in the same frame,
    and here's how it looks:
    stop();
    name_mc.onPress = function():Void {
    this.startDrag(true);
    name_mc.onRelease = function():Void {
    this.stopDrag();
    if (eval(this._droptarget) == safe_mc) {
    this.swapDepths(this._parent.getNextHighestDepth());
    this.removeMovieClip();
    address_mc.onPress = function():Void {
    this.startDrag(true);
    address_mc.onRelease = function():Void {
    this.stopDrag();
    if (eval(this._droptarget) == safe_mc) {
    this.swapDepths(this._parent.getNextHighestDepth());
    this.removeMovieClip();
    And I'm getting the following error message:
    **Error** Scene=Recap, layer=actions, frame=1:Line 21:
    Statement block must be terminated by '}'
    address_mc.onRelease = function():Void {
    **Error** Scene=Recap, layer=actions, frame=1:Line 27: Syntax
    error.
    Total ActionScript Errors: 2 Reported Errors: 2
    Do you know what I'm doing wrong?

  • FI Validation rule error message problem at line item level

    Hello all.
    I have created a step within an FI Validation rule (OB28) at the document line item level.  I have set the  message to "E" for an error.  I have generated the validations.  When I test my step, the error is triggered, but triggered as an Information popup - warning and does not give me a hard stop.   Does anyone have an idea why this may happen?   I need this to be a hard stop but not a cancellation of the document entry.  I am using FV60 to enter my document.
    Thanks for help.
    mvp0821

    OSS note # 863267 explains answer.  Cannot create "error" message on ENJOY transactions - FV60 is included in this list.  "E" works on classic transactions.  
    Thanks for thinking about this.

  • CRM_ORDER_MAINTAIN for Appointment Item Level

    Hi All,
    I am currently trying to insert a date into DATE TYPE(APPT_TYPE) in Item Level. There are no errors in the code but the transaction is not updated.The dates are not shown in that particular document. Can somebody help me out ? Thanx a lot...
    MOVE: gw_service_item_guid_ubb TO gw_appointment-
    ref_guid,
    'B' TO gw_appointment ref_kind,
    'CONTDISMAN' TO gw_appointment-appt_type,
    '20060901220000' TO gw_appointment-timestamp_from,
    '20060901220000' TO gw_appointment-timestamp_to,
    'CET' TO gw_appointment-timezone_from,
    'CET' TO gw_appointment-timezone_to,
    'B' TO gw_appointment-mode.
    APPEND gw_appointment TO gt_appointment_ubb.
    gw_fname-fieldname = 'APPT_TYPE'.
    gw_fname-changeable = 'X'.
    insert gw_fname into table gt_fname.
    gw_fname-fieldname = 'TIMESTAMP_FROM'.
    gw_fname-changeable = 'X'.
    INSERT gw_fname INTO TABLE gt_fname.
    gw_fname-fieldname = 'TIMESTAMP_TO'.
    gw_fname-changeable = 'X'.
    INSERT gw_fname INTO TABLE gt_fname.
    gw_fname-fieldname = 'TIMEZONE_FROM'.
    gw_fname-changeable = 'X'.
    INSERT gw_fname INTO TABLE gt_fname.
    gw_fname-fieldname = 'TIMEZONE_TO'.
    gw_fname-changeable = 'X'.
    INSERT gw_fname INTO TABLE gt_fname.
    gw_input-ref_guid = gw_service_item_guid_ubb.
    gw_input-ref_kind = 'B'.
    gw_input-objectname = 'APPOINTMENT'.
    gw_input-logical_key = '0000'.
    gw_input-ref_handle = '0000000000'.
    gw_input-field_names = gt_fname.
    APPEND gw_input TO gt_input_fields.
    gw_item-guid = gw_service_item_guid_ubb.
    gw_item-header = '39CF8B702B8B334F90AF4B23CA991925'.
    gw_item-ITM_TYPE = gw_orderadm_i_ubb-itm_type.
    gw_item-mode = 'B'.
    APPEND gw_item TO gt_item.
    CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
    CALL FUNCTION 'CRM_ORDER_INITIALIZE'
    EXPORTING
    iv_initialize_whole_buffer = true
    EXCEPTIONS
    OTHERS = 2.
    CALL FUNCTION 'CRM_ORDER_MAINTAIN'
    EXPORTING
    it_appointment = gt_appointment_ubb
    it_status = gt_status_maint
    CHANGING
    CT_ORDERADM_I = gt_item
    ct_input_fields = gt_input_fields
    EXCEPTIONS
    error_occurred = 1
    document_locked = 2
    no_change_allowed = 3
    no_authority = 4
    OTHERS = 5.
    CALL FUNCTION 'DIALOG_SET_WITH_DIALOG'.
    CALL FUNCTION 'CRM_ORDER_SAVE'
    EXPORTING
    it_objects_to_save = gt_obj_guids
    IMPORTING
    et_saved_objects = gt_saved_objects
    et_objects_not_saved = gt_objects_not_saved
    EXCEPTIONS
    document_not_saved = 1
    OTHERS = 2.
    IF sy-subrc EQ 0.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDIF.
    COMMIT WORK.
    Useful help will be awarded. : )

    Hi Michael,
    You can debug in a following way to check if all the values are passed.
    Sometimes, while using CRM_ORDER_MAINTAIN', we need to pass values in some other tables as well,
    Put a debugger in CRM_ORDER_MAINTAIN. create the custom opportunity in crmd_order transaction and enter the value in the required place in GUI. Now check for all the tables present in CRM_ORDER_MAINTAIN. in the debug mode, u can seee all the tables when u ll click on the locals tab in the parameter window. Map all the tables with your code and make changes.
    Hope this helps!!!
    Prerna

  • Want to Create one PO for multiple Items ..........?

    HI Guy's,
    I am creating PO thorough  Bapi.
    It is also successfully ......
    But here I am not  able to create multiple ITEMS as in transaction ME22 for creating PO.
    For that what can I do ..........
    Greeting's of he Day.
    Ankit Singh Rathore

    hi,
    check this...
    *&      Form  CREATE_PO
          Creating PO
    -->  p1        text
    <--  p2        text
    FORM CREATE_PO .
    DATA: HEAD LIKE BAPIMEPOHEADER,
           HEADX LIKE BAPIMEPOHEADERX,
           ITEM LIKE BAPIMEPOITEM OCCURS 0 WITH HEADER LINE,
           ITEMX LIKE BAPIMEPOITEMX OCCURS 0 WITH HEADER LINE,
           SCHEDULE LIKE BAPIMEPOSCHEDULE OCCURS 0 WITH HEADER LINE,
           SCHEDULEX LIKE BAPIMEPOSCHEDULX OCCURS 0 WITH HEADER LINE,
           CONDITION LIKE BAPIMEPOCONDHEADER OCCURS 0 WITH HEADER LINE,
           CONDITIONX LIKE BAPIMEPOCONDHEADERX OCCURS 0 WITH HEADER LINE,
           RETURNS LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE,
           POPARTNER LIKE BAPIEKKOP OCCURS 0 WITH HEADER LINE.
    DATA: V_EKGRP TYPE MARC-EKGRP.
    DATA: BEGIN OF IT_WRITE OCCURS 0,
           MESSAGE LIKE BAPIRET2-MESSAGE,
           END OF IT_WRITE.
    DATA: V_EKORG TYPE EKORG.
    DATA: V_MAKT LIKE MAKT-MAKTX.
    DATA: V_MEINS TYPE MEINS.
    DATA: V_REMANT TYPE MATNR,
           V_LINT TYPE MATNR,
           V_LDESC TYPE MAKTX,
           V_RDESC TYPE MAKTX,
           V_LMEINS TYPE MEINS,
           V_RMEINS TYPE MEINS,
           V_LMENGE TYPE ZMENGE,
           V_RMENGE TYPE ZMENGE.
      CONCATENATE ZMMHGAGREMENT-MATNR+0(9) 'L' INTO V_LINT.
      CONCATENATE ZMMHGAGREMENT-MATNR+0(9) 'W' INTO V_REMANT.
      SELECT SINGLE MEINS FROM MARA INTO V_MEINS WHERE MATNR = ZMMHGAGREMENT-MATNR.
      SELECT SINGLE DCODE FROM ZMMDYNCODE INTO V_MAKT WHERE MATNR = ZMMHGAGREMENT-MATNR
                                                        AND ZYEAR = ZMMHGAGREMENT-PYEAR
                                                       AND SEASON = ZMMHGAGREMENT-PSEASON.
      IF SY-SUBRC NE 0.
      SELECT SINGLE MAKTX FROM MAKT INTO V_MAKT WHERE MATNR = ZMMHGAGREMENT-MATNR.
      ENDIF.
    SELECT SINGLE EKORG FROM T001W INTO V_EKORG WHERE WERKS = I_PPLANT.
    V_BUKRS = ZMMHGAGREMENT-PPLANT+0(1).
    CONCATENATE ZMMHGAGREMENT-PPLANT+0(1) '011' INTO V_BUKRS.
      V_CHAR = V_BUKRS+0(2).
      V_EKORG = V_BUKRS.
      CONCATENATE V_CHAR '0' INTO V_EKGRP.
    *POHEAD
       HEAD-COMP_CODE = V_BUKRS.
       HEAD-DOC_TYPE = 'ZREG'.
       HEAD-VENDOR = V_LIFNR.
       HEAD-PURCH_ORG = V_EKORG.
       HEAD-PUR_GROUP = V_EKGRP.
       HEAD-DOC_DATE = ZMMHGAGREMENT-ZDATE. "I_ADATE.
       HEADX-COMP_CODE = 'X'.
       HEADX-DOC_TYPE = 'X'.
       HEADX-VENDOR = 'X'.
       HEADX-PURCH_ORG = 'X'.
       HEADX-PUR_GROUP = 'X'.
       HEADX-DOC_DATE = 'X'.
    *POITEM
        ITEM-PO_ITEM = '10'.
        ITEM-MATERIAL = ZMMHGAGREMENT-MATNR..
        ITEM-SHORT_TEXT = V_MAKT.
        ITEM-PLANT = ZMMHGAGREMENT-PPLANT.
        ITEM-QUANTITY = ZMMHGAGREMENT-MENGE.
        ITEM-PO_UNIT = V_MEINS.
        ITEM-NET_PRICE = ZMMHGAGREMENT-NETPR.
        ITEM-BATCH = ZMMHGAGREMENT-BATCH.
        ITEM-TAX_CODE = 'V0'.
        ITEM-INFO_UPD = ' '.
        APPEND ITEM.
        ITEMX-PO_ITEM = '10'.
        ITEMX-PO_ITEMX = 'X'.
        ITEMX-SHORT_TEXT = 'X'.
        ITEMX-MATERIAL = 'X'.
        ITEMX-PLANT = 'X'.
        ITEMX-QUANTITY = 'X'.
        ITEMX-PO_UNIT = 'X'.
        ITEMX-NET_PRICE = 'X'.
        ITEMX-BATCH = 'x'.
        ITEMX-TAX_CODE = 'X'.
        ITEMX-INFO_UPD = 'X'.
        APPEND ITEMX.
    *ZPAYMENT-PAYMENT
    *SCHEDULE
        SCHEDULE-PO_ITEM = '10'.
        SCHEDULE-DELIVERY_DATE = ZMMHGAGREMENT-RDATE.
        SCHEDULE-QUANTITY = ZMMHGAGREMENT-MENGE..
        APPEND SCHEDULE.
        SCHEDULEX-PO_ITEM = '10'.
        SCHEDULEX-PO_ITEMX = 'X'.
        SCHEDULEX-DELIVERY_DATE = 'X'.
        SCHEDULEX-QUANTITY = 'X'.
        APPEND SCHEDULEX.
    CONDITIONS
        CONDITION-ITM_NUMBER = '10'.
        CONDITION-COND_TYPE  = 'P001'.
        CONDITION-COND_VALUE = ZMMHGAGREMENT-NETPR..
        CONDITION-CURRENCY = 'INR'.
        APPEND CONDITION.
        CONDITIONX-ITM_NUMBER = '10'.
        CONDITIONX-ITM_NUMBERX = 'X'.
        CONDITIONX-COND_TYPE  = 'X'.
        CONDITIONX-COND_VALUE = 'X'.
        CONDITIONX-CURRENCY = 'X'.
        APPEND CONDITIONX.
    IF ZMMHGAGREMENT-MATNR+9(1) = 'K'.
    *POITEM
          V_RDESC TYPE MAKTX,
          V_LMEINS TYPE MEINS,
          V_RMEINS TYPE MEINS.
    SELECT SINGLE MEINS FROM MARA INTO V_LMEINS WHERE MATNR = V_LINT.
    SELECT SINGLE MAKTX FROM MAKT INTO V_LDESC WHERE MATNR = V_LINT.
    V_LMENGE = ( ( ZMMHGAGREMENT-MENGE * 50 ) / 100 ).
        ITEM-PO_ITEM = '20'.
        ITEM-MATERIAL = V_LINT.
        ITEM-SHORT_TEXT = V_LDESC.
        ITEM-PLANT = ZMMHGAGREMENT-PPLANT.
        ITEM-QUANTITY = V_LMENGE.
        ITEM-PO_UNIT  = V_LMEINS.
        ITEM-NET_PRICE = ZPPPRDPOLICY-LRATE."ZMMHGAGREMENT-NETPR.
        ITEM-BATCH = ZMMHGAGREMENT-BATCH.
        ITEM-TAX_CODE = 'V0'.
        ITEM-INFO_UPD = ' '.
        APPEND ITEM.
        ITEMX-PO_ITEM = '20'.
        ITEMX-PO_ITEMX = 'X'.
        ITEMX-SHORT_TEXT = 'X'.
        ITEMX-MATERIAL = 'X'.
        ITEMX-PLANT = 'X'.
        ITEMX-QUANTITY = 'X'.
        ITEMX-PO_UNIT = 'X'.
        ITEMX-NET_PRICE = 'X'.
        ITEMX-BATCH = 'x'.
        ITEMX-TAX_CODE = 'X'.
        ITEMX-INFO_UPD = 'X'.
        APPEND ITEMX.
    *ZPAYMENT-PAYMENT
    *SCHEDULE
        SCHEDULE-PO_ITEM = '20'.
        SCHEDULE-DELIVERY_DATE = ZMMHGAGREMENT-RDATE.
        SCHEDULE-QUANTITY = V_LMENGE.
        APPEND SCHEDULE.
        SCHEDULEX-PO_ITEM = '20'.
        SCHEDULEX-PO_ITEMX = 'X'.
        SCHEDULEX-DELIVERY_DATE = 'X'.
        SCHEDULEX-QUANTITY = 'X'.
        APPEND SCHEDULEX.
    CONDITIONS
        CONDITION-ITM_NUMBER = '20'.
        CONDITION-COND_TYPE  = 'P001'.
        CONDITION-COND_VALUE = ZPPPRDPOLICY-LRATE.
        CONDITION-CURRENCY = 'INR'.
        APPEND CONDITION.
        CONDITIONX-ITM_NUMBER = '20'.
        CONDITIONX-ITM_NUMBERX = 'X'.
        CONDITIONX-COND_TYPE  = 'X'.
        CONDITIONX-COND_VALUE = 'X'.
        CONDITIONX-CURRENCY = 'X'.
        APPEND CONDITIONX.
    ADDING REMNANT TO PO IF REMNANT VALUE IS MAINTAINED IN PO
    IF NOT ZPPPRDPOLICY-RCENT IS INITIAL.
         SELECT SINGLE MEINS FROM MARA INTO V_RMEINS WHERE MATNR = V_REMANT.
         SELECT SINGLE MAKTX FROM MAKT INTO V_RDESC WHERE MATNR = V_REMANT.
         V_RMENGE = ( ( ZMMHGAGREMENT-MENGE * ZPPPRDPOLICY-RCENT ) / 100 ).
        ITEM-PO_ITEM = '30'.
        ITEM-MATERIAL = V_REMANT.
        ITEM-SHORT_TEXT = V_RDESC.
        ITEM-PLANT = ZMMHGAGREMENT-PPLANT.
        ITEM-QUANTITY = V_RMENGE.
        ITEM-PO_UNIT  = V_RMEINS.
        ITEM-NET_PRICE = ZPPPRDPOLICY-RRATE."ZMMHGAGREMENT-NETPR.
        ITEM-BATCH = ZMMHGAGREMENT-BATCH.
        ITEM-TAX_CODE = 'V0'.
        ITEM-INFO_UPD = ' '.
        APPEND ITEM.
        ITEMX-PO_ITEM = '30'.
        ITEMX-PO_ITEMX = 'X'.
        ITEMX-SHORT_TEXT = 'X'.
        ITEMX-MATERIAL = 'X'.
        ITEMX-PLANT = 'X'.
        ITEMX-QUANTITY = 'X'.
        ITEMX-PO_UNIT = 'X'.
        ITEMX-NET_PRICE = 'X'.
        ITEMX-BATCH = 'x'.
        ITEMX-TAX_CODE = 'X'.
        ITEMX-INFO_UPD = 'X'.
        APPEND ITEMX.
    *ZPAYMENT-PAYMENT
    *SCHEDULE
        SCHEDULE-PO_ITEM = '30'.
        SCHEDULE-DELIVERY_DATE = ZMMHGAGREMENT-RDATE.
        SCHEDULE-QUANTITY = V_RMENGE.
        APPEND SCHEDULE.
        SCHEDULEX-PO_ITEM = '30'.
        SCHEDULEX-PO_ITEMX = 'X'.
        SCHEDULEX-DELIVERY_DATE = 'X'.
        SCHEDULEX-QUANTITY = 'X'.
        APPEND SCHEDULEX.
    CONDITIONS
        CONDITION-ITM_NUMBER = '30'.
        CONDITION-COND_TYPE  = 'P001'.
        CONDITION-COND_VALUE = ZPPPRDPOLICY-RRATE.
        CONDITION-CURRENCY = 'INR'.
        APPEND CONDITION.
        CONDITIONX-ITM_NUMBER = '30'.
        CONDITIONX-ITM_NUMBERX = 'X'.
        CONDITIONX-COND_TYPE  = 'X'.
        CONDITIONX-COND_VALUE = 'X'.
        CONDITIONX-CURRENCY = 'X'.
        APPEND CONDITIONX.
    ENDIF.
    ELSE.
    IF NOT ZPPPRDPOLICY-RCENT IS INITIAL.
    SELECT SINGLE MEINS FROM MARA INTO V_RMEINS WHERE MATNR = V_REMANT.
         SELECT SINGLE MAKTX FROM MAKT INTO V_RDESC WHERE MATNR = V_REMANT.
         V_RMENGE = ( ( ZMMHGAGREMENT-MENGE * ZPPPRDPOLICY-RCENT ) / 100 ).
        ITEM-PO_ITEM = '20'.
        ITEM-MATERIAL = V_REMANT.
        ITEM-SHORT_TEXT = V_RDESC.
        ITEM-PLANT = ZMMHGAGREMENT-PPLANT.
        ITEM-QUANTITY = V_RMENGE.
        ITEM-PO_UNIT  = V_RMEINS.
        ITEM-NET_PRICE = ZPPPRDPOLICY-RRATE."ZMMHGAGREMENT-NETPR.
        ITEM-BATCH = ZMMHGAGREMENT-BATCH.
        ITEM-TAX_CODE = 'V0'.
        ITEM-INFO_UPD = ' '.
        APPEND ITEM.
        ITEMX-PO_ITEM = '20'.
        ITEMX-PO_ITEMX = 'X'.
        ITEMX-SHORT_TEXT = 'X'.
        ITEMX-MATERIAL = 'X'.
        ITEMX-PLANT = 'X'.
        ITEMX-QUANTITY = 'X'.
        ITEMX-PO_UNIT = 'X'.
        ITEMX-NET_PRICE = 'X'.
        ITEMX-BATCH = 'x'.
        ITEMX-TAX_CODE = 'X'.
        ITEMX-INFO_UPD = 'X'.
        APPEND ITEMX.
    *ZPAYMENT-PAYMENT
    *SCHEDULE
        SCHEDULE-PO_ITEM = '20'.
        SCHEDULE-DELIVERY_DATE = ZMMHGAGREMENT-RDATE.
        SCHEDULE-QUANTITY = V_RMENGE.
        APPEND SCHEDULE.
        SCHEDULEX-PO_ITEM = '20'.
        SCHEDULEX-PO_ITEMX = 'X'.
        SCHEDULEX-DELIVERY_DATE = 'X'.
        SCHEDULEX-QUANTITY = 'X'.
        APPEND SCHEDULEX.
    CONDITIONS
        CONDITION-ITM_NUMBER = '20'.
        CONDITION-COND_TYPE  = 'P001'.
        CONDITION-COND_VALUE = ZPPPRDPOLICY-RRATE.
        CONDITION-CURRENCY = 'INR'.
        APPEND CONDITION.
        CONDITIONX-ITM_NUMBER = '20'.
        CONDITIONX-ITM_NUMBERX = 'X'.
        CONDITIONX-COND_TYPE  = 'X'.
        CONDITIONX-COND_VALUE = 'X'.
        CONDITIONX-CURRENCY = 'X'.
        APPEND CONDITIONX.
    ENDIF.
    ENDIF.
    FOR PARTNER FUNCTION
       POPARTNER-PARTNERDESC =  'VN'.
       POPARTNER-LANGU = 'EN' .
       POPARTNER-BUSPARTNO =  ZMMHGAGREMENT-GNUMBER.
       APPEND POPARTNER.
      POPARTNER-PARTNERDESC =  'PI'.
      POPARTNER-LANGU = 'EN' .
    IF ZPAYMENT-PAYMENT = '1'. "V_PAYMENT = '1'.   ".
      POPARTNER-BUSPARTNO =  ZMMHGAGREMENT-ONUMBER.
    ELSE.
    POPARTNER-BUSPARTNO =  ZMMHGAGREMENT-GNUMBER.
    ENDIF.
    APPEND POPARTNER.
    *BREAK SAPUSER..
      CALL FUNCTION 'BAPI_PO_CREATE1'
      EXPORTING
        POHEADER                     = HEAD
       POHEADERX                     =  HEADX
      POADDRVENDOR                 =
      TESTRUN                      =
    IMPORTING
       EXPPURCHASEORDER              = I_PNO
      EXPHEADER                    =
      EXPPOEXPIMPHEADER            =
    TABLES
       RETURN                        = RETURNS
       POITEM                        = ITEM
       POITEMX                       = ITEMX
      POADDRDELIVERY               =
       POSCHEDULE                    = SCHEDULE
       POSCHEDULEX                   = SCHEDULEX
       POCONDHEADER                  = CONDITION
       POCONDHEADERX                 = CONDITIONX
       POPARTNER                     = POPARTNER.
    POCOND                       =
    POCONDX                      =
    POLIMITS                     =
    IF NOT I_PNO IS INITIAL.
       CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ELSE.
    LOOP AT RETURNS WHERE TYPE = 'E'..
    IT_WRITE-MESSAGE = RETURNS-MESSAGE.
    APPEND IT_WRITE.
    ENDLOOP.

  • Drive Map GPO and Item-Level targeting using DNS Computer Name not working as expected

    I've run into a snag trying to move from logon script based drive mappings, to a GPO based Drive map solution and I'm hoping somebody can shed some light on the problem that I am seeing.  We started down the GPO based drive mappings because we have
    a handful of Windows 8 client computers which don't run the logon script based drive mappings.
    I put together a basic Drive Maps GPO.   I'm mapping 3 drives, I've linked the GPO to a computer container OU for testing and everything is working just fine.  I have 3 different Windows 8 client PC, all domain joined, and all 3 run the GPO as
    expected.
    The problem is when I attempt to apply Item-level targeting.   I've found that if I define item-level targeting to use the NetBIOS name of the computer, I can either apply the GPO at an individual computer level, or I can exclude the GPO for that individual
    computer by toggling between IS and IS NOT.   However, when I choose to define the computer name by choosing the DNS option, the GPO does not apply as expected.
    So, if I say "the DNS computer name is example1.mydomain.com" and I apply the GPO, it applies to example1, example2 and example3.   And if I instead say, "the DNS computer name is not example1.mydomain.com", then it doesn't apply
    to example1, example2 or example3.     Obviously, I would expect it to apply or not apply only to example1.mydomain.com.
    If instead, I say "the NetBIOS computer name is example1", and apply the GPO, then example1 gets it, and example2 and example3 do not.   If I say, "the netBIOS name is not example 1", then example1 does NOT get the drive mapping,
    but example 2 and example3 do.   < This is exactly what I want and I can continue to just use NetBIOS names...but I don't understand why DNS isn't working in the same manner.
    My clients are all using DHCP and using domain controllers for DNS.   All 3 machines are in the mydomain.com namespace.  The mydomain.com namespace is an active directory integrated zone.   We have reverse zones in place for the dns records.
     I can ping the machines from the DC's as well as the machines themselves.  I can run nslookup and resolve the computer name for each host using the FQDN.  I can also run a ping -a IP_ADDY and get the FQDN back.  The DC's themselves are
    running Server 2008 R2.   I honestly don't see any issues from a name resolution standpoint on the network itself.   
    So, any suggestions as to why defining the shortened NetBIOS name works just fine, but using DNS with a FQDN does not?   (I've tried the DNS name using just the name, the name., as well as name.mydomain.com and name.mydomain.com.)

    And here is the result from a Windows 7 host,  which is named d2-7-user1...thus it should map the T drive and in fact does;
    2013-04-19 15:34:43.691 [pid=0x3e0,tid=0x120c] Entering ProcessGroupPolicyExDrives()
    2013-04-19 15:34:43.691 [pid=0x3e0,tid=0x120c] SOFTWARE\Policies\Microsoft\Windows\Group Policy\{5794DAFD-BE60-433f-88A2-1A31939AC01F}
    2013-04-19 15:34:43.691 [pid=0x3e0,tid=0x120c] BackgroundPriorityLevel ( 0 )
    2013-04-19 15:34:43.691 [pid=0x3e0,tid=0x120c] DisableRSoP ( 0 )
    2013-04-19 15:34:43.691 [pid=0x3e0,tid=0x120c] LogLevel ( 3 )
    2013-04-19 15:34:43.691 [pid=0x3e0,tid=0x120c] Command subsystem initialized. [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] User impersonation initialized.
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] Client context subsystem initialized.
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] Configuration subsystem initialized.
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] Licensing subsystem initialized.
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:43.706 [pid=0x3e0,tid=0x120c] User information initialized.
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %ComSpec% = "C:\Windows\system32\cmd.exe"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %FP_NO_HOST_CHECK% = "NO"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %OS% = "Windows_NT"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %Path% = "C:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\site\bin;C:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS
    Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine
    Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %PATHEXT% = ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %PROCESSOR_ARCHITECTURE% = "AMD64"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %TEMP% = "C:\Users\user1\AppData\Local\Temp"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %TMP% = "C:\Users\user1\AppData\Local\Temp"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %USERNAME% = "user1"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %windir% = "C:\Windows"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %PSModulePath% = "C:\Windows\system32\WindowsPowerShell\v1.0\Modules\"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %NUMBER_OF_PROCESSORS% = "8"
    2013-04-19 15:34:43.722 [pid=0x3e0,tid=0x120c] Variable %PROCESSOR_LEVEL% = "6"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %PROCESSOR_IDENTIFIER% = "Intel64 Family 6 Model 58 Stepping 9, GenuineIntel"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %PROCESSOR_REVISION% = "3a09"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %windows_tracing_logfile% = "C:\BVTBin\Tests\installpackage\csilogfile.log"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %windows_tracing_flags% = "3"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %ALLUSERSPROFILE% = "C:\ProgramData"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %APPDATA% = "C:\Users\user1\AppData\Roaming"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %CommonProgramFiles% = "C:\Program Files\Common Files"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %CommonProgramFiles(x86)% = "C:\Program Files (x86)\Common Files"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %CommonProgramW6432% = "C:\Program Files\Common Files"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %COMPUTERNAME% = "D2-7-user1"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %HOMEDRIVE% = "C:"
    2013-04-19 15:34:43.737 [pid=0x3e0,tid=0x120c] Variable %HOMEPATH% = "\Users\user1"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %LOCALAPPDATA% = "C:\Users\user1\AppData\Local"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %LOGONSERVER% = "\\VM-EXAMPLE-DC05"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %ProgramData% = "C:\ProgramData"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %ProgramFiles% = "C:\Program Files"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %ProgramFiles(x86)% = "C:\Program Files (x86)"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %ProgramW6432% = "C:\Program Files"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %PUBLIC% = "C:\Users\Public"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %SystemDrive% = "C:"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %SystemRoot% = "C:\Windows"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %USERDNSDOMAIN% = "mydomain.com.au"
    2013-04-19 15:34:43.753 [pid=0x3e0,tid=0x120c] Variable %USERDOMAIN% = "mydomain"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %USERPROFILE% = "C:\Users\user1"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %LogonUser% = "user1"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %LogonDomain% = "mydomain"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %LogonUserSid% = "S-1-5-21-976655598-962914793-294660928-7222"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %BinaryUserSid% = "00001C3611902B403964E9E93A3694EE000000150500000000000501"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %LdapUserSid% = "\01\05\00\00\00\00\00\05\15\00\00\00\EE\94\36\3A\E9\E9\64\39\40\2B\90\11\36\1C\00\00"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %ReversedUserSid% = "010500000000000515000000EE94363AE9E96439402B9011361C0000"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %BinaryComputerSid% = "000040EC11902B403964E9E93A3694EE000000150500000000000501"
    2013-04-19 15:34:43.769 [pid=0x3e0,tid=0x120c] Variable %ReversedComputerSid% = "010500000000000515000000EE94363AE9E96439402B9011EC400000"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %LdapComputerSid% = "\01\05\00\00\00\00\00\05\15\00\00\00\EE\94\36\3A\E9\E9\64\39\40\2B\90\11\EC\40\00\00"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %OsVersion% = "Windows 7"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %LocalTimeEx% = "2013-04-19 15:34:43.706"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %LocalTime% = "2013-04-19 15:34:43"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %LocalTimeXmlEx% = "2013-04-19T15:34:43.706"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %LocalTimeXml% = "2013-04-19T15:34:43"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %DateTimeEx% = "2013-04-19 19:34:43.706"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %DateTime% = "2013-04-19 19:34:43"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %MacAddress% = "cc-f7-20-52-41-53"
    2013-04-19 15:34:43.784 [pid=0x3e0,tid=0x120c] Variable %TempDir% = "C:\Users\user1\AppData\Local\Temp"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %WindowsDir% = "C:\Windows"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %SystemDir% = "C:\Windows\system32"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %DomainName% = "mydomain"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %ProgramFilesDir% = "C:\Program Files"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %AppDataDir% = "C:\Users\user1\AppData\Roaming"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %DesktopDir% = "C:\Users\user1\Desktop"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %StartMenuDir% = "C:\Users\user1\AppData\Roaming\Microsoft\Windows\Start Menu"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %ProgramsDir% = "C:\Users\user1\AppData\Roaming\Microsoft\Windows\Start Menu\Programs"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %StartUpDir% = "C:\Users\user1\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
    2013-04-19 15:34:43.800 [pid=0x3e0,tid=0x120c] Variable %FavoritesDir% = "C:\Users\user1\Favorites"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %SendToDir% = "C:\Users\user1\AppData\Roaming\Microsoft\Windows\SendTo"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %RecentDocumentsDir% = "C:\Users\user1\AppData\Roaming\Microsoft\Windows\Recent"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %NetPlacesDir% = "C:\Users\user1\AppData\Roaming\Microsoft\Windows\Network Shortcuts"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %CommonAppdataDir% = "C:\ProgramData"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %CommonDesktopDir% = "C:\Users\Public\Desktop"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %CommonStartMenuDir% = "C:\ProgramData\Microsoft\Windows\Start Menu"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %CommonProgramsDir% = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %CommonStartUpDir% = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup"
    2013-04-19 15:34:43.815 [pid=0x3e0,tid=0x120c] Variable %CommonFavoritesDir% = "C:\Users\user1\Favorites"
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Variable %CurrentProcessId% = "992"
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Variable %CurrentThreadId% = "4620"
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Variable %GroupPolicyVersion% = "6.1.7601.17514"
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Variable %TraceFile% = "C:\ProgramData\GroupPolicy\Preference\Trace\User.log"
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Variable %LastError% = "0x00000000"
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Variable %LastErrorText% = "The operation completed successfully."
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Variables subsystem initialized.
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:43.831 [pid=0x3e0,tid=0x120c] ----- Parameters
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c] CSE GUID : {5794DAFD-BE60-433f-88A2-1A31939AC01F}
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c] Flags : (   ) GPO_INFO_FLAG_MACHINE - Apply machine policy rather than user policy
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_BACKGROUND - Background refresh of policy (ok to do slow stuff)
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_SLOWLINK - Policy is being applied across a slow link
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_VERBOSE - Verbose output to the eventlog
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_NOCHANGES - No changes were detected to the Group Policy Objects
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_LINKTRANSITION - A change in link speed was detected between previous policy application and current policy application
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_LOGRSOP_TRANSITION - A change in RSoP logging was detected between the application of the previous policy and the application of the
    current policy.
    2013-04-19 15:34:43.847 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_FORCED_REFRESH - Forced Refresh is being applied. redo policies.
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_SAFEMODE_BOOT - windows safe mode boot flag
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c]         (   ) GPO_INFO_FLAG_ASYNC_FOREGROUND - Asynchronous foreground refresh of policy
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c] Token (computer or user SID): S-1-5-21-976655598-962914793-294660928-7222
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c] Abort Flag : Yes (0x02b54a60)
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c] HKey Root : Yes (0x0000163c)
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c] Deleted GPO List : No
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c] Changed GPO List : Yes
    2013-04-19 15:34:43.862 [pid=0x3e0,tid=0x120c] Asynchronous Processing : Yes
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] Status Callback : Yes (0xfae525b0)
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] WMI namespace : Yes (0x03c96fa0)
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] RSoP Status : Yes (0x057ae838)
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] Planning Mode Site : (none)
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] Computer Target : No (0x00000000)
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] User Target : No (0x00000000)
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] Calculated session relevance.
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] Completed CSE pre-processing.
    2013-04-19 15:34:43.878 [pid=0x3e0,tid=0x120c] Calculated list relevance. [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Deleted GPO list is not relevant to the CSE.
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Calculated list relevance.
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Planning mode not detected.
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Processing changed list.
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Processing user policy.
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Got WMI namespace for logging mode.
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Completed get GPO list.
    2013-04-19 15:34:43.893 [pid=0x3e0,tid=0x120c] Initialized internal RSoP storage.
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c] Completed GPO list pre-processing.
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c] ----- Changed - 0
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c] Options : (   ) GPO_FLAG_DISABLE - This GPO is disabled.
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c]           (   ) GPO_FLAG_FORCE - Do not override the settings in this GPO with settings in a subsequent GPO.
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c] Options (raw) : 0x00000000
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c] Version : 10354846 (0x009e009e)
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c] GPC : LDAP://CN=User,cn={14209C3C-8E16-4247-95C6-925260D86074},cn=policies,cn=system,DC=mydomain,DC=com,DC=au
    2013-04-19 15:34:43.909 [pid=0x3e0,tid=0x120c] GPT :
    \\mydomain.com.au\SysVol\mydomain.com.au\Policies\{14209C3C-8E16-4247-95C6-925260D86074}\User
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c] GPO Display Name : US Drive Mapping
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c] GPO Name : {14209C3C-8E16-4247-95C6-925260D86074}
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c] GPO Link : (   ) GPLinkUnknown - No link information is available.
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c]            (   ) GPLinkMachine - The GPO is linked to a computer (local or remote).
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c]            (   ) GPLinkSite - The GPO is linked to a site.
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c]            (   ) GPLinkDomain - The GPO is linked to a domain.
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c]            ( X ) GPLinkOrganizationalUnit - The GPO is linked to an organizational unit.
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c]            (   ) GP Link Error
    2013-04-19 15:34:43.925 [pid=0x3e0,tid=0x120c] lParam : 0x00000000
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] Prev GPO : No
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] Next GPO : No
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] Extensions : [{00000000-0000-0000-0000-000000000000}{2EA1A81B-48E5-45E9-8BB7-A6E3AC170006}][{5794DAFD-BE60-433F-88A2-1A31939AC01F}{2EA1A81B-48E5-45E9-8BB7-A6E3AC170006}]
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] lParam2 : 0x02a92248
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] Link : LDAP://OU=Windows8 Machines,OU=USA,DC=mydomain,DC=com,DC=au
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] Variable %GPHPATH% = "C:\ProgramData\Microsoft\Group Policy\History\{14209C3C-8E16-4247-95C6-925260D86074}\S-1-5-21-976655598-962914793-294660928-7222"
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] Completed get GPH path.
    2013-04-19 15:34:43.940 [pid=0x3e0,tid=0x120c] Completed set extensions.
    2013-04-19 15:34:43.956 [pid=0x3e0,tid=0x120c] Completed get GPO is relevant.
    2013-04-19 15:34:43.956 [pid=0x3e0,tid=0x120c] Variable %GPTPATH% = "\\mydomain.com.au\SysVol\mydomain.com.au\Policies\{14209C3C-8E16-4247-95C6-925260D86074}\User"
    2013-04-19 15:34:43.956 [pid=0x3e0,tid=0x120c] Completed get GPT path.
    2013-04-19 15:34:43.956 [pid=0x3e0,tid=0x120c] Completed RSoP init.
    2013-04-19 15:34:43.956 [pid=0x3e0,tid=0x120c] Completed get next GPO.
    2013-04-19 15:34:43.956 [pid=0x3e0,tid=0x120c] Completed check GPO license usage.
    2013-04-19 15:34:43.956 [pid=0x3e0,tid=0x120c] Completed GPO pre-processing.
    2013-04-19 15:34:43.971 [pid=0x3e0,tid=0x120c] Started removing policy.
    2013-04-19 15:34:43.971 [pid=0x3e0,tid=0x120c] Read GPH data file.
    2013-04-19 15:34:43.971 [pid=0x3e0,tid=0x120c] Completed parse of GPH XML.
    2013-04-19 15:34:43.971 [pid=0x3e0,tid=0x120c] Completed get tree root.
    2013-04-19 15:34:43.971 [pid=0x3e0,tid=0x120c] Deleted GPH data file.
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] Started package execution.
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] Set package timestamp variable (2013-04-19 19:34:43).
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] Starting class <Drives>.
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] Starting class <Drive> - G:.
    2013-04-19 15:34:43.987 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.003 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.034 [pid=0x3e0,tid=0x120c] Properties handled.
    2013-04-19 15:34:44.034 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.034 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.034 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.034 [pid=0x3e0,tid=0x120c] EVENT : The user 'G:' preference item in the 'US Drive Mapping {14209C3C-8E16-4247-95C6-925260D86074}' Group Policy object was successfully removed.
    2013-04-19 15:34:44.034 [pid=0x3e0,tid=0x120c] Completed class <Drive> - G:.
    2013-04-19 15:34:44.034 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:44.049 [pid=0x3e0,tid=0x120c] Starting class <Drive> - M:.
    2013-04-19 15:34:44.049 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.049 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.096 [pid=0x3e0,tid=0x120c] Properties handled.
    2013-04-19 15:34:44.096 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.096 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.096 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.112 [pid=0x3e0,tid=0x120c] EVENT : The user 'M:' preference item in the 'US Drive Mapping {14209C3C-8E16-4247-95C6-925260D86074}' Group Policy object was successfully removed.
    2013-04-19 15:34:44.112 [pid=0x3e0,tid=0x120c] Completed class <Drive> - M:.
    2013-04-19 15:34:44.112 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:44.112 [pid=0x3e0,tid=0x120c] Starting class <Drive> - H:.
    2013-04-19 15:34:44.112 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.112 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.143 [pid=0x3e0,tid=0x120c] Properties handled.
    2013-04-19 15:34:44.143 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.143 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.143 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.143 [pid=0x3e0,tid=0x120c] EVENT : The user 'H:' preference item in the 'US Drive Mapping {14209C3C-8E16-4247-95C6-925260D86074}' Group Policy object was successfully removed.
    2013-04-19 15:34:44.158 [pid=0x3e0,tid=0x120c] Completed class <Drive> - H:.
    2013-04-19 15:34:44.158 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:44.158 [pid=0x3e0,tid=0x120c] Starting class <Drive> - T:.
    2013-04-19 15:34:44.158 [pid=0x3e0,tid=0x120c] Policy is not flagged for removal.
    2013-04-19 15:34:44.158 [pid=0x3e0,tid=0x120c] Completed class <Drive> - T:.
    2013-04-19 15:34:44.158 [pid=0x3e0,tid=0x120c] Completed class <Drives>.
    2013-04-19 15:34:44.158 [pid=0x3e0,tid=0x120c] Completed package execution.
    2013-04-19 15:34:44.174 [pid=0x3e0,tid=0x120c] Completed execution of removal package.
    2013-04-19 15:34:44.174 [pid=0x3e0,tid=0x120c] Completed remove GPH.
    2013-04-19 15:34:44.174 [pid=0x3e0,tid=0x120c] Started applying policy.
    2013-04-19 15:34:44.174 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.174 [pid=0x3e0,tid=0x120c] Opened file.
    2013-04-19 15:34:44.174 [pid=0x3e0,tid=0x120c] Got file size.
    2013-04-19 15:34:44.174 [pid=0x3e0,tid=0x120c] Created file buffer.
    2013-04-19 15:34:44.190 [pid=0x3e0,tid=0x120c] Completed read file data.
    2013-04-19 15:34:44.190 [pid=0x3e0,tid=0x120c] Terminated file buffer.
    2013-04-19 15:34:44.190 [pid=0x3e0,tid=0x120c] Closed file handle.
    2013-04-19 15:34:44.190 [pid=0x3e0,tid=0x120c] Read GPE XML data file (1807 bytes total).
    2013-04-19 15:34:44.190 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.190 [pid=0x3e0,tid=0x120c] Completed parse of GPE XML data.
    2013-04-19 15:34:44.190 [pid=0x3e0,tid=0x120c] Completed loading of package.
    2013-04-19 15:34:44.205 [pid=0x3e0,tid=0x120c] Completed get tree root.
    2013-04-19 15:34:44.205 [pid=0x3e0,tid=0x120c] Started package execution.
    2013-04-19 15:34:44.205 [pid=0x3e0,tid=0x120c] Set package timestamp variable (2013-04-19 19:34:43).
    2013-04-19 15:34:44.205 [pid=0x3e0,tid=0x120c] Starting class <Drives>.
    2013-04-19 15:34:44.205 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.205 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.205 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:44.221 [pid=0x3e0,tid=0x120c] Starting class <Drive> - G:.
    2013-04-19 15:34:44.221 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.221 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.283 [pid=0x3e0,tid=0x120c] Properties handled.
    2013-04-19 15:34:44.283 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.283 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.283 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.299 [pid=0x3e0,tid=0x120c] EVENT : The user 'G:' preference item in the 'US Drive Mapping {14209C3C-8E16-4247-95C6-925260D86074}' Group Policy object applied successfully.
    2013-04-19 15:34:44.299 [pid=0x3e0,tid=0x120c] Completed class <Drive> - G:.
    2013-04-19 15:34:44.299 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:44.299 [pid=0x3e0,tid=0x120c] Starting class <Drive> - M:.
    2013-04-19 15:34:44.299 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.299 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.314 [pid=0x3e0,tid=0x120c] Properties handled.
    2013-04-19 15:34:44.330 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.330 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.330 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.330 [pid=0x3e0,tid=0x120c] EVENT : The user 'M:' preference item in the 'US Drive Mapping {14209C3C-8E16-4247-95C6-925260D86074}' Group Policy object applied successfully.
    2013-04-19 15:34:44.330 [pid=0x3e0,tid=0x120c] Completed class <Drive> - M:.
    2013-04-19 15:34:44.330 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:44.346 [pid=0x3e0,tid=0x120c] Starting class <Drive> - H:.
    2013-04-19 15:34:44.346 [pid=0x3e0,tid=0x120c] Starting filter [AND NOT FilterComputer].
    2013-04-19 15:34:44.346 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.346 [pid=0x3e0,tid=0x120c] Passed filter [FilterComputer].
    2013-04-19 15:34:44.346 [pid=0x3e0,tid=0x120c] Filters passed.
    2013-04-19 15:34:44.346 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.346 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.377 [pid=0x3e0,tid=0x120c] Properties handled.
    2013-04-19 15:34:44.377 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.377 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.377 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.392 [pid=0x3e0,tid=0x120c] EVENT : The user 'H:' preference item in the 'US Drive Mapping {14209C3C-8E16-4247-95C6-925260D86074}' Group Policy object applied successfully.
    2013-04-19 15:34:44.392 [pid=0x3e0,tid=0x120c] Completed class <Drive> - H:.
    2013-04-19 15:34:44.392 [pid=0x3e0,tid=0x120c] {935D1B74-9CB8-4e3c-9914-7DD559B7A417}
    2013-04-19 15:34:44.392 [pid=0x3e0,tid=0x120c] Starting class <Drive> - T:.
    2013-04-19 15:34:44.392 [pid=0x3e0,tid=0x120c] Starting filter [AND NOT FilterComputer].
    2013-04-19 15:34:44.392 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.408 [pid=0x3e0,tid=0x120c] Passed filter [FilterComputer].
    2013-04-19 15:34:44.408 [pid=0x3e0,tid=0x120c] Filters passed.
    2013-04-19 15:34:44.408 [pid=0x3e0,tid=0x120c] Set user security context.
    2013-04-19 15:34:44.408 [pid=0x3e0,tid=0x120c] Adding child elements to RSOP.
    2013-04-19 15:34:44.548 [pid=0x3e0,tid=0x120c] Properties handled.
    2013-04-19 15:34:44.548 [pid=0x3e0,tid=0x120c] RunOnce value created [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.548 [pid=0x3e0,tid=0x120c] Handle Children.
    2013-04-19 15:34:44.548 [pid=0x3e0,tid=0x120c] Set system security context.
    2013-04-19 15:34:44.548 [pid=0x3e0,tid=0x120c] EVENT : The user 'T:' preference item in the 'US Drive Mapping {14209C3C-8E16-4247-95C6-925260D86074}' Group Policy object applied successfully.
    2013-04-19 15:34:44.564 [pid=0x3e0,tid=0x120c] Completed class <Drive> - T:.
    2013-04-19 15:34:44.564 [pid=0x3e0,tid=0x120c] Completed class <Drives>.
    2013-04-19 15:34:44.564 [pid=0x3e0,tid=0x120c] Completed package execution.
    2013-04-19 15:34:44.564 [pid=0x3e0,tid=0x120c] Completed execution of apply package.
    2013-04-19 15:34:44.564 [pid=0x3e0,tid=0x120c] Update GPH : apmCreateFoldersEx
    2013-04-19 15:34:44.564 [pid=0x3e0,tid=0x120c] Update GPH : xmlRemovalPackage
    2013-04-19 15:34:44.580 [pid=0x3e0,tid=0x120c] Update GPH : apmWriteFile
    2013-04-19 15:34:44.580 [pid=0x3e0,tid=0x120c] Updated GPH.
    2013-04-19 15:34:44.580 [pid=0x3e0,tid=0x120c] Completed apply GPO.
    2013-04-19 15:34:44.580 [pid=0x3e0,tid=0x120c] Completed GPO post-processing.
    2013-04-19 15:34:44.580 [pid=0x3e0,tid=0x120c] Completed get next GPO. [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.580 [pid=0x3e0,tid=0x120c] Completed calculate precedence.
    2013-04-19 15:34:44.580 [pid=0x3e0,tid=0x120c] Completed get RSoP class.
    2013-04-19 15:34:44.595 [pid=0x3e0,tid=0x120c] Completed initialize namespace.
    2013-04-19 15:34:44.595 [pid=0x3e0,tid=0x120c] WQL : SELECT * FROM RSOP_PolmkrSetting WHERE polmkrBaseCseGuid = "{5794DAFD-BE60-433f-88A2-1A31939AC01F}"
    2013-04-19 15:34:44.595 [pid=0x3e0,tid=0x120c] Executed WQL query.
    2013-04-19 15:34:44.595 [pid=0x3e0,tid=0x120c] Purged 4 old RSoP entries.
    2013-04-19 15:34:44.611 [pid=0x3e0,tid=0x120c] Logging 4 new RSoP entries.
    2013-04-19 15:34:44.611 [pid=0x3e0,tid=0x120c] RSoP Entry 0
    2013-04-19 15:34:44.611 [pid=0x3e0,tid=0x120c]  <INSTANCE CLASSNAME="RSOP_PolmkrDriveSetting">
    <PROPERTY NAME="name">
    <VALUE>G:</VALUE></PROPERTY>
    <PROPERTY NAME="GPOID">
    <VALUE>cn={14209C3C-8E16-4247-95C6-925260D86074},cn=policies,cn=system,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="SOMID">
    <VALUE>OU=Windows8 Machines,OU=USA,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpeGuid">
    <VALUE>{2EA1A81B-48E5-45E9-8BB7-A6E3AC170006}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseCseGuid">
    <VALUE>{5794DAFD-BE60-433f-88A2-1A31939AC01F}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoDisplayName">
    <VALUE>US Drive Mapping</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoGuid">
    <VALUE>{14209C3C-8E16-4247-95C6-925260D86074}</VALUE></PROPERTY>
    <PROPERTY NAME="id">
    <VALUE>{67CE9D8B-48A8-433A-813F-2B549875ABAA}</VALUE></PROPERTY>
    <PROPERTY NAME="precedence" CHANGETYPE="3">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="creationTime">
    <VALUE>20130419193444.221000+000</VALUE></PROPERTY>
    <INSTANCE CLASSNAME="RSOP_PolmkrDriveItem">
    <PROPERTY NAME="polmkrClassClsid">
    <VALUE>{935D1B74-9CB8-4e3c-9914-7DD559B7A417}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassName">
    <VALUE>G:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassStatus">
    <VALUE>G:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassImage">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassChanged">
    <VALUE>2013-04-16 18:53:56</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUid">
    <VALUE>{840ACB3A-24B1-40C9-9CFA-936FC3F08A9E}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassRemovePolicy">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUserContext">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassBypassErrors">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAction">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrThisDrive">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAllDrives">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUserName">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPath">
    <VALUE>\\detfs01\general</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLabel">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPersistent">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUseLetter">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetter">
    <VALUE>G</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrActionResolved">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetterResolved">
    <VALUE>g:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCodeValue">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCode">
    <VALUE>0x00000000</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultText">
    <VALUE>The operation completed successfully.</VALUE></PROPERTY></INSTANCE>
    <PROPERTY NAME="polmkrBaseHash">
    <VALUE>RSOP_PolmkrDriveSetting.polmkrLetter=&quot;G&quot;</VALUE></PROPERTY></INSTANCE>
    2013-04-19 15:34:44.626 [pid=0x3e0,tid=0x120c] RSoP Entry 1
    2013-04-19 15:34:44.626 [pid=0x3e0,tid=0x120c]  <INSTANCE CLASSNAME="RSOP_PolmkrDriveSetting">
    <PROPERTY NAME="name">
    <VALUE>M:</VALUE></PROPERTY>
    <PROPERTY NAME="GPOID">
    <VALUE>cn={14209C3C-8E16-4247-95C6-925260D86074},cn=policies,cn=system,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="SOMID">
    <VALUE>OU=Windows8 Machines,OU=USA,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpeGuid">
    <VALUE>{2EA1A81B-48E5-45E9-8BB7-A6E3AC170006}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseCseGuid">
    <VALUE>{5794DAFD-BE60-433f-88A2-1A31939AC01F}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoDisplayName">
    <VALUE>US Drive Mapping</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoGuid">
    <VALUE>{14209C3C-8E16-4247-95C6-925260D86074}</VALUE></PROPERTY>
    <PROPERTY NAME="id">
    <VALUE>{DBA37AA7-F6DF-4E18-9BD4-383BB43637F3}</VALUE></PROPERTY>
    <PROPERTY NAME="precedence" CHANGETYPE="3">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="creationTime">
    <VALUE>20130419193444.299000+000</VALUE></PROPERTY>
    <INSTANCE CLASSNAME="RSOP_PolmkrDriveItem">
    <PROPERTY NAME="polmkrClassClsid">
    <VALUE>{935D1B74-9CB8-4e3c-9914-7DD559B7A417}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassName">
    <VALUE>M:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassStatus">
    <VALUE>M:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassImage">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassChanged">
    <VALUE>2013-04-16 18:55:02</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUid">
    <VALUE>{3D62A401-52C3-40D1-999A-32D0F0D00117}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassRemovePolicy">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUserContext">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassBypassErrors">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAction">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrThisDrive">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAllDrives">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUserName">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPath">
    <VALUE>\\detfs01\EmailArchives</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLabel">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPersistent">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUseLetter">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetter">
    <VALUE>M</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrActionResolved">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetterResolved">
    <VALUE>m:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCodeValue">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCode">
    <VALUE>0x00000000</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultText">
    <VALUE>The operation completed successfully.</VALUE></PROPERTY></INSTANCE>
    <PROPERTY NAME="polmkrBaseHash">
    <VALUE>RSOP_PolmkrDriveSetting.polmkrLetter=&quot;M&quot;</VALUE></PROPERTY></INSTANCE>
    2013-04-19 15:34:44.642 [pid=0x3e0,tid=0x120c] RSoP Entry 2
    2013-04-19 15:34:44.642 [pid=0x3e0,tid=0x120c]  <INSTANCE CLASSNAME="RSOP_PolmkrDriveSetting">
    <PROPERTY NAME="name">
    <VALUE>H:</VALUE></PROPERTY>
    <PROPERTY NAME="GPOID">
    <VALUE>cn={14209C3C-8E16-4247-95C6-925260D86074},cn=policies,cn=system,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="SOMID">
    <VALUE>OU=Windows8 Machines,OU=USA,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpeGuid">
    <VALUE>{2EA1A81B-48E5-45E9-8BB7-A6E3AC170006}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseCseGuid">
    <VALUE>{5794DAFD-BE60-433f-88A2-1A31939AC01F}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoDisplayName">
    <VALUE>US Drive Mapping</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoGuid">
    <VALUE>{14209C3C-8E16-4247-95C6-925260D86074}</VALUE></PROPERTY>
    <PROPERTY NAME="id">
    <VALUE>{AEEB1495-02E1-4B94-909B-C8DE89C82C0B}</VALUE></PROPERTY>
    <PROPERTY NAME="precedence" CHANGETYPE="3">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="creationTime">
    <VALUE>20130419193444.346000+000</VALUE></PROPERTY>
    <INSTANCE CLASSNAME="RSOP_PolmkrComputerFilterItem">
    <PROPERTY NAME="polmkrBool">
    <VALUE>AND</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrNot">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrType">
    <VALUE>NETBIOS</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrName">
    <VALUE>d-7-user1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCodeValue">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCode">
    <VALUE>0x00000001</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultText">
    <VALUE>Incorrect function.</VALUE></PROPERTY></INSTANCE>
    <INSTANCE CLASSNAME="RSOP_PolmkrDriveItem">
    <PROPERTY NAME="polmkrClassClsid">
    <VALUE>{935D1B74-9CB8-4e3c-9914-7DD559B7A417}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassName">
    <VALUE>H:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassStatus">
    <VALUE>H:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassImage">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassChanged">
    <VALUE>2013-04-18 20:14:04</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUid">
    <VALUE>{04A87992-7420-44CE-B2B6-1B07FE654F77}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassRemovePolicy">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUserContext">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassBypassErrors">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAction">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrThisDrive">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAllDrives">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUserName">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPath">
    <VALUE>\\detfs01\users\%username%</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLabel">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPersistent">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUseLetter">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetter">
    <VALUE>H</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrActionResolved">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetterResolved">
    <VALUE>h:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCodeValue">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCode">
    <VALUE>0x00000000</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultText">
    <VALUE>The operation completed successfully.</VALUE></PROPERTY></INSTANCE>
    <PROPERTY NAME="polmkrBaseHash">
    <VALUE>RSOP_PolmkrDriveSetting.polmkrLetter=&quot;H&quot;</VALUE></PROPERTY></INSTANCE>
    2013-04-19 15:34:44.658 [pid=0x3e0,tid=0x120c] RSoP Entry 3
    2013-04-19 15:34:44.658 [pid=0x3e0,tid=0x120c]  <INSTANCE CLASSNAME="RSOP_PolmkrDriveSetting">
    <PROPERTY NAME="name">
    <VALUE>T:</VALUE></PROPERTY>
    <PROPERTY NAME="GPOID">
    <VALUE>cn={14209C3C-8E16-4247-95C6-925260D86074},cn=policies,cn=system,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="SOMID">
    <VALUE>OU=Windows8 Machines,OU=USA,DC=mydomain,DC=com,DC=au</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpeGuid">
    <VALUE>{2EA1A81B-48E5-45E9-8BB7-A6E3AC170006}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseCseGuid">
    <VALUE>{5794DAFD-BE60-433f-88A2-1A31939AC01F}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoDisplayName">
    <VALUE>US Drive Mapping</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrBaseGpoGuid">
    <VALUE>{14209C3C-8E16-4247-95C6-925260D86074}</VALUE></PROPERTY>
    <PROPERTY NAME="id">
    <VALUE>{7E0CA279-4F24-4773-BD3D-8E4E8AA8AF86}</VALUE></PROPERTY>
    <PROPERTY NAME="precedence" CHANGETYPE="3">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="creationTime">
    <VALUE>20130419193444.392000+000</VALUE></PROPERTY>
    <INSTANCE CLASSNAME="RSOP_PolmkrComputerFilterItem">
    <PROPERTY NAME="polmkrBool">
    <VALUE>AND</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrNot">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrType">
    <VALUE>DNS</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrName">
    <VALUE>nb-864-user1.mydomain.com.au</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCodeValue">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCode">
    <VALUE>0x00000001</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultText">
    <VALUE>Incorrect function.</VALUE></PROPERTY></INSTANCE>
    <INSTANCE CLASSNAME="RSOP_PolmkrDriveItem">
    <PROPERTY NAME="polmkrClassClsid">
    <VALUE>{935D1B74-9CB8-4e3c-9914-7DD559B7A417}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassName">
    <VALUE>T:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassStatus">
    <VALUE>T:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassImage">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassChanged">
    <VALUE>2013-04-19 13:21:12</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUid">
    <VALUE>{57350522-F65A-4B69-84D5-7FD5EAA99875}</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassRemovePolicy">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassUserContext">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassBypassErrors">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAction">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrThisDrive">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrAllDrives">
    <VALUE>NOCHANGE</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUserName">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPath">
    <VALUE>\\detfs01\users</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLabel">
    <VALUE></VALUE></PROPERTY>
    <PROPERTY NAME="polmkrPersistent">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrUseLetter">
    <VALUE>1</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetter">
    <VALUE>T</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrActionResolved">
    <VALUE>R</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrLetterResolved">
    <VALUE>t:</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCodeValue">
    <VALUE>0</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultCode">
    <VALUE>0x00000000</VALUE></PROPERTY>
    <PROPERTY NAME="polmkrClassResultText">
    <VALUE>The operation completed successfully.</VALUE></PROPERTY></INSTANCE>
    <PROPERTY NAME="polmkrBaseHash">
    <VALUE>RSOP_PolmkrDriveSetting.polmkrLetter=&quot;T&quot;</VALUE></PROPERTY></INSTANCE>
    2013-04-19 15:34:44.658 [pid=0x3e0,tid=0x120c] Completed logging of RSoP data.
    2013-04-19 15:34:44.658 [pid=0x3e0,tid=0x120c] Completed commit reporting.
    2013-04-19 15:34:44.658 [pid=0x3e0,tid=0x120c] Completed GPO list post-processing.
    2013-04-19 15:34:44.673 [pid=0x3e0,tid=0x120c] Completed get GPO list. [SUCCEEDED(S_FALSE)]
    2013-04-19 15:34:44.673 [pid=0x3e0,tid=0x120c] Completed CSE post-processing.
    2013-04-19 15:34:44.673 [pid=0x3e0,tid=0x120c] User impersonation uninitialized.
    2013-04-19 15:34:44.673 [pid=0x3e0,tid=0x120c] Leaving ProcessGroupPolicyExDrives() returned 0x00000000
    2013-04-19 15:34:44.673 [pid=0x3e0,tid=0x120c]

  • Pbm in raising invoice for multiple items

    Hi all,
             i have written vb.net code to raise invoice, when i add multiple items, the invoice gets raised for the total amount but only the last item i added in the matrix(list of items) appears in the A/R invoice What may be the problem
    I have given below my code plz do give suggestions
    Public Sub addtoinv()
            Dim val As Integer
            Dim oInvoice As SAPbobsCOM.Documents
            Dim oLines As SAPbobsCOM.Document_Lines
            Dim i As Integer
            Try
                Dim rset As SAPbobsCOM.Recordset
                rset = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                rset.DoQuery("SELECT T0.[SuppSerial], T0.[IntrSerial], T0.[SysSerial] FROM OSRI T0 WHERE T0.[ItemCode]  = '" & itemcode & "' and  T0.[Status]  = 0")
                rset.MoveFirst()
                For i = 0 To xx - 1
                    oInvoice = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
                    oInvoice.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
                    oInvoice.CardCode = bpname
                    oInvoice.Lines.AccountCode = "400000"
                    oInvoice.Lines.Quantity = xx
                    Dim suppser As String = rset.Fields.Item("SuppSerial").Value
                    Dim intrser As String = rset.Fields.Item("IntrSerial").Value
                    Dim sysserial As String = rset.Fields.Item("SysSerial").Value
                    oInvoice.Lines.SerialNumbers.ManufacturerSerialNumber = suppser
                    oInvoice.Lines.SerialNumbers.InternalSerialNumber = intrser
                    oInvoice.Lines.SerialNumbers.SystemSerialNumber = sysserial
                    oInvoice.Lines.SerialNumbers.SetCurrentLine(i)
                    oInvoice.Lines.SerialNumbers.Add()
                   If strtax = "ST.12.36" Then
                        oInvoice.Lines.TaxCode = "ST.12.36"
                    End If
                    If strtax = "VAT@4" Then
                        oInvoice.Lines.TaxCode = "VAT@4"
                    End If
                    If strtax = "Service" Then
                        oInvoice.Lines.TaxCode = "Service"
                    End If
                    If strtax = "CST@4" Then
                        oInvoice.Lines.TaxCode = "CST@4"
                    End If
                    If strtax = "[email protected]" Then
                        oInvoice.Lines.TaxCode = "[email protected]"
                    End If
                    val = oInvoice.Add()
                    rset.MoveNext()
                    If val = 0 Then
                        oapp.MessageBox("Sucess")
                    Else
                        oapp.MessageBox("Error: " & ocompany.GetLastErrorDescription)
                    End If
                Next i
            Catch ex As Exception
                oapp.MessageBox(ex.Message)
            End Try
        End Sub

    Hi Issac,
    Did you forgot to call oInvoice.Lines.Add() in the loop?
    If you want to add n items in a single invoice, you have to call oInvoice.Lines.Add() (n-1) times.
    Here is some sample code for your reference.
    Dim oOrderDoc as SAPbobsCOM.Documents
    oOrderDoc = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    ' set the business partner code
    oOrderDoc.CardCode = "C60005"
    ' set the documents due date - mandatory
    oOrderDoc.DocDueDate = Date
    ' First line  (no need to add line)
    oOrderDoc.Lines.ItemCode = "A00001"
    oOrderDoc.Lines.Quantity = 1
    ' Second line
    ' first add empty line for the second line
    oOrderDoc.Lines.Add
    oOrderDoc.Lines.ItemCode = "A00002"
    oOrderDoc.Lines.Quantity = 1
    ' Adding the new order document
    Dim RetVal As Long
    ' Add Method
    RetVal = oOrderDoc.Add
    ' Check if Add method succeeded
    If RetVal <> 0 Then
       oCompany.GetLastError lErrCode, ErrMsg
       MsgBox lErrCode & " " & sErrMsg
    End If
    Regards,
    Jay.

Maybe you are looking for

  • Add Report Generation toolkit for Microsoft Office in exe

    Hi I am having a problem. I am using LabVIEW 8.20, Report Generation Toolkit for Microsoft Office 1.1.2 and Microsoft Excel 2003. My OS is Windows XP (SP ) I want to build the vi attached below into an exe. The vis that I used are from addons>>_offic

  • Missing images in AOL email

    For email I use "AOL for Mac OS X", version 10.3.7. When an incoming email contains an image the space for the image is always blank, with a 'document' icon in one corner (looks like sheet of paper with folded corner, RGB color blobs, and a white dia

  • Authorisation check on profir center group

    Dear Experts, We have a requirement to restrict the users's access to a particular profit center group.I have set the value in the tab "profit center group"  for object  K_PCA.The profit center org level is set to * .With these settings users are abl

  • Cannot run 64 bit Safari 4.0.3 in Snow Leopard

    I'm currently running Safari 4.0.3 (6531.9) in OS X 10.6 and have noticed that, when I use "Get Info," there's no "Open in 64 bit" like there is on my laptop running the same version of Safari and 10.6. (I've noticed this because of problems I've bee

  • Use skype credit call mobile phone and the line wa...

    I use skype credit to calll oversea from Thailand but during this month the line was cut immediatly when they pick up the phone. The credit was cut also. Send to skype center but noone response, pls help.