Skip to Content
avatar image
Former Member

Add custom field in SC -Item Level

Hi Experts,

I have requirement to create new custom field in the Shopping cart at the item level.The field name is Part Number. How do i create field in the Shopping cart and How Do I transport shopping cart part number value to SRM. How can I add custom field in SRM.

Can you somebody help me regarding this!!!

I am new to SRM.

Thanks,

Kumar S

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Mar 08, 2007 at 08:23 PM

    Kumar,

    Note 672960 explains how to add custom fields in SRM.

    Vani

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 08, 2007 at 08:24 PM

    Hi

    Good requirement. 😊

    <u>For custom field creation -> Refer the OSS notes</u>

    <b>458591 - User-defined fields: Preparation and use

    672960 - User-defined fields 2</b>

    <i>Incase data is coming from catalog item, try using BBP_CATALOG_TRANSFER BADI</i>

    <u>Create a custom implementation of BBP_DOC_CHANGE_BADI using SE18 Transaction.

    Inside the BBP_DOC_CHANGE_BADI Implementation, you will find the part number (nearly all the fields coming either from the catalog item or normal item ). You need to loop at the et_item table and populate the same to your custom field.</u>

    <b>Here is the sample code for BBP_DOC_CHANGE_BADI Implementation</b>

    loop at et_item into ls_item.
    
    move ls_item-mfrpn to ls_item-zz_your_new_field. 
    modify et_item from ls_item transporting zz_your_new_field.
    
    endloop.

    <b>Incase you want to transport it to backend R/3 document, use the BBP_CREATE_PO_BACK / BBP_CREATE_REQ_BACK BADI to the same.</b>

    Let me know incase you face any issues.

    Hope this will help.

    Please reward suitable points, incase it suits your requirements.

    Regards

    - Atul

    Add comment
    10|10000 characters needed characters exceeded