cancel
Showing results for 
Search instead for 
Did you mean: 

Addition of custom field in shopping cart in Item Data Tab

Former Member
0 Kudos

Hi,

I need to add a custom field in shopping cart item data tab. I need to add a tax code field with dropdown. I have added the custom field in IMG: SRMSERVER - Cross app basic set- Extensions and field control - configure customer fields - define customer fields. I am not able to view the fields in WD component.

How to proceed further?

Do I need to do anything in the webdynpro component - /SAPSRM/WDC_DODC_SC_I_BD

I need to get the dropdown values from custom table based on the plant. and where to write the logic for passing the values to dropdown field.

Thanks

Vasanth

Accepted Solutions (1)

Accepted Solutions (1)

laurent_burtaire
Active Contributor
0 Kudos

Hello vasanth,

have a look at below documents:

Custom Field for SRM SC WebDynpro Application

Add custom field to SC and POWL

Regards.

Laurent.

Former Member
0 Kudos

Hi Laurent,

Thanks for your solution.

I have implemented the solution which you have provided. but the field is not displaying in the Shopping cart. Please find the screenshot for your reference.

Thanks

Vasanth

laurent_burtaire
Active Contributor
0 Kudos

Hello,

did you create the append structure for INCL_EEW_PD_ITEM_CSF?

Regards.

Laurent.

Former Member
0 Kudos

Hello,

yes i have created the append structure for INCL_EEW_PD_ITEM_CSF

Please find the screenshot for your reference.

Thanks,

Vasanth

laurent_burtaire
Active Contributor
0 Kudos

Hello,

no, you have created append structure for INCL_EEW_PD_ITEM_CSF_SC: you have to read carefully hyper-links i gave you...

Regards.

Laurent.

Former Member
0 Kudos

Hello,

I have added the field in append structure for INCL_EEW_PD_ITEM_CSF.

Please find the screenshot for your reference.

Thanks

Vasanth

Former Member
0 Kudos

I am able to see the custom field visible in the shopping cart item data.

now i need to pass the values to drop-down.

Those values are available in ZTable. I need to pass the values to drop-down based on plant.

Where do i need to write the code . Any class or method available for this drop-down in item data?


Thanks,

Vasanth

Former Member
0 Kudos

Hello

Is there any dynamic class and method to write the logic for the custom tax code drop-down field?

Thanks,

Vasanth

laurent_burtaire
Active Contributor
0 Kudos

Hello Vasanth,

if you want to use a dropdown, you will have to manage your CUF position directly inside the Web Dynpro Component and to follow same procress as for Purchasing Group.

If you do not want to enhance the WDC, you can link a search-help to the data element you used for your CUF and filter out values through the search-help exit, based on your business rule.

Regards.

Laurent.

Answers (0)