on 2022 Aug 29 2:22 PM
How to mention select options for field
Request clarification before answering.
Hi jospehb
Hope you are doing well 🙂
__________________________
First Thing You Need to learn is Go Through The SAP ABAP - Key Word Documentation which resource handled Officially by SAP Itself...
__________________________
Even Through you finding doubts, come back to SAP Community
Solution For Your Question : Refer This Link SELECT-OPTIONS
__________________________
Reward It 🙂
Thanks,
Suggu Sandeep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Suppose if you want to add matnr field from mara table in select-option then
1. Declare the local variable for matnr
2. Then use select-options
3. Write your select query and give your select options in where condition
For Example:-
Data lv_matnr type mara-matnr.
select-options so_matnr for lv_matnr.
Select Matnr, mbrsh, mtart from mara into @data(lt_mara) where matnr in so_matnr.
Better learn by yourself, using Google or any Web search engine:
Syntax of select-options in select query site:sap.com
One of the answers (select-options in where condition of select statement | SAP Community😞
or
SELECT OPTIONS use in select statement | SAP Community
etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sandra.rossi I see you are using <code> tag to quote. That works partially but is not the nicest option. Personally I prefer italics but that is not optimal either. Obviously SAP Q&A lacks a simple quote block formatting. Therefore I put forward a simple improvement proposal Blockquote formatting in SAP Community Q&A. The blog article provides a link to the SAP Influence improvement proposal. You may want to spread the word and vote on the proposal. Maybe, someday, SAP Q&A will get that needed feature.
3a9e4ce873a94034b33dc62b0ce600ee
(Already) voted!
User | Count |
---|---|
98 | |
11 | |
10 | |
8 | |
6 | |
4 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.