cancel
Showing results for 
Search instead for 
Did you mean: 

adding custom fields on SC item level

Former Member
0 Kudos

Hi All,

i am adding 4 custome fields at item level of SC.

I appended the structure in INCL_EEW_PD_ITEM_CSF_SC along with my 4 custom fields.

Now my doubt is will the fields available on items in shopping cart screen? What is the Tcode for the same?

And i want all the fields should be mandatory.

Edited by: oorvi joshi on Sep 24, 2009 7:45 AM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Please look at the below structure to add the custom fields.

INCL_EEW_PD_ITEM_CSF_SC Customer Enhancements on Shopping Cart Item

INCL_EEW_PD_ITEM_CST_SC Tabular Customer Enhancements on Shopping Cart Item

INCL_EEW_PD_ITEM_SSF_SC SAP Internal Enhancements (IBUs, and so on) on SC Item

INCL_EEW_PD_ITEM_SST_SC SAP Int. Tabular Enhanc. (IBUs, and so on) on SC Item

You will find this useful. Follow the steps in the pdf.

https://websmp105.sap-ag.de/~sapidb/011000358700001969972008E.pdf

Regards,

Venkat

Edited by: VenkatG on Sep 29, 2009 11:07 AM

Former Member
0 Kudos

Hi All,

I am writing code inthe badi catalog tranfer as below.


DATA: ls_catalog_content TYPE bbp_ws_oci_item_s.
 DATA: lv_line TYPE wsi_oci_line.
 FIELD-SYMBOLS: <fs_sc_item_data> TYPE bbp_pds_sc_item_s.
* Updating the ZBRAND in shopping cart items
 LOOP AT et_sc_item_data ASSIGNING <fs_sc_item_data>.
lv_line = <fs_sc_item_data>.
READ TABLE catalog_content INTO ls_catalog_content WITH KEY line = lv_line.
IF sy-subrc EQ 0.
<fs_sc_item_data>-zbrand = ls_catalog_content-cust_field1.
 ENDIF.
ENDLOOP.
IF <fs_sc_item_data> IS ASSIGNED.
 UNASSIGN <fs_sc_item_data>.
 ENDIF.

but it is showing an error of that et_sc_item_data and <fs_sc_item_data>. are not mutually convertable.

Plese give me the code for mapping the customer field.

Thanks ,

Oorvi

laurent_burtaire
Active Contributor
0 Kudos

Hello Oorvi,

Did you check if bbp_pds_sc_item_s and et_sc_item_data structures are equivalent ?

Regards.

Laurent.

Former Member
0 Kudos

Hi

Thanks fo rthe reply.

i am ABAPER.

and i read sap note 672960 .

my doubt isi need to use screen exit to apend the screen or i am aapend 1st time in the structure i read that i will automatically create a create. Is it ?

Former Member
0 Kudos

Hi,

now your problem is you could not able to modify the screen .. am I right ??

Former Member
0 Kudos

No that is not the problem.

i want the custom fields will not activated.

It will changable if GL account maintained in the custome table.

How can i do in custom class & custome method.

Please provide any solution.

Former Member
0 Kudos

Hello Oorvi,

Activate those 4 custom fields using BAdi: BBP_CUF_BADI_2 so that they are displayed on the screen.

Now to control activation & deactivation based on custom logic, use BAdi: BBP_UI_CONTROL_BADI -->

Method: BBP_SC_UI_CTRL.

Thanks,

Shital Nimje

Edited by: Shital Nimje on Sep 26, 2009 11:44 PM

Former Member
0 Kudos

hI,

if you are having SRM login and password then

Go to t.code: SICF

enter BBP START and execute.

Right click and check for test service.

you will get SRM portal login. enter your SRM Login ID and password

and go for creation of shopping cart and check there

(or) ask your SRM functional consultant to check

Regards

G.Ganesh Kumar

Former Member
0 Kudos

Hi Oorvi,

see the transaction BBPSC01

chk this useful link..

regards,

Deeba