Filling the Bucket of Select-option as DEFAULT??
Hi Experts,
Pls. clarify my doubt reg. Selection screen,
When I, <i><b>F8</b></i> the my_z_report, the selection screen is coming with default values (say, A; B; C; D) in the bucket of <i><b>multiple selection</b></i> of the <b><i>select option s_doctype</i></b>.
I know, its possible, by coding in prog. it self, by filling the <i><b>SELTAB</b></i> explicitly as A; B; C; D after populating <b><i>SIGN; OPTION; LOW; HIGH</i></b> values!
but, when I see the code of my_z_prog., I did not find any such code, all over??
1) So, How the prevoius programmer filled it? bcoz, now I need add E;F;G etc. to the same!
2) Wht r the other altrnatives (other than I mentioned above) to get it done?
thanq.
Hi,
Check the following..
1) Put a where-used list of the select-options variable..and check if it getting appended.
2) If you execute the program with a transaction code..Then in the transaction code setup in SE93..You can start the report with a variant..If so..modify the report variant to add more values..
Thanks
Naren
Similar Messages
-
How to get all values in the range of select option into internal table?
Hi,
I need to capture all entries coming in the range of select option into one internal table.
How to do get that?
For E.g
select-options: matnr for mara-matnr.(select option)
IF I enter G0100013507892 as lower value of matnr and G0100014873947 as higher value
and if there are 10,000 materials in the above range, then I want to capture all theses 10000 materails in one internal table. How to do that?
Regards,
MrunalHello Mrunal Mhaskar ,
What i understand you can do one thing go in debug mode
Try this code : -
LOOP AT s_matnr_ex.
IF s_matnr_ex-low IS NOT INITIAL.
i_matnr-matnr = s_matnr_ex-low.
i_matnr-option = s_matnr_ex-option.
APPEND i_matnr.
CLEAR : i_matnr.
ENDIF.
ENDLOOP.
LOOP AT s_matnr_ex.
IF s_matnr_ex-high IS NOT INITIAL.
i_matnr-matnr = s_matnr_ex-high.
i_matnr-option = s_matnr_ex-option.
APPEND i_matnr.
CLEAR : i_matnr.
ENDIF.
ENDLOOP.
In the i_matnr table high and low values are there.
Regards,
Vandana. -
How to get the values of Select-options from the screen.
The value of parameter can be obtained by function module 'DYNP_VALUES_READ' but How to get the values of Select-options from the screen? I want the F4 help values of select-options B depending on the values in Select-option A.So I want to read the Select-option A's value.
Hi,
Refer this following code..this will solve your problem...
"Following code reads value entered in s_po select options and willprovide search
"help for s_item depending upon s_po value.
REPORT TEST.
TABLES : ekpo.
DATA: BEGIN OF itab OCCURS 0,
ebelp LIKE ekpo-ebelp,
END OF itab.
SELECT-OPTIONS s_po FOR ekpo-ebeln.
SELECT-OPTIONS s_item FOR ekpo-ebelp.
INITIALIZATION.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_item-low.
DATA:
dyn_field TYPE dynpread,
temp_fields TYPE TABLE OF dynpread,
zlv_dynpro TYPE syst-repid.
zlv_dynpro = syst-repid.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = zlv_dynpro
dynumb = syst-dynnr
request = 'A'
TABLES
dynpfields = temp_fields
EXCEPTIONS
OTHERS = 0.
LOOP AT temp_fields INTO dyn_field.
IF dyn_field-fieldname EQ 'S_PO-LOW'.
SELECT * INTO CORRESPONDING fields OF TABLE itab FROM ekpo
WHERE ebeln EQ dyn_field-fieldvalue.
EXIT.
ENDIF.
ENDLOOP. -
Change the Parameter as Select option
Hi Guy's,
Please help me friends, present requirement is like this : change the Parameter into Select-Option.
Here they are using one function module, this function module import parameter taking single value, how loop this function module with in this select-option.
PARAMETERS p_fictr LIKE fmfctr-fictr.
START-OF-SELECTION.
Move the select options to internal tables (import parameter for fn)
move_sel_option : sel_buk s_bukrs ,
sel_pern s_pernr ,
sreinr s_reinr ,
spdatv s_pdatv ,
sberei s_berei .
Call the function to get all trips corresponding to sel criteria
CALL FUNCTION 'ZHR_GET_FUND_TRIPS'
EXPORTING
p_fictr = p_fictr
p_sub = p_sub
TABLES
s_bukrs = s_bukrs
s_pernr = s_pernr
s_reinr = s_reinr
s_pdatv = s_pdatv
s_berei = s_berei
i_trip = i_trip
EXCEPTIONS
OTHERS = 1.
Thanks and Regards,
Saihi,
You can first the field values using the select statement and then loop that internal table and pass the values to the function module.
try this
*PARAMETERS p_fictr LIKE fmfctr-fictr.
select-options: s_fictr for fmfctr-fictr.
START-OF-SELECTION.
Move the select options to internal tables (import parameter for fn)
move_sel_option : sel_buk s_bukrs ,
sel_pern s_pernr ,
sreinr s_reinr ,
spdatv s_pdatv ,
sberei s_berei .
select fictr
from fmfctr
into tabel itab
where fictr in s_fictr.
loop at itab.
Call the function to get all trips corresponding to sel criteria
CALL FUNCTION 'ZHR_GET_FUND_TRIPS'
EXPORTING
*p_fictr = p_fictr
p_fictr = itab-fictr
p_sub = p_sub
TABLES
s_bukrs = s_bukrs
s_pernr = s_pernr
s_reinr = s_reinr
s_pdatv = s_pdatv
s_berei = s_berei
i_trip = i_trip
EXCEPTIONS
OTHERS = 1.
endloop.
regards,
Veeresh -
Is it possible to set Touch and Gesture selected options by default on the simulator?
Hi,
I am developing a mobile app using touch events and is a pain to have to select Touch and gesture and clik Touch layer and select the proper option every time I test the movie. One or three time is fine but along any usual development day I have to do it like 200 times and is really time consuming.
If there is not way to do it, is there any workaround as using an external tool or plugin?If not, can I suggest to implement this a future feature?
RegardsI got this from the Mail help menu. I searched fixed font and then chose "Make messages easier to read"
Write messages in plain text or rich text
You can compose messages using plain text or rich text (HTML) formatting.
Plain text can be read by all recipients, regardless of the mail viewer used. You can attach pictures to plain text messages.
Rich text can’t be read by a small number of recipients because rich text uses different fonts, text styles, and formatting to stylize messages. If a recipient’s computer doesn’t have the same font that you use in your messages, another font is substituted. Try using a popular font, such as Times New Roman or Geneva. You can put pictures within rich text messages.
Set the default format for all messages
Choose Mail > Preferences, and then click Composing.
Choose the format you expect to use most often from the Message Format pop-up menu.
To always respond to messages in the same format as the originals, also select the “Use the same message format as the original message” checkbox in the Responding section.
Change the format for a single message
Choose Format > Make Rich Text or Format > Make Plain Text before you send the message.
Unless a message actually contains rich text (such as formatting and different text styles), it will not be sent as rich text, even if rich text format is selected. -
Problem in filling f4 help in select option !!!!
Hi,
I have created a f4 help in the select option.... in 'AT-SELECTION-SCREEN ON VALUE REQUEST FOR <field name>.
But when i select a value in the single value of select-option and hit the F8(copy) button an extra value is duplicated !!!
I am sure that I have filled the select-option properly and also cleared work-area properly......
What can be the possible cause for this ?
Thanks & Regards
Akashname = 'p_desig1'.
value-key = '01'.
value-text = 'Vice Chairman and Managing Director'.
append value to list.
value-key = '02'.
value-text = 'Chief Financial Officer'.
append value to list.
call function 'VRM_SET_VALUES'
exporting
id = name
values = list.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(25) text-dg1.
SELECTION-SCREEN POSITION 33.
parameters: p_desig1(40) type c as listbox visible length 40.
SELECTION-SCREEN END OF LINE.
*/ End
Regards
Anbu B -
Cant't get the data through SELECTION-OPTION
hi all,
i have created a REPORT in which i have two SELECTION-OPTION i-e one is ANLKL from TABLE ANLA and other is GJAHR from table ANLC.Problem which i m facing is that when i execute without giving my SELECTION-OPTION GJAHR.it gives me all data for example(2005,2007,2008),but when im defining it with by 2005 it gives blank fields even though there is data with GJAHR by 2005.
This is the coding of my report:
include zalsd_alv_incl.
TABLES:ANEP,ANLA,ANLC.
SELECT-OPTIONS:
S_ANLKL FOR ANLA-ANLKL DEFAULT '1100' to '2790',
S_GJAHR FOR ANLC-GJAHR.
DATA:BEGIN OF gi_anla OCCURS 0,
bukrs LIKE anla-bukrs,
ANLN1 LIKE anla-ANLN1,
ANLN2 LIKE anla-ANLN2,
AKTIV LIKE ANLA-AKTIV,"Asset capitalization date
ANLKL LIKE ANLA-ANLKL,"Asset Class
END OF gi_anla,
BEGIN OF GI_ANLC OCCURS 0,
bukrs LIKE anlc-bukrs,
NAFAP LIKE anlc-nafag,"Posted Depreciation
kansw LIKE anlc-kansw,"Asset Acquisation Value
ANLN2 LIKE anlc-anln2,"Asset Subnumber
ANLN1 LIKE anlc-ANLN1,"Main Asset Number
GJAHR LIKE ANLC-GJAHR,"Fiscal Year
AFABE LIKE ANLC-AFABE,"Real depreciation area
ANSWL LIKE ANLC-ANSWL,"Transactions for the year
END OF GI_ANLC,
BEGIN OF gi_main OCCURS 0,
sno type i, "S.No
bukrs LIKE anla-bukrs,"Company code
ANLN1 LIKE anlc-ANLN1,"Main Asset Number
anln2 LIKE anlc-anln2,"Asset Subnumber
AKTIV LIKE ANLA-AKTIV,"Asset capitalization date
ANLKL LIKE ANLA-ANLKL,"Asset Class
NAFAG LIKE anlc-nafag,"Ordinary Depreciation Posted
kansw LIKE anlc-kansw,"Asset Acquisation Value
GJAHR LIKE ANLC-GJAHR,"Fiscal Year
PSTEND LIKE anlc-PSTEND,"Posting depreciation up to period
AFABE LIKE ANLC-AFABE,"Real depreciation area
ANSWL LIKE ANLC-ANSWL,"Transactions for the year
END OF gi_main.
START-OF-SELECTION.
PERFORM get_data.
PERFORM organize_data.
PERFORM f_display_report.
END-OF-SELECTION.
form get_data.
SELECT anlc~bukrs anlc~anln1 ANLC~ANLN2 kansw nafaG PSTEND ANSWL ANLKL AKTIV
INTO CORRESPONDING FIELDS OF TABLE gi_main
FROM
ANLC
INNER JOIN ANLA ON
anlc~bukrs = anla~bukrs AND
anlc~anln1 = anla~anln1 AND
ANLC~ANLN2 = ANLA~ANLN2
WHERE AFABE eq '1'
AND GJAHR IN S_GJAHR
AND ANLA~ANLKL in S_ANLKL.
ENDFORM.
FORM organize_data.
data: lv_index type sy-tabix.
LOOP at gi_anla.
move sy-tabix to gi_main-sno.
READ TABLE gi_anla WITH KEY bukrs = gi_anla-bukrs
anln1 = gi_anla-anln1
anln2 = gi_anla-anln2.
MOVE-CORRESPONDING gi_anla to gi_main.
READ TABLE gi_anlc WITH KEY bukrs = gi_anlc-bukrs
anln1 = gi_anlc-anln1
anln2 = gi_anlc-anln2.
IF sy-subrc = 0.
MOVE-CORRESPONDING gi_anlc to gi_main.
ENDIF.
APPEND gi_main.
CLEAR gi_main.
ENDLOOP.
ENDFORM.
form f_display_report.
perform fill_fieldcat using 'SNO' 5 'S.No.' 'gi_main'.
perform fill_fieldcat using 'ANLKL' 20 'Asset Class' 'gi_main'.
perform fill_fieldcat using 'ANLN1' 20 'Asset Number' 'gi_main'.
perform fill_fieldcat using 'ANLN2' 20 'Asset Subnumber' 'gi_main'.
perform fill_fieldcat using 'AKTIV' 20 'Asset Capitalization Date' 'gi_main'.
perform fill_fieldcat using 'KANSW' 20 'Asset Acquisation Value' 'gi_main'.
perform fill_fieldcat using 'NAFAG' 20 'Posted Depreciation' 'gi_main'.
perform fill_fieldcat using 'PSTEND' 20 'Posting depreciation up to period' 'gi_main'.
perform fill_fieldcat using 'ANSWL' 20 'Transactions for the year' 'gi_main'.
perform add_heading_alv using c_alv_head_header '' 'Ghulam Farooq Group'.
perform display_alv using gi_main[].
endform.
Thankks,
abapfkHi,
I created a program with the 2 select-option and a structure for storage and a select statement.
REPORT Z_ANLA_ANLC_TEST.
TABLES:ANEP,ANLA,ANLC.
SELECT-OPTIONS:
S_ANLKL FOR ANLA-ANLKL DEFAULT '1100' to '2790',
S_GJAHR FOR ANLC-GJAHR.
DATA :
BEGIN OF gi_main OCCURS 0,
sno type i, "S.No
bukrs LIKE anla-bukrs,"Company code
ANLN1 LIKE anlc-ANLN1,"Main Asset Number
anln2 LIKE anlc-anln2,"Asset Subnumber
AKTIV LIKE ANLA-AKTIV,"Asset capitalization date
ANLKL LIKE ANLA-ANLKL,"Asset Class
NAFAG LIKE anlc-nafag,"Ordinary Depreciation Posted
kansw LIKE anlc-kansw,"Asset Acquisation Value
GJAHR LIKE ANLC-GJAHR,"Fiscal Year
PSTEND LIKE anlc-PSTEND,"Posting depreciation up to period
AFABE LIKE ANLC-AFABE,"Real depreciation area
ANSWL LIKE ANLC-ANSWL,"Transactions for the year
END OF gi_main.
START-OF-SELECTION.
SELECT anlcbukrs anlcanln1 ANLC~ANLN2 kansw nafaG PSTEND ANSWL ANLKL AKTIV
INTO CORRESPONDING FIELDS OF TABLE gi_main
FROM
ANLC
INNER JOIN ANLA ON
anlcbukrs = anlabukrs AND
anlcanln1 = anlaanln1 AND
ANLCANLN2 = ANLAANLN2
WHERE AFABE eq '1'
AND GJAHR IN S_GJAHR
AND ANLA~ANLKL in S_ANLKL.
BREAK-POINT.
Here is the result at the break point
GI_MAIN[] Standard Table[831x12(116)]
S_ANLKL[] Standard Table[0x4(38)]
S_GJAHR[] Standard Table[1x4(22)]
S_GJAHR-LOW 2009
S_GJAHR-HIGH 0000
I entered value only in GJAHR.
I see there is no problem with the JOIN and the selection, i assume there is a problem with the data.
Try creating a simple query using sqvi and check it.
Regards,
George. -
Move the data in select options to internal table
I have the code as in the fillowing
SELECT-OPTION:S_MATNR FOR MARA-MATNR.
DATA:BEGIN OF IT_MATNTR OCCURS 0,
MATNR LIKE MARA-MATNR,
END OF IT-MATNR.
NOW HOW CAN I ADD THE MATNER VALUES IN THE SELECT-OPTIONS IN INTERNAL TABLEHi Vamsikrishna,
Yes. You can move the values from S_MATNR to IT_MATNR.
you can try either it_matnr[] = s_matnr[].
if not then you can loop in to the select-options as follows.
Define LS_MATNR as a structure type of s_matnr.
Define LS_IT_MATNR as a structure type of it_matnr.
LOOP S_MATNR INTO LS_MATNR.
MOVE LS_MATNR to LS_IT_MATNR.
APPEND LS_IT_MATNR to IT_MATNR.
CLEAR: LS_MATNR, LS_IT_MATNR.
ENDLOOP.
<b>Reward points for helpful answers.</b>
Best Regards,
Ram. -
Please solve the question on select options
i have added 5 select options Each of these new selection options (when selected) will then display on the report .
If A the 1st select option is selected then the new column in the report will display to the right of the existing select-option column.
Message was edited by:
nchandra sekharHi,
U mean what are the seelct-options that are selected should be display on the report output??if that is the case then refer the beloe code.
Internal table for Selection screen parameters
i_seltable TYPE STANDARD TABLE OF rsparams.
*& Form get_selection_screen
Subroutine to get the user selection on selection screen
FORM get_selection_screen .
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
curr_report = sy-repid
TABLES
selection_table = i_seltable
EXCEPTIONS
not_found = 01
no_report = 02.
IF sy-subrc NE 0.
REFRESH i_seltable.
ENDIF.
ENDFORM. " get_selection_screen
*& Form display_selection_criteria
Subroutine to display the selction criteria in the output
FORM display_selection_criteria .
CALL FUNCTION 'RS_LIST_SELECTION_TABLE'
EXPORTING
report = sy-repid
seltext = c_x
newpage = space
TABLES
sel_tab = i_seltable
EXCEPTIONS
sel_tab_empty = 1
OTHERS = 2.
IF sy-subrc <> 0.
REFRESH i_seltable.
ENDIF.
ENDFORM. " display_selection_criteria
Reward if helpful.
Regards,
Nagaraj -
How to get the data into select options if we have 10 select options
Hi Experts,
I facing problem to get the data from diffrent tables and different select options.
I have to pass different parameter ranges.
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: rb1 RADIOBUTTON GROUP g1. "Existing Key Accounts
PARAMETERS: rb2 RADIOBUTTON GROUP g1. "Potential Key Accounts
SELECT-OPTIONS: s_part FOR but000-partner."Business Partner Number
PARAMETERS: p_bpkind LIKE but000-bpkind. "Business Partner Type
PARAMETERS: p_but000 LIKE but000-partner. "Key Account Manager
SELECT-OPTIONS : s_vkont FOR fkkvkp-vkont. "Contract Account
SELECT-OPTIONS : s_ktokl FOR fkkvkp-ktokl. "Debtor Type
SELECT-OPTIONS : s_sparte FOR ever-sparte. "Division
SELECT-OPTIONS : s_vertra FOR ever-vertrag. "Contract
SELECT-OPTIONS : s_budat FOR erdk-budat. "Invoice Date
SELECT-OPTIONS : s_netto FOR dberchv-nettobtr."Billing Amount
SELECT-OPTIONS : s_abrm FOR abc. "Consumption Value
SELECTION-SCREEN: END OF BLOCK b1.
need response asap.
Thanking you.
Regards Surya RamireddyHI,
You can use as many Select-options in the select statment,
Select XXXX yyyy from TABLE where FIELD In S_FIELD1 and
FIELD2 In S_FIELD2.
Regards
Sudheer -
Reducing the space between select option -Text element & Extension button
Hi ,
Can someone let me know is it possible to reduce the space betwwen the text element of select option & Extension button.
i.e. is it possible to make customise the extension button such that it is near the text elementHI,
You can use
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) TEXT-001.
PARAMETERS: P1(3), P2(5).
SELECTION-SCREEN END OF LINE.
Only use this for single range ie from P1 to P2
Define a range in your report and populate the range from P1 and P2.
Regards
Praveen -
Validating the number of selected options in html:select multiple
Hi i am trying to validate the maximum number that can be selected from:
<html:select property="supportingWorkerIds" multiple="true" size="4"
tabindex="4">
<html:optionsCollection property="workerList" label="workerName"
value="userId" />
</html:select>
I want the user to not select more that 10 options for this. If its greater than 10 i want to display an error message.
I have tried adding the following in validation.xml:
<field property="supportingWorkerIds"
indexedListProperty="supportingWorkerIds" depends="validwhen">
<arg0 key="bookSeminarSessionForm.maxSupportWorkers" />
<var>
<var-name>test</var-name>
<var-value>( supportingWorkerIds.length > 10 )</var-value>
</var>
</field>
But it doesnt work .
Any suggestions?
Thanks in advanceHi i am trying to validate the maximum number that can be selected from:
<html:select property="supportingWorkerIds" multiple="true" size="4"
tabindex="4">
<html:optionsCollection property="workerList" label="workerName"
value="userId" />
</html:select>
I want the user to not select more that 10 options for this. If its greater than 10 i want to display an error message.
I have tried adding the following in validation.xml:
<field property="supportingWorkerIds"
indexedListProperty="supportingWorkerIds" depends="validwhen">
<arg0 key="bookSeminarSessionForm.maxSupportWorkers" />
<var>
<var-name>test</var-name>
<var-value>( supportingWorkerIds.length > 10 )</var-value>
</var>
</field>
But it doesnt work .
Any suggestions?
Thanks in advance -
The moment i select option under the heading tools mozilla crashes and window get closed
have updated to Mozilla Firefox 20 after restarting the computer I clicked on Tools and selected the options the moment i clicked on options Mozilla Firefox window get closed then i have to restart it and asked to restore the earlier windows.
Hi philipp thanks for your response , there is no crash reports available in about:crashes and further the same problem is occurring while I try to download any file.
Thanks & Regards -
What does the "Clean Up Selection" option when you right click icons do?
The title of the thread explains my question. Haven't found anything on it in the threads or in Mac Help. Thanks!
When you have one item selected, it does nothing of value.
However, when you have multiple items selected it reorganizes the items so that they're evenly spaced, not overlapping, etc.
Of course, if the icons are already neatly arranged you still won't see any difference, but try moving a few things around (or overlapping icons) then try again. -
I am using www.investools.com
It prints the graphics in the normal page fine
but when I switch to prophetcharts, which loads javascript, the graphs do not display or print.
The text on the left side of the display show but graphs do not, even when I reduce printing size to 30%.
I am using an HP 8500 Pro Officejet.
Everything works in IE fine (but I don't want to use IE).Hi ArielAce , thanks for getting back to me!
I would recommend downloading and running the HP Print and Scan Doctor.
Please keep me posted!
Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
Jamieson
I work on behalf of HP
"Remember, I'm pulling for you, we're all in this together!" - Red Green.
Maybe you are looking for
-
Hi there, I'm having issues saving Numbers documents - every time I try to save, or try to export as a PDF it gives me an error message, like this one below: Some of the documents I'm working from were created in Microsoft Office (Excel) and then I'v
-
Yahoo e-mail service vs. AOL e-mail service
From what I've been reading in here... it looks as if we HAVE to have either a Yahoo e-mail portal/service or an AOL e-mail portal/service. When I first started with Verizon (DSL service back in 2003 and FiOS service since about 2007)... you could ge
-
Photos blurry after rebuilding photo library
OK, so I followed the directions and completed the rebuilding of my iPhoto library. However, now in the edit window the photos look out of focus (they weren't before!) and when I tried making a book the message I got was that the photos are of "low q
-
Accounting Entries during MIRO for a WBS Purchase order - reg
Hi, I have created a Purchase order with account assignment as Project and attached a WBS element in the Account assignment tab. There is no GR involved in this PO. When i am trying to do the Invoice verification, it generates the accounting entries
-
Layout columns executed in WIB blocked but not in BPS
Hello Guys, I have a Layout with 6 Columns with this settings: col1: key col with attr col2: key col col3: key col col4: key col col5: key col col6: key col when I execute this layout in BPS I can enter data without any problem but when I execute the