Skip to Content
avatar image
Former Member

custom fields updating to database in SRM 7.0

Hi,

My requirement is to add few custom fields to the Shopping cart Item Basic data screen.This has to be updated in database when the shopping cart is saved.

I have included my custom structure in INCL_EEW_PD_<ITEM>_CSF_SC and enhanced my corresponding web dynpro component.The fields are appearing in item basic data screen also.I need to know what steps to be followed to update the custom field values(after user enters the values) to the database(when sc is saved).

Regards,

Rohini Shankar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

8 Answers

  • Jan 27, 2012 at 07:38 PM

    Hello,

    Usually, when fields are inserted in structure INCL_EEW_PD_<ITEM>_CSF_SC, they are supposed to be available at item level.

    When you save the cart and go to BBP_PD, are you able to see such fields in item tables? Click on item and scroll down. Normally custom fields are stored there.

    Regards,

    Ricardo

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 28, 2012 at 12:56 AM

    Hi ,

    Once the fields are available on the Item data tab, you can enter the field values in custom fields and they would get saved normally like other standard fields of SC.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 28, 2012 at 03:31 AM

    you need to add the same field name in another append structure into INCL_EEW_PD_<ITEM>_CSF (without _SC).. then only those will be saved in database.

    _SC is for showing on screen... without SC its a include structure in BBPPDISC.

    keep same field name as you have kept in INCL_EEW_PD_<ITEM>_CSF_SC....

    it will be saved in DB.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 28, 2012 at 03:36 AM

    Hi Rohini Shankar ,

    Adding custom field in item basic data of shopping cart kindly find the below steps .

    Tcode SPRO-->h IMG Pathu2014SAP Implementation Guide  SAP

    Supplier Relationship Management  SRM Server  Cross Application Basic Settings  Extensions and

    Field Control (Personalization)  Configure Customer Fields  Define Customer Fields on Item Level

    in this append the custom field in the both structure .

    -Append for custom field on shopping cart item ( to add on item basic data)

    -Append for Customer cross document item data base field ( to save in the data base)

    and you need to set the metadata for the custom field based on you requirement.

    Thanks & Regards

    Pradeep Kumar Dondeti

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 30, 2012 at 07:21 AM

    Hi,

    I have included my custom fields in the structure "INCL_EEW_PD_ITEM_CSF_SC" and are appearing in my web dynpro screen after enhancing the corresponding web dynpro component.But when i try to include the fields in the structure "INCL_EEW_PD_ITEM_CSF",I am getting the error during the activation of my append structure.

    The custom fields which I added are appearing twice in the structure "/SAPSRM/S_SEARCH_RESULT_PR".

    Could anyone of you please tell me to solve this issue and i want to know whether I need to include my field in structur

    "INCL_EEW_PD_ITEM_CSF" also.

    Thanks and Regards,

    Rohini Shankar

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 14, 2013 at 04:52 PM
    Add comment
    10|10000 characters needed characters exceeded

  • Jul 28, 2013 at 02:11 PM

    Hi Experts,

    I solved it.

    Thanks every body.

    Regards,

    Mohammed

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 28, 2013 at 02:14 PM

    Hi,

    Use BBC_DOC_CHANGE_BADI in which use method for Shopping Cart.

    What ever the changes done needs to be exported back to the ET_ITEM of the method.

    Let me know if needed more details.

    Regards,

    Mohammed

    Add comment
    10|10000 characters needed characters exceeded