Clearing Network field in shopping cart using BBP_PD_SC_GETDETAIL

Hi,
in  Doc_Change badi to clear out the Network value from BBP_PDS_ACC-NETWORK field whenever user enters some value using the Activity Search help.
i think code has to be written using fm BBP_PD_SC_GETDETAIL but who can we clear network field based on search help.
Thanks ,
Goutam.

Hi Pradeep,
I still cant find the deduct_ind. How could this happen, the DEDUCT_IND field is not in E_item?
CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
      EXPORTING
        i_guid    = iv_doc_guid
      IMPORTING
        e_header  = lt_sc_header
      TABLES
        e_item    = lt_sc_item
        e_account = lt_sc_account.
     LOOP AT lt_sc_item INTO ls_sc_item
      WHERE del_ind IS INITIAL AND deduct_ind IS INITIAL.
    ENDLOOP.
Error: No component exists with the name "DEDUCT_IND", but there is a component with a similar name "DEL_IND".
Appreciate helps!
Thanks.

Similar Messages

  • Clearing Network field in shopping cart

    Hi,
    in Doc_Change badi to clear out the Network value from BBP_PDS_ACC-NETWORK field whenever user enters some value using the Activity Search help.
    i think code has to be written using fm BBP_PD_SC_GETDETAIL but who can we clear network field based on search help.
    Thanks ,
    Goutam.

    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

  • How to Add new fields to Shopping cart?.

    Hi SRM GURU'S,
    I am using SRM 5.5 and ECC 6.0 and Extended Classic scenario.
    As per business, I want to add New fields to Shopping cart. How can I add?. Please any one give me clear details about this
    I am planning to add 2 fields 1. Commitment Item and 2. Fund center. in Cost Assignment tab. Is it possible?. This data has pass to  follow on documents. Backend documents has this provision. Is this option available in Shopping cart?. If yes please give me the details.
    Kindly respond quickly. Thanks in Advance.
    Regards,
    John.
    Edited by: johnmiller465 on Sep 22, 2009 1:13 PM
    Edited by: johnmiller465 on Sep 22, 2009 1:18 PM

    Hi Deepti/Shital,
    Thank you so much for your reply. I have awarded points. One more question. While creating creating PO from Process Bid Invitation, PO is not replicating into ECC. Do you have any idea?. Please help me to findout.  Respond quicklly
    If it will not replicate, how to create backend PO refering with SRM PO.
    Regards,
    John.
    Edited by: johnmiller465 on Sep 23, 2009 11:53 AM
    Edited by: johnmiller465 on Sep 23, 2009 11:55 AM

  • 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.

  • 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

  • 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

  • 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

  • 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

  • Can we hide the field in Shopping Cart of SRM

    Hi..
    Can we hide the field in Shopping Cart of SRM??
    I have to hide some of the fields from SRM shopping cart screen. is it possible to hide the fields??
    Please suggest me
    Thanks.
    Regards,
    Manoj Tiwari

    Hy,
    For screen variants, just go to transaction SHD0.
    The only screen variants available in SRM 4.0 are:
    Item data overview in an invoice without purchase order reference: BBP_IV_NON_PO
    Item data overview in the invoice with purchase order reference: BBP_IV
    Item data overview in the confirmation: BBP_CF
    Item data overview in the confirmation for time recording: BBP_CF_TIMEREC
    Item data overview in the purchase order: BBP_PO;
    Item data overview for contracts: BBP_CTR_ITEMLIST
    Item data overview for selection of contracts: BBP_CTR_ITEM_SELLIST
    Search results for entering an invoice and/or confirmation: BBP_SEARCH_PO
    Search results for entering a purchase order: BBP_SEARCH_SC
    Search results for displaying/processing an invoice: BBP_CHANGE_IV
    Search results for displaying/processing a confirmation: BBP_CHANGE_CF
    Search results for entering/displaying/processing/status of a shopping cart: BBP_SC;
    Worklist for Sourcing: BBP_SOCO_WL
    Work area in Sourcing: BBP_SOCO_GA
    This is very light, and most of the SRM project have to make Templates, or ABAP screens repairs, to Hide/Show fields.
    Regards.
    Vadim

  • Grouping of Shopping Carts using the report  BBP_SC_TRANSFER_GROUPED

    Hi Experts,
    I am a new SRM consultant and have been asked to investigate an issue regarding grouping of Shopping Carts using the report  BBP_SC_TRANSFER_GROUPED.
    The wanted scenario:
    For one specific vendor we wish to pool/group request coming from various shopping carts into one PO e.g. once a day. The shopping carts for that vendor can be destinguished by one specific product category.
    We are on classic scenario hence the PO will be created in our ECC system.                                                                               
    Settings we have done to accomplish what we want:
    1. We have set up the transfer for grouping on the specific product category in the sourcing area in the IMG structure
    2. We have run the report BBP_SC_TRANSFER_GROUPED (grouping takes place according to the product category)
    This approach works, the shopping carts gets grouped into one PO in ECC. however the line items from the Shopping Carts are mixed in the PO eg SC1: Item A, Item B, Item C, Item D SC2: Item 1, Item 2, Item 3, Item 4 PO (Current result) Item A, Item 1, Item B, Item 2, Item C, Item 3, Item D, Item 4.
    This seems quite strange, as there are no logic reason for this split. It would be understandable if it was a matter of delivery dates of the goods, but they are not in any order i.e. first coming delivery date first.
    Does anyone know how to correct this or can anyone clarify why this sequence mix happens?
    For me it seems like a program errror.
    Hope you can help me solve this issues
    Cheers Christian
    Edited by: Christian Gjellerup on Aug 6, 2010 3:34 PM
    Edited by: Christian Gjellerup on Aug 6, 2010 3:35 PM

    Hi,
    In SRM -Product categories = Purchasing group in SAP R/3.
    During the transfer of P.R   from R/3 you have enter the Purchasing group in R/3.
    In SRM in the PPOMA_BBP in the extended attribute you can enter the exact product categories
    or else enter * in the product categoies and the backend logical system
    in SPRO --define objects in backend system --- in this enter the purchasing group and category Id
    check your default settings in the SRM web browser
    Regards
    G.Ganesh Kumar

  • 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

  • Need Help Badly on Shopping Cart Using JSP And Java Servlet

    Hi All,
    This is the 1st time i am trying to create a shopping cart using JSP and Servlet.
    I have read through a few acticles but i still do not get the whole idea of how it works.
    Please guide me as i need help very badly.
    Thanks.
    This is one of the jsp page which displays the category of products user would like to buy : Products.jsp
    <html>
    <head>
    <title>Purchase Order</title>
    </head>
    <body topmargin="30">
    <table border="0" width="100%" id="table1" cellpadding="2">
         <tr>
              <td bgcolor="#990000" width="96">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
              Code</font></b></td>
              <td bgcolor="#990000" width="260">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
              Description </font></b></td>
              <td bgcolor="#990000" width="130">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Brand
              </font></b></td>
              <td bgcolor="#990000" width="146">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">UOM
              </font></b></td>
              <td bgcolor="#990000" width="57">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Unit<br>
              Price </font></b></td>
              <td bgcolor="#990000" width="62">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
              Carton<br>
              Price </font></b></td>
              <td bgcolor="#990000" width="36">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
              Qty</font></b></td>
              <td bgcolor="#990000" width="65">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Add<br>
              To Cart</font></b></td>
         </tr>
    <tr>
    <td align="center" width="96" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">123</font>
    </td>
    <td align="center" width="260" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">Tom Yam</font>
    </td>
    <td align="center" width="130" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">Nissin</font>
    </td>
    <td align="center" width="146" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">12 x 10's</font>
    </td>
    <td align="center" width="57" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">$3.85</font>
    </td>
    <td align="center" width="62" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">$46.2</font>
    </td>
    <td align="center" width="36" bgcolor="#CCCCCC">
    <!--webbot bot="Validation" S-Data-Type="Integer" S-Number-Separators="x" -->
    <p align="center"><input type="Integer" name="Q10005" size="1"></p>
    </td>
    <td align="center" width="65" bgcolor="#CCCCCC">
    <p><input type="checkbox" name="checkbox" value="123"></p>
    </tr>
    <tr>
    </table>
    <table border="0" width="100%" id="table2">
         <tr>
              <td>
              <div align="right">          
                   <input type="hidden" name="hAction" value="AddToCart"/> 
              <input type=submit name="submit" value="Add To Cart"/>                     
    </div>
    </td>
         </tr>
    </table>
    </body>
    </html>
    After user has make his selection by entering the qty and ticking on the check box, he would click the "Add To Cart" button ... and this would call my servlet : AddToAddControlSerlvet.java
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.*;
    import java.util.*;
    import java.util.ArrayList;
    public class AddToCartControlServlet extends HttpServlet
         public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException,IOException
              String action = req.getParameter("hAction");
              if (action.equals("AddToCart"))
                   addToCart(req,res);
         public void addToCart(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
              try
                   String url = "";
                   String[] addList = req.getParameterValues("checkbox");
                   HttpSession sess = req.getSession(true);
                   //String sessionID = sess.getId();
                   DBClass dbClass = new DBClass();
                   ArrayList cartList = new ArrayList();
                   for (int i = 0; i < addList.length; i++)
                        String productCode = (String)addList;
                        int qty = Integer.parseInt(req.getParameter("Q"+productCode));
                        Products product = dbClass.getProductDetail(productCode);
                        double totalUnitAmt = qty * product.getUnitPrice();
                        double totalCartonAmt = qty * product.getCartonPrice();
                        Order order = new Order(product.getProductCode(),product.getProductDesc(),product.getBrandName(),product.getUom(),qty,product.getUnitPrice(),product.getCartonPrice(),totalUnitAmt,totalCartonAmt);
                        cartList.add(order);
                   sess.setAttribute("cartList", cartList);
                   url = "/Cart/CartDetails.jsp";
                   ServletContext sc = getServletContext();
                   RequestDispatcher rd = sc.getRequestDispatcher(url);
                   rd.forward(req, res);
              catch (Exception e)
                   System.out.println(e);
    From here, i would get the list of items which user has selected and add to the cartList, then i would direct the user to CartDetails.jsp which displayed the items user has selected.
    From there, user would be able to remove or to continue shopping by selecting other category.
    How i do store all the items user has selected ... everytime he would wan to view his cart ...
    As i would be calling from jsp to servlet .. or jsp to servlet ... and i do not know how i should go about in creating the shopping cart.

    Hi !
    Yon can use a data structure as vector and store the items selected by the user into the vector . Keep the vector in session using session object , so the user can access the entire shopping cart from anywhere in the application .
    Then , you can change the cart accordingly .
    Hope this works.
    Cheers ,
    Pranav

  • 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

  • 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

Maybe you are looking for

  • IOS7 iPhone 4S no longer connects to Wifi.

    Apple Genius won't fix as it is out of warranty. Vodafone won't touch as guys are receiving many complaints since IOS7.  Guess I'll be moving to Samsung. 

  • WAAS and WCCP - looping packet detected

    Hi, Has anyone ran into this senario before. Before anyone answers with "move your WAE off the user subnet", it already has been. I have wccp 61 redirect in on the user subnet (gig0/0.83 of a dot1q trunk). The WAE is on gig0/1. Before I apply wccp62

  • Fbcj "document header text"

    hi experts. i am using "fbcj" transaction code but i need an information about "document header text" area . when i save a document with fbcj transaction , this document's "document header text" is always empty. i have to enter some numbers in this a

  • Problems with xml and j2sdk-1.5

    Hello everyone, until i upgraded my version of the jdk (from 1.4.2 to 1.5.0) everything was working fine concerning xml-processing. Now i am having problems with at least two methods that were working just fine before the upgrade. public void createR

  • No InDesign previews

    Mac OSX 10.4.11 Bridge CS4 InDesign previews are not showing. I'm only icon previews. Any ideas? Thanks.