Skip to Content
0
Former Member
Mar 05, 2009 at 05:31 PM

Blank customer fileds in SC

87 Views

Hi friends,

I´m trying to add customer fields in Shopping Cart, and I have a problem: although the field appears on the screen, it doesn´t carries any value.

I´ve followed these steps:

1) Create field in append structure, which was then added to structure INCL_EEW_PD_ITEM_CSF_SC.

2) Then, I did the same inside structure INCL_EEW_PD_ITEM_CSF.

3) As my field is coming from backend, I also added the field in R/3 structure BBPS_ER_SC_ITEM_CUST_C_PI (wich made me create CI_BAPI_SC_ITEM_C include structure), so I´m sure the data is being transmitted when it comes to call FM BBP_BC_EXTREQ_INB (as parameter it_item_cust).

4) Now, i go into the Shopping Cart monitor, and I see my new field on the screen, but it´s empty

My question is: What else has to be done to show data in my customer field on screen? Did I followed the right steps?

I´ve implemented badi BBP_CUF_BADI_2, I think it could help me to set the value of the field with its method MODIFY_OUTPUT, but once I´me there I don´t know how to get my CUF value, I thought I was going to see it in the IS_ITEM structure, but it does not even appear in the structure (that´s where it should be? or CUF are stored somewhere else?).

So, I would appreciate if someone who has already done this successfully before could help.

Thanks in advance,

Federico