cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP in the Cloud - Multi-Select causing error in Custom Buttons

0 Kudos

Hi guys !

I am facing a situaton where it was necessary to activate "Multiple Selection" in one of the programs we are developing.

So we created a new module in SAP Web IDE and made the connection with the Service Binding of the program itself.

Inside the manifest.json file of the Module I added the code below :

And the result was as expected with the multiselection available for the List Report App :

The problem arise when I use the custom buttons ("Convalida", "Anulla Convalida", "Verifica Log" and "Rimozione" as seen in the screenshoot above ) :

The first message that is displayed is :

and after pressing "Continue anyway" :

The instantiationof the custom button is done as follow and the type of OData endpoint is ABAP Cloud :

Instead when i use the Standard Button "Elimina" ("Delete") , everything goes okey !

This is the Chrome Console Log after I click on the custom Button ( chrome-log.png ) :

"Log-dbg.js:456 2020-08-28 13:22:01.139435 HTTP request failed (404 Not Found): {"error":{"code":"00505692409C1ED98BC56577A40755A7","message":{"lang":"it","value":"Invalid Function Import Parameter 'societa'"},"innererror":{"transactionid":"618E06BEF98C0050E005F47FB5F72983","timestamp":"20200828112202.5159390","Error_Resolution":{"SAP_Transaction":"For backend administrators: use ADT feed reader \"SAP Gateway Error Log\" or run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"}}}} - sap.ui.model.odata.v2.ODataModel"

I have tried to fix that, but without success until now.

Thank you !

Accepted Solutions (0)

Answers (1)

Answers (1)

dhiraj_more
Participant
0 Kudos

Hi Arnold,

I am not very sure but certainly you can try running the same thing for single record if it works. The reason i am asking because in case of function import I never passed more than one record as input and not very sure if we are allowed to pass table to function import. Although I don’t have much experience on Cloud for Odata and restful services. But that might be the reason why you are getting that error.

Just a Guess....Please Share the answer with Group if the issue is resolved.

Thanks,

Dhiraj M

0 Kudos

Hi Dhijar,

Thank you for the replay .

I achieved what I was looking for just by declaring the custom actions in the Behavior Section like below :