Skip to Content

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

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 ("}}}} - sap.ui.model.odata.v2.ODataModel"

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

Thank you !

miqyb.png (30.1 kB)
kp2j4.png (54.3 kB)
sfvwy.png (83.3 kB)
3w3fb.png (129.4 kB)
chrome-log.png (200.6 kB)
convalida.png (86.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 28 at 08:22 PM

    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.


    Dhiraj M

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.