Field restrictions set in SWEC for BUS2012.

Hi Gurus,
The field restrictions have been set for fields (ekpo-menge, ekpo-netpr etc..). But this doesnot seem to work. The workflow triggers if there is any change in the PO. This should not happen. Please help in this regards.
Thanks,
Sathish.

Please find below the code for the same.
FUNCTION ZTMP_CHECK_po_workflow.
*"*"Local Interface:
*"  IMPORTING
*"     REFERENCE(EVENT) LIKE  SWETYPECOU-EVENT
*"     REFERENCE(RECTYPE) LIKE  SWETYPECOU-RECTYPE
*"     REFERENCE(OBJTYPE) LIKE  SWETYPECOU-OBJTYPE
*"     REFERENCE(OBJKEY) LIKE  SWEINSTCOU-OBJKEY
*"  TABLES
*"      EVENT_CONTAINER STRUCTURE  SWCONT
*"  EXCEPTIONS
*"      ANY_EXCEPTION
  TYPES:BEGIN OF ity_awkey,
          awkey TYPE awkey,
        END OF ity_awkey.
* Local internal table declaration
  DATA:it_cdpos TYPE STANDARD TABLE OF cdpos INITIAL SIZE 0,
        it_rseg TYPE STANDARD TABLE OF rseg INITIAL SIZE 0,
        it_bseg TYPE STANDARD TABLE OF bseg INITIAL SIZE 0,
        it_bkpf TYPE STANDARD TABLE OF bkpf INITIAL SIZE 0,
        it_rbkp TYPE STANDARD TABLE OF rbkp INITIAL SIZE 0,
        it_awkey TYPE STANDARD TABLE OF ity_awkey INITIAL SIZE 0 .
  DATA: wa_cont TYPE swr_cont,
it_cont TYPE STANDARD TABLE OF swr_cont.
* Local work area declaration
  DATA:wa_cdpos TYPE cdpos,
        wa_swcont TYPE swcont,
        wa_bkpf TYPE bkpf,
        wa_bseg TYPE bseg,
        wa_ekko TYPE ekko,
        wa_awkey TYPE ity_awkey,
        wa_rseg TYPE rseg,
        wa_rbkp TYPE rbkp.
* Local variable declaration
  DATA: lv_flag     TYPE i,
        lv_changenr TYPE cdchangenr,
        lv_change   TYPE char1,
        lv_po_change TYPE char1,
        lv_objtype TYPE swetypecou-objtype,
        lv_objkey TYPE sweinstcou-objkey.
* Get header data of PO
  SELECT SINGLE *
    FROM ekko
    INTO wa_ekko
    WHERE ebeln EQ objkey.
* If revised PO approved
  IF wa_ekko-frgke  EQ 'A' AND wa_ekko-procstat EQ '05'.
    SELECT *
      FROM rseg
      INTO TABLE it_rseg
      WHERE ebeln EQ wa_ekko-ebeln.
    IF sy-subrc EQ 0.
      SORT it_rseg BY belnr.
      DELETE ADJACENT DUPLICATES FROM it_rseg COMPARING belnr.
      LOOP AT it_rseg INTO wa_rseg.
        CONCATENATE wa_rseg-belnr wa_rseg-gjahr INTO wa_awkey-awkey.
        APPEND wa_awkey TO it_awkey.
      ENDLOOP.
      SORT it_awkey BY awkey.
      DELETE ADJACENT DUPLICATES FROM it_awkey.
*     Get invcoice document
      SELECT *
        FROM bkpf
        INTO TABLE it_bkpf
        FOR ALL ENTRIES IN it_awkey
        WHERE awkey EQ it_awkey-awkey.
      IF sy-subrc EQ 0.
        SELECT *
          FROM bseg
          INTO TABLE it_bseg
          FOR ALL ENTRIES IN it_bkpf
          WHERE bukrs EQ it_bkpf-bukrs
            AND belnr EQ it_bkpf-belnr
            AND gjahr EQ it_bkpf-gjahr.
      ENDIF.
    ENDIF.
*   Check if any invoice is blocked
    LOOP AT it_bseg INTO wa_bseg WHERE zlspr IS NOT INITIAL. "WHERE zlspr IS NOT INITIAL.
      READ TABLE it_bkpf
            INTO wa_bkpf
            WITH KEY bukrs = wa_bseg-bukrs
                     belnr = wa_bseg-belnr
                     gjahr = wa_bseg-gjahr.
      IF sy-subrc EQ 0.
        lv_objtype = 'BUS2081'.
        lv_objkey = wa_bkpf-awkey.
        CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
          EXPORTING
            object_type = lv_objtype
            object_key  = lv_objkey
            event       = 'ZPO_CHANGE'
            commit_work = ''.
      ENDIF.
    ENDLOOP.
* If revised PO changed and it has invoices pending for approvals.
  ELSE.
* Read change object document number
    READ TABLE  event_container
          INTO wa_swcont
          WITH KEY element = 'CD_CHANGENR'.
    IF sy-subrc EQ 0.
      lv_changenr = wa_swcont-value.
      CLEAR wa_swcont.
      SELECT *
        FROM cdpos
        INTO TABLE it_cdpos
        WHERE objectclas EQ 'EINKBELEG'
          AND objectid   EQ objkey
          AND changenr   EQ lv_changenr.
      IF sy-subrc EQ 0.
*   Check if PO Value is changed.
        READ TABLE it_cdpos
              INTO wa_cdpos
              WITH KEY tabname = 'EKKO'
                       fname   = 'RLWRT'.
        IF sy-subrc EQ 0.
          lv_po_change = 'X'.
        ENDIF.
*   Check if PO Value is changed.
        READ TABLE it_cdpos
              INTO wa_cdpos
              WITH KEY tabname = 'EKPO'
                       fname   = 'MENGE'.
        IF sy-subrc EQ 0.
          lv_po_change = 'X'.
        ENDIF.
*   Check if PO Value is changed.
        READ TABLE it_cdpos
              INTO wa_cdpos
              WITH KEY tabname = 'EKPO'
                       fname   = 'NETWR'.
        IF sy-subrc EQ 0.
          lv_po_change = 'X'.
        ENDIF.
        IF lv_po_change EQ 'X'..
* Get header data of PO
          SELECT SINGLE *
            FROM ekko
            INTO wa_ekko
            WHERE ebeln EQ objkey.
* If revised PO approved
          IF sy-subrc EQ 0.
            SELECT *
              FROM rseg
              INTO TABLE it_rseg
              WHERE ebeln EQ wa_ekko-ebeln.
            IF sy-subrc EQ 0.
              SORT it_rseg BY belnr.
              DELETE ADJACENT DUPLICATES FROM it_rseg COMPARING belnr.
              LOOP AT it_rseg INTO wa_rseg.
                CONCATENATE wa_rseg-belnr wa_rseg-gjahr INTO wa_awkey-awkey.
                APPEND wa_awkey TO it_awkey.
              ENDLOOP.
              SORT it_awkey BY awkey.
              DELETE ADJACENT DUPLICATES FROM it_awkey.
*     Get invcoice document
              SELECT *
                FROM bkpf
                INTO TABLE it_bkpf
                FOR ALL ENTRIES IN it_awkey
                WHERE awkey EQ it_awkey-awkey.
              IF sy-subrc EQ 0.
                SELECT *
                  FROM bseg
                  INTO TABLE it_bseg
                  FOR ALL ENTRIES IN it_bkpf
                  WHERE bukrs EQ it_bkpf-bukrs
                    AND belnr EQ it_bkpf-belnr
                    AND gjahr EQ it_bkpf-gjahr.
              ENDIF.
            ENDIF.
*   Check if any invoice is blocked
            LOOP AT it_bseg INTO wa_bseg WHERE zlspr IS NOT INITIAL. "WHERE zlspr IS NOT INITIAL.
              READ TABLE it_bkpf
                    INTO wa_bkpf
                    WITH KEY bukrs = wa_bseg-bukrs
                             belnr = wa_bseg-belnr
                             gjahr = wa_bseg-gjahr.
              IF sy-subrc EQ 0.
*                wa_cont-element = 'GV_CONFIRM_FLAG'.
*                wa_cont-value = 'X'.
*                APPEND wa_cont TO it_cont.
                lv_objtype = 'BUS2081'.
                lv_objkey = wa_bkpf-awkey.
                CALL FUNCTION 'SWE_EVENT_CREATE'
                  EXPORTING
                    objtype = lv_objtype
                    objkey  = lv_objkey
                    event   = 'ZPO_CHANGE2'.
                IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
                ENDIF.
              ENDIF.
            ENDLOOP.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDIF.
  ENDIF.
  CLEAR lv_po_change.
* Read change object document number
  READ TABLE  event_container
        INTO wa_swcont
        WITH KEY element = 'CD_CHANGENR'.
  IF sy-subrc EQ 0.
    lv_changenr = wa_swcont-value.
    CLEAR wa_swcont.
    SELECT *
      FROM cdpos
      INTO TABLE it_cdpos
      WHERE objectclas EQ 'EINKBELEG'
        AND objectid   EQ objkey
        AND changenr   EQ lv_changenr.
    IF sy-subrc EQ 0.
*   Check if PO Value is changed.
      READ TABLE it_cdpos
                   INTO wa_cdpos
                   WITH KEY tabname = 'EKKO'
                            fname   = 'RLWRT'.
      IF sy-subrc EQ 0.
        lv_po_change = 'X'.
      ENDIF.
*   Check if PO Value is changed.
      READ TABLE it_cdpos
            INTO wa_cdpos
            WITH KEY tabname = 'EKPO'
                     fname   = 'MENGE'.
      IF sy-subrc EQ 0.
        lv_po_change = 'X'.
      ENDIF.
*   Check if PO Value is changed.
      READ TABLE it_cdpos
            INTO wa_cdpos
            WITH KEY tabname = 'EKPO'
                     fname   = 'NETWR'.
      IF sy-subrc EQ 0.
        lv_po_change = 'X'.
      ENDIF.
      IF lv_po_change EQ 'X'.
        lv_change = 'X'.
        EXPORT ex_change FROM lv_change TO  MEMORY ID 'ZTMPANGE'.
        EXPORT ex_change FROM lv_change TO  MEMORY ID 'ZTMPANGE1'.
        lv_flag = 1.
      ELSE.
      ENDIF.
      IF lv_flag NE 1.
        RAISE any_exception.
      ENDIF.
    ENDIF."    IF sy-subrc EQ 0. CDPOS
  ENDIF."  IF sy-subrc EQ 0.
  IF objtype EQ 'BUS2012'.
    READ TABLE  event_container
          INTO wa_swcont
          WITH KEY element = 'RELEASECODE'.
    IF wa_swcont-value IS INITIAL AND sy-subrc EQ 0.
      RAISE any_exception.
    ENDIF.
    IF sy-subrc NE 0.
      RAISE any_exception.
    ENDIF.
  ENDIF.
ENDFUNCTION.

Similar Messages

  • "Created By" field to set up defaults for vlookups/dropdowns

    Hello,
    I am working on my firm's sharepoint 2013 site and have a custom list that I am trying to make easy for users to use. One of the things I am trying to do is to set default values for some of the dropdown/vlookup columns based on the user who is creating
    the new entry.
    So let's say I create a list in the site that will contain these two columns:
    User    Business Unit
    A         Accounting
    B         Manufacturing
    The user column will match my big list's created by names that are automatically generated. In the big list I will have a Business Unit column that will be matching the values from above. The users should be able to select for which Business Unit they are
    doing the work for but majority of the time they will have a default one. 
    My goal is to have user A, when creating a new entry to have Business Unit automatically set to Accounting, but also for that user to be able to change it to Manufacturing if needed. This should only apply for creating the item. 
    Any ideas how this can happen if at all? I searched all over for this, but can't find an example of how exactly to do it. As a side note, I cannot install any add-ons since I don't have permissions but can write script web parts if that is needed. 
    Thank you in advance

    Hi,
    Per my understanding, you might want to set default value for the “Business Unit” column by looking up to another list.
    You can apply
    JavaScript with Client Object Model to the NewForm.aspx page to meet your requirement.
    A possible solution can be like this: When user opens the NewForm.aspx page of the current list, the custom JavaScript will be executed to get information about the
    current user, then query the other list for the default value, set the value to the drop down list of the “Business Unit” column dynamically. The JavaScript can be added into a Content Editor Web Part and insert into the NewForm.aspx page.
    The links below would be helpful for implementing this scenario:
    About how to
    select an option of drop down list using JavaScript:
    http://www.imranulhoque.com/javascript/javascript-beginners-select-a-dropdown-option-by-value/
    About
    how to use JavaScript Client Object model to access SharePoint list:
    How to: Create, Update, and Delete List Items Using JavaScript
    http://msdn.microsoft.com/en-us/library/office/hh185011(v=office.14).aspx  
    Common Programming Tasks in the JavaScript Object Model
    http://msdn.microsoft.com/en-us/library/office/hh185015(v=office.14).aspx
    Here are two links about how to
    add code into SharePoint page via Content Editor Web Part:
    http://blogs.msdn.com/b/sharepointdev/archive/2011/04/14/using-the-javascript-object-model-in-a-content-editor-web-part.aspx
    http://sharepointadam.com/2010/08/31/insert-javascript-into-a-content-editor-web-part-cewp/
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to set parameter id for a field, which is in disable mode ?

    Hi,
    I Have to set parameter id for field ledger for transaction FAGLB03, which is in disable mode, i have to set it through program,please let me know how to set it.
    Thanks.

    Say i have 5 rows then
    for(int i=1;i<=5;i++){
    String Newpath = updatepath(eval("{{obj.libraryname.web_input_text_fieldname}}"),i)
    web.text_area(Newpath).setText("Text to be set")
    Below function is used to update my path
    public String updatepath(String path,int i) throws exception {
    String FPath = "";
    if(i<2) {
    FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
    } else {
    FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+(i-1)+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
    return Fpath
    anyother way to update path and set the fields in mutiple block is appreciable
    thanks
    Suresh

  • Setting default values for field on screen.

    Hello,
    I am trying to set default value for one of the fields I have on screen when I execute the custom transaction.
    I am doing that in PBO as follows. But the default value is not set for Date field.
    PROCESS BEFORE OUTPUT.
    MODULE PBO_OUT.
    MODULE STATUS_5000.
    *&      Module  STATUS_5000  OUTPUT
          text
    MODULE STATUS_5000 OUTPUT.
      SET PF-STATUS 'NON_SAP_DOCUMENT'.
      SET TITLEBAR '001'.
    ENDMODULE.                 " STATUS_5000  OUTPUT
    *&      Module  PBO_OUT  OUTPUT
          text
    MODULE PBO_OUT OUTPUT.
      ERDAT = SY-DATUM.
    ENDMODULE.                 " PBO_OUT  OUTPUT
    Please help.
    Thanks.
    Regards,
    Rajesh.

    Works Now...

  • Set default value for parameter fields

    Good day!
    Situation:
    1. I have 2 parameter fields in reports (dateFrom and dateTo)
    2. Before running report in ASP.NET I change value this fields (dateTo = today, dateFrom = today - 3 days)
    3.I use for this source:
    foreach (ParameterField crParam in CrystalReportSource1.ReportDocument.ParameterFields)
                            CrystalDecisions.Web.Parameter crParametr = new CrystalDecisions.Web.Parameter();
                            string ParametrName = crParam.Name;
                            crParametr.Name = ParametrName;
                              crParametr.DefaultValue = ActionReportParameter.GetParametrValue(ReportName, ParametrName);
                             CrystalReportSource1.Report.Parameters.Add(crParametr);
    4. And repurt run without request value parameter fields.
    5. BUT!!! now I need request value parameter fields before report start running - I want set default values for filelds and offer user change its before report start run.
    How do this?
    Thanks

    I believe you need to create your own parameter promt screen. Capture what the user entered and pass that to the report(?).
    slv

  • Need to set default values for the fields plant and location in ME21N

    Hi All,
    i need to set default values for the fields plant and location in ME21N tcode.
    In accout assignment if we give 'A' then we need to create asset by clicking the Asset tab,there you have the fields plant and location.
    How to resolve this?
    Thanks in Advance

    hi .
    i needed to set default strorage location and plant in personal setting  in me21n.
    i solve it with this way.
    go to program SAPLMEPERS in se38.
    create new function in output with the sample name :MODULE ZTEST_001 OUTPUT.
    in this module write:
    if MEPOITEM_PROP-WERKS is INITIAL and  MEPOITEM_PROP-LGORT is INITIAL.
    MEPOITEM_PROP-WERKS = '1000'.
    MEPOITEM_PROP-LGORT = '0032'.
    endif.
    this is the solution.
    best regards.
    maryam

  • Field restriction for ME22N using BADI

    Dear All,
    i had a requirement in which i had to restrict ME22N transaction for a particular user for a particular document type
    so i used BADI ME_PROCESS_PO_CUST now the requirement has changed and the user wants the restriction only on three fields rather than entire transaction.
    is there any provision in BADi by which i can prevent changes made to a  particular fields the fields are QUANTITY,RATE PER UNIT & PAYMENT TERMS fields,by throwing error message if changes are done and  for other fields changes should be allowed .
    my code is as below
    method IF_EX_ME_PROCESS_PO_CUST~CHECK.
    IF SY-TCODE = 'ME22N'.
      DATA: IT_MEPOHEADER  TYPE MEPOHEADER.
        IT_MEPOHEADER = IM_HEADER->GET_DATA( ).
         IF IT_MEPOHEADER-BSART = 'ZLNB' OR IT_MEPOHEADER-BSART = 'ZLUB' OR IT_MEPOHEADER-BSART = 'ZLS'
            OR IT_MEPOHEADER-BSART = 'ZLC' OR IT_MEPOHEADER-BSART = 'ZLFO' OR IT_MEPOHEADER-BSART = 'ZLLN'
              OR IT_MEPOHEADER-BSART = 'ZLDB'.
           IF SY-SUBRC = 0.
                IF SY-UNAME = 'ABAP05'  .
                        Message 'You are not authorized to use ME22N for the given  document type' type 'E'.
                 ENDIF.
             ENDIF.
          ENDIF.
         ENDIF.
    endmethod.
    can anyone plz help me
    Thanks in advance,
    Ronak

    Dear All,
    plz let me know if there is any other alternative (other than BADI) to restrict based on filteration for user , document type , and the three fields i have mentioned..
    Regards Ronak

  • UDF - Set Valid Values for Field

    I have a UDF created in Marketing Docs / row level called UOM_Ordered (alphanumeric, length 2) using Set Valid Values for Field.  Values are:
    CS
    IN
    DZ
    PC
    Above are CS abrev for Case, IN abrev for Inner, DZ abrev for Dozen .................
    If possible could I have say for example "IN" not to appear in the drop down if the value in OITM (UDF called U_Inner_Qty) is either NULL or a Zero?  It's would be a way to stop mistakes when orders are inputted.
    Any help on this would be appreciated.
    Thks - Scott

    Hello
    You could try the following:
    Insert a formatted search on the field, which contain conditions, ie whether the condition that the value is 0 or null, then bring the required data, while if it is not the case, applies the search formatted with the available data.
    On the other hand, leave the form with all the options for disabled users. The latter through additional authorizations for users
    I hope it will help
    Best regards,

  • Is there a limit for adding universe restriction set

    Hi Experts
    Is there a limit for adding universe restriction set?
    Can i have more than 100 or 1000 universe restriction set?
    Thanks!

    Hi,
    There is no limit set.
    Look at this document too for some knowledge.
    [http://www.dataspace.com/Downloads/IA_Final_MD.pdf]
    Regards,
    Bashir Awan

  • Is there any way to set a property for all existing Form Fields of a particular type (Che

    In versions of Acrobat prior to version 9, selecting a particular form tool (Textbox, Checkbox), etc. would only display Fields of that particular type in the Acrobat Designer (not LiveCycle).
    If one wanted to change a particular property of all check boxes for example, one would select the Checkbox Tool, Click Edit>Select All>Right Click one of the Checkboxes and Set the Property for all of the Form's Checkboxes.
    Selecting a particular form tool in the Acrobat (not Lifecycle) Designer in version 9 appears to no longer filter the display to that particular form field type. Is there any way to display only 1 particular form field type in or set a particular property for all existing Form Fields of a particular type (Check Box, Text Box, etc.) in Acrobat 9?

    Thanks for the tip..Am aware of this option and have used JavaScript to batch change properties in the past...
    Am looking for a way to replicate the interactive procedure available in previous versions.  Also, want a way to only display certain Form Field types (use this when analyzing forms which I didn't create).

  • Setting Default values for field using custom.pll

    Hi All,
    I have an rquirement to set the default values on Meterial Tranasction screen for some condition
    I tried it in both ways via Form Personalization and using custom.pll
    i m using the following code in custom.pll
    form_name      varchar2(30):= name_in('system.current_form');
    block_name varchar2(30):= name_in('system.cursor_block');
    trx_type           varchar2(30);
    subinv                varchar2(30);
    begin
    if form_name='WIPTXMAT' and block_name ='MTL_TRX_LINE' then
    if event_name ='WHEN-VALIDATE-RECORD' then
         trx_type:=name_in('WIPTXMAT.TRANSACTION_TYPE');
    if trx_type ='WIP Return' THEN
         copy(10,'MTL_TRX_LINE.TRANSACTION_QUANTITY');
              copy(10,'MTL_TRX_LINE.NUMBER_OF_LOTS_ENTERED');
              sinv:=trim(name_in('MTL_TRX_LINE.SUBINVENTORY_CODE'));
              if sinv is null then
                   copy(subinv,'MTL_TRX_LINE.SUBINVENTORY_CODE');
                   copy(fr_locator,'MTL_TRX_LINE.LOCATOR');
                   FND_MESSAGE.SET_STRING(sinv);
                   FND_MESSAGE.SHOW;
              end if;
         end if;
    end if;
    end if;
    end event;
    Problem is that default values are getting set but not for all rows . if there are 4 records then values are set for only first 2 rows and if there are 2 rows then defaults are set for 1st row only.
    Same behaviour happens when i do it via form personalization
    i couldn't understand the behaviour of WHILE-VALIDATE-RECORD event..
    Please provide some suggestion on it. its really urgent.
    Thanks in Advance
    Renu

    Works Now...

  • Restrict read/edit access for a Manager, when Manager Visibility is enabled

    Customer wants to restrict read/edit access for a Manager on his/her subordinates' owned record, if manager Visibility is enabled at the company level.
    For example: If SM1 is a manager of SR1 and SM1 owner profile says that he has Edit Access on his owned records then, he will get Edit Access
    on the records owned by his sales rep.
    Current requirement here is Manager should not be able to edit the records of his sales rep but should able to only View. And manager also
    need the Edit/Read access on the records which they owned.
    Is there a possible workaround ?

    I have devised this to our customer:
    First, create a custom text field named "Reports To" on the object, say, Accounts.
    Second, user JoinFieldValue to set a default value for the "Reports To" field: equal to the "Reports To" User field value for the current owner.
    Third, add a new value named "Manager Read-Only" to 'Account Type' picklist. make sure that this picklist value is active.
    Fourthly, add a new page layout marking all Account Fields as 'read-only' and name it "Account Read-Only layout".
    Fifthly, create a new Account Dynamic Layout and set "Account Read-Only layout"
    for Field Type = "Manager Read-Only".
    Sixthly, create a new workflow rule condition for Account object ( before modified record saved ). Use the workflow rule condition similar to UserValue('<Alias>') = [<ReportsTo>] and set the workflow action to update 'Account Type' picklist value to
    "Manager Read-Only".
    This is just an example. Customer needs to improvise on this.
    Any more suggestions please ?

  • Restrict Workflow Administrator responsibility for a business group

    My requirement is to restrict the Workflow Administrator responsibility to a specific business group so that the administrator can view all notifications/transactions for a given business group only for ALL item types. I tried following the steps given in the document 'Oracle Self-Service Human Resources (SSHR) Release Notes, Release 12.1.1' metalink id 578360.1. However, it doesnt seem to be working. Any idea on how to do this configuration?
    Thanks,
    Pallavi

    Hi,
    EBS version: 12.1.3, Database 11g
    Below are the steps to reproduce the issue:
    1) Create a security profile 'XXX-UK-WF' with following values:
    Business Group: <UK business group name>
    View Employees: Restricted
    View Contingent Workers: Restricted
    View Applicants: restricted
    View Contacts: Restricted
    View Candidates: All
    Organization Security Tab--> Security Type: View All Organizations(No Security)
    2) Set the HR: Security Profile option at the responsibility level for the Workflow Administrator Web(New) responsibility.
    3) Log on to the Functional Developer responsibility and search for the predefined Workflow Item Attribute Values (WF_ITEM_ATTRIBUTE_VALUES) object.
    4) Click the Update icon to navigate to the Update Object page.
    5) Click Create Grant on the Grants tab.
    On the Define Grant page, enter the following details:
    In the Name field, enter a descriptive name for the grant.
    Specify the effective date for the grant as '01-Sep-2011'.
    In the Grantee Type field, select 'Group of users' and select teh responsibility 'Workflow Administrator Web(New)' in the Grantee field.
    6)In the Object field, select the delivered object Workflow Item Attribute Values
    7)On the Grant: Select Object Data Context page, select the HR Self-Service Selected Person ID Instance Set (HRSS_WF_ATTR_PERSONID_INSTSET)
    8) On the Grant: Define Object Parameters and Select Set page:
    In the Set field, enter the delivered Business workflow item attribute permission set (WF_ADMIN_ITEM_ATTR_PSET).
    Click Finish to complete the grant creation process.
    9) Logout and login as a user having Workflow Administrator Web(New) responsibility. Navigate to Administer--> Status Monitor. Search for all the workflows started this week. All the transactions from all the business groups will be listed. ideally, only the transactions occuring in UK business groups should have been listed.

  • Restriction Set - allow mulitple prompt values

    In my webi report I have multiple prompts for offices some BO groups need to access 1 and only 1 office while other BO groups need to access more than 1 office. The restriction sets I have setup in the universe work for the BO groups that need to access 1 office however it does not work for users in BO groups that need to access more than 1 office.
    I have setup restrictions for each office then link them to a BO group some of the same users belong to more than 1 BO group. Most groups only need to access one office in the prompt other users need to access multiple prompts. The way its setup for the users who need to access multiple prompts is to add them to the BO groups that are already linked to a restriction.
    e.g.
    prompt values:
    - office 1
    - office 2
    - office 3
    BO groups:
    - BO group 1
    - BO group 2
    I can get it to work like this:
    a user in BO group 1 can access office 1. But if I wanted a user in BO group 2 to access the prompt values for office 1 and office 2 it doesnt work when anyone from BO group 2 logs into infoview at the prompt they will get no values at all.
    Anyone know how to fix this: can check this link for an attachment:
    [http://www.forumtopics.com/busobj/viewtopic.php?p=672879|http://www.forumtopics.com/busobj/viewtopic.php?p=672879]
    BO Edge XI 3.0
    SQL 2005

    try this
    http://blogs.msdn.com/b/sharepointdev/archive/2011/11/18/how-to-work-with-managed-metadata-columns-by-using-the-sharepoint-client-object-model-kaushalendra-kumar.aspx
    http://stackoverflow.com/questions/17076509/set-taxonomy-field-multiple-values
    http://www.novolocus.com/2013/12/18/working-with-the-taxonomy-in-csom/

  • Restrict UD code group for Inspection type

    Hi,
    I want to restrict UD code groups for each inspection type.
    Let say : for 01 Inspection type - system has to show only 01 code group.It should not display the remaning code groups(02,03....)
    sridhar.R

    Hi,
    To achieve this you need to create separate Selected Sets.
    Run QS51----> Create a Selected set with Catalog type "3 - Usage decisions"  E.g. Z01 is created for Inspection type 01.
    Here you assign only Code 01 (Don't assign the un necessary codes)
    Now Follow the Customizing path....
    SPRO->Quality Management->Quality Inspection->Inspection Lot Creation->Maintain Inspection Types Execute========>
    Select inspection type 01 and assign the previously created selected set (Z01) here at the field "UD selected set"
    Now system will populate only those codes that are covered under the selected set Z01.
    Do the same for rest of all inspection types.
    Regards,
    Shyamal

Maybe you are looking for

  • How to get the approver from a wf notification in case there are multiple approvers ?

    I created an ad hoc role to store mutliple approvers for a wf notification. My question is how to get the user_name of the first responder so I can stamp the record I need to update with it. I''m assuming it would be using wf_notifications.GetAttrTex

  • Connecting apple tv to internet?

    Hello there, I was wondering, can you connect the Apple TV to the internet wirelssly? V.

  • [SOLVED] Pacman and ABS sync give different results

    I have been having a few issues with the NZ mirror, however they have been sorted. I have -Syy'ed a couple of times and get back: :: Starting full system upgrade... local database is up to date Which I know isn't the case as I visited the mirror via

  • Setting thermocouple type in scan engine

    I am using cRIO 9211 to acquire thermocouple data using NI Scan Engine. I don't see any option to specify the type of thermocouple other than by right clicking on the module (in project) and selecting Properties. Is there a way to programmatically se

  • Converting EJB Object into XML

    All: Suppose I have an EJB that is named MyDog, it has attributes as follows: name breed weight age Is there a way to convert this Object into an XML document? Something like: <?xml version=\"1.0\" ?> <MyDog> <name>Bubba</name> <breed>Australian Shep