Custom Screen in Shopping cart

Hi Guys,
I am currently trying to use the BADi BBP_CUF_BADI to get a custom screen in my Shopping Cart header.
I created a new custom screen & followed all the steps required.
I implemented the BADI & actiavted it. To my surprise the custom screen that i cretaed is visible in the carryout sourcing section (instead of the shopping cart section). That is not what i require. I suppouse this is beacuse of the settings that are made in the BADI.
  Under the subscreens tab of the BADI i have maintained the following values:
Call Program     :  SAPLBBP_SC_UI_ITS
Scr.No              :  140
Subscreen area :   GC_SUB_COMPLETE_CUSTOMERFIELDS.
Can anyone tell me what details are to be maitained, so that we can get the custom screen in  shopping cart section.

Hi
Pls refer to the following SAP OSS Notes -
Note 825569 - Customer Field (CUF). Customer screens are not called
Note 458591 - User-defined fields: Preparation and use
Note 672960 - User-defined fields 2
Note 812679 - BBP_CUF_BADI calls the incorrect template
You should start with a training on web developement with Internet Transaction Server (ITS).
ITS is emulating SAP GUI transaction into a web transaction.
To do this you need:
- the SAP GUI transaction, program, PBO, PAI...
- the ITS templates
For each SAP transaction, there is an ITS service.
For each SAP dynpro, ITS requires an HTML template.
So if you use the BADI to call your custom screen (a dynpro from program Z), you must also create the corresponding HTML template.
If no template is provided, then ITS will use the webgui service to emulate the screen.
Pls reward suitable points.
Regards
- Atul

