cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Fiori RAP display [object Object]

DungVT37
Explorer
0 Likes
1,249

Hello everyone!
I am facing an issue when displaying the RAP application, as shown below:

DungVT37_0-1739845467682.png

But when I refresh the browser, it works normally.

DungVT37_1-1739845514919.png

When I preview the application in SAP BAS, it works fine, but when I preview it in the Eclipse tool, [object Object] is displayed.

How can I fix this issue?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

OanaVladescu
Explorer
0 Likes

Hello,

We had the same issue. The real problem is that the title is missing from the previous page. Try adding the title there—it should then return a path like Title/1. 🙂

DungVT37
Explorer
0 Likes

Hello @OanaVladescu 

In header node and Item node, I used Annotation but unsuccessful.

@UI: { headerInfo: { typeName: 'Journal Entries',

typeNamePlural: 'Journal Entries',

title: { type: #STANDARD, value: 'Id', label: 'Journal Entry Header' } } }

 

 

@UI.headerInfo: { typeName: 'Journal Entry Item',

typeNamePlural: 'Journal Entry Item',

title: { type: #STANDARD, value: 'Id', label: 'Journal Entry Item' } }

DungVT37
Explorer
You are correct. Thank you so much!

Answers (2)

Answers (2)

SagarSPrusty
Associate
Associate
0 Likes

Do a cross check on the semantic objects. Redeploy and cross check the CDS artifacts. It should work fine.

DungVT37
Explorer
0 Likes

Hello @SagarSPrusty,

I don't think so because I tried redeploying, but it was unsuccessful. Also, when I refresh the browser (F5), it works normally without any changes to the CDS view.

junwu
SAP Champion
SAP Champion
0 Likes

adt preview doesn't count, don't be bothered.

DungVT37
Explorer
0 Likes

Hello @junwu,

After successfully deploying SAP Public Cloud, this issue still appears.

Strangely, after refreshing the browser, the custom app works normally.

Is this issue related to the SAP Public Cloud 2502 upgrade?