Seperate the '#" values

hi all, i am new to oracle, can you help me to seperate the values from "#" symbol
if my input is 'ORACLE#SUN#'
i would like to have the oracle and sun in 2 seperate variables can any one help me in getting the output
ORACLE
SUN
should be my output m i tried the instr function and substr function but i was not able to do ot . please help

I'll assume you are looking for an explanation to the second solution which is more generic.
Also, let's say the data always ends with a '#' too.
In the below string...
ORACLE#SUN#MERGER#OFFICIAL#
We need to extract the words between consecutive '#' until we get the final '#'
Oracle's instr function gives you the position where you find an occurance of a string (in our case #) inside the larger string.
So in our case.. we initially start with pos1 and look for the first instance of '#' (which is 7)
so 1-6 will be our first string. (this is all done before the while loop).
l_pos_1 := 1;
l_pos_2 := instr(l_input_string,'#',l_pos_1,1) -1;Once we get this, we move the pointer of pos_1 for the next string which in this case is 9.
And then from 9th position look for the next hash.
l_pos_1 := l_pos_2 + 2;
l_pos_2 := instr(l_input_string,'#',l_pos_1,1) -1;This process is ccontinued till we run out of # which , here, is after the fourth string.
while (l_pos_2 > 0)This sql should help you understand the process..Since the number of strings are not known before, I chose to use the procedural approach.
  1  with t as
  2  (select 'ORACLE#SUN#MERGER#' temp from dual)
  3  select temp,
  4         instr(temp,'#',1,1) first_hash,
  5         instr(temp,'#',1,2) second_hash,
  6         instr(temp,'#',1,3) third_hash
  7*    from t
sql> /
TEMP               FIRST_HASH SECOND_HASH THIRD_HASH
ORACLE#SUN#MERGER#          7          11         18
-- now we need the followinf parts of the input string..
---  (1-6) (8-10) (12-17)
---now to get the positions and the actual values of the strings...
  1  with t as
  2  (select 'ORACLE#SUN#MERGER#' temp from dual)
  3  select first_hash,
  4         substr(temp,1,first_hash-1) first_string,
  5         second_hash,
  6         substr(temp,first_hash+1,(second_hash-first_hash-1)) second_string,
  7         third_hash,
  8         substr(temp,second_hash+1,(third_hash-second_hash-1)) third_string
  9  from (
10  select temp,
11         instr(temp,'#',1,1) first_hash,
12         instr(temp,'#',1,2) second_hash,
13         instr(temp,'#',1,3) third_hash
14     from t
15* )
sql> /
FIRST_HASH FIRST_ SECOND_HASH SEC THIRD_HASH THIRD_
         7 ORACLE          11 SUN         18 MERGERTake a look at these links for further information on instr and substr.
http://download-west.oracle.com/docs/cd/B28359_01/olap.111/b28126/dml_functions_1103.htm
http://download.oracle.com/docs/cd/B28359_01/olap.111/b28126/dml_functions_2101.htm
Also, Please mark the question answered after all your questions have been answered.
That way, it will still be an open question and other forum members would look into it as it indicates there are still unanswered questions.

Similar Messages

  • How to get the values in separate columns

    Hello Everyone
    I am new to Bex, i have the sales data of 2008,2009,2010. now i have to display the sales order(key figure) for 2008,2009,2010 in separate columns for each customer(dimension) in a single report , can any one help me how to get this done in bex.
    Thanks
    Gupta

    Hi ,
    You can achieve this either creating New Selections or Restricted Key Figures.
    Right click on the structute>>>> New selcection>>> drag the year to right [  Right Click on it >>restrict it with 2008}>>>Drag the respected Key figure.
    So u will get the values 2008 in seperate column.
    COpy the New Selecten that u created and paste on the structure , chage the descriprion and year to 2009.
    do the same for 2010.
    Note:you can also achieve this by creating variable offsets.Check the following link
    http://help.sap.com/saphelp_bw33/helpdata/en/3f/89533e5ff4d064e10000000a114084/content.htm
    Regards,
    Ranganath

  • Help Creating A Link In An IR Report Passing The Value From A Different Col

    Version 4.0.2.00.07
    Hello,
    I have an Interactive Report with a column that I need to create a link on but I need to pass the value of another column.
    This report shows the Features of a particular Release. There is a select list for the Release that is selected and executes the report.
    There is a column that indicates whether the Feature has a Commitment attached to it. If there is have that a link to another report that shows all the Commitments for that Feature by passing the FEATURE_ID which is also a column on the Feature report.
    Query:
    SELECT
          ,CASE WHEN ft.feature_id IN (SELECT cc.feature_id
                                       FROM customer_commitments cc
                                       WHERE ft.feature_id = cc.feature_id
                                      ) THEN 'Yes' ELSE 'No'
           END "Commitment Exists"
              ,ft.feature_id
    FROM ....If "Commitment Exists" has a 'Yes', the 'Yes' is a link that will pass the FEATURE_ID to another report that will show the Commitments for that Feature. If the "Commitment Exists" has a 'No' then no link.
    I was also wondering if the Commitment report could open in a seperate window and make it modal?
    I hope this is clear and someone could help me.
    Please let me know if it's not clear or more information is needed.
    Thanks,
    Joe

    To accomplish this I would build the link as part of the value. So if Yes the Yes itself would be a link, if No is simply text as today.
    It would look something like this:
    SELECT
          ,CASE WHEN ft.feature_id IN (SELECT cc.feature_id
                                       FROM customer_commitments cc
                                       WHERE ft.feature_id = cc.feature_id
           THEN
            '<a href="f?p=&APP_ID.:NEW_PAGE:&SESSION.::::Pn_FEATURE_ID:' || ft.feature_id || '">Yes</a>'
           ELSE
            'No'
           END "Commitment Exists"
              ,ft.feature_id
    FROM ....One problem with this approach is when you export the report (as a CSV for example). There are a few ways to handle this, one is to simply duplicate the column with clear text yes and no and set this column to be included on export and only visible on export. The other column, with the link, set it to no export.
    The other option is to add another condition on the REQUEST value.
    SELECT
          ,CASE WHEN ft.feature_id IN (SELECT cc.feature_id
                                       FROM customer_commitments cc
                                       WHERE ft.feature_id = cc.feature_id
           THEN
                  decode(:REQUEST, 'CSV', 'Yes'
                , '<a href="f?p=&APP_ID.:NEW_PAGE:&SESSION.::::Pn_FEATURE_ID:' || ft.feature_id || '">Yes</a>'
           ELSE
            'No'
           END "Commitment Exists"
              ,ft.feature_id
    FROM ....It seems that the link itself is getting replaced with a #. The link would look something like this:
    'f?p=&APP_ID.:NEW_PAGE:&SESSION.::::Pn_FEATURE_ID:' || ft.feature_id
    Hope this helps.
    Oh and of course, in order for the link to display you need to change the Display Type to "Standard Report Column" otherwise the HTML will be escaped.
    Thanks
    -Jorge

  • How can I fire an event case on the value change of an indicator, or a network variable?

    Hi!  I have an event structure setup to look for a value change of an indicator on the front panel.  The indicator is updated by the value of a boolean network-published shared variable through a seperate parallel loop that is polling all of the network-published shared variables.  The event, however, does not fire when the indicator changes value.  I have switched the indicator to a control and tested it with user interaction and that works just fine.
    I want to use the event structure space for my code exectution because it seems logical that that is where it would go, and it will help keep my block diagram tity.  The code is also something I would like executed with the front pannel temperarily disabled.  I would rather not have the code in my network-variable polling loop because again the tity issue.   I would also rather not use a notification VI wired to an independent loop for this particular code.
    Is there a way to have an event structure fire an event with the value change of an indicator, or a network variable directly?
    Thanks for your input.
    LV 8.5
    -Nic

    Thanks for the reply.
    I went about things a little differently, but got them to work so..... .  It really was not my desire to have a boolean indicator on the front panel.  As previously stated, my ultimate goal was to have an event fire on the change of a network variable, which I had to poll for anyway but that is tucked away in a section where I am handling all my network variables.  I ended up using that Create User Event, Register User Event, and Generate User Event SubVIs to handle the task.
    I've read the help for all of those SubVI's and it is not entirely clear to me if the event fires every time the "Generate User Event" receives some inputs, or if it only fires when the value changes.  I could do a test to find out.  It wouldn't be too difficult to add a shift register or a feedback node and place the Generate User Event in a case structure so that it is only fired when the input changes state.

  • How to populate the values in the drop down list form the xml file ?

    I want to populate the drop down list values from a seperate xml file called ReferenceData. I created this file, which consists of a mapping entry in the form of ( key,value ) pair. Am mapping this xml file in to form by using rule named as getAppReferenceData.
    But the values are not getting populated in the form. And I have a doubt of, where should we keep that xml file? (under which path / folder ).

    what would help is if you showed what you do in the rule, either the code or a express trace of the rule.
    The other thing you need to know is where you want to get the file from. Yes java can read a file from anywhere on the system but there is a security layer in there which might prevent the file being opened. Have you allowed acces to the file via the security policy settings via java.io.FilePermission?
    WilfredS

  • Mapping Issue: How to split the value  of Lineitem

    Hi  All,
    I have issue in Mapping .XML-> BAPI Scenario
    1 line item  has the  one 50% Cost Centre , another 50% Cost centre data
    2 line item has only      100% WBS elemnt
    WBS elemnt mapping :
    If A |EQUALS (Text) | WBS_ELEMNT   |If without else|  B(WBS value)  |REmoveContexs| SplitByValue|   WBS_ELEMNT(BAPI field)
    But this supress second line item : WBS_ELEMNT data and uploads into1.Item .Hence PO is not getting created in SAP.
    Could you please giv me a logic to actaually split the value into 2 seperate so that respective data of each line item  are split properly .
    Thank you ,
    Vara

    Hi I think you need an udf for this:
    int total = Integer.parseInt(value[0]);
    result.addValue(Integer.toString(a/2));
    result.addValue(Integer.toString(a/2));
    and after it you can add a splitbyvalue

  • Setting the value of a textbox to be the display value of a selected item

    I have two seperate regions on the same page. In the top region I have a select list with submit and in the bottom region I have a textbox. I can get the value of the textbox to be set to the RETURN value of the select list, but it is merely a number. I would like for the value of the textbox to be set to the DISPLAY value of what the user has selected from the select list. How can I accomplish this?
    Thanks,
    BoilerUP

    Hi BoilerUP,
    Can’t you create an item based on a select, that returns the value you want?
    select text from mytable where id = :myselectlist_id;
    Regards Pete

  • PATH() issue - The Value 'Val123' has multiple values

    Im using PATH() to get a flattened hierarchy. I keep getting the following error:
    Calculation error in column 'Detail'[]: Each value in 'Detail'[UniqueID] must have the same value in 'Detail'[ParentTest]. The value 'A00012:A123' has multiple values.
    I know with 100% certainty that there are not multiple values for A00012:A123.
    I have also copied the data ( from the powerpivot Designer) to another workbook and cannot reproduce the issue. 
    Can anyone advise what might be going on here? Im using Excel 2010 32bit, if its any use. If i can supply any further information please let me know.
    Thanks

    I found the issue. In a seperate set of rows there was a duplicate. the rows had nothing to do with the rows that were actually mentioned in the error message. so a cause has been identified.
    Thanks

  • Putting the values of an array into a combobox

    Hey I'm looking for some advice on an error I'm getting
    First heres the program:
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    import java.awt.event.*;
    public class Quizgame implements EventListener {
         JPanel mainPanel;
         JFrame theFrame;
         public static void main(String[] args) { Quizgame b = new Quizgame(); b.buildGUI(); }
         public void buildGUI() {
              Quizbook Q = new Quizbook("C:\\Users\\Boab\\Desktop\\JavaRe-sit\\FileInput.txt");
              String question = Q.getContent(0);
              String Ans1= Q.getContent(1);
              String Ans2= Q.getContent(2);
              String Ans3= Q.getContent(3);
              String Ans4= Q.getContent(4);
              theFrame=new JFrame("QuizGame");
              BorderLayout layout = new BorderLayout();
              JPanel background = new JPanel(layout);
              background.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              Box buttonBox = new Box (BoxLayout.Y_AXIS);
              JButton start = new JButton("Submit");
              start.addActionListener(new MyStartListener());
              buttonBox.add(start);
              JComboBox Answer = new JComboBox(Q);
              start.addActionListener(new MyStartListener());
              buttonBox.add(Answer);
              Box QuestionBox = new Box(BoxLayout.X_AXIS);
              Box nameBox = new Box(BoxLayout.Y_AXIS);
              nameBox.add (new Label(Ans1));
              nameBox.add (new Label(Ans2));
              nameBox.add (new Label(Ans3));
              nameBox.add (new Label(Ans4));
              QuestionBox.add(new Label(question));
              background.add(BorderLayout.EAST, buttonBox);
              background.add(BorderLayout.WEST, nameBox);
              background.add(BorderLayout.NORTH, QuestionBox);
              theFrame.getContentPane().add(background);
              GridLayout grid = new GridLayout(16,16);
              grid.setVgap(1); grid.setHgap(2);
              mainPanel = new JPanel(grid);
              background.add(BorderLayout.CENTER, mainPanel);
              theFrame.setBounds(150,150,1,1); theFrame.pack(); theFrame.setVisible(true);
         public class MyStartListener implements ActionListener {
         public void actionPerformed(ActionEvent a) {
                   //where you put whats to happen
         public class comboListener implements ActionListener {
         public void actionPerformed(ActionEvent a) {
                   //where you put whats to happen
         There is another file which creates an array of strings with the instance Q in this class ^
    I'm trying to fill the combobox with the values of the array but I can't get it too work. With the code as it is now I get:
    C:\Users\Boab\Desktop\Seperate Java files\NewQuiz\Quizgame\Quizgame.java:41: cannot find symbol
    symbol : constructor JComboBox(Quizbook)
    location: class javax.swing.JComboBox
              JComboBox Answer = new JComboBox(Q);
    ^
    1 error
    I don't really understand why it doesn't work, When I look up the error online its about the class but it works fine without the Combobox line. Any ideas why it won't put the array into the combobox?
    Also my next step is to put only certain values into the combobox i.e values 2-4 in the array, Is there any smart piece of code to do this or do I need to put a loop in with an addcontent and hardcode it?
    Thanks for any help

    Yeah sorry, Quizbook is a class with a method to read out the array the method is:
         public String getContent(int element)
              //access arraylist and return
              return (String)Quizbook.get(element);
         so I tried what you said and put :
    JComboBox Answer = new JComboBox(Q.getContent(5));
    Because the Answer is at that location in the array but it gave me the same error message:
    C:\Users\Boab\Desktop\Seperate Java files\NewQuiz\Quizgame\Quizgame.java:41: cannot find symbol
    symbol : constructor JComboBox(java.lang.String)
    location: class javax.swing.JComboBox
              JComboBox Answer = new JComboBox(Q.getContent(3));
    ^
    1 error
    Process completed.
    So I would of thought that meant use the getContent method from Q object with element bieng 3?

  • Reporting Level The Value will Double....

    Hi Friends,
                      IN BI 7.O I Build MultiProvider Based on DSO And CUBE.Here My DSO is Standard  and the same DSO  Fields are Mapped  in to CUBE also.Here My Query Also Standard Query Under DSO,But I copied to Multiprovider.When i execute the Query the Value will be Double.Please let me know the solution for this.
    Thanx & Regards,
    Raghavendra Bellam.

    Hi,
    As you are aware that a Multiprovider perform a union operation on data from all the objects underneath it.
    If your Query selection fullfil the criteria from the cube as well as DSO the key figure value would be double.
    One solution is to provide a variable/Filter for the infoprovider in the query to get result from only one of them.
    Hope this solves.
    Regards,
    Karan

  • How to get the values from table SKB1 R/3  to SRM

    Hi Gurus,
    My requirement is to get all the values from the table SKB1 to SRM (i.e. in to an internal table) for doing some validation(G/L account XXXXXX requires an assignment to a CO objectXXXXXX.)
    Like wise I have many tables for doing validation in SRM
    Help me how to get this, suggest me any Function module with sample code.
    OR
    Any Standard FM which will give all the values of the fields in the table SKB1 when I pass the key fields G/L account & company code alone so that I can improve the performance.
    Suggest me.
    Regards
    Paul

    Hi,
    You can use the FM 's META_READ_TABLE Or RFC_READ_TABLE
    Which SRM / Backend system version are you using ?
    Are you taking care of the Importing paramater - DELIMITER in this case.. ??*
    See related links ->
    Re: Retrieving data from R/3 into SRM
    Re: Product Search TIME lag
    Else you can just call the remote enabled  FM "BAPI_GL_ACC_GETDETAIL"  from SRM.
    BR,
    Disha.
    Do reward points for useufl answers.

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

  • How to get the values from a html form embedded in a swing container

    Hi all,
    I am developing an application in which i have to read a html file and display it in a swing container.That task i made it with the help of a tool.But now i want to get the values from that page.ie when the submit button is clicked all the values of that form should be retrived by a servlet/standalone application.I don't know how to proceed further.Any help in this regard will be very greatful
    Thanks in advance,
    Prakash

    By parsing the HTML.

  • Double click and get and store the value in variable.

    Hi,
    My intention is when i double click a particular record on a tabular, i want to capture or store the particular value of record into a variable and call that variable in print/preview button PLSQL code.
    Below i show the screenshot which contain a tabular and print preview button. After populating the data. the user will double click on the agent code LC354 and click the print/preview button it should display report for only the
    agent code of LC354(this is what i want). But normally when i click the print preview button it wil show the report of agent code of LC354 and LC325(this what i dont want).
    http://imageshack.us/photo/my-images/811/printpb.png/
    My problem is how to capture the value((*LC354*)) of particular record after double click the agent code(*LC354*)?
    i tried to store agent code in variable AG_CNT in mouse double click trigger with following plsql code. but it dosent work.
    declare
    AG_CNT varchar2(10);
    begin
    *AG_CNT* :=GET_ITEM_PROPERTY('RFQ_AGENT_DETAILS.AGENT_CODE',CURRENT_RECORD);
    end;after that pass that AG_CNT value in *:AG_CODE*. below code is in print/preview button.
         cursor c1 is select nvl(count(ENQUIRY_NO),0) from scott.EXP_QUOTE_STATUS
         where ltrim(rtrim(upper(job_status))) like 'APPROVED%' and ENQUIRY_NO = :REQ_FOR_QUOT.ENQUIRY_NO
    AND AGENT_CODE=*:AG_CODE* ;how to do this?
    skud.

    Hi skud
    i juast want to store the agent code to variable.if i did get ur point...
    Why don't u just use a simple assign statment for example...
    DECLARE
    V_VALUE  NUMBER;
    BEGIN
    V_VALUE := LC354 ; -- IF it was a value as LC354 static i mean
    -- or u could use any value
    V_VALUE := :ur_form_item_name; --- if it was dynamic
    END;That's it .
    Hope this helps...
    Regards,
    Ammatu Allah.

  • Job scheduling(passing the values to the child program)

    when i'm trying to schedule a background job(using job_open job_submit and job_close) i'm passing the values of the selection screen(parent program) to my child program using set parameter id. And trying to get the values using get parameter id in the cild program.
    But the values of the parent program are not being passed to the child program what may be the cause for it?

    rathan,
    Why con't you use
    SUBMIT... [VIA SELECTION-SCREEN]
    [USING SELECTION-SET <var>]
    [WITH <sel> <criterion>]
    [WITH FREE SELECTIONS <freesel>]
    [WITH SELECTION-TABLE <rspar>].
    When you start an executable program, the standard selection screen normally appears, containing the selection criteria and parameters of both the logical database connected to the program and of the program itself (see Direct Execution - Reports). When you start an executable program using SUBMIT, there are various additions that you can use to fill the input fields on the selection screen:
    SUBMIT... [VIA SELECTION-SCREEN]
    [USING SELECTION-SET <var>]
    [WITH <sel> <criterion>]
    [WITH FREE SELECTIONS <freesel>]
    [WITH SELECTION-TABLE <rspar>].
    These options have the following effects:
    VIA SELECTION-SCREEN
    The selection screen of the called executable program (report) appears. If you transfer values to the program using one or more of the other options, the corresponding input fields in the selections screen are filled. The user can change these values. By default, the system does not display a selection screen after SUBMIT.
    USING SELECTION-SET <var>
    This option tells the system to start the called program with the variant <var>.
    WITH <sel> <criterion>
    Use this option to fill individual elements <sel> of the selection screen (selection tables and parameters). Use one of the elements <criterion>:
    <op> <f> [SIGN <s>], for single value selection
    If <sel> is a selection criterion, use <op> to fill the OPTION field, <f> to fill the LOW field, and <s> to fill the SIGN field of the selection table <sel> in the called program.
    If <sel> is a parameter, you can use any operator for <op>. The parameter <sel> is always filled with <f>.
    [NOT] BETWEEN <f1> AND <f2> [SIGN <s>], for interval selection
    <f1> is transferred into the LOW field, <f2> into the HIGH field, and <s> into the SIGN field of the selection table <sel> in the called program. If you omit the NOT option, the system places the value BT into the OPTION field; if you use NOT, the system fills OPTION with NB.
    IN <seltab>, transferring a selection table
    This addition fills the selection table <sel> in the called program with the values of the table <seltab> in the calling program. Table <seltab> must have the structure of a selection table. Use the RANGES statement to create selection tables.
    WITH FREE SELECTION <freesel>, user dialog for dynamic selections
    To use this option, the called program must be connected to a logical database that supports dynamic selections. In the calling program, use the function modules FREE_SELECTIONS_INIT and FREE_SELECTIONS_DIALOG. They allow the user to enter dynamic selections on a selection screen. One export parameter of these function modules has structure RSDS_TEXPR from the RSDS type group. Transfer the values of this export parameter by means of the internal table <freesel> of the same structure to the called report.
    WITH SELECTION-TABLE <rspar>, dynamic transfer of values
    You need an internal table <rspar> with the Dictionary structure RSPARAMS. The table then consists of the following six fields:
    SELNAME (type C, length 8) for the name of the selection criterion or parameter
    KIND (type C, length 1) for the selection type (S for selection criterion, P for parameter)
    SIGN, OPTION, LOW, HIGH as in a normal selection table, except that LOW and HIGH both have type C and length 45.
    This table can be filled dynamically in the calling program with all of the required values for the selection screen of the called program. If the name of a selection criterion appears more than once, the system creates a multiple-line selection table for that criterion in the called program. If the name of a parameter appears more than once, the system uses the last value. Note that LOW and HIGH have type C, so that the system executes type conversions to the criteria of the called program. This is important for date fields, for example. Before your program is used in a live context, you should check it using the VIA SELECTION-SCREEN addition.
    Except for WITH SELECTION-TABLE, you can use any of the above options several times and in any combination within a SUBMIT statement. In particular, you can use the WITH <sel> option several times for one single criterion <sel>. In the called program, the system appends the corresponding lines to the selection tables used. For parameters, it uses the last value specified. The only combination possible for the WITH SELECTION-TABLE option is USING SELECTION-SET.
    If the input fields on the selection screen are linked to SPA/GPA parameters, you can also use this technique to pass values to the selection screen (see Passing Data Between Programs).
    The following executable program (report) creates a selection screen containing the parameter PARAMET and the selection criterion SELECTO:
    REPORT  demo_program_submit_rep1.
    DATA number TYPE i.
    PARAMETERS      paramet(14) TYPE c.
    SELECT-OPTIONS  selecto FOR number.
    The program DEMO_PROGRAM_SUBMIT_REP1 is called by the following program using various parameters:
    REPORT demo_program_submit_sel_screen NO STANDARD PAGE HEADING.
    DATA: int TYPE i,
          rspar TYPE TABLE OF rsparams,
          wa_rspar LIKE LINE OF rspar.
    RANGES seltab FOR int.
    WRITE: 'Select a Selection!',
    SKIP.
    FORMAT HOTSPOT COLOR 5 INVERSE ON.
    WRITE: 'Selection 1',
         / 'Selection 2'.
    AT LINE-SELECTION.
      CASE sy-lilli.
        WHEN 4.
          seltab-sign = 'I'. seltab-option = 'BT'.
          seltab-low  = 1.   seltab-high   = 5.
          APPEND seltab.
          SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN
                          WITH paramet eq 'Selection 1'
                          WITH selecto IN seltab
                          WITH selecto ne 3
                          AND RETURN.
        WHEN 5.
          wa_rspar-selname = 'SELECTO'. wa_rspar-kind = 'S'.
          wa_rspar-sign = 'E'. wa_rspar-option = 'BT'.
          wa_rspar-low  = 14.  wa_rspar-high = 17.
          APPEND wa_rspar TO rspar.
          wa_rspar-selname = 'PARAMET'. wa_rspar-kind = 'P'.
          wa_rspar-low  = 'Selection 2'.
          APPEND wa_rspar TO rspar.
          wa_rspar-selname = 'SELECTO'. wa_rspar-kind = 'S'.
          wa_rspar-sign = 'I'. wa_rspar-option = 'GT'.
          wa_rspar-low  = 10.
          APPEND wa_rspar TO rspar.
          SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN
                          WITH SELECTION-TABLE rspar
                          AND RETURN.
      ENDCASE.
    Pls. reward if useful...

Maybe you are looking for

  • How to set up loopback# as source fro NTP and/or built-in DNS server ?

    I have created a loopback# interface which I would like to be used as the router source interface for the NTP client and/or built-in DNS server so everything originating whithin the router has only one and unique IP address (such as: logging source-i

  • Apple ID Password request

    Every time I wake my iPad with the sleep/wake button, I am asked for my Apple ID Password. There are no apps running prior to the previous shutdown. Any guesses as to why I am getting this?

  • Brand New 40E210U Sound But no Picture

    I just bought this tv just set it up. When i turn it on i get picture and sound for 5 secounds and then the picture disapears. the tv still responds to the remote changing channels and volume but the picture is gone. I can turn the tv off and the pic

  • If I have 2.1GB space avail, why don't I have enough storage?

    Total storage:  5.0 GB, Available 2.1 GB.  Yet, when I try to update, there isn't enough storage space available to update.  WTH?? 

  • CS6 keeps crashing and I'm getting the following error message

    CS6 keeps crashing and I'm getting the following error message Problem signature:   Problem Event Name:    APPCRASH   Application Name:    Photoshop.exe   Application Version:    13.0.1.0   Application Timestamp:    5022da9d   Fault Module Name:    i