2020 Aug 14 4:52 PM
Hi all,
I’m trying to use the POPUP_GET_VALUES_DB_CHECKED function for selecting the LIFNR column in a (Z) view that is a sub select of the LFA1 table.
My problem is that, when I select the match code (F4) in the function, the help data shown is, of course, the help data for the LFA1-LIFNR column, that is, all the table (not my Z View).
Is there any way to make the function’s match code select ONLY the data as referenced by my view?
Thanks in advance,
Luis
2020 Aug 15 5:37 AM
(A) How does FM POPUP_GET_VALUES_DB_CHECKED work?
(B) How to solve your problem?
In order to solve your problem with presenting the right search help records, you could write your own custom elementary search help:
(A) How does FM POPUP_GET_VALUES_DB_CHECKED work?
(B) How to solve your problem?
In order to solve your problem with presenting the right search help records, you could write your own custom elementary search help:
2020 Aug 15 5:37 AM
(A) How does FM POPUP_GET_VALUES_DB_CHECKED work?
(B) How to solve your problem?
In order to solve your problem with presenting the right search help records, you could write your own custom elementary search help:
2020 Aug 15 9:12 PM
Michael,
Thanks for your help. Regarding your B(3) step, I can't find how to change the search help for my custom view (which, by the way, is a join file view (LFA1 + LFBK). It could be that our SAP version is quite old (7.00, I think).
Another way could be, of course, create a new data element (with the search help already specified) and change the original data element in my Z view.
Thanks again,
Luis
2020 Aug 16 6:30 AM
377cae7333c044888184eb2537b4355e, you are right, I jumped the gun, you cant change the 'search help' of an attribute in a view, at least I didnt find a solution for it right away.
But what will definitly work is to change the data element in your view to one that has your search help of your view. And your view might have to be of type "Help View", so you might have to 'change' it (delete and recreate) or create another view. At least in my test I used type *Help View".
2020 Aug 17 3:17 AM
377cae7333c044888184eb2537b4355e, I updated the steps in how to solve the problem by including the information about creating also a data element utilizing the search help and exchanging the standard data element of lifnr in your view with the custom one.
Let me know if it works for you now.
2020 Aug 17 6:15 AM
Michael,
Thanks for your posts. Will check the idea of changing the data element later today and will let you know (I'm at -4:00 UTC).
Thanks again,
Luis
2020 Sep 08 2:02 AM
377cae7333c044888184eb2537b4355e, were you able to solve your problem or are you still having the same or new difficulties?
2020 Sep 08 7:06 PM
Michael,
My apologies for not answering your posts earlier. Hectic times at the office 🙂
A first attempt gave the same problems. I’m afraid that particular program got sidetracked due to another, higher priority project. I haven’t closed the question in the forum because I hope to be able to retake that particular code soon.
Regards,
Luis Rodriguez
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |