cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to create a record in C4C configurable codelist from ABSL code?

dpksghl_30
Participant
0 Kudos

Hi Everyone,

I have a requirement to create value in configurable codelist from ABSL code because we don't want user to configure values manually. When user saves oppty automatically an entry should be added in config for the same.

I have created BCO, BC set, BC View. Now when I am trying to create record in BCO while writing code on opportunity > Root before save, it's geting activated successfully. But when I test in it throws dump on oppty save. Please check the attached screenshot of code snippet.

Any suggestions on this? Do we have any limitation from SAP side? Have anynone from the community faced this kind of challenge?

Thank You!

Regards,

Deepak Singhal

kuhn_tobias
Explorer
0 Kudos

Hi Deepak,

Can you please explain in more detail why you want to insert new values to the configuration set based on opportunities.

Best regards

Tobias

Accepted Solutions (0)

Answers (2)

Answers (2)

dhruv_mehta
Active Contributor
0 Kudos

Actually I was trying to do it! but as far as my analysis go you cant add it via WS , DW or ABSL.

At the end I ended up creating a new BO! 😛

If u can do it would really like to know how.

BR

Dhruvin

dpksghl_30
Participant
0 Kudos

Hi Tobias,

Sure, we are doing it on oppty > Product tab > Add item pop up. Instead of standard Product OVS we have created custom configuration codelist to show product. We cannot use product ovs because we want to filter product ovs based on custom extension field. I know custom OVS is an option and that is working for us but as per requirement we want to show it in drop down only. But now when new products added it will come not automatically in custom codelist, either Admin person has to go to fine tuning and do it manually or we can automate it on Material before save. So I am facing issue not able to create record in config codlist from code, as we want to avoid maintaining product two times.

Hope you got the reason behind this..

Thank You!

Regards,

Deepak Singhal