Translation of radio buttons in query?
Hi all,
I need to translate a query from EN to ES, so I used transaction SQ07, It works fine exept for 2 radios buttons that I've in the selection-screen, I can't find them in SQ07, and of course I can't use the normal translation because it's a Query generated report and not a normal one.
Any idea of where I need to look to translate the radio button text for a query ? All the others texts are translated ok.
Thanks in advance.
Enrik
Hello Arun
Don't you think it is much easier that the user <b>directly </b>selects the tabstrip instead of going to a specific tabstrip, push a certain radiobutton followed by pushing a OK button in the application toolbar???
Regards
Uwe
Similar Messages
-
NEED HELP IN RADIO BUTTON QUERY
Hi, Friends
I like to query to extract data from my table with the help of radio button but I am not able to think what I should write to query. Plz help.
The radio button select jsp page code is-
<form action="queryservice.jsp" method="post">
<h3><strong>Services Available</strong></h3>
<p>
<label>
<input type="radio" name="service" value="si" />
Institutions</label>
<br />
<label>
<input type="radio" name="service" value="sc" />
Corporate_Offices</label>
<br />
<label>
<input type="radio" name="service" value="sr" />
Restaurent_Cafe</label>
<br />
<label>
<input type="radio" name="service" value="sb" />
Bus_Stop</label>
<br />
<label>
<input type="radio" name="service" value="sa" />
Apartment</label>
<br />
<label>
<input type="radio" name="service" value="sh" />
Hotels</label>
<br />
</p>
<label>
<input type="submit" value="Submit" />
</label>
</form>And queryservice.jsp page is
<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
<sql:query var="xyz" scope="request">
<% String var = request.getParameter("service"); %>
if(var.equals("si")){ SELECT si FROM serviceTable}
else if(var.equals("sc")){ SELECT sc FROM serviceTable}
else if(var.equals("sr")){ SELECT sr FROM serviceTable}
else if(var.equals("sb")){ SELECT sb FROM serviceTable}
else if(var.equals("sa")){ SELECT sa FROM serviceTable}
else if(var.equals("sh")){ SELECT sh FROM serviceTable}
</sql:query>Please correct it.
Thanking youError Report-
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException:
if(var.equals("si")){ SELECT si FROM serviceTable }
else if(var.equals("sc")){ SELECT sc FROM serviceTable}
else if(var.equals("sr")){ SELECT sr FROM serviceTable}
else if(var.equals("sb")){ SELECT sb FROM serviceTable}
else if(var.equals("sa")){ SELECT sa FROM serviceTable}
else if(var.equals("sh")){ SELECT sh FROM serviceTable}
: Non supported SQL92 token at position: 57: SELECT
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
javax.servlet.ServletException: javax.servlet.jsp.JspException:
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
Apache Tomcat/6.0.14 -
How to use Radio buttons in WAD to select different condition in a query
Hi Guru,
I am new to WAD, I want to use radio buttons in selection screen of query for different selections based on selection criteria. I am aware of executing different queries using different radio buttons. but i want to use single queries for different radio button selections.
I have found some relevant topic to it but not got exact solution. Please guide me.Hi Avinash,
Drag a DropDown webitem into your template. Under DropDown webitem properties, Data Binding -> Fixed List of Options.
Fixed Option -> Action -> Command via Command Wizard, Command -> Commands for Data Providers -> Data Provider Commands for Filter Values -> SET_SELECTION_STATE_SIMPLE. Data Provider Affected -> choose the main DP Query here. Characteristic -> choose Employee Group characteristic here as present in your DP Query. Sign -> INCLUDING, Operator -> EQUAL_SELECTION, Equals -> MEMBER_NAME, Member Name -> specify the value here i.e. Employee1 etc.
Repeat above Fixed Option step for Employee2, Employee3 etc. selections. For 'All' option choose Command CLEAR_SELECTION_STATE with Data Provider Affected as the main DP Query & Characteristic as Employee Group.
--Priya -
Selection Based on Radio buttons in SAP Query
Hi All,
I am new to SAP Query.
I have added the radio buttons on the selection screen of my SAP query screen.
Can anyone please tell me how to make the field selection in query based on the status of these radio buttons.
Thanks And Regards,
RupeshHI
you have to do this using modif id. here is a sample program to do this
PARAMETERS show_all radiobutton group g1 USER-COMMAND flag.
PARAMETERS no_show radiobutton group g1 default 'X'.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS: p1(10) TYPE c,
p2(10) TYPE c,
p3(10) TYPE c.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
PARAMETERS: p4(10) TYPE c modif id bl2,
p5(10) TYPE c modif id bl2,
p6(10) TYPE c MODIF ID bl2.
SELECTION-SCREEN END OF BLOCK b2.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF show_all <> 'X' AND
screen-group1 = 'BL2'.
screen-active = '0'.
ENDIF.
MODIFY SCREEN.
endloop.
reward if helpful
Message was edited by: Harikishore Sreenivasulu -
Hi,
Can you please let me know how to add the radio button in the selection criteria of the ABAP/4 Query.
InfoSet is developed by joining two tables. It does not include any LDB.
Requirement:
Based on the Radio button value given in the selection-screen, I need to filter the records.
For this, I need to add the radio-button on the selection-screen of the report.
Please let me know how to add the radio button on the selection-criteria of the report.
and also let me know is there any possibility to change the InfoSet attached to the query.
Thanks,
Madhuri.HI
YOU CAN USE THE FOLLOWING SEGMENT OF CODE TO HAVE RADIO BUTTONS IN THE SELECTION SCREEEN..
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
PARAMETERS: R1 RADIOBUTTON GROUP RAD1 DEFAULT 'X',
R2 RADIOBUTTON GROUP RAD1,
R3 RADIOBUTTON GROUP RAD1.
SELECTION-SCREEN END OF BLOCK B1.
AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.
IF R1 = 'X'.
<b>SELECTION CRITERIA</b>
ENDIF.
FOR MORE DOCUMENTATION PLEASE REFER THE LINKS
1 <a href="http://72.14.203.104/search?q=cache:M-DVSgwQ-pYJ:www.geocities.com/siliconvalley/campus/6345/paramete.htmRADIOBUTTONINSELECTIONSCREENIN+ABAP&hl=en&gl=in&ct=clnk&cd=6">PARAMETERS</a>
2 <a href="http://72.14.203.104/search?q=cache:GVSXomykKsYJ:cma.zdnet.com/book/abap/ch21/ch21.htmRADIOBUTTONINSELECTIONSCREENIN+ABAP&hl=en&gl=in&ct=clnk&cd=7">SELECTION SCREENS</a>
IF THESE ARE USEFUL PLEASE REWARD POINTS
REGARDS,
ANOOP -
Hi All,
For radio buttons in a group , I know by default one radio button will be selected always. If I give Default option for radio button with value "X" then that will be selected in selection screen.
Now my query : "Is there any way to have both/all radio buttons unselected when the program is executed and let user choose one of the radio buttons on selection screen and carry ahead the exection" ?
Please confirm even if this cannot be done , as I just want to be sure whether this can be done or not in ABAP.
Thanks for your help.
Regards,
JalpaHi,
Its not possible to have without default selection of radio button group in ABAP.
But we can achieve this one through screen design within that screen design properties we can keep input check boxes unselected.
for that in screen layout take three radio buttons then go to elementary list>general attribute>input check box unselect
Result is disable radio buttons but all are unselected.
Hence as per my knowledge which your being expected not possible in ABAP.
Regards
Sreenivas -
Reg:Radio button in ABAP Query
Hi ABAPers ,
I created radiobuttons in SQ02 there i have to write the coding for it ... what type of coding we have to write
ALV coding wll work out or what type of coding we have to write can you guys plz suggest me
Help me out from this problem i am not familiar with ABAP Query
Regards,
Y Ravichandra.Hi Ravichandra,
You have to use at selection-screen output event for this purpose here is a sample code try it and you will get the logic.
PARAMETERS :
p_flight RADIOBUTTON GROUP r1 ,
p_book RADIOBUTTON GROUP r1 .
PARAMETERS :
w_temp1 RADIOBUTTON GROUP r2 MODIF ID sc1 ,
w_temp2 RADIOBUTTON GROUP r2 MODIF ID sc1 .
SELECT-OPTIONS s_carrid FOR sflight-carrid MODIF ID sc1 .
" Airline Code
PARAMETERS :
w_temp01 RADIOBUTTON GROUP r3 MODIF ID sc2 ,
w_temp02 RADIOBUTTON GROUP r3 MODIF ID sc2 .
SELECT-OPTIONS s_bookid FOR sbook-bookid MODIF ID sc2 .
" Airline Code
* AT SELECTION-SCREEN OUTPUT *
AT SELECTION-SCREEN OUTPUT .
IF p_flight = 'X' .
fl_flag = 1 .
LOOP AT SCREEN.
IF screen-group1 = 'SC2'.
screen-active = 0 .
MODIFY SCREEN .
ENDIF. " IF SCREEN-GROUP1 = 'SC2'
ENDLOOP. " LOOP AT SCREEN
ELSEIF p_book = 'X' .
fl_flag = 2 .
LOOP AT SCREEN.
IF screen-group1 = 'SC1'.
screen-active = 0 .
MODIFY SCREEN .
ENDIF. " IF SCREEN-GROUP1 = 'SC1'
ENDLOOP. " LOOP AT SCREEN
ENDIF . " IF P_FLIGHT = 'X' .
Here in this case, There are 2 radio buttons and 2 select options. On clicking the first radio button one of the select option is hidden. If you you just have a single radio button then you can avoid using at selection-screen output and just write your code start-of-selection.
Much Regards,
Amuktha -
Check Box or Drow Radio Button on Bex Query
Hi Experts,
Does anyone know to how to put a "Check Box" or "Drow Radio Button" variable on query selection screen?
The user want to switch the order data between open and completed on a same report by a check box / radio button.
ThnaksHi Linkzhou,
Why don't you directly use a var on Actual Delivery Date & include/exclude on # cases to report open/closed shipments.
Alternatively, You can achieve the same without making changes to backend, if you are ok with using WAD. In WAD 7, you can use a DropDown webitem instead of a RadioButton/Checkbox webitem since you cannot assign a Command on selection from a RadioButton/Checkbox webitem. Also, you would need to design the same in a web template since this will not be made available on your query selection screen.
In the DropDown webitem, use Data Binding Type -> 'Fixed List of Options' , here you can configure
Open -> under Action use Command 'SET_SELECTION_STATE_SIMPLE', choose your Actual Delivery Date char, Sign -> INCLUDING, Operator -> Equals, Equals -> Member Name, Member Name -> Direct Input -> # [Not Assigned]
Closed -> under Action use Command 'SET_SELECTION_STATE_SIMPLE', choose your Actual Delivery Date char, Sign -> EXCLUDING, Operator -> Equals, Equals -> Member Name, Member Name -> Direct Input -> # [Not Assigned]
Now when the user selects Open option from the DropDown webitem, the data provider query will be filtered for open shipments & vice versa for Closed option.
--Priya -
Missing output format radio button in SAP Query
Hi SAP Gurus
We have SAP Query which as created in 4,6c. After the upgrade to ECC 6.0 We found that the output format radio button is mising in SAP Query. We are unable to choose teh output format. How can we have the radio button back?
Appreciate yr help
Rgds..SanjayDear Sanjay
Refer OSS Notes 723577 and 132813, may be this notes helpfull. -
Radio button getting unchecked when form in query mode
There are 4 radio buttons on my form.Initially when the form is opened one radio button is checked.But when the form is in query mode that radio button got unchecked.Is there any way that the initial checked radio button remains checked even the form is in query mode ?
Message was edited by:
user496853Hi,
Solutions given by Kevin and Zaibiman is not applicable for my form as the radio button will be in data base block only.This is the requirement of the form.
The other solution given by Zaibiman was to set the radio button item when entered in query mode , i have tried that but that is also not working.
Pranati,the solution given by you i have also tried that ,but that has not solved the issue,Radio button get unchecked when eneterd in query mode.
Please elaborate and suggest.
Thanks,
Kirti -
Can in af:query we have vo attribute rendered as radio button?
Hi ,
we have a requirement wherein we have a search region which has 2 radio buttons to choose date range and week range respectively.is there any way to achieve this in <af:query>????
Any pointers how to achieve this??
Thanks
AnandHi
Radio groups are not supported inside query currently, you may have a look at this [ similar post|https://forums.oracle.com/forums/thread.jspa?threadID=2129840] and frank's reply for more details/explanation.
When I searched for enhancement request, I found one but that had been rejected asking for business requirements.
If you feel, this is must in your project and have proper usecase and business requirements you may raise an enhancement request with support.
Thanks,
Sireesha -
Filter results in query depending on value radio button
Hi all,
I have a "y/n" radio button group along with other fields and when submitted, you should be able to see a certain column depending on what the user chooses.
For "y" all records should be displayed, where the column value is not null and for "n" only the records where the column value is null should be displayed.
I've tried with conditional display for the column, but still get the records where the value is null in my report for "y".
Can anyone help me fix this?
kind regards,
Cleo
Edited by: Cleopatra on Jan 27, 2011 11:56 AMWhat you want is
AND {CONDTION}
AND {CONDTION}
AND {COLUMN FILTER CONDITION}so it should be
WHERE
AND {CONDITION 1}
AND {CONDITION 2}
AND (
( :ITEM_NAME = 'Y' AND <COLUMN NAME> IS NOT NULL )
OR ( :ITEM_NAME = 'N' AND <COLUMN NAME> IS NULL )
)Hope you have understood the reason why the column filter have been made together into an additional clause , rather than adding them them directly.
If you are confused about the logical structure of the query, try forming them into a sentence which you would be explaining the requirement. -
Query :Chek box and radio buttons in smartforms
Hi ,
When we go to web properties in text . Thierwe find the entries the field name and dropp down down list with text , radiobutton , chek box Etc . . I have tried to use it but it is not displaying any such radio button or chek box in smartform output .
If somebody has used it before please tell me how to use those things .
RegardsHi,
Ya so please go web properties of text field here u can find check box,
radio button , hidden fields all the stuff u can use that one.
Rewards points if it is useful. -
Select List or Radio Buttons query with multiple tables join
Hello,
I'm having a problem creating a select list or a radio group item.
I need to display the emp_first_name in the select list but have the return value of the order_id in the select list or radio buttons item.
The tables are as follow:
emp_table
emp_id
emp_first_name
emp_last_name
etc...
orders_table
order_id
order_name
emp_id
etc...
I need to display the emp_name from emp_table in the select list but return the order_id from the orders_table as the return value.
How can I do this?
Any help would be greatly appreciated.
Thanks.
Regards,
NJHi NJ,
Try:
select e.emp_first_name d,
o.order_id r
from orders_table o
inner join emp_table e on o.emp_id = e.emp_id
order by 1You may have an issue with an emp_id being used for more than one order and, therefore, the employee's name appearing more than once in the list?
Andy -
Hi Guys,
In my selection screen I am giving 2 radio buttons.
My requirement is I need a sy-date field beside one radio button.
Is there any way to do this.
Thanks in Advance,
Prasad.Hi..use this code:
SELECTION-SCREEN BEGIN OF LINE.
PARAMETER : ra_1 RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND abc,
ra_2 RADIOBUTTON GROUP g1.
SELECTION-SCREEN COMMENT 7(10) display.
*SELECTION-SCREEN COMMENT 7(10) display MODIF ID def.
SELECTION-SCREEN END OF LINE.
AT SELECTION-SCREEN OUTPUT.
IF ra_1 = 'X'.
display = sy-datum. " you can modify the format of the date
ELSE.
display = sy-datum.
ENDIF.
MODIFY SCREEN.
Maybe you are looking for
-
Dreamweaver Flash Embedding Problem...
Hello all, Just stumbled across a slight issue which im hoping some of you may be able to help me with... Firstly I will give a slight bit of background... As part of a University assignment, a small Dreamweaver based website is to be created. In thi
-
IDOC control record mapping - Sender Partner number defaulted to log. sys.
My PI scenario is file to IDOC scenario. I have ticked "apply values from payload" checkbox, so Sender Partner Number is being defaulted to logical system assigned to my business system. Logical system name has to be unique in PI. My understanding is
-
Where can i download Visual Composer 7.0?
Hi, Where can i download Visual Composer 7.0? Thanks.
-
Namespace '/BIC/' must be set to 'changeable' (transaction SE06)
Hi BI expoerts, I am trying to set up the background job in portal using Information Broadcasting to distribute reports to various users . But the time when you have to give the Technical Name and Description, I am constantly getting warning message
-
Hi, can anybody tell me about business flow of AP in oracle financials. thanks & regards, gb prasad