Arithmatic(add, sub, mult) operations using radiobutton Selection

Hi,
I want to create simple arithmatic operation program, in that I want to use radiobutton for selection of type of arithmatic( addition or subtraction etc) and display output. This output is concerned about the selection of radioutton. please anyone give me idea about this.

Hi,
this is an example (sum and subtract) that you could extend
   DATA W_NUM TYPE I.
SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME TITLE TEXT-001.
PARAMETERS: P_NUM1 TYPE I OBLIGATORY,
            P_NUM2 TYPE I OBLIGATORY.
SELECTION-SCREEN SKIP.
PARAMETERS : P_ADD RADIOBUTTON GROUP GR1, "sum
             P_SUB RADIOBUTTON GROUP GR1. "subtract
SELECTION-SCREEN END OF BLOCK BL1.
START-OF-SELECTION.
  CLEAR W_NUM.
  PERFORM CALCULATE USING P_NUM1 P_NUM2.
  WRITE W_NUM.
*&      Form  CALCULATE
FORM CALCULATE  USING  PR_NUM1
                       PR_NUM2.
  IF P_ADD EQ ABAP_ON.
    COMPUTE W_NUM = PR_NUM1 + PR_NUM2.
  ENDIF.
  IF P_SUB EQ ABAP_ON.
    COMPUTE W_NUM = PR_NUM1 - PR_NUM2.
  ENDIF.
*others operation
ENDFORM.                    " CALCULATE
Regards
Ivan

