Control display fo custom field

Hi,
We are on SRM 7.1 ECS.
We ahev a requirement to create a custom field under BASIC DATA tab in shopping cart screen but we would like to display this field only if the item is a service item.
In SRM 5,we had to implement the badi BBP_CUF_BADI_2 for the same reqt.
But in SRm 7,how do we implement this?
Thanks.

Hello,
Customzie below entries in
SPRo-> Configure Control field->Configure Control for Fields on Item Level->Metadata for Fields on Item Level
Structure Field Name Z_fields
Bus. Object Type BUS2121
Bus. Object Subtype
Transaction Type SHC
Field visible : X
Field enable : X
Dyn. Customer Class  z_CL_ITM_DYN                   
Dyn. Customer Method /SAPSRM/IF_MDF_ITM_DYN_CONTROL~CHANGE_METADATA
Create a Class z_CL_ITM_DYN with interface
/SAPSRM/IF_MDF_ITM_DYN_CONTROL and in method give /SAPSRM/IF_MDF_ITM_DYN_CONTROL~CHANGE_METADATA
In this Method /SAPSRM/IF_MDF_ITM_DYN_CONTROL~CHANGE_METADATA
use code below:-
DATA : ls_sc_item    TYPE bbps_sc_item_badi.
     MOVE-CORRESPONDING is_item TO ls_sc_item.
         IF condition
          IF iv_field_name = Z_fields .
             cs_metadata-visible   = abap_true.
             cs_metadata-enabled   = abap_true.
             cs_metadata-required  = abap_false.
          ENDIF.
         ENDIF.
Regards,
Neelima

Similar Messages

  • Displaying new custom field in

    hi all expert again!
    i created a new field in order.jsp. but i have no idea how to display this new field with value in orderstatusdetail.jsp, which user click on history link on the right side. this value should be collected from FM or extension table? can you let me know which java action to be interrupted to add this in? 
    can you all guide me please?
    thanks!
    appreciated your help.
    Shanti

    Shanthi,
    1. Create a custom action ZMaintainBasketDispatcherAction. Extend the MaintainBasketDispatcherAction. In this write logic for the customerExitDispatcher method to forward to a custom action when the simulation is done.
    Ex: String actionSimulate = (String)parser.getRequest().getParameter("simulatepressed");
              if (actionSimulate!=null && actionSimulate.length() > 0) {
                   zforwardTo = "zsimulate";
    2. In config.xml add a new entry for zsimulate and provide another action class like zsimulationaction.java
    3. Here read the value of the field from the request and set it to the extension data of header/item based on the field location in order.jsp.
    Ex: preOrderSalesDocument.getHeaderData().addExtensionData("obj","value");
    4. Create a custom backend object for Order / Quotation. There, create instance for the ZCreateStrategy which will extend the CreateStrategy.
    5. You will have a user exit available performCustExitBeforeR3Call where you can read the extension data that you set earlier
    Ex: document.getHeaderData().getExtensionData("obj")
    6. YOu can pass this data to backend FM which will be SD_SALESDOCUMENT_CREATE.
    7. After function module is executed. implement the user exit performCustExitAfterR3SimulateCall
    8. Again set the value back to the extension object.
    document.getHeaderData().addExtensionData("obj","value")
    9. Now in the ordersimulate.jsp read the extension obj and display it.
    Hope this helps.
    Pradeep

  • PPOME - org. unit - how to display a custom field in Basic Tab

    Hi gurus,
    I would like to show in detail box - basic info tab, a field added to IT P1000, to gather additional info's about the selected organizational unit.
    Can anybody tell me where to start? I goggled a lot but I didn't find any useful information.
    Thanks in Advance
    Paolo

    I have not added the Custom filed in the main screen and added in the Additional data B screen. So closing the message.

  • Customer fields do not display in cProj 4.5

    Hello,
    I am trying to customize customer fields with the 'Define Field Groups for Customer Fields' IMG activity
    I am using following steps to do this:
    1. Enhance database tables for customer fields
    2. Create field groups for customer fields
    3. Assign customer fields for fields groups
    4. Define fields groups per project type
    5. Save and open cProjects
    But when I start the application only the main tab and sub tabs can be seen. Other customer fields are not seen.
    Does someone has an idea what is going wrong with it and where I can start searching the problem?
    Thx, Vanessa

    Hello Vanessa,
    there is one more step that needs to be done in the customizing:
    You have to set up a field control for your customer fields (IMG activity 'Set Up Field Control'). Here you define the conditions when these fields are displayed, hidden etc...
    If you have no field control, these fields will be always hidden.
    Please do not change the standard field control 0SAP but rather copy it to your own and adapt it according to your needs. Please refer also to the available IMG documentation.
    Afterwards, this field control needs to be assigned to your project type (IMG 'Define Project Types').
    Regards,
    Silvia

  • Adding custom fields in table control of PO

    Hi Everyone,
    I have a requirement which i need to display the custom fields in the Table Control(Item Overview) of PO. Since our Version is 4.6C there is no badi's avilable to do the changes. Please let me know how can we solve this problem.
    Mentors: Forgive me if it is repeated Post...
    Edited by: subas  Bose on Feb 5, 2010 12:10 AM

    Hi,
    Search for user exit...either screen or field exit..this will solve your problem.
    Small help on how to find a exit;
    1. find out the package
    2. go to se84 with the help of package in the cutom exit tab look for all the exit.
    3.put the brek point and tack where you can get the solution.
    Pooja

  • 2 Custom Fields-create and display

    In addition to the standard fields available within the Whou2019s Who service, we need to create and display 2 custom fields within the employee search functionality in ESS. 
    Can someone walk me through the steps please?

    Hello,
    There are 2 sections of search available.
    1 is normal search and 1 is advances search.
    Well for advanced search you can very much follow my earlier reply.
    And you can also have a look at below thread...
    ESS Who is Who - Add search criteria
    I guess you want to add extra field in normal search.
    I am not sure how to do it....as Siddharth (In link I pasted above) says that he himself have never seen any changes in normal search.......
    But still you can give below method a try.....
    http://wiki.sdn.sap.com/wiki/display/profile/ESS%2bPersonal%2bInformation%2bUI%2benhancement%2bwithout%2bmodification?bc=true

  • Tabular Customer Fields - SC & Bid Invitation - Unable to display

    Hi,
    I am facing difficulty in displaying tabular customer fields for Shopping Cart and Bid Invitation. I have followed the steps given in the Consulting Note 672960.
    I have added 3 fields for the append structures of INCL_EEW_PD_ITEM_CST, INCL_EEW_PD_ITEM_CST_SC & INCL_EEW_PD_ITEM_CST_BID.
    Per Note 672960, Once the structures have been activated, the tabular customer fields will be displayed on the screen. But I am not able to see them under Shopping Cart Item level Basic Data Detail Screen as well as for Bid Invitation.
    Any thoughts or Am I missing some steps here.
    thanks, Ram P

    The SAP Note also says the following:
    =====
    If you define fields for the first time, the system generates a screen for the display. If you create or delete fields, the screen must be regenerated. To do this, start report BBP_DYNPROS_GENERATE, change the proposed program to SAPLBBP_PDH_CUF and execute the report. Select the checkbox for the screens with the descriptions BBP_PDS_HCF for the table-like fields at the header and/or with the description BBP_PDS_ICF for the table-like fields at the item. You can use the 'Copy' button to enforce a regeneration of the screens.
    =====
    You may want to regenerate the screen according to the Report: BBP_DYNPROS_GENERATE.
    But adding to Structure: INCL_EEW_PD_ITEM_CST_SC, INCL_EEW_PD_ITEM_CST_BID and INCL_EEW_PD_ITEM_CST should have worked if everything referencing these structures are compiled and activated correctly.
    Hope that helps,
    stirfry...today is 'tofu'

  • Vendor as customer ( clearing with customer field)

    Hi
    Iam customer number in control view of vendor master
    i think nest i have to check the clearing with customer indicator, but iam not finding this field. help me out with the navigation for this field
    chris

    hi
    If a vendor is a customer then you need to
    i) First create a master for the customer
    ii) Mention the name of the created customer in the master data of the vendor in the control view under Account Control in the Customer Field (LFA1-KUNNR)The customer number is used by the payment and dunning programs for clearing open items. For line item display, the link to the customer line items is established using this number.
    If you require clearing between the customer and vendor, the following requirements must be met:
    $ The customer number must have been entered in the corresponding vendor master record.
    $ The vendor number must have been entered in the corresponding customer master record.
    $ The fields "Clrg with vend." or "Clrg with cust." must have been selected in both master records.
    Kindly let me know if it is useful
    regards
    kunal

  • Custom fields in PO item Overview

    Hi Everyone,
    I have a requirement which i need to display the custom fields in the Table Control(Item Overview) of PO. Since our Version is 4.6C there is no badi's avilable to do the changes. Please let me know how can we solve this problem.
    Mentors: Forgive me if it is repeated Post...

    Hi,
    Search for user exit...either screen or field exit..this will solve your problem.
    Small help on how to find a exit;
    1. find out the package
    2. go to se84 with the help of package in the cutom exit tab look for all the exit.
    3.put the brek point and tack where you can get the solution.
    Pooja

  • Problems with custom fields

    HI all,
    I've worked in several projects with SRM 7.0 and when I add custom fields to SC, PO... I do always the same steps and works fine. But in my new project is not working, the fields are not displayed in portal and I don't know why.
    The step I've followed are:
    SPRO:
    SAP Supplier Relationship Management -> SRM Server -> Cross-Application Basic Settings -> Extensions and Field Control (Personalization) :
    - Configure Customer Fields -> Define Customer Fields on Item Level:
    I've added the fields in the structures: INCL_EEW_PD_ITEM_CSF and INCL_EEW_PD_ITEM_CSF_SC.
    - Configure Field Control -> Configure Control for Fields on Item Level -> Metadata for Fields on Item Level:
    I've added my fields there, with the correct Obj. type and I've checked Enabled and Visible. (I haven't dynamic classes)
    With this the fields must appear in portal, but aren't displayed...
    It's strange because I've even added one of these fields manually in the component /SAPSRM/WDC_DODC_SC_I_BD, adding a label and an input field, and I can see it in the layout but not in portal...
    I've tried also to add some entries in SPRO in "Configure Generic Field Display on User Interface" but still not working...
    I've checked also the component configuration and it seems it's all ok.
    Any idea what's happens ?
    Thanks in advance.

    Hi Ricardo.
    I got the same issue as you described. I try to add a custom field to SOCO in SRM 7.0.
    I followed your instructions as below and those are done:
    "Configure Customer Fields -> Define Customer Fields on Item Level:
    I've added the fields in the structures: INCL_EEW_PD_ITEM_CSF and INCL_EEW_PD_ITEM_CSF_SC.
    - Configure Field Control -> Configure Control for Fields on Item Level -> Metadata for Fields on Item Level:
    I've added my fields there, with the correct Obj. type and I've checked Enabled and Visible. (I haven't dynamic classes)
    With this the fields must appear in portal, but aren't displayed..."
    The issue starts from here:
    "With this the fields must appear in portal, but aren't displayed..."
    How did you solve the problem , what was the customizing issue of you?

  • Read only custom field for particular user

    Hi,
    I have requirement to few enterprise custom field should be edited by only top management,Project manager and team member can only read the same field.
    Like i have one custom enterprise  baseline finish date,which need to update by only IT GM,and other staff can see only as read mode.
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
    |
    | Twitter

    Hasan,
    You have few options, based on the route you want to take"
    1) You could control the "Visbility" of the fields, via using a feature like
    Target Audiences .
    However,this may not  control the same custom field on the page based on user permissions.
    2) Use JavaScript: https://badalratra.wordpress.com/2013/05/04/how-to-disable-pdp-custom-fields-using-javascript/
    3) Jquery: http://epmainc.com/blog/locking-custom-fields-pdp-project-server-2013-using-jquery
    4) Customization: https://epmxperts.wordpress.com/2014/01/20/secure-pdp-pages-as-per-project-server-security/
    5) You could look into a third part product, by Fluent Pro: https://help.fluentpro.com/pdp_manager/start
    I realize these may not be exactly what you need, but with some effort, I am sure you could modify the code and reuse.
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • Extending the Search Object of a BOL Entity  with custom fields

    Hi All,
    I have to enhance the structure of the BOL search object 'BuilHeaderSearch' with custom fields!.
    i went to the transaction genil_bol_browser and find out the structure of the object as, 'CRMST_HEADER_SEARCH_BUIL'
    how can i insert custom fields into this structure, so that i can display these custom fields at the Front end ( Web IC ).
    Thanks in advance,
    sudeep v d.

    Hi Sudeep!
    First of all it should be mentioned that: it is NOT possible to change list of <b>SEARCH</b> criteria in IC!
    So, in other words, you can search BP ONLY by params listed in native structure 'CRMST_HEADER_SEARCH_BUIL'.
    BUT: You can <b>FILTER</b> search results!
    For example: you get the list of BP with MC_NAME1 (lastname) search criteria (only by SAP class!)and THEN you can filter (delete from list) by YOUR criteria (in your class!).
    Is it clear?
    So how to add your own criteria?
    1. Transaction GENIL_MODEL_BROWSER - Model Browser forGen.IL Applications
    2. Component Set - ALL
    3. Search Objects -> BuilHeaderSearch -> Attribute Structure ->CRMST_HEADER_SEARCH_BUIL (Dbl Click)
    4. Append Structure (or F5)
    5. Name the new sub-structure and provide all new fields
    So now you can use this new fields in IC Z-classes.
    I had the same task and nobody in SDN could help - so I had bought new SAP_book: <a href="http://www.sappress.com/product.cfm?account=&product=H1909">mySAP CRM Interaction Center</a> because in Contents there were:
    <b>"Extending the Business Partner Search in IC WebClient by New Search Fields"</b>.
    So in fact it is not truth: it is not possible to <i>extend search</i>. You can only filter results!
    <b>BUT</b>!
    It is not the end of my post! I hope that SAP people will see this post. I found a BUG in SAP classes and methods: it is not possible to navigate to first position in collection wraper!
    exactly:
    lr_current ?= entity_col->if_bol_bo_col~get_first( ).
    doesn't work.
    So position of cursor puts on second record in structure!
    In other words it is not possible to filter the first record in search result! And so new search is not efficient
    I think that is is bug and wait for comments of SAP.
    <b>Reward points if it helps.</b>
    Regards,
    Alexander

  • Adding custom fields in Contract and PO screen

    Hi Experts
    I am trying to enhance contract and PO screen by creating structure Ci_bbp_hdr_ctr and Ci_bbp_hdr_po
    Now I am able to display the required fields on the screen.
    Is there any other way to do the same??
    I want to change the position of the fields, how to achieve that??
    and How to display drop down fields??
    Reg,
    Rajesh.

    Hi Rajesh,
    To add the customer fields please have a look at the following OSS Notes:
    Note 458591 - User-defined fields: Preparation and use
    Note 672960 - User-defined fields 2
    Also go through the following blog:
    /people/nanda.kondagunta/blog/2006/10/23/how-to-create-custom-fields-in-srm
    To display the customer field as drop-down list go through the below given thread:
    Re: How to display Customer Fields like a dropdown listbox ?
    The position of the customer fields depends on the order you added them in the Incluse structure as per the OSS Notes 458591& 672960. If you added a customer field first then it would appear first simlarly if you have added it at the end of the structure it will appear towards the end of the screen.
    Hope this helps.
    Thanks,
    Pradeep

  • Custom field not visible for Project task in PPM 5.0

    Hi,
    I have done the SPRO configuration required to add a custom field in Project task
    1. Enhance DB table. added  the field in structure DPR_TS_TASK_EXTENDED_ATTR, object type TTO
    2. Define field groups for custom fields
    3. Set up field control.
    The custom field tab has come after making SPRO changes. But the field is not visible on the tab.
    Please let me know if I am missing any steps.
    Thanks,
    Yomesh

    Dear Yomesh;
    You have to config the view or subview at:
    SAP Portfolio and Project Management -> Portfolio Management -> Global Customizing -> Global Field Settings -> Assign Fields to Views/Subviews
    Here try to to setup the view that you want to see the custom field.
    Hope you help you.
    Regards.
    Mariano

  • Custom field not getting displayed in SUS PO item level

    HI all,
    We are using SRM 5.0, ECC6.0 and ECS scenario.
    As per SAP note 762984, we have enhanced the structures such as :
    INCL_EEW_PD_ITEM_CSF_SUSPO
    INCL_EEW_PD_ITEM_CSF
    and have added a record in the following place in SPRO:
    Supplier Relationship management-> Supplier self service->Make field control settings for tables.
                  | Item   | Display | Z.PO.ITM.VIEW
                  | Item   | Change  | Z.PO.ITM.EDIT
    But we are unable to display the field in the SUS screen.
    We had also referred to the following blog :
    /people/yeusheng.teo/blog/2008/01/05/ordering-unit-vs-order-pricing-unit-in-srm-sus
    but had no success.
    Please let us know if we did something wrong or are we missing something.
    Also please let us know if BSP changes are really necessary to do this as neither in the SAP note nor in the above mentioned blog, there is any mention about this.
    Regards
    Kishan

    Hi Bharadwaj,
    Thank you for your inputs. I executed the program but it didn't display the field.
    But I was able to rectify it by re-creating the steps mentioned in the blog (see original post). I had missed giving correct positions to the custom field.
    Regards
    Kishan

Maybe you are looking for

  • Satellite C855D-S5209 DVD drive does not read dvds

    I was trying to install some software for the first time on my Satellie laptop and the dvd drive was unable to read or recognize the dvd installer discs.  Any help would be appreciated thanks.

  • Problem in creating DB Link - Please help

    Hi , I created a DB Link with name "CTM_DBLINK". i want to create DB Link with different name but using same server and connection also same. When i am trying this its shows error : "ORA-00933:SQL Command not properly ended." My Query : create public

  • Flash player not buffering

    Accessing websites with streaming flash video is not buffering the video to disk. The play is very jerky. I have changed the 'global settings' to 10MB and even changed one site to 'unlimited'. However, regardless of what change I make the settings sh

  • Files corrupting

    Itunes seems to be corrupting certain files in my music folder. All my files are aiff-c & the ones that Itunes will no longer play looklike they have almost doubled in file size (say if they were originally 40mb, they are now 70mb). There seems to be

  • Free Trial Buy Now Loop Hell!!!!

    Can someone Please tell me how to get rid of the Free Trial Buy Now incessent loop, it is blocking my fullversion I paid for from FoundationEd!