cancel
Showing results for 
Search instead for 
Did you mean: 

Drop Down not working in Mobile App - SAP Build Apps

brahammittal
Explorer
0 Kudos
576

Hi All,

We are creating a Build app and we have 2 drop downs in it. We are binding it to the backend(SAP ECC) OData entity by using the MAP() function.

We have created a data variable and the data variable is set during the page mount event. We have removed the delay as well while getting the Data Collection. Data Collection is small enough where we don't need any pagination.

Though the dropdown works in the web preview but does not work with mobile preview. When we select a value from drop down it scrolls back to the TOP.

We tried adding another drop down from the Northwind service to try and that works fine. 

Any pointers will help.

@Dan_Wroblewski 

Regards

Braham

brahammittal
Explorer
0 Kudos

Hi All,

As we are using an existing OData from our backend SAP system, the issue is with the entityset mapped to the dropdown field.
GET ENTITYSET method adds a blank record(need to go back and check why this was done) while returning values. This blank record is the root cause. In the web preview the blank entry can be seen in the drop down, but in mobile preview this blank entry is not visible and also interferes with selection.

Just putting it out there for discussion and if there is a patch required from SAP as the same component is behaving differently on web vs mobile preview.

Accepted Solutions (1)

Accepted Solutions (1)

brahammittal
Explorer
0 Kudos

Hi All,

As we are using an existing OData from our backend SAP system, the issue is with the entityset mapped to the dropdown field.
GET ENTITYSET method adds a blank record(need to go back and check why this was done) while returning values. This blank record is the root cause. In the web preview the blank entry can be seen in the drop down, but in mobile preview this blank entry is not visible and also interferes with selection.

Just putting it out there for discussion and if there is a patch required from SAP as the same component is behaving differently on web vs mobile preview.

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos
Can you post what the issue was in case it helps others?

Answers (1)

Answers (1)

brahammittal
Explorer
0 Kudos

Hi All,

As we are using an existing OData from our backend SAP system, the issue is with the entityset mapped to the dropdown field.
GET ENTITYSET method adds a blank record(need to go back and check why this was done) while returning values. This blank record is the root cause. In the web preview the blank entry can be seen in the drop down, but in mobile preview this blank entry is not visible and also interferes with selection.

Just putting it out there for discussion and if there is a patch required from SAP as the same component is behaving differently on web vs mobile preview.

 

@Dan_Wroblewski