Similar Messages

  • 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

  • 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

  • Add custom field in the selection screen for shopping cart monitor report

    Hello,
    refering to the notes 458591 an 672960, in order to add custom field at item level, we get the structure INCL_EEW_PD_ITEM_CSF.
    But this doesnt make it appear on the "Shopping Cart Monitor Report" selection screen.
    So should I try adding it in the existing interface of the badi bbp_sc_mon ?

    hello Yann,
    ok I will implement that. Is it possible to change the interface of the badi method to  include more data if we want to check the role of the user who is executing the shopping cart monitor report and accordingly do the settings of field display ? Or calling a function module inside the method to get the attributes of sy-uname would be easier?
    rita

  • Add Customer fields to Shopping Cart Wizard - Not showing on one screen

    Hi,
    I have added 3 custom fields to the SRM portal (5.0), by adding these fields to structures INCL_EEW_PD_ITEM_CSF & INCL_EEW_PD_ITEM_CSF_SC, as described in OSS Note 672960.
    On the Shopping Cart Wizard, these custom fields appear in the default settings for items & when adding a Limit Item.
    However, they do not appear in the selection for "Describe Requirement".
    How do I add them to this subscreen? I have tried copying the customer fields subscreen in Screen Painter from the Limit Item screen (in addition to flow logic and html template changes.) However, it doesn't work right this way.
    Please help.

    Not sure which CUF BADI you are referring to, since there are 2 of them. 
    BBP_CUF_BADI - Not implemented, since this is used to change how custom sub-screens look and act by creating your own (if business logic is complex). Not relevant, since the Customer fields subscreen does not appear where we need it. We have no use for controlling it in the areas where it does appear.
    BBP_CUF_BADI_2.- Implemented. Is used to control customer fields. Not relevant, since the Customer fields subscreen does not appear where we need it. We have no use for controlling it in the areas where it does appear.

  • Custom field in shopping cart screen

    Hi,
    Please let me know how to add a custom field at the item and header level in shopping cart screen.
    Thanks,
    Manu

    Hi,
    Add the fields into the below structures-
    1- INCL_EEW_PD_ITEM_CSF_SC  (For Item Level)
    2- INCL_EEW_PD_HEADER_CSF_SC (For Header Level)
    And then activate the BADI "BBP_CUF_BADI_2".
    and manage the fields in this badi for display or hide.
    Regards,
    Sachin

  • Addition of custom field in shopping cart at item level- SRM 7.0

    Hi All
    Can someone pls. let me know the step by step procedure for adding a custom field in the shopping cart at item level?
    How is the field displayed in the portal screen and the settings for the same??
    Also is this field available for manipulation through Business add-ins like other standard fields.
    For e.g. I need to use the BADI BBP_CATALOG_TRANSFER to populate this new field.
    Will it be available there once created?
    Thanks
    Kedar

    Hi Kedar
      Here are the steps....
    1. Create a Custom field in SRM and append it to SC table structures in SRM
    2. Add this field to the Custom field config for meta data at Item level in IMG>SRM Server> Cross application basic settings> Extensionsand and field control> Configure field control --> Configure control of fields at item level
    3. THen find the respective web dynpro application and component for the shopping cart portal UI screen where you want the field to appear. You can do this by right click on the screen area and then select More Field Help
    4. Go to SE 80 and enhance the respective webdynpro view by adding the custom field to the Context of the VIew and then adding it to the layout of the view at respective location. After doing this create a binding between the layout field and the context.....
    More information around ABAP UI Flexibility can be found at:
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=%22abapUIFlexibility%22
    Regards
    Virender Singh

  • SRM 7.01 Custom field in Shopping Cart source of supply tab Issue

    Hello All,
    I have requirement to add two new fields ( Vendor Email Id and YES/NO option field to send mail to supplier from PO) in Source of supply tab in Shopping cart. I have followed below steps
    1) Enhanced item structrues with two fields
    2) Added new fields in V_DODC_SC_I_VENDOR view with new fields, This fields are appered on screen perfectly.
    Now i need to determine YES/ NO field value based on company code value of Shopping cart, I am not able to getING  Company code value of item in method WDDOMODIFYVIEW  of Pre and post exits to do logic.
    Please let me know where can i save this fields data and how, Thanks in advance.
    Best Regards,
    Bhaskar

    Hi Zuber,
    Yes, custom field is available in structure /SAPSRM/S_CLL_WD_SC_I_BD.
    I have created Context attribute in /SAPSRM/WDC_DODC_SC_I_SOS for view V_DODC_SC_I_VENDOR.
    Please let me know how can i map between view V_DODC_SC_I_VENDOR  and /SAPSRM/S_CLL_WD_SC_I_BD  structure ( SAPSRM/WDC_DODC_SC_I_BD  componet context), Thanks in advance.
    Best Regards,
    Bhaskar

  • 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

  • Custom fields from Shopping cart not getting transferred

    We have added a few custom fields in both Shopping cart and PO screens.
    Somehow when a cart is getting converted to a PO, the values maintained in the shopping cart are not flowing in to the PO.
    Please advice as to what needs to be done to take care of this issue.
    Thanks.
    Anuradha SenGupta.

    Hello Anuradha,
    Please go thru the link .
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20b36c12-685f-2c10-4fb4-ba2e0b969c27?QuickLink=index&overridelayout=true
    Also in your badi BBP_CREATE_BE_PO_NEW, try to implement the code in the similar way which I did for creating PR in Backend.
    DATA : ls_req_item TYPE bapi_te_requisition_item.
      LOOP AT is_sc_document-item INTO wa_sc_item.
        wa_extension-structure        = 'BAPI_TE_REQUISITION_ITEM'.
        ls_req_item-preq_item         = wa_sc_item-number_int.
        ls_req_item-z_req_type_db     = wa_sc_item-z_req_type_db.
        wa_extension-valuepart1       = ls_req_item.
        APPEND wa_extension TO cs_rq_document-it_extensionin.
        CLEAR wa_extension.
        ls_req_item-preq_item         = wa_sc_item-number_int.
        ls_req_item-z_asset_sub_cat   = wa_sc_item-z_asset_sub_cat.
        wa_extension-valuepart1       = ls_req_item.
        wa_extension-valuepart2       = ls_req_item.
        APPEND wa_extension TO cs_rq_document-it_extensionin.
        CLEAR wa_extension.
      ENDLOOP.
    Hope this will help you.

  • Add customer fields in Shopping cart and purchase order

    Hi,
    I have to add fields(moder of transport, country origin, country destination and more) in Shopping cart and purchase order in SRM system and remotle i have to update the same data in R/3 System.
    could you please guide how to add the fields in screen.
    regards
    Shakeer

    Hi
    We have done this type of requirement several times in our previous SRM Implementations.
    <b>You need to create an Append Structure in the Standard Structure to create the custom fields in your case.</b>
    <u>Refer this link below for details.</u>
    http://help.sap.com/saphelp_47x200/helpdata/en/cf/21eb61446011d189700000e8322d00/frameset.htm
    <b>Define the fields of the append structure. You can proceed as when creating a normal structure with two restrictions (see Creating Structures).
    The fields of an append structure must lie in the customer namespace, that is the field names must begin with ZZ or YY. This prevents conflicts with fields inserted in the table by SAP.</b>
    http://help.sap.com/saphelp_srm50/helpdata/en/5b/c9df3b6ac34b44e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/28/857a1867b52e4f8472c5d49209a675/frameset.htm
    <u>BBP_CUF_BADI_2 BADI will be used to control the properties (hide/unhide, input/output enable or disable) for those customer fields you created in the above append structures.
    BBP_DOC_CHANGE_BADI for defaulting or modifying the customer field contents, incase required.
    BBP_DOC_CHECK_BADI for issuing customer messages for the customer field contents (incase data is entered incorrectly) , incase required.</u>
    Let me know incase you face any issues.
    Regards
    - Atul

  • SRM 7.0 Custom Fields for Shopping Cart Item

    Hi
    We are upgrading from SRM 4.0 to 7.0. Can you please help how to migrate the custom fields logic. We created fields in following shopping cart structure INCL_EEW_PD_ITEM_CST_SC and INCL_EEW_PD_ITEM_CST during upgrade. IncludesINCL_EEW_PD_ITEM_CSF_SC and INCL_EEW_PD_ITEM_CSF already have fields from SRM 4.0 Implementation. In SRM 4.0 BADI BBP_CUF_BADI_2 was used to populate values. In SRM 7.0 we tried to use Enhancement Spot /SAPSRM/BD_PDO_FIELD_EXTENSN that has BADI's /SAPSRM/BD_PDO_FE_FILL_HEADER and /SAPSRM/BD_PDO_FE_FILL_ITEM in it. During shop transaction these BADI's are not getting triggered. Is this the right way of populating data or do we need to use Webdynpro Enhancement concepts of custom views to populate custom fields .
    Thanks in Advance.

    I have the same problem that Dhivya Baskaran
    The window is:
    dynpro: / SAPSRM/WDCC_FPM_DO_SOCO_GAF_3
    Window: IV_L_FPC_GAF_CA
    View: V_AO_SOCO_GAF_3
    I need to add a customer field in the header and I know the parameterization it is for this screen
    anyone can help me?
    thank you very much

  • Addition of Custom Field in Shopping Cart

    Requrement :
    In the Item Detail screen on sources of supply tab add country field and inputbox & populate the inputbox with supplier country
    when the Item Detail Screen is displayed
    Steps I have followed :
    1) Created Appende structure in INCL_EEW_PD_ITEM_CSF_SC structure
    2) In the WebDynpro Component for corresponding view added the new field in context
    3) Created label and inputBox in the view & binded the inputBox from context
    4) Implemented the BADI BBP_CATALOG_TRANSFER and populated the field in the method ENRICH_ITEM_DATA
    However, on SRM portal for shopping cart I see empty inputBox without the value. 
    What changes should I make so that I can see the value in inputBox?  Please help.

    in the enrich item data method, which table are you populating?
    moreover, are you making the ev_sc_structure_used (or something like that) field as 'X'. if you dont make it as 'X', it wont transfer fields from this BADI to the SC.

  • How to disable the print icon on check status screen of shopping cart inSRM

    Hi Experts,
    I have a requirment in which I need to disable print Icon on the status screen of the shopping cart.
    Can anybody please let me know how to achive this requirement.
    Thanks,
    Arun K Singarapu

    Hi Here you go some useful code for the requirement.
    wafunc = 'BWD'.
          APPEND wafunc TO functab.
          wafunc = 'FWD'.
          APPEND wafunc TO functab.
          wafunc = 'DIS'.
          APPEND wafunc TO functab.
          wafunc = 'COP'.
          APPEND wafunc TO functab.
          wafunc = 'IGN'.
          APPEND wafunc TO functab.
          wafunc = 'SAVE'.
          APPEND wafunc TO functab.
          wafunc = 'HIS'.
          APPEND wafunc TO functab.
          wafunc = 'CONTACT'.
          APPEND wafunc TO functab.
         SET PF-STATUS 'OBJECT_SEL' EXCLUDING functab.
    Bala.M

Maybe you are looking for

  • Macbook Pro 13 inch & External Display - resolution problem

    Hi I'm trying to connect my macbook pro 13inch to an NEC 26' Multisync display - which has a native resolution of 1900 x 1200 - and when connected to a PC this is what I get. When I connect the mac though the top resolution is 1900 x 1080 - so the di

  • Can't open a CS2 document in CS3

    1. I tried searching through the forum for an answer, and couldn't find one.  If there is a thread and I missed it, I apologize, and ask that you point me in the right direction. Work: Mac OS 10.4.x  with stand alone ID CS2. emailed the .indd documen

  • Cannot install Flash Video. Template Locked

    The .htm that I am tryig to insert the Flash 8 video was built from a .dwt. At the end of the installtion I get this Dreamweaver error message is "Making this change would require changing code that is locked by a template or a translator. The change

  • How can I append to an array of defined length and have the first value added be the first value out.

    I want to build/append to an array. Let's say the length is defined at 10 elements. When the 11th element comes in I want the first element to be kicked out so that the array always has the most recent 10 elements in it in order. the arrays should lo

  • UTL_FILE vs Oracle Tables

    Hi Oracle Gurus, I have a question, My team is using UTL_FILE to write process logs to physical files. My thinking is that if they use Direct tables to Insert process log its going to be faster compared to UTL_FILE. Am I right to think so? Thanks, Fa