Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

LOV promt search does not return expected results

0 Kudos

Hi All,

I tried unsuccessfully to search through the promt LOV by example

https://help.sap.com/viewer/58f583a7643e48cf944cf554eb961f5b/4.2.4/en-US/6b668559f17349f081c943b4230...

with json

json = {"parameters":{"parameter":[{"id": 20,"answer":{ "info":{"lov":{"query":{"search":"*FOOD*"}}}}}]}}

and url put request

f'http://{conn.str_server}:8080/biprws/raylight/v1/documents/{str_doc_id}/parameters?formattedValues=false'

and get responce:

{"parameters":{"parameter":[
...
{'@optional': 'true',
'@type': 'sapVariable',
'@dpId': 'DP0',
'@primary': 'true',
'id': 20,
'technicalName': 'CHAIN1',
'name': 'Chain',
'answer': {'@constrained': 'false',
'@type': 'Text',
'@keyType': 'Text',
'info': {'@cardinality': 'Multiple',
'@keepLastValues': 'true',
'lov': {'@hierarchical': 'true',
'@nodeSelection': 'Any',
'@refreshable': 'true',
'@searchable': 'true',
'@mandatorySearch': 'false',
'@searchScopes': 'Values,Keys',
'@searchTargets': 'Database',
'id': 'UNIVERSELOV_DS0.:M:STR:CHAIN1',
'updated': '1970-01-01T00:00:00.000Z',
'error': {'error_code': 'WIS 0',
'message': 'The number of requested members exceeds 5000. Do a search by element instead.'}}}}}
...
]}}

Please tell me what I did wrong

  • SAP Managed Tags:
1 REPLY 1

jerryjanda
Community Manager
Community Manager

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with https://community.sap.com/resources/questions-and-answers, as it provides tips for preparing questions that draw responses from our members. Feel free to take our Q&A tutorial at https://developers.sap.com/tutorials/community-qa.html as well, as that will help you when submitting questions to the community.

One example of how you can improve this question: Use the "insert code" feature to help members read your code more easily.

Should you wish, you can revise your question by selecting Actions, then Edit.

I also recommend that you include a profile picture. By personalizing your profile, you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html.

Kind regards,

--Jerry

Moderation Lead

Make sure to subscribe to What's New!
  • SAP Managed Tags: