cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass parameter from one odata service to another odata service in Fiori Launchpad?

Former Member
0 Kudos

Dear All,

I have two Odata Services,

1) z_xx_xxxx for fetching ponumber.

2) z_yy_yyyy to release selected PO fetch by above odata service (z_xx_xxxx).

The Problem I fecting is that I am able to fetch PO no using z_xx_xxxx Odata service, but I don't know how to pass that PO no to z_yy_yyyy odata service (to release PO).

Screenshot attached for your reference.

Accepted Solutions (0)

Answers (1)

Answers (1)

saurabh_vakil
Active Contributor
0 Kudos

You already have the PO Number displayed in the S3 view in the header. You can retrieve the value from the corresponding field (for e.g. if you are using sap.m.Text for displaying the PO no.) using the id of the element.

Former Member
0 Kudos

Correct!

However, isn't it better to first check if a model is linked with the text element. If the text element and a model are linked, then it is better to retrieve the PO number from the model.

Can you show the code behind the text element?

Former Member
0 Kudos

Dear All,

Thanks for your support the problem has been solved.