Creation of User defined field in Shopping Cart

Hi All,
We are using SRM 4.0, we have requirement to have MRP controller field on basic data screen of shopping cart(for services as well as material). This field will get transferred to R/3, based on which release strategy will get triggred.
We have table in which we maintain user & his MRP controller. Requirement is that the MRP controller filled should get filled with the table value (in case of shop on behalf, MRP controller should of respective user on whose behalf the SC is being created).
I know how to create the field. I want to know the flow/logic to achieve this.
Please give suggestion to me.
Thanks & Regards,
Ajay Pakhale
Edited by: Ajay Pakhale on Jun 10, 2008 7:19 PM

Re: BBP_CUF_BADI_2
Re: Custom screen
Re: badi for custom field check
Re: Control Busniess Area Field in Account Assignment..
Re: CUF display or input

Similar Messages

  • Creation of User Defined Fields

    Hi all,
    i'm developing an add-on on SAP B! and i need to create some user fields.
    I've seen that if I create a user field from SAP menu, on document rows, the field is replicated on several table on the DB (watching CUFD table).
    If i create the user fields from SDK, using the UserFieldMD object, do i have to specify each table where the field must be created, or there's a way to simulete the beahviour of SAP menu option?
    Thanks in advance.
    Nick

    Thanks Again, GIanluigi, i try to be more explicit.
    Let's say that my addon uses the user field U_MYFIELD, so before i start using my addon i have to create this UDF at installation time. The Code i write to create this field is the following:
            ' Sample User Field
            oUserFieldsMD.TableName = "OWHS"
            oUserFieldsMD.Name = "U_MYFIELD"
            oUserFieldsMD.Description = "Sample Field"
            oUserFieldsMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
            oUserFieldsMD.EditSize = 2
            '// Adding the Field to the Table
            lRetCode = oUserFieldsMD.Add
            '// Check for errors
            If lRetCode <> 0 Then
                oCompany.GetLastError(lRetCode, sErrMsg)
                If InStr(sErrMsg, "Error Creating Field") = 0 Then
                    MsgBox(sErrMsg)
                End If
            End If
    So my qustion is: do i have to write code on my addon to call this while installing? Or the B1DE provide this functionality for me?
    I can't understand where's the panel you're talking about on B1DE, the first panel of my wizard is a panel where it asks me the path of exe file and the path of uiapi and diapi.

  • Passing user-defined field to Backend system

    Hi All,
    Please advice how we can pass user-defined fields of shopping cart to same user-defined fields in purchase requisition/purchase order in backend R/3 system.
    I know there is parameter IT_CUF_ITEM in BADI BBP_CREATE_REQ_BACK. If anyone know how to pass field values by this parameter or otherwise, it will be very helpful to me.
    Thanks & Regards,
    Kamaljit Singh

    Hello Kamaljit,
    If you want to pass the custom parameters then you can use the badi BBP_CREATE_PO_BACK/BBP_CREATE_REQ_BACK to fill the header/Item level parameters.
    while building the item level parameters internal table, make sure that you are passing the header guid and the item number and the R/3 BackEnd table name,Fieldname(R/3 Custom Fieldname) with the value(SRM Custom field value).
    Hope this information will be useful to you.
    Regards,
    Mani.
    Please assign points for usefull answers
    Message was edited by: Mani Sreedharala

  • Drop box for User defined field

    Hi,
    I need to add some customer field with PO basic data .
    I have added in PO basic data as per 672960 .
    Can anybody let me know how can I place Drop box to this field .
    Thanks,
    SS

    Hi
    <u>As everybody told earlier, you first need to create Data Element using SE11 Transaction.
    Then a new custom domain element using same SE11 Transaction.
    For this domain, you need to maintain fixed values under the value range tab
    say you maintain 2 values
    X -> Selected
    ' '   -> Not selected
    Then the user-defined in the shopping cart will provide you drop-down list and will not allow you manaully enter anything else than the fixed range values maintained at the domain level.</u>
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • How to hide custom fields in Shopping cart depening on user role

    Hi,
    We have some custom fields in shopping cart for basic view. Every thing works fine. Now client is asking to hide all the custom fields based on user role.
    I found some function module to fund roles. now my main problem is unable to find the cusotm filed screen field name.
    When I tryed to find the screen field name using BBPSC02/03, its giving 'GT_DISPLAY_100-FIELD'. If I try to use this field, its not working.
    Could you pls tell me how to find custom screen filed name to hide in shopping cart.
    Thanks,
    Ram

    Hi Ram,
    As Laurent suggested,to hide the custom fields based on the user role,you need to implement the logic in BADi "BBP_CUF_BADI_2".
    You have the importing parameter IV_USER in this BADI.
    Pass this parameter to tables AGR_USERS and AGR_USERT  to get the user role
    OR
    Use FM: BAPI_USER_GET_DETAIL
    with USERNAME= user id and can retrieve Table: ACTIVITYGROUPS Field:AGR_NAME
    if you want the otherway around
    you can also use FM: RSRA_USERS_OF_AGR_GET
    with I_AGR_NAME= role and you can retieve Table: ACTIVITY_GROUPS_USERS Field: UNAME(usr Id)
    Then check the value for the User role as obtained using the above steps and accordingly set the property for the custom fields to hide them.
    BR,
    Deepti.

  • New Customer Field in Shopping Cart (SRM) with default value

    We have requirement to add new Customer field in Shopping cart (SRM 4.0) and assign a default value to it.
    We have added the custom field and also assigned default value 'X' to it using BADI BBP_CUF_BADI_2 method MODIFY_OUTPUT. Problem we are facing is in case user changes the value and unchecks the custom field then it gets overwritten by default value once the shopping cart is saved. We have followed steps mentioned in link below in order to add custom field and populate it.
    /people/nanda.kondagunta/blog/2006/10/23/how-to-create-custom-fields-in-srm
    KR Jaideep,

    Dear Poster
    Your thread has had no response since it's creation over
    2 weeks ago, therefore, I recommend that you either:
    - Rephrase the question.
    - Provide additional Information to prompt a response.
    - Close the thread if the answer is already known.
    Thank you for your compliance in this regard.
    Jason Boggans
    SAP SRM SDN Moderator

  • Displaying Custom field in shopping cart header

    Hi all, I know how to add a field to header and item levels of the shopping cart.
    - In the note 672960 it says 'Note that the header fields cannot be displayed for the shopping cart. If you define fields on the header, they can only be filled in BADIs.'
    However,
    We are able to fill in the name of the shopping cart on the third step, which is also a part of header information. Is there a possibility to add a custom field(the user must be able to fill it) and display it in that screen???

    Hi
    <u>To add custom fields to the shopping cart, please try this process -></u>
    <b>Please refer to these links for details -></b>
    Re: SC header CUF ?
    Re: MAP USer SRM defined fields in backend for PO
    Re: HI SRM experts...
    Custom fields to a Bid Invitation
    Addition of custom fields in Contract and mapping it with the fields in SRM
    urgent help request - How to add custom fields to  header BID.
    Re: Add custom fields to Contract Transaction in SRM 4.0
    Custom Fields
    custom fields in Carry out sourcing screen..
    Custom Fields Not Display In Basic Data In SRM 5.5 Server..
    SC : Extended  Search on Header Customer field
    Re: customer field in 3rd step of shopping cart
    Adding fields in shopping cart
    Custom Field in the header of Shopping Cart
    <b>Please refer to these SAP OSS notes -></b>
    <u>Note 458591 - User-defined fields: Preparation and use
    Note 672960 - User-defined fields 2
    Note 822424 - CUF. Customer fields cannot be changed in the bid
    Note 809630 - Customer field in bid invitation and bid - How does it work?
    Note 809628 - Table like customer fields from bid invitation in bid
    Note 798731 - Bid: Bid Inv. Customer fields not visible
    Note 762984 - SRM40-SUS: Implementation of customer enhancement fields</u>
    <b>Please go through the documentation of following 3 Business Add-Ins using SE18 transaction.</b>
    BBP_BUPA_GET_CUF Customer Fields for Vendor Master Data
    BBP_CUF_BADI-Customer Fields. Call-up of User-Defined Screen
    BBP_CUF_BADI_2-Customer Fields. Use of Standard Table Control
    Hope this definitely help.
    Regards
    - Atul

  • How to provide value to a User Defined field thru java code

    I am using OIM 11.1.1.5.
    I have a user defined field called Unique-Customer-Number. This field need to be pre-populated during user creation (using OIM Web UI) and the value comes from a java code.
    Can any of you tell me the high level steps to implement this.
    Thanks!
    Kabi

    Thanks Rajiv,
    I just followed everything on metalink 1262803.1. My console shows the followings during Metadata import.
    weblogicImportMetadata.bat :-
    Starting import metadata script ....
    Please enter your username :weblogic
    Please enter your password :
    Please enter your server URL [t3://localhost:7001] :t3://10.10.99.99:7001
    Connecting to t3://10.10.99.99:7001 with userid weblogic ...
    Successfully connected to Admin Server 'adm_server01' that belongs to domain 'server01'.
    Warning: An insecure protocol was used to connect to the server. To ensure on-the-wire security, the SSL port or Admin port should be used instead.
    Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.For more help, use help(domainRuntime)
    Disconnected from weblogic server: adm_eimsdv1s01
    End of importing metadata script ...
    Exiting WebLogic Scripting Tool.
    How I will I know that my plugin/ event-Handler is registered successfully. Is there any screen where I can see all registered plugins ?

  • Changing description of a field in shopping cart form in SRM Portal

    Hi,
    We have a requirement to change the description/adding a note to one of the fields in Shopping cart creation form in the portal. In the SHOP page, when we click on describe requirement we have an option to choose the product type as Goods or Services in the ADD ITEMS section. Here we would like to add a note for the radio button GOODS.
    I tried to check the source and undertand that it uses the template - bbpsc01/99/saplbbp_sc_ui_its_1000.html
    I'm not sure where I can view this HTML file and also not sure how I can modify this HTML page.
    Please give some pointers regarding the same.
    Thanks,
    Lakshmi

    Hi,
    I could see the HTML code in SE80 -> Internet service -> BBPSC01 -> HTML Template -SAPLBBP_SC_UI_ITS -> Screen 230.
    Can I directly modify the code of this particular screen? Is there any standard procedure that need to be followed to modify the HTML Template?
    Please clarify as soon as possible.
    Note: I have not worked on Internet services before.
    Thanks,
    Lakshmi

  • Addign new customer field in Shopping cart SRM with default value

    We have requirement to add new Customer field in Shopping cart (SRM 4.0) and assign a default value to it.
    We have added the custom field and also assigned default value  'X' to it using BADI  BBP_CUF_BADI_2 method MODIFY_OUTPUT. Problem we are facing is in case user changes the value and unchecks the custom field then it gets overwritten by default value once the shopping cart is saved. We have followed steps mentioned in link below in order to add custom field and populate it.
    [/people/nanda.kondagunta/blog/2006/10/23/how-to-create-custom-fields-in-srm|/people/nanda.kondagunta/blog/2006/10/23/how-to-create-custom-fields-in-srm]
    KR Jaideep,

    Hi,
    In badi BBP_CUF_BADI_2, method MODIFY_OUTPUT,
    are you doing something like this?
    CASE IV_FIELDNAME.
      WHEN 'YOUR_CUSTOM_FIELD'.
        IF IV_VALUE IS INITIAL.
          MOVE 'YOUR_DEFAULT_VALUE' TO EV_VALUE.
        ENDIF.
    ENDCASE.
    Best regards.
    Edited by: Pablo Casamayor on Jul 23, 2009 12:32 PM

  • Adding custom field in shopping cart transaction

    Hello,
    I have done the following things apart from enhancing the INCL_EEW_PD_ITEM_CSF and INCL_EEW_PD_ITEM_CSF_SC structures.
    1) Executed BBP_DYNPROS_GENERATE for SAPLBBP_PDH_SEARCH and SAPLBBP_PDH_CUF
    2) As I realised later that CI_BBP_ITEM_SC and CI_BBP_ITEM were present in the system locally I tried one by one both the methods as follows.
    -Deleting the EEW includes and adding the tracking number in the above CI structures and activating the modify_screen badi with dispaly and input fields as X
    -As this didnt work, I deleted the CI structures and again created EEW inputs so that only EEW structures are present for the customer fields.
    but even then it didnt work. furthermore, I am not able to debug the implementation of badi BBP_CUF_BADI_2 at all from the bbpsc03 transaction.
    2) Carefully followed the notes
    sapnote458591 User defined fields preparation and use
    sapnote672960 User defined fields2
    3) Checked the notes (but didnt apply these as they dont precisely pertain to the item fields of bbpsc03)
    sapnote1016297 Header customer fields are not displayed in bbpsc02
    sapnote1034079 customer fields not visible in shopping wizard
    4) Additionally checking the notes  
    sapnote537392 CUF Cust Filds on the 'Default value for items'
    sapnote710474 CUF.User-defined fields on search screen
    Could you please guide me with any more inputs?
    thank you very much
    rita

    Hi,
    How about note 954391 - Customer fields are not displayed?
    Also check whether you haev extended the proper sructures in note 672960.You need to extend INCL_EEW_PD_ITEM_CSF_SC & INCL_EEW_PD_SEARCH_ITM_CSF_SC for customer fields on item overview .
    You can also use the BADI to BBP_CUF_BADI_2, method MODIFY_SCREEN, table ET_FIELDS, XINPUT = 'X' and XDISPLAY = 'X'. to control the display of the custom fields.
    Also after running the BBP_DYNPROS_GENERATE program,you can restart the SRM server and check.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Adding a new text field in Shopping Cart screen

    Hi,
    I am new to SRM and I am working on SRM 5.0
    My requirement is to add a text field for buyer's note with unlimited length similar to Approver's note in Shopping Cart screen.
    I have seen in the forum that many have done this earlier and i need step by step procedure to complete this task.
    I am able to create text field in Text Schema, but this field is not reflecting in shopping cart screen. Do i need to do any thing extra apart from maintaining in Text schema?
    Can you please send the detailed procedure to do this task?
    Thanks in advance.
    Regards,
    Vamsee

    Hi Saritha,
    Thank you for your help. In fact, i have gone through this link and followed the steps there. But, the Text ID is not reflecting in my shopping cart.
    We are using SRM 5.0. The requirement is to add a new text field with unlimited length similar to the existing Approveru2019s note field in Shopping Cart screen at header level.
    I have followed the steps mentioned below.
    1.Go to SRM IMGSRM Server->Cross-Application Basic Settings->Text Schema
    2.Execute Define Text Types and then select the entry BBP_PD Text Object and click on Text Type.
    Here, create new entry for ID as ZHTXT and Description and save it.
    3.Execute Define Text Schema and then select the existing Text Schema SC ( Shopping Cart) and click on Texts for Schema.
    Here, assign the newly created Text ID with details Header/Item etc.
    4.I am not executing the last step Define Fixed Values for Texts, as the Text Schema SC is already assigned Transaction Type Transaction Type SHC.
    Please suggest do I need to perform any extra steps apart from Text Schema to reflect the Text ID which I created in my Shopping cart screen? Or do we need to code anything on ITS side?
    Thanks in advance.
    Regards,
    Vamsee

  • Custom field in shopping cart

    Hi All,
    I need to add a custom filed in the shopping cart in SRM. I added the field by appending a structure in INCL_EEW_PD_ITEM_CST_SC and INCL_EEW_PD_ITEM_CSF_SC. I also executed the report BBP_DYNPROS_GENERATE by entering the prog name SAPLBBP_PDH_CUF. After doing these things when I go to shopping cart wizard and go to item details where my field should be visible, it gives a short dump "Field symbol has not been assigned yet (GETWA_NOT_ASSIGNED) ".
    Is there anything else I need to do to add a filed in the shopping cart.
    Please help.
    Thanks in advance.
    Neerja

    Hi Neerja,
    Go through the following links:
    Re: Dump after custom field creation in SRM shoppinc cart
    Re: Customer fields
    Adding fields in shopping cart
    And try to follow the steps given in the following blog:
    How to create custom fields in SRM
    Hope this helps
    Thanks,
    Pradeep

  • OIM user-defined field lookup

    Hi,
    I've installed OIM connected to OID.
    Now if I want to create a new user-defined (in user creation profile)field say... Job-Band (and populate the drop down for Job-Band with values A,B,C,D... etc.) ,what steps do i need to follow.
    Edited by: Chhavi Saluja on Feb 7, 2010 10:29 PM

    Hi,
    if i understand your question correctly,you want to create a new UDF(user defined field) i the user profile for this you need to cretae a udf from the design console, in your case you need to select the users in the form name as you want to add a field in the profile,.
    Select Lookup in the field type after that click on the Properties there you need to attach the lookup corresponding to this in the Lookup code, for this you need to create a lookup with your values that you want show values. Over here you attach this.
    Hope this helps you
    Regards
    VM

  • Can't delete user account with open shopping cart

    Hi all,
    Is it okay to delete user account with open shopping cart? I can't delete user by users_gen, it says existing partner document. I then applied notes 1148837,report PARTNER_SET_DELETE. And this report doesn't really work. I ran it and it found zero occurrnences. Is anybody using this report?
    So is it the only way to delete user from SRM is by su01 and leave some informations on Busines partner (bp)
    Thanks,
    Kev

    Hi. You can easily lock the user and change the validity dates using SU01.
    Then, I would write a program that looks through all locked users and checks their valdity dates. Table USR02 holds all this data.
    Then, if the user is locked and the validity end date was 3 or 6 or whatever months ago (make this a selection parameter probably), then you know you want to delete this user.
    So, go into table HRP1001 where SCLAS = US and SOBID = user name and OTYPE = CP and get field OBJID. This is the central person (CP) number.
    Then, go into table HRP1001 again, this time where SCLAS = BP  and OTYPE = CP and OBJID = the CP number and get field SOBID. This is the business partner (BP) number.
    Now, run function BAPI_USER_DELETE to delete the SU01 user fully, then function HR_CENTRALPERSON_DELETE to delete the central person, then function BUP_BUPA_DELETE to delete the business partner.
    And that should delete everything.
    Regards,
    Dave.

Maybe you are looking for