How to restrict Option values for a particular metadata in profile checkin

How to restrict Option values (drop down) for a particular metadata in profile checkin-
Metadata field Color is having options dropdown values (stored in table/views)-
Display name - Blue, Value=1
Display name - Red, Value=2
Display name - Yellow, Value=3
Display name - Green, Value=4
Display name - Black, Value=5
For a particular profile checkin form, for the metadata field Color I want the dropdown value consist of only top three options
Display name - Blue, Value=1
Display name - Red, Value=2
Display name - Yellow, Value=3
But this should be done on profile level only, should not impact the standrad checkin form and other profile checkin forms.
Please help me if any one having any suggestion to implement the above secnario
Thanks,
Sumit

Hi,
Into the rule containing the Color metadata, you can restrict the values of the list.
In "Has restricted list and pane", list the values 1, 2 and 3 (new line for each value) :
1
2
3
Romain.

Similar Messages

  • How to Restrict F4 values for Std Field

    Hi ,
    I need to restrict the F4 values of a standard field from a standard t-code.
    Example:
           In standard t-code : XD01 .
           If i press F4 on company code field , i shows all the company codes exists from table , like : 1000 , 2000 , 3000 ...etc..,
          But, My requirement is : I want the restrict the values .     
          Say , I need to show only 1000 & 3000 company codes when he press F4 on company code field on XD01 or XK01 ,
         where  ever the Comapny Code field (BUKRS) is used.
         Answers will be rewarded

    Hi Lakshman,
    Me to aware of search help exit...
    If i do for search help level , it affects only 1 field of 1 transaction.
    Say Example: If i have search help exit for BUKRS field in XD01 t-code , it will not affect in t-code XK01 , since Xk01 BUKRS
    field uses some other Search help...
    I need to know , if we set once for BUKRS field .. will it affect on all T-Codes..
    Is there any way to do it
    Edited by: Surendar on May 6, 2010 2:38 PM

  • How to restrict the values for selection in the search help..

    hi,
    i have a requirement regarding screen programming. i have added a i/o field in a screen and i linked a search help for that field.
    i used the standard search help it holds some 15 values for selection...
    when i click on the  search help i m getting some 15 values for selection. but i dont need all the 15 values. i need only 4 values for selection..can any one help me regarding this...
    waiting for ur reply...
    Uday.
    Edited by: uday13 on May 31, 2010 9:17 AM

    Hello,
    Refer the below code and you can provide your own search help to a parameter depending on the value in another parameter:-
    PARAMETERS : p_belnr TYPE belnr,
                 p_bukrs TYPE bukrs.
    DATA : BEGIN OF itab OCCURS 0,
             bukrs TYPE bukrs,
           END OF itab.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_bukrs.
      PERFORM f4_bukrs_help USING p_bukrs.
    *&      Form  f4_bukrs_help
    FORM f4_bukrs_help USING p_bukrs.
      DATA : itab TYPE STANDARD TABLE OF it WITH HEADER LINE,
             tb_dynpfields LIKE dynpread OCCURS 0 WITH HEADER LINE,
             v_belnr TYPE belnr.
      CLEAR:   tb_dynpfields.
      REFRESH: tb_dynpfields.
      MOVE 'P_BELNR' TO tb_dynpfields-fieldname.
      APPEND tb_dynpfields.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname                               = 'Z_F4' "program name
          dynumb                               = '1000' "screen number
        TABLES
          dynpfields                           = tb_dynpfields
      IF sy-subrc NE 0.
      ENDIF.
    READ TABLE tb_dynpfields INDEX 1.
      IF sy-subrc EQ 0.
        v_belnr = tb_dynpfields-fieldvalue.
      ENDIF.
      SELECT bukrs from <db_table> INTO TABLE itab WHERE belnr = v_belnr.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield               = 'BURKS' "internal table field
          dynpprog               = 'Z_F4' "program name
          dynpnr                 = '1000' "screen number
          dynprofield            = 'P_BUKRS' "screen field name
          value_org              = 'S'
        TABLES
          value_tab              = itab "internal table
      IF sy-subrc NE 0.
      ENDIF.
    ENDFORM.                    " f4_bukrs_help
    Hope this helps you.
    Regards,
    Tarun

  • How to restrict Availability check for a particular storage location

    Dear all,
    As per the Business requirement, System should not consider the stock in a particular storage location.
    while sales order creation, system should not confirm the requested delivery date based on the stock available in that particular storage location.
    How could we map this requirement in SAP, Please educate me to resolve this issue. Your suggestions will be highly appreciated.
    Thank you,
    Raghu Ram.

    Dear Lakshmipati,
    as you said correctly this storage location is there in MMSC for the article which we are using in Sales Order.
    I have tried to delete this storage location but system is not allowing to do so.
    I could not understand, from where this storage location is being determined. we have not mentioned any where in article master data.
    please help us to resolve this issue, and thanks for your help in advance.
    thank you
    Raghu Ram

  • Restrict an iview for a particular set of users

    Hi,
    I would like to restrict an iview for a particular set of users.
    Please let me know how to do that
    Points will be rewarded for sure for the helpful answer
    Thanks
    Bala Duvvuri

    Hello,
      Option 1: create a separate role and assign to those set of users.
      Option2: if its custom developed iview(PAR/Webdynpro java), by using (UME service AP)java code  we can find those users and we can restrict content of iview(create a uinique group and  while executing iview , if the user belongs to this group show a message u don't have authorization to execute this iview).
    To me option is good  and easy.
    Regards
    malli.....

  • How to restrict the GR for Production Order when Goods Issue is not done

    Hi Gurus
    How to restrict the GR for Production Order when all the required components for production order are not issued with all required quantity. Even for partial issue system should not allow GR with 101. The user status with RMWA, RMWF & CGFB is not working.
    Pls suggest best solution.
    Abhijit.

    Hi,
    You can club together the GI nad GR at the time of confirmation..
    I.e Backflush for the components and auto GR for the Product.
    So that you can stream line the Process.
    The best Option would be to use the User Exit:
    Enhancement - MBCF0002
    Functional Module - EXIT_SAPMM07M_001
    Include - ZXMBCU02
    Refer below link for further details..
    How to stop the goods receipt before issueing the goods for production orde
    Regards,
    Siva

  • Maintaing a default value for a particular field in the selection screen

    Hi all,
    How to maintain a default value for a particular field in the Selection Screen of a Standard report
    Regards
    Ajay

    >
    ajay babu wrote:
    > Hi all,
    >
    > How to maintain a default value for a particular field in the Selection Screen of a Standard report
    >
    > Regards
    > Ajay
    Create a variant for your standard program and assign this variant to the field 'Start with variant' while creating transaction code for the standard program in the transaction 'SE93'.
    Regards
    Rajesh.

  • How to find condition  type for a particular material document no.

    hiiiiii
    How to find condition type for a particular material document no.

    Hi
    Condition types are maintained at PO level
    Take the EKKO-KNUMV and pass to
    KONV-KNUMV field and take the different condition types values from KONV
    Take the Material Document No (MBLNR) and pass to MSEG table and take the EBELN field and from EKKO table take EKKO-KNUMV field and pass to KONV
    see the table T685 for different condition types.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to trigger a badi for a particular screen of a transaction alone?

    friends
    am trying to issue an error msg. in the PAI of the screen SAPMQEVA (0102), which belongs to QA11/Usage decision..In the method PUT_DATA of implementation QEVA_SUBSCREEN_1101, am able to capture all the screen fields..but the problem is there are two tabstrips (Defects, Inspection Lot stock), i want to trigger the msg only in the PAI of SAPMQEVA (0102), i.e the last tabstrip (Inspection Lot stock)..but this badi triggers in every pai of QA11 and issues the error msg..but the values of the screen fields of the last tabstrip are getting filled only in the PAI of the same, but how to trigger it for the PAI of the last tabstrip alone..no parameters in the method seem to have screen no. or okcode...hav tried with badi INSPECTIONLOT_UPDATE, which doesn't solve the purpose...pl suggest
    regards
    Sathish. R

    hi
      tx for answering...i have tried in all the user exits, including the one that you mentioned, but in none of them the UD data or storage loc. data sits in..only in the badi that i've mentioned i get all the data of the screen fields...how to make it trigger for that particular screen alone, is that doable?
    regards
    Sathish. R

  • How to show default values for properties managed by UUP

    Is there a way to load default values of properties from an external source while
    associating a user with property sets managed by UUP ?
    We are trying to write a Custom User Profile using UUP so that some of the User
    Profile attributes can be stored using an existing Oracle database schema. But
    the values for some of these properties(Profile property set attributes) has to
    come from another table which already exist. So the idea is that when a new user
    is being associated with the Custom property set using Portal Admin Tool, the
    available values for an individual property has to be pulled from from a database
    table. Like when selecting a user's home city he can select the name of all cities
    already existing in a database table.
    I couldn't find a way to do this using the EntityPropertyManager. Anyone has
    any idea how to do this?
    Thomas.

    Hi Thomas,
    Yes, the UUP framework is flexible enough for you to easily load default
    values of properties from some external source. You can do this if you
    deploy your own UserProfileManager that uses a custom PropertySetManager.
    When UserProfileManager.getProperty() is called, it looks for the property
    for that user and then for the user's implicit and explicit successors
    (implicit = persisted for that property set, explicit = given as an argument
    in the method call)...if it doesn't find the property (gets null) then it
    does this:
    PropertySet set = getPropertySetManager().getPropertySet(
    getPropertySetType(), propertySet );
    if ( set != null )
    PropertyDefinition def =
    set.getPropertyDefinition( propertyName );
    if ( def != null )
    result = def.getDefaultValue();
    Check out the javadoc for the classes I have mentioned and check out the
    ejb-jar.xml depoyment descriptor for the UserProfileManager in usermgmt.jar:
    <!-- property set manager -->
    <ejb-ref>
    <ejb-ref-name>ejb/PropertySetManager</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.bea.p13n.property.PropertySetManagerHome</home>
    <remote>com.bea.p13n.property.PropertySetManager</remote>
    </ejb-ref>
    There are two options for deploying a UUP: 1) use the default
    UserProfileManager deployment with your custom EntityPropertyManager
    deployment, or 2) use your custom deployment of the UserProfileManager with
    your custom EPM deployment.
    In almost all cases, option 1) is done. However, in your case, you need to
    modify the behavior of the UserProfileManager so you must redeploy a
    custom-configured version. This means you will have to register a new
    ProfileType for your users with the DD for the UserManager EJB (because your
    special users don't use the default UserProfileManager) like this:
    <ejb-ref>
    <ejb-ref-name>ejb/ProfileType/WLCS_Customer</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.bea.commerce.ebusiness.customer.CustomerProfileManagerHome</home>
    <remote>com.bea.commerce.ebusiness.customer.CustomerProfileManager</remote>
    </ejb-ref>
    If you didn't need to retrieve the default values from your own data source,
    here is how you could get the default values using the default deployment of
    the UserProfileManager:
    * use the EBCC to create a property set (a.k.a "user profile") that matches
    your UUP property set name. Create the properties in this pset and the
    default values. When the UserProfileManager.getProperty() call fails to
    find the property value in your UUP (gets null) it will use the default
    PropertySetManager to get metadata about that property from the Portal
    schema (which you just set up using the EBCC) and it will return the default
    value that you set in the EBCC.
    I recommend you study the 2 options for deploying a UUP, especially the
    option for deploying a custom version of the UserProfileManager by checking
    out the sample UUP on dev2dev.bea.com and by looking at the Portal 4.0 docs.
    I don't know if the 7.0 docs have as much detail about this. Also, when you
    sit down to implement your custom PropertySetManager you may have to contact
    support for some of the details. For instance, how to instantiate a
    PropertySet.
    Ture Hoefner
    BEA Systems, Inc.
    www.bea.com
    "Thomas KJ" <[email protected]> wrote in message
    news:[email protected]...
    >
    Is there a way to load default values of properties from an externalsource while
    associating a user with property sets managed by UUP ?
    We are trying to write a Custom User Profile using UUP so that some of theUser
    Profile attributes can be stored using an existing Oracle database schema.But
    the values for some of these properties(Profile property set attributes)has to
    come from another table which already exist. So the idea is that when anew user
    is being associated with the Custom property set using Portal Admin Tool,the
    available values for an individual property has to be pulled from from adatabase
    table. Like when selecting a user's home city he can select the name ofall cities
    already existing in a database table.
    I couldn't find a way to do this using the EntityPropertyManager. Anyonehas
    any idea how to do this?
    Thomas.

  • How to set default values for boolean columns

    I'm trying to deploy some content types and columns into a site with a feature. All it's ok, except that I'm trying to set a default value for boolean columns with no success.
    I've tried to set default value at column level:
    <Field ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DisplayName="Se publican noticias en español"
    Type="Boolean" Hidden="FALSE" Group="Columnas ShaCon" >
    <Default>TRUE</Default>
    </Field>
    and at content type level:
    <FieldRef ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DefaultValue="TRUE" Required="TRUE" />
    But in any case, when i create a new item with this content type, default value is applied.
    Can anyone tell how to set default values for boolean columns?
    Thanks in advance,
    Regards,
    Sergio

    In the field definition you can set
    <Default>1</Default>
    or
    <Default>0</Default>
    How to set the default value Null?

  • A^b = n ,How to get the value for a ?

    a^b = n ===> n = Math.pow(a,b)
    How to get the value for a ?
    dose Java have API to get the value for a ?
    Thanks for help~~~

    a^b = n
    =>
    a = n^(1/b)
    So,
    a = Math.pow(n,1.0/b)

  • How to define a Value for an Attribute of an Class

    Hi,
    How to define a Value for an Attribute of a Class ...
    ( I need to change the value of an Attribute of a class in standard program ....
    Ex...
       cl_hrce_masterswitches=>infotype_framework_is_active
    Here infotype_framework_is_active is the attribute .. its value in standard program is 'X'... Now i need to change it as '  '.
    How to define it and set value as ' '.

    Hello Surendar
    The static attribute INFOTYPE_FRAMEWORK_IS_ACTIVE is read-only and there is not SETTER method to manipulate its value.
    However, the attribute is filled in the CLASS_CONSTRUCTOR:
    METHOD class_constructor.
        IF ce_is_active                 = true OR
           global_payroll_is_active     = true OR
           mngmt_global_empls_is_active = true.
          infotype_framework_is_active = true.
          perid_infotype_is_active     = true.
        ELSE.
          infotype_framework_is_active = false.
          perid_infotype_is_active     = false.
        ENDIF.
    ENDMETHOD.
    Thus, you need to analyze how attribute CE_IS_ACTIVE, GLOBAL_PAYROLL_IS_ACTIVE and MNGMT_GLOBAL_EMPLS_IS_ACTIVE are filled in the CLASS_CONSTRUCTOR.
    For sure you will find customizing settings that are responsible for this.
    Regards
      Uwe

  • How to insert / Update value for PFAKT in BP Relationship

    Hi Friends / Experts,
    How to insert the value for PFAKT ( Function value ) in BP Relationship in BP tcode , in SAP CRM.
    I have tried it but it BAPI_BUPR_CONTP_CREATE. But I need it with BAPI_BUPR_RELATIONSHIP_CREATE Function Module.
    Please help me out.
    Any Enhancement points in BAPI_BUPR_RELATIONSHIP_CREATE or any user exists. Please let me know.
    Regards,
    KMF.

    you can also acheive this using MERGE( available in sql 2008 and above).
    also, you are referring to DTS. DTS is legacy solution now..are you using sql 2000,  you can use ssis, if you want and it available in sql 2005. as said, there are multiple ways you can do this.. it find the below one a easy solution, since your are
    talking about only one table.. 
    try this example..
    create table test1(sno int primary key,sname varchar(20),scity varchar(20))
    go
    create table test2(sno int primary key,sname varchar(20),scity varchar(20))
    go
    insert into test1
    values(1,'stan','atlanta'),(2,'william','newyork')
    go
    insert into test2
    values(1,'robin','orlando')
    go
    --set this in you sql job and let it run for every half an hour
    MERGE test2 t2
    USING test1 t1
    ON t2.sno = t1.sno
    WHEN MATCHED THEN
    UPDATE
    SET t2.sname = t1.sname,t2.scity=t1.scity
    WHEN NOT MATCHED by target THEN
    Insert(sno,sname,scity)
    values (sno,sname,scity);
    go
    --check this table and clean up
    select * from test2
    go
    drop table test1
    go
    drop table test2
    Hope it Helps!!

  • How to calculate acquisition value for specified day

    Hi,
    in my z program I have a problem how to calculate acquisition value for my asset for specified day.
    Example:
    I have asset created 8.7.2008 with TTYPE 104 (External asset acquisition) with value 5950.
    30.11.2008 there is another TTYPE 272 (Retirement of current-yr acquis., w/o revenue) with value 950.
    So BEFORE 30.11.2008 acquisition value is 5950. After is 5000. Is there any function module (or something else) in SAP system where I can send asset number and date a it return to me acquisition value for that day?
    Many thanks for any answer!

    Hi,
    your suggestion means that I have to compute acquisition value by myself (sum all TTYPE 1** - sum all TTYPE 2**). So SAP does't provide such functionality (LDB ADA have it, because it can compute acquisitiob value for specific day)?
    Mant thanks for answer

Maybe you are looking for

  • I have 60,000  photos on my iPhoto 08.  Now it won't open.

    I've been opening it w/o problem until yesterday, it decided not to open.  I have tried using iPhoto Library Manager, I have started a new Library and downloaded pics which works fine.  I have tried to reopen the old Library, but it just hangs.  I ha

  • How to create payment term '90 days after Bill of lading + 7 days after...'

    Hi all, I was wondering how you can create this special payment term: "90 days after Bill of Lading, the calculation of the Net Due Date has to start 7 days after the invoice date". 90 days after Bill of Lading is no problem to create. The start of t

  • Issue during drag and drop in vb

    Hi Uwe, I want an urgent help on the following scenario. When i do a drag and drop anywhere on vb other than a link or spot.The screen freezes and when i try to do at lead selection on any of the FPM objects at the same time I get an assert condition

  • Firefox has become corrupted after update

    Well...the title or were the question should be says it all, it happened not to long ago like 5 min. ago after a routine up date firefox didn't open. I figured well this has happened before so I went through the usual and restarted my computer, that

  • Two internal hd in macbook pro, run windows 7 and storage on optical bay hd

    Hi, I've yet to do this, but I would like to put a 1tb hdd where the optical drive is. Ideally I want the ssd, which is currently where the hard drive normally is, to have osx on it, and the optical hdd to have Windows 7, and also be used for os x st