Similar Messages

  • Is it possible to edit (levels, curves, exposure, saturation, etc.) a selected area of a photo (using quick selection, magnetic lasso, etc.) without moving the selected section to another document and editing it there?

    I'm trying to edit a portion of a photo of a lake so that the rays of sunlight (the lines that run across the sky) are more prominent, without darkening the rest of the photo. I've sucessfully selected, removed, and edited the sky in the photo (the part that I want to enhance the sun rays on), but I can't figure out how to get that piece (currently it's own document) back onto the original jpeg document. I took the selection from the Background copy if that is of any help to figuring this out.

    Another way in photoshop is to make a Group above the photo. add a layer mask using the selection and put the adjustment layers in the group
    There is also a forum for the full version of photoshop:
    Photoshop General Discussion

  • How to add sub menus in dreamweaver CC using Jquery Tabs

    How can I add sub menus to a Menu Bar in DreamWeaver CC. I know how to do it in CS6 using Spry Menu bar but it's just not as simple as that was now in CC.
    Any Help is appreciated!!

    jQuery tabs is a replacement for Spry tabs, not the Spry menubar.
    Stella333 found a good replacement for the Spry menubar http://forums.adobe.com/thread/1247870

  • [BUG]PS CC Layer Group add vector mask and disable it,use path selection tool click,always crash!!!

    [Bug] Photoshop CC,Layer Group add vector mask and disable it, use path selection tool click canvas, always crash!!!  Please help me!
    The sample psd file(158KB):
    http://doc.aoyea.com/ps_cc_bug.psd
    My Computer configuration:
    SONY VAIO CA100 Notebook、Intel Core I5 2410 CPU、16GB RAM、AMD Radeon 6600M(1G RAM)、Windows7 x64 SP1(clean)、Scratch disk free space is 100GB
    email: [email protected]

    Hi,
    As far as i know that's a bug that will hopefully be fixed in the next update to photoshop cc.

  • SSRS using multiple select parameter in expression

    Hi,
    I am using parameters to create my query at runtime using data set expression.
    I have a multi select string parameter that gets populated using a query. I want to add this multi select parameter values to where clause in expression of mail data set. I am able to join the string and make it comma(,) separated but not sure how can I
    add single quotes(') to it.
    = join(Parameters!Column.Value,",")===>>a,b,c,d
    requirement===>'a','b' ,'c'
    Pls. guide

    make it like this
    = "'" & join(Parameters!Column.Value,"','") & "'"
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Using multiple select lists in ADF

    Hi,
    I am trying to use a multiple select list in my JSP page, and have a method in the ApplicationModule be called when the Struts action is called. I am following the example ADF tutorials, where the method is added to the ApplicationModule class, then dragged onto the Stuts Flow diagram (to associate it with an action).
    I am able to create a dyna form bean for the page that contains the multi select as a type "java.lang.String[]" (string array). I am able get that values that were selected in a normal action's "execute" method. For example:
    msf = (DynaActionForm) form;
    String[] statusSelection = (String[]) msf.get("multSelectList");
    However, I cannot seem to get the "multSelectList" values into a method in my Application Module class. The "multSelectList" is defined in my dynaFormBean as a String[] type. I am passing it in as an argument like the following....
    public void setParams(String multSelectList[]) {
    This results in the method not being called at all. I am not sure why. Does this have something to do with a String[] not being serializable??
    However, if I just attempt to pass other types form items to the method, it works. For example:
    public void setParams(String simpleCheckbox) {
    Does anyone know how to use multiple select lists in conjunction with ADF?
    P.S.
    my multSelectList looks something like this:
    <select name="multSelectList" multiple size="5">
    <option value="ALL">Select All</option>
    <option value="preferred">Preferred</option>
    <option value="standard">Standard</option>
    <option value="approved">Approved</option>
    <option value="interim">Interim</option>
    </select>

    I got this working by changing the signature of the Application Module method to use ArrayList rather than String[], then you can marshal the Struts FormBean contents into an ArrayList to pass up.
    To do this, subclass the DataAction by using "Go To Code" off of the context menu and then override the initializeMethodParameters() method:
      protected void initializeMethodParameters(DataActionContext actionContext, JUCtrlActionBinding actionBinding)
        //Get the String Array from the Form Bean
        String[] selection = (String[])((DynaActionForm)actionContext.getActionForm()).get("multiSelect");
        //convert that to an ArrayList
        ArrayList selectionArr = new ArrayList( Arrays.asList(selection));
        //Add that object to the Arg List for the AM method
        ArrayList params = new ArrayList();
        params.add(selectionArr);
        actionBinding.setParams(params);
      }

  • Sub-contracting operation.

    Hi, we have one sub-contracting operation in between in-house production order operations. For sub-contracting operation only the in-process semi finished material which is the result of previous operation will be sent to vendor. While I am trying to convert pr into po, gives the message that u201Cno component assignedu201D. Please note that no roh will be sent to vendor except that previous operation completed material for which we do not do gr for the previous operation. Please advise how to handle this. Thank you.

    HI Raju,
    Subcontracting: Operation Wise:
    10, 20 & 30 total 3 operations. 10& 30 are internal, i.e., in-house and Operation 20 is External i.e. sending material for external processing u2013 subcontracting
    The control key PP02 meant for external processing is to be allocated to the operation 20 in the routing.
    Once you allocate PP02, in the operation detail screen Activate Subcontracting, then system will ask for the Purchase info record no.
    (Create Purchase Info Record TC: ME11, Give Details of Vendor, Purchase Organization, Plant and Select Subcontracting Press ENTER, maintain the required data)
    Next MD61, MD02, MD04. Then after confirm Operation 10,
    Then external processing has to be started.
    Go to operation overview in the prod order, choose operation 20 & double click.
    Get the Purchase Requisition number from the external processing tab. Then convert into Purchase Order. (Using TC: ME58)
    Send the Material to the Subcontractor using TC: ME2O or TC: MB1B with Movement Type: 541.
    Then receive Material from Subcontracting Vendor by using TC: MIGO with Movement Type: 101.
    (Goods Receipt with Reference to Purchase Order)
    Then confirm Operation 20 &
    Continue with Operation 30, Confirm Operation 30. Do GR by TC: MB31 Movement Type: 101.
    Regards,
    Jagadeesh K

  • Error: 1:n multi-mapping using BPM for file to file scenario

    Hi. Iu2019m trying to do 1:n multi-mapping using bpm scenario. I use file to file. Input file consists of many records and then I want many record to be transformed into many file at target system. I follow step in http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/. However, I have a problem when file is retrieved in to XI. It doesnu2019t create any output file.
    When I look at SXMB_MONI, it shows u201CNo object type found for the message Check that the corresponding process is activated.u201D Besides, it shows error message "Unable to perform action for selected message" when i clikc at PE in SXMB_MONI.
    I have check at many previous posts with the same error message but still couldnu2019t solve it. I already activate my BPM and check that status in SXI_CACHE = 0. There is noting left in change list of my IR and ID.
    Here is my design and configuration.
    IR
    Data Type: DT_file_split -> for both input and output file
    Message Type: MT_file_split_sender, MT_file_split_receiver
    Message Interface: SI_file_split_in, SI_file_split_out, SI_file_abs_source, SI_file_abs_target
    Message mapping: MM_file_split for mapping MT_file_split_sender with MT_file_split_receiver
    Interface mapping: OM_file_split
    u2022     Source = SI_file_split_out
    u2022     Target = SI_file_split_in
    u2022     Mapping Program = MM_file_split
    BPM following this link http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/.
    ID
    Import my Integration process
    2 Communication Channel for getting input file (CC_File_split_sender) and creating output file (CC_File_split)
    2 Receiver determination:
    u2022     Source system to BPM using interface SI_File_Abs_source
    u2022     BPM to target system using interface SI_File_Abs_target
    1 Interface determination:
    u2022     from source system to BPM
    u2022     Sender interface: SI_File_Split_Out
    u2022     Receiver interface: SI_file_abs_source
    1 Sender Agreement
    u2022     Commu. Component: Source System
    u2022     Using interface: SI_File_Abs_source
    u2022     Sender Communication Channel: CC_File_Split_Sender
    1 Receiver Agreement
    u2022     Sender Communication Component: BPM
    u2022     Receiver Communication Component: Target System
    u2022     Receiver Interface: SI_File_Split_In
    u2022     Receiver Communication Channel: CC_File_Split
    Anyone know how to fix this?
    Thanks,
    Pavin

    Hi,
    Yes, thats the problem.
    You are creating file from test tab of  1..N mapping .
    In case of 1..N mappping in mapping Extra tags of messages are addded to the data.As shown here:-
    Messages
          Message1
               MessageType
    When you use this mapping to generate xml message then it will add additional tags for <Messages> and <Message1>, which is not correct. it should only have structure of you MT.
    So remove start and end tag of <Messages> and <Message1> from your data file. Mentioned below in bold.
    <xml......>
    <Messages>
    <Message1>
    <MT_...>
    </MT_...>
    </Message1>
    </Messages>
    This should solve your problem.
    Regards,
    Sami.

  • How to add custom sql operations in Database adapters?

    I have a database adapter in ESB configured with insert, update and select operations.
    I wanted to add another select operation with pure sql. When I added the operation it gave me error "Start of the root element expected" while registering the service.
    Can't we do like this?
    I use SOA suite 10.1.3.4.
    - Sam

    Hi Thanks for reply.
    There is an option while configuring the DB adapter "Execute Custom SQL" where you can specify the query you want to execute. It will generate the schema as per the query you enter in the wizard.
    I have created adapters with this type of custom SQLs and even I have put multiple operations in the same adapters where all use Custom SQL and they are working fine.
    Thease custom SQL operations can be anything insert, update, select and they even work with other operations using procedures in the same adapter. But yes we need to modify the WSDL manuallly.
    My problem was that when I try to add the custom SQL operation in the adapter which is configured with normal select, insert and update operation, I was getting the error mentioned.
    - Sam

  • Sorting a vector using the selection sort method

    I have to write a program that sorts a Vector using the selection sort algorithm. Unfortunately the textbook only has about 2 pages on vectors so needless to say I'm pretty clueless on how to manipulate vectors. However I think I'm on the right path, however I'm stuck on one part as shown in the code below.     
    private static void  selectionSort(Vector parts)
          int index;
            int smallestIndex;
            int minIndex;
            int temp = 0;
            for (index = 0; index < parts.size() - 1; index++)
              smallestIndex = index;
              for (minIndex = index + 1; minIndex < parts.size(); minIndex++)
               if (parts.elementAt(minIndex) < parts.elementAt(smallestIndex))  // this is where I'm having trouble
                  smallestIndex = minIndex;
                parts.setElementAt(temp, smallestIndex);
                parts.setElementAt(smallestIndex, index);
                parts.setElementAt(index, temp); if (parts.elementAt(minIndex) < parts.elementAt(smallestIndex))
    is returning "ProcessParts3.java:51: operator < cannot be applied to java.lang.Object,java.lang.Object"
    Here is the full program:
    import java.util.*;
    import java.io.*;
    public class ProcessParts3
         static Vector parts;
         public static void main(String[] args)
              loadVector();
         private static void loadVector()
         try
              Scanner fileIn = new Scanner(new File("productionParts.txt"));
              parts = new Vector();
              String partIn;
              while (fileIn.hasNext())
                   partIn = fileIn.nextLine();
                        parts.addElement(partIn.trim());
              selectionSort(parts);
                   for (int i = 0; i < parts.size(); i ++)
                   System.out.println(parts.elementAt(i));
         catch(Exception e)
              e.printStackTrace();
         private static void  selectionSort(Vector parts) //from this part down I'm responsible for the coding, everything
                                                               // everything above this was written by the teacher
                 int index;
            int smallestIndex;
            int minIndex;
            int temp = 0;
            for (index = 0; index < parts.size() - 1; index++)
                smallestIndex = index;
                for (minIndex = index + 1; minIndex < parts.size(); minIndex++)
                    if (parts.elementAt(minIndex) < parts.elementAt(smallestIndex))
                        smallestIndex = minIndex;
                parts.setElementAt(temp, smallestIndex);
                parts.setElementAt(smallestIndex, index);
                parts.setElementAt(index, temp);
    }Edited by: SammyP on Nov 27, 2009 11:43 AM

    SammyP wrote:
    I have to write a program that sorts a Vector using the selection sort algorithm...Hmmm.... Your teacher is, in my humble opinion, a bit of a tard.
    1. Vector is basically deprecated in favor of newer implementations of the List interface which where introduced in [the collections framework|http://java.sun.com/docs/books/tutorial/collections/index.html] with Java 1.5 (which became generally available back in May 2004, and went end-of-support Oct 2009). ArrayList is very nearly a "drop in" replacement for Vector, and it is much better designed, and is marginally more efficient, mainly because it is not syncronised, which imposes a small but fundamentally pointless overhead when the collection is not being accessed across multiple threads (as is the case in your program).
    2. Use generics. That "raw" Vector (a list of Objects) should be a genericised List<String> (a list of Strings)... because it's compile-time-type-safe... mind you that definately complicates the definition of your static sort method, but there's an example in the link... Tip: temp should be of type T (not int).
    Note that String implements [Comparable<String>|http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html], so two String's can safely be compared using the compareTo method... In Java the mathematical operators (<, >, &#43;, -, /, &#42;, etc) are only applicable to the primitive types (byte char, int, float, etc)... The Java Gods just chose to muddy the waters (especially for noobs) by "overloading" the &#43; operator for String (and String only) to enable succinct, convenient string-concatenation... which I personally now see as "a little bit of a mistake" on there part.
         private static void  selectionSort(Vector parts)  {
    int index, smallestIndex, minIndex, temp = 0;
    for (index = 0; index < parts.size() - 1; index++) {
    smallestIndex = index;
    for (minIndex = index + 1; minIndex < parts.size(); minIndex++) {
    if (parts.elementAt(minIndex) < parts.elementAt(smallestIndex)) {
    smallestIndex = minIndex;
    parts.setElementAt(temp, smallestIndex);
    parts.setElementAt(smallestIndex, index);
    parts.setElementAt(index, temp);
    }3. ALLWAYS use {curly braces}, even when not strictly necessary for correctness, because (a) they help make your code more readable to humans, and also (b) if you leave them out, you will eventually stuff it up when you insert a line in the expectation that it will be part of the if statement (for example) but you forgot to also add the now mandatory curly-braces... This is far-too-common source of bugs in noob-code. Almost all professionals, nearly allways allways use curly braces, most of the time ;-)
    4. Variable names should be meaningful, except (IMHO) for loop counters... Ergo: I'd rename index plain old i, and minIndex to plain old j
        for ( int i=0; i<list.size()-1; ++i) {
          int wee = i; // wee is the index of the smallest-known-item in list.
          for ( int j=i+1; j<list.size(); ++j ) {Cheers. Keith.
    Edited by: corlettk on 28/11/2009 09:49 ~~ This here fraggin forum markup friggin sucks!

  • How to enable multi-statement replication like select into in SAP Replication server

    Hi All,
    Currently I am worling on replication of non logged operation using SAP Replication Server.My source and target databases both are Sybase ASE 15.7. I created a normal stored procedure having non logged operation like :
    create procedure proc1
    as
    select * into tab2 from tab1
    I have created database replication definition using following command :
    create database replication definition def1
    with primary at dewdfgwp01694.src
    replicate DDL
    replicate functions
    replicate transactions
    replicate tables
    and created subscription as well
    After marking the procedure using sp_setrepproc proc1,'function', I started the repagent (sp_start_rep_agent src)
    But after marking the procedure I am unable to execute the procedure and having the error :
    SELECT INTO command not allowed within multi statement transactions
    Sybase error code=226
    Can anyone please guide me in this situation
    FYI : I have executed all three commands in primary database :
    sp_dboption src,'select into/bulkcopy/pllsort',true;
    sp_dboption src,'ddl in tran',true;
    sp_dboption src,'full logging for all',true

    I am getting the error in primary database(Sybase ASE console) as well as in repserver .
    This error is occurring after the marking of the procedure in the primary database for replicating.
    And after getting this error i am unable to replicate any other table or procedure(seems the DSI thread is going down in repserver)
    the error in repserver is given below :
    T. 2014/09/20 16:58:03. (27): Last command(s) to 'server_name.trg':
    T. 2014/09/20 16:58:03. (27): 'begin transaction  [0a] exec proc1  '
    E. 2014/09/20 16:58:03. ERROR #1028 DSI EXEC(103(1) 'server_name.trg) - dsiqmint.c(4710)
    Message from server: Message: 226, State 1, Severity 16 -- 'SELECT INTO command not allowed within multi-statement transaction.
    H. 2014/09/20 16:58:03. THREAD FATAL ERROR #5049 DSI EXEC(103(1) server_name.trg) - dsiqmint.c(4723)
    The DSI thread for database 'server_name.trg' is being shutdown. DSI received data server error #226 which is mapped to STOP_REPLICATION. See logged data server errors for more information. The data server error was caused by output command #0 mapped from input command #0 of the failed transaction.
    I. 2014/09/20 16:58:03. The DSI thread for database 'server_name.trg' is shutdown.
    I. 2014/09/20 18:07:48. Replication Agent for server_name.src connected in passthru mode.

  • ClientSide Javascript on RadioButton Selection

    Hello together,
    I've seen some examples of how to perform a clientside javascript function from an htmlb element(inputfield).
    I want to add this functionality to a radiobutton-group but can not realize it.
    This is where I am:
    <hbj:radioButtonGroup
    id="radioGroup"
    columnCount="1"
    selection="BOL"
    >
    <hbj:radioButton
    id="BOLProducts"
    text="BOL Products"
    key="BOL"                      
    tooltip="Search BOL products"
    jsObjectNeeded="TRUE"
    >
    <%
         BOLProducts.setClientEvent(EventTrigger.ON_CLICK,"searchBOL()");
    %>
    </hbj:radioButton>
    <hbj:radioButton
    id="MOLProducts"
    text="MOL Products"
    key="MOL"
    tooltip="Search MOL products"
    jsObjectNeeded="TRUE"
    >
    </hbj:radioButton>
    </hbj:radioButtonGroup>
    But when I try this, I get a NullPointerException!
    Any help would be great.
    Thanks,
    Andy

    HI,
    Code
    =====
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <%@ page import = "com.sapportals.htmlb.enum.EventTrigger" %>
    <%@ page import = "com.sapportals.htmlb.event.Event;"%>
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
      <script>
    function process(){
    alert('hi');
    </script> 
    <hbj:form id="myFormId" >
    <hbj:radioButtonGroup
    id="radioGroup"
    columnCount="1"
    selection="BOL"
    >
    <hbj:radioButton
    id="BOLProducts"
    text="BOL Products"
    key="BOL"
    tooltip="Search BOL products"
    jsObjectNeeded="TRUE">
    <% radioGroup.getRadioButtonForKey("BOL").setClientEvent(EventTrigger.ON_CLICK, "process()"); %>
    </hbj:radioButton>
    <hbj:radioButton
    id="MOLProducts"
    text="MOL Products"
    key="MOL"
    tooltip="Search MOL products"
    jsObjectNeeded="TRUE"
    >
    </hbj:radioButton>
    </hbj:radioButtonGroup>
       </hbj:form>
      </hbj:page>
    </hbj:content>
    To get the radio button object inside JS use:
        function calculateCurrencyFromTo(){
             var funcName = htmlb_formid+"_getHtmlbElementId";
             func = window[funcName];
             var rb = eval(func(htmlb_radiobuttonmodifier+"radiobutton"));
    Also Refer javascript API in the following LINK
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/0c/9e0e41a346ef6fe10000000a1550b0/frameset.htm">JavaScript API</a>
    ========================================================
    Try the code i have posted now
    The code is working fine for me, i don't know why the text is invisible for you?
    Label for both radio buttons invisible?
    Message was edited by: Kirupanand Venkatapathi
    ======================================================
    Can you post the full code of your JSP
    Message was edited by: Kirupanand Venkatapathi
    ========================================================
    I removed the bean accessing code snippets, try executing the following code and see whether you get the UI display correctly.
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <%@ page import = "com.sapportals.htmlb.enum.EventTrigger" %>
    <%@ page import = "com.sapportals.htmlb.event.Event;"%>
    <hbj:content id="myContext" >
    <hbj:page title="PageTitle">
    <hbj:form id="myFormId" >
    <script language="JavaScript">
    function searchBOL() {
    alert('hi');
    var funcName = htmlb_formid+"_getHtmlbElementId";
    func = window[funcName];
    var inputfield1 = eval(func("txtEquipmentNumberFrom"));
    if (inputfield1.isEnabled) {
    inputfield1.setDisabled();
    inputfield1.setValue("");
    var inputfield2 = eval(func("txtEquipmentNumberTo"));
    if (inputfield2.isEnabled) {
    inputfield2.setDisabled();
    inputfield2.setValue("");
    var inputfield3 = eval(func("txtEquipmentDescription"));
    if (inputfield3.isEnabled) {
    inputfield3.setDisabled();
    inputfield3.setValue("");
    var inputfield4 = eval(func("txtSerialNumberFrom"));
    if (inputfield4.isEnabled) {
    inputfield4.setDisabled();
    inputfield4.setValue("");
    var inputfield5 = eval(func("txtSerialNumberTo"));
    if (inputfield5.isEnabled) {
    inputfield5.setDisabled();
    inputfield5.setValue("");
    function searchMOL() {
    var funcName = htmlb_formid+"_getHtmlbElementId";
    func = window[funcName];
    var inputfield1 = eval(func("txtEquipmentNumberFrom"));
    if (!inputfield1.isEnabled) inputfield1.setEnabled();
    var inputfield2 = eval(func("txtEquipmentNumberTo"));
    if (!inputfield2.isEnabled) inputfield2.setEnabled();
    var inputfield3 = eval(func("txtEquipmentDescription"));
    if (!inputfield3.isEnabled) inputfield3.setEnabled();
    var inputfield4 = eval(func("txtSerialNumberFrom"));
    if (!inputfield4.isEnabled) inputfield4.setEnabled();
    var inputfield5 = eval(func("txtSerialNumberTo"));
    if (!inputfield5.isEnabled) inputfield5.setEnabled();
    </script>
    <hbj:gridLayout
    id="grid1"
    cellSpacing="5">
    <hbj:gridLayoutCell
    rowIndex="1"
    columnIndex="1"
    >
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="1"
    columnIndex="2"
    >
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="1"
    columnIndex="3"
    >
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="1"
    columnIndex="4"
    >
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="2"
    columnIndex="1"
    >
    <hbj:label
    id="lblMaterialNumberFrom"
    text="Material Number from:"
    labelFor="txtMaterialNumberFrom"
    >
    </hbj:label>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="2"
    columnIndex="2"
    >
    <hbj:inputField
    id="txtMaterialNumberFrom"
    type="string"
    maxlength="100"
    jsObjectNeeded="TRUE"
    >
    </hbj:inputField>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="2"
    columnIndex="3"
    >
    <hbj:label
    id="lblMaterialNumberTo"
    text="Material Number to:"
    labelFor="txtMaterialNumberTo"
    >
    </hbj:label>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="2"
    columnIndex="4"
    >
    <hbj:inputField
    id="txtMaterialNumberTo"
    type="string"
    maxlength="100"
    jsObjectNeeded="TRUE"
    >
    </hbj:inputField>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="3"
    columnIndex="1"
    >
    <hbj:label
    id="lblMaterialDescription"
    text="Material Description:"
    labelFor="txtMaterialDescription"
    >
    </hbj:label>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="3"
    columnIndex="2"
    >
    <hbj:inputField
    id="txtMaterialDescription"
    type="string"
    maxlength="100"
    jsObjectNeeded="TRUE"
    >
    </hbj:inputField>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="3"
    columnIndex="3"
    >
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="3"
    columnIndex="4"
    >
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="4"
    columnIndex="1"
    >
    <hbj:label
    id="lblEquipmentNumberFrom"
    text="Equipment Number from:"
    labelFor="txtEquipmentNumberFrom"
    >
    </hbj:label>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="4"
    columnIndex="2"
    >
    <hbj:inputField
    id="txtEquipmentNumberFrom"
    type="string"
    maxlength="100"
    disabled="TRUE"
    jsObjectNeeded="TRUE"
    >
    </hbj:inputField>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="4"
    columnIndex="3"
    >
    <hbj:label
    id="lblEquipmentNumberTo"
    text="Equipment Number to:"
    labelFor="txtEquipmentNumberTo"
    >
    </hbj:label>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="4"
    columnIndex="4"
    >
    <hbj:inputField
    id="txtEquipmentNumberTo"
    type="string"
    maxlength="100"
    disabled="TRUE"
    jsObjectNeeded="TRUE"
    >
    </hbj:inputField>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="5"
    columnIndex="1"
    >
    <hbj:label
    id="lblEquipmentDescription"
    text="Equipment Description:"
    labelFor="txtEquipmentDescription"
    >
    </hbj:label>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="5"
    columnIndex="2"
    >
    <hbj:inputField
    id="txtEquipmentDescription"
    type="string"
    maxlength="100"
    disabled="TRUE"
    jsObjectNeeded="TRUE"
    >
    </hbj:inputField>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="6"
    columnIndex="1"
    >
    <hbj:label
    id="lblSerialNumberFrom"
    text="Serial Number from:"
    labelFor="txtSerialNumberFrom"
    >
    </hbj:label>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="6"
    columnIndex="2"
    >
    <hbj:inputField
    id="txtSerialNumberFrom"
    type="string"
    maxlength="100"
    disabled="TRUE"
    jsObjectNeeded="TRUE"
    >
    </hbj:inputField>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="6"
    columnIndex="3"
    >
    <hbj:label
    id="lblSerialNumberTo"
    text="Serial Number to:"
    labelFor="txtSerialNumberTo"
    >
    </hbj:label>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="6"
    columnIndex="4"
    >
    <hbj:inputField
    id="txtSerialNumberTo"
    type="string"
    maxlength="100"
    disabled="TRUE"
    jsObjectNeeded="TRUE"
    >
    </hbj:inputField>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="8"
    columnIndex="1"
    >
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="8"
    columnIndex="2"
    >
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="8"
    columnIndex="3"
    >
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="8"
    columnIndex="4"
    >
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="9"
    columnIndex="1"
    verticalAlignment="TOP"
    >
    <hbj:label
    id="lblSearchFor"
    text="Search for:"
    labelFor="searchItems"
    >
    </hbj:label>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="9"
    columnIndex="2"
    id="cell1"
    >
    <hbj:radioButtonGroup
    id="radioGroup"
    columnCount="1"
    selection="BOL"
    >
    <hbj:radioButton
    id="BOLProducts"
    text="BOL Products"
    key="BOL"
    tooltip="Search for BOL products"
    jsObjectNeeded="TRUE"
    >
    <% radioGroup.getRadioButtonForKey("BOL").setClientEvent(EventTrigger.ON_CLICK, "searchBOL()"); %>
    </hbj:radioButton>
    <hbj:radioButton
    id="MOLProducts"
    text="MOL / EOL Products"
    key="MOL"
    tooltip="Search for MOL/EOL products"
    jsObjectNeeded="TRUE"
    >
    </hbj:radioButton>
    </hbj:radioButtonGroup>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="11"
    columnIndex="1"
    >
    <hbj:button
    id="btnSearchButton"
    text="Search Products"
    onClick="searchProducts"
    design="STANDARD"
    >
    </hbj:button>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="11"
    columnIndex="2"
    >
    <hbj:button
    id="btnClear"
    text="Clear Search"
    onClick="clearSearch"
    design="STANDARD"
    >
    </hbj:button>
    </hbj:gridLayoutCell>
    </hbj:gridLayout>
    </hbj:form>
    </hbj:page>
    </hbj:content>
    Message was edited by: Kirupanand Venkatapathi
    =======================================================
    I don't know why the text is invisible for you. Take out the rest of the code and test only the radiobutton code.
    The text is displaying fine for me.
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <%@ page import = "com.sapportals.htmlb.enum.EventTrigger" %>
    <%@ page import = "com.sapportals.htmlb.event.Event;"%>
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
      <script>
    function process(){
    alert('hi');
    </script> 
    <hbj:form id="myFormId" >
    <hbj:radioButtonGroup
    id="radioGroup"
    columnCount="1"
    selection="BOL">
    <hbj:radioButton
    id="BOLProducts"
    text="BOL Products"
    key="BOL"
    tooltip="Search BOL products"
    jsObjectNeeded="TRUE">
    <% radioGroup.getRadioButtonForKey("BOL").setClientEvent(EventTrigger.ON_CLICK, "process()"); %>
    </hbj:radioButton>
    <hbj:radioButton
    id="MOLProducts"
    text="MOL Products"
    key="MOL"
    tooltip="Search MOL products"
    jsObjectNeeded="TRUE">
    <% radioGroup.getRadioButtonForKey("MOL").setClientEvent(EventTrigger.ON_CLICK, "process()"); %>
    </hbj:radioButton>
    </hbj:radioButtonGroup>
    <hbj:radioButtonGroup
    id="Genderselect"
    columnCount="2"
    selection="rb_fem" >
    <hbj:radioButton
    id="RBGenderFemale"
    text="female"
    key="rb_fem"
    jsObjectNeeded="true">
    <% Genderselect.getRadioButtonForKey("rb_fem").setClientEvent(EventTrigger.ON_CLICK, "process()"); %>
    </hbj:radioButton>
    <hbj:radioButton
        id="RBGenderMale"
        text="male"
        key="rb_male">
    </hbj:radioButton>
    </hbj:radioButtonGroup>
       </hbj:form>
      </hbj:page>
    </hbj:content>
    Message was edited by: Kirupanand Venkatapathi

  • How put visible a parameters using RADIOBUTTONS

    Hello:
    I would like to ask one favor , i am trying to put a parameter in a visible mode, when i select a specific radiobutton.
    i am using a selection-screen and when i execute the program my radiobuttons are appears well, but i need to select one of the radiobuttons and after of that i need to present the correspondin parameters for the radiobutton selected before.
    does anybody knows have to do that?
    I making the validations of the radiobuttons area using the AT SELECTION-SCREEN ON RADIOBUTTON GROUP opc. and then i ask for what of the radio was selected, and after of that i need to present the parameter.
    thanks a lot for you help

    Hi,
    Use the below code.
    tables: pa0000, pa0001.
    parameters: p_rad1 radiobutton group rad1 default 'X' user-command rusr,
    p_rad2 radiobutton group rad1,
    p_rad3 radiobutton group rad1,
    p_rad4 radiobutton group rad1,
    p_rad5 radiobutton group rad1.
    selection-screen: begin of block blk1 with frame.
    parameters: p_pernr like pa0000-pernr modif id ABC,
    p_stat2 like pa0000-stat2 modif id DEF,
    p_werks like pa0001-werks modif id GHI,
    p_persg like pa0001-persg modif id JKL,
    p_persk like pa0001-persk modif id MNO.
    selection-screen: end of block blk1.
    AT SELECTION-SCREEN output.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = 'ABC'.
    IF p_rad1 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'DEF'.
    IF p_rad2 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'GHI'.
    IF p_rad3 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'JKL'.
    IF p_rad4 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'MNO'.
    IF p_rad5 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    *Note
    *Titles for Rado buttons and parameters.
    *P_RAD1 Personal Number
    *P_RAD2 Employment Status
    *P_RAD3 Personnel Area
    *P_RAD4 Employee Group
    *P_RAD5 Employee Sub group
    *P_PERNR Personal Number
    *P_PERSG Employee Group
    *P_PERSK Employee Sub group
    *P_STAT2 Employment Status
    *P_WERKS Personnel Area

  • KEY LOOKUP Operator using TCL

    Hi,
    I am trying to create a key lookup operator using tcl.
    OMBALTER MAPPING 'TESTMAP' ADD KEY_LOOKUP OPERATOR 'INSTITUTION_CHARACTERISTIC_DIM'\
    SET PROPERTIES (BOUND_NAME,CREATE_NO_MATCH_ROW, LOOKUP_CONDITION)VALUES
    ('INSTITUTION_CHARACTERISTIC_DIM','true','OUTGRP1.INSTITUTION_CHAR_SRCKEY
    = INGRP1.INST_CHAR_SRCKEY')
    and then adding an attribute to the INGRP
    OMBALTER MAPPING 'TESTMAP'ADD ATTRIBUTE 'LAST_ACTIVITY_DATE' OF GROUP 'INGRP1' OF OPERATOR 'INSTITUTION_CHARACTERISTIC_DIM'
    This is creating a key lookup operator by the name
    INSTITUTION_CHARACTERISTIC_DIM, and i can see the Bound Name in the
    properties window, but when i double click and open the key lookup, i
    dont see the result table under the LOOK UP tab.Because of this, the
    attributes dont get added in the OUTGRP of the key lookup.
    Am i missing some important property of a key look up?
    can some one please help me with this...
    Thanks in advance...

    Hi,
    you have to bind the lookup operator to the table:
    OMBALTER MAPPING 'MAP_LOOKUP' ADD KEY_LOOKUP OPERATOR 'MY_LOOKUP' BOUND TO TABLE '/MY_PROJECT/MY_DB/DIM_CUSTOMERS'
    OMBALTER MAPPING 'MAP_LOOKUP' MODIFY OPERATOR 'MY_LOOKUP' SET PROPERTIES (CREATE_NO_MATCH_ROW, LOOKUP_CONDITION)VALUES ('true','OUTGRP1.ID_CUSTOMER=INGRP1.ID_CUSTOMER')
    OMBALTER MAPPING 'MAP_LOOKUP' ADD ATTRIBUTE 'ID_CUSTOMER' OF GROUP 'INGRP1' OF OPERATOR 'MY_LOOKUP'Regards,
    Carsten.

  • Selecting open items in F-03 using additional selections

    I need to select open items in a GL account using more than one additional selection eg. document type, posting date, assignment
    I select Additional Selections then document type then add a document type, then I select Other Selection - posting date and then Process Open Items. Only the first selection for document type is recognised.
    Is this a bug?
    Edited by: Richard Somerset on Jan 7, 2009 5:14 PM

    However SAP help suggest that this can be done
    Searching for Open Items  
    Use
    After you have entered an account with open items, you can search for specific open items to be cleared.
    On the screen for selecting open items, you can search for specific open items to be cleared using the following additional selection fields:
    Gross amount
    Document number
    Posting date
    Other fields depending on the system configuration
    Procedure
    To search for open items using the additional selection criteria, proceed as follows:
    Choose one of these fields, such as Posting date, then choose Execute.
    The screen for entering selection criteria appears.
    Enter one or more single values or ranges within the selection, such as 01/01/1993 through 01/31/1993 for a range of posting dates.
    To search for specific open items by other criteria (optional), choose Edit ® Select more.
    Repeat steps 1 and 2 for the other selection criteria.
    After you enter your selection criteria, you have the following options:
    Display the list of open items by choosing Goto ® Open items.
    Display the clearing document header and the items entered so far by choosing Goto ® Doc. Overview.
    Post the clearing document by choosing Document ® Post
    Edited by: Richard Somerset on Jan 8, 2009 9:05 AM

Maybe you are looking for

  • Send two signals at the same time to serial

    Hi I have a problem in that I want to control some relay boards by serial. The boards have an address byte (to determine which of the three relay boards) and a relay combination (four relays on each board). The .vi I will need to make will be sending

  • Issue in accesing the database from osb10.3.1

    Hi All, I want to call database from osb10.3.1 Can anyone please tell me how can I configure the database adapter and use the jca protol to access the database tables in osb10.3.1 Also which Jdeveloper version I should use for configuring the databas

  • Oracle Instant Client 10.1.0.4

    Hello.... I just wanted to know what are the changes maded to the Instant Client version 10.1.0.4. I saw the new version is available for Win32 and we used it extensively so I would like to know the changes.... thanks

  • Adobe Photoshop and Premiere Elements 11 installation problem

    I've just bought this program, and am trying to install it on my computer for the first time, but am getting an error when I try to play the Autorun. Then when I click "OK", I get an unreponsive screen: Any idea what I could be doing wrong?

  • Tips for PS CS2 on Windows 7

    Does anyone have any tips on keeping PS CS2 from crashing upon opening on 7 OS? I've read this: http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/windows-7-is-n ot-compatible-with-adobe-photoshop/6f1b4955-7166-4b8f-ad9b-5d19