Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Using BOPF Actions in CDS View

Former Member
0 Kudos

Dear Experts,

Ic have a probelm with implementing the Business Object action in CDS View.

@UI.lineItem: [

-- Standard Lineitem

{ position: 10 },

-- Action Lineitem

{ type: #FOR_ACTION, dataAction: 'BOPF:Copy', label: 'Copy' }

//{ type: #FOR_ACTION, dataAction: 'Z_PSO_BOPF_999:ACTION, label: 'Copy' }

]

As far as I understand under the "dataAction: 'BOPF:Copy'" I should write my Business Object name and actions, defined there.

But it seems it doesn't work. Can someboy give me a hint, how to make it work?

Thank you in advance and best regards

Christian

1 ACCEPTED SOLUTION

former_member190794
Active Participant

Hello Christian,

please add a ' char at the end of Z_PSO_BOPF_999:ACTION and try again.

Best regards

Tilmann

1 REPLY 1

former_member190794
Active Participant

Hello Christian,

please add a ' char at the end of Z_PSO_BOPF_999:ACTION and try again.

Best regards

Tilmann