How to get that values in to Query

It is a sales Report in which EBO Qty is Restricted Keyfigure & EBO Value is Formula
This query is based on Multi Provide: Stock Analysis.
Multi provider is based on
Stock Analysis (Inocube)
Material Valuation (ODS)
One condition is there for EBO Value .
Remeber that it is Production system . These EBO Value & EBO Quantity values are not coming in the query.
Any help
Thanks in advance

pls check in "Identify chracteristics" option in Extra menu in multiprovider edit..
by
ANR

Similar Messages

  • How to get constant Value through RSQL Query

    Is it possible to get constant value in rsql query?
    Eg: select bBU, 0 Dummy column, part_number from test_rs

    No. This is not available in IOP. What do you want to achieve using this?

  • How to get the value of mysql Query.....

    Hi Friends,
    I am running this query thorugh JSP :
    rst = stmt.executeQuery("select count(*) from information_schema.columns where table_name='countrylist';");
    Here this query returns that how many columns the table countrylist have....
    But My problem is How I can take this value in a variable for my further process.
    ple help me out....

    Hi Friends,
    I am running this query thorugh JSP :
    rst = stmt.executeQuery("select count(*) from
    information_schema.columns where
    table_name='countrylist';");First, consider using prepared statements, although it' snot much of a problem with this example.
    Second, consider applying good application design by maintinging strict MVC and multi-tier separation. JSPs shouldn't even know that there's something like a database, and certainly not access one.
    Here this query returns that how many columns the
    table countrylist have....
    But My problem is How I can take this value in a
    variable for my further process.
    ple help me out....You mean "how to use the result set"? Consider reading the API or at least using Google...
    http://www.google.com/search?q=resultset+examples

  • How to get each value from a parameter passed like this '(25,23,35,1)'

    Hi
    One of the parameter passed to the function is
    FUNCTION f_main_facility(pi_flag_codes VARCHAR2) return gc_result_set AS
    pi_flag_codes will be passed a value in this way '(25,23,35,1)'
    How to get each value from the string
    like 25 first time
    23 second time
    35 third time
    1 fourth time
    I need to build a select query with each value as shown below:-
    (SELECT t2.org_id, t4.description
    from org_name t2, ref_org_name t3, code_table t4
    where t2.att_data = t4.code
    and t3.ref_code = t2.att_type
    and t2.att_type = 25 and t3.code_type = t4.code_type
    and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q1,
    (SELECT t2.org_id, t4.description
    from org_name t2, ref_org_name t3,code_table t4
    where t2.att_data = t4.code
    and t3.ref_code = t2.att_type
    and t2.att_type = 23 and t3.code_type = t4.code_type
    and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q2,
    (SELECT t2.org_id, RTRIM(xmlagg(xmlelement(e, t4.description || ';')
    ORDER BY t4.description).EXTRACT('//text()'), ';') AS DESCRIPTION
    from org_name t2, ref_org_name t3,code_table t4
    where t2.att_data = t4.code
    and t3.ref_code = t2.att_type
    and t2.att_type = 35 and t3.code_type = t4.code_type
    and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date
    group by t2.org_id) q3,
    (SELECT t2.org_id, t4.description
    from org_name t2, ref_org_name t3, code_table t4
    where t2.att_data = t4.code
    and t3.ref_code = t2.att_type
    and t2.att_type = 1 and t3.code_type = t4.code_type
    and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q4
    Please help me with extracting each alue from the parm '(25,23,35,1)' for the above purpose. Thank You.

    chris227 wrote:
    I would propose the usage of regexp for readibiliy purposes and only in the case if this doesnt perform well, look at solutions using substr etc.
    select
    regexp_substr( '(25,23,35,1)', '\d+', 1, 1) s1
    ,regexp_substr( '(25,23,35,1)', '\d+', 1, 2) s2
    ,regexp_substr( '(25,23,35,1)', '\d+', 1, 3) s3
    ,regexp_substr( '(25,23,35,1)', '\d+', 1, 4) s4
    from dual 
    S1     S2     S3     S4
    "25"     "23"     "35"     "1"In pl/sql you do something like l_val:= regexp_substr( '(25,23,35,1)', '\d+', 1, 1);
    If t2.att_type is type of number you will do:
    t2.att_type= to_number(regexp_substr( '(25,23,35,1)', '\d+', 1, 1))Edited by: chris227 on 01.03.2013 08:00Sir,
    I am using oracle 10g.
    In the process of getting each number from the parm '(25,23,35,1)' , I also need the position of the number
    say 25 is at 1 position.
    23 is at 2
    35 is at 3
    1 is at 4.
    the reason I need that is when I build seperate select for each value, I need to add the query number at the end of the select query.
    Please see the code I wrote for it, But the select query is having error:-
    BEGIN
    IF(pi_flag_codes IS NOT NULL) THEN
    SELECT length(V_CNT) - length(replace(V_CNT,',','')) FROM+ ----> the compiler gives an error for this select query : PLS-00428:
    *(SELECT '(25,23,35,1)' V_CNT  FROM dual);*
    DBMS_OUTPUT.PUT_LINE(V_CNT);
    -- V_CNT := 3;
    FOR L_CNT IN 0..V_CNT LOOP
    if L_CNT=0 then
    V_S_POS:=1;
    V_E_POS:=instr(pi_flag_codes, ',', 1, 1)-1;
    else
    V_S_POS:=instr(pi_flag_codes,',',1,L_CNT)+1;
    V_E_POS:=instr(pi_flag_codes, ',', 1, L_CNT+1)-V_S_POS;
    end if;
    if L_CNT=V_CNT then
    V_ID:=TO_NUMBER(substr(pi_flag_codes,V_S_POS));
    else
    V_ID:=TO_NUMBER(substr(pi_flag_codes,V_S_POS,V_E_POS));
    end if;
    VN_ATYPE := ' t2.att_type = ' || V_ID;
    rec_count := rec_count +1;
    query_no := 'Q' || rec_count;
    Pls help me with fetching each value to build the where cond of the select query along with the query number.
    Thank You.

  • How to get default values while using the transaction "BP"

    Hi Group,
    I have a query on how to get default values while using the transaction <b>BP</b>?
    The thing is:
    when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
    how can I achieve this?
    So please kindly let me know the procedure to achieve this.
    Thanks & Regards,
    Vishnu.

    Hi,
    The events of BDT can be used to default some fields on creating a partner.
    For this create a function module for ISDAT. attach that event in BUS7.
    In the ISDAT funtion modulethe following code should be used.
    For example to set the nationality:
    I_BUSDEFAULT-NATIO = 'DE.
    CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
    EXPORTING
    i_busdefault = I_BUSDEFAULT
    Regards, Smita.

  • How to get updated value at run time in oracle forms

    How to get updated value form oracle database on a field in oracle forms 6.0 at run time if the same form is opened by multiple users and both have get the same maximum value if one commit the record then how other would get that maximum value with out exiting that form...

    This issue is fairly common and Forms handles the situation by displaying the error, "Record has been updated by another user. Requery to see changes." if a user tries to update a record that was updated by another user.
    If your data is in a base table block, you can check before you save by checking the value in the form against the database using the Get_Item_Property('<BLOCK.ITEM>',DATABASE_VALUE). You can compare the value returned by the built-in against the value in the field to see if they have changed. This could be a lot of work and a lot of network traffic if you are checking numerous items in your data block. Forms has a standard locking mechanism that will lock the queried record as soon as a user makes any changes. If another user queries and attempts to change the record locked by another user - they will receive a "Record Locked" message.
    Francois brings up a valid point. Perhaps you should review the link Francios provided as well as this one: How to ask questions the smart way
    It is always a good idea to review your thread before you post it and ask yourself, "Could I answer this question given the information I've provided and the way I've asked the question?"
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • 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 return values from task flow in af:region ?

    Hi!
    I'm working with a taskFlow that is rendered inside a popup using the "popup inside a region pattern" (http://www.oracle.com/technology/products/adf/patterns/popupregionpattern.pdf), but now this taskFlow has an input parameter and a return value definition. So the question is how to get a value returned by this taskFlow thas is called inside a region?
    Any suggestion?
    Thanks in advance!

    Hi,
    write the value to a shared memory scope like session and read it in the regionNavigation listener. If you follow the paper you refer to then the listener determines of the viewId is null, this a return happens. It wuld then look in the memory scope for the return value.
    Another option would be to use an object that you pass as an argument to the task flow you open in the popup. Then you change the object you passed in, which then makes the return information available in teh calling flow. The object you pass in would have to be in a shared scope too
    Frank

  • How to get selected value from selectOneRadio ???

    Hi...i want to how to get selected value from selectOneRadio and use it in another page and in backing bean.
    Note i have about 10 selectOneRadio group in one page i want to know value of each one of them.
    Plzzzzzzzz i need help

    You have a datatable in which each row is a question, correct?
    Also in each row you have 5 possible answers that are in a radio, correct?
    So,
    You need to put in your datatable model, a question, and a list of answers (5 in yor case) and the selected one.
    So you will have a get to the question, an SelectItem[] list to populate the radios and another get/set to the selected question.
    ex:
    <h:selectOneRadio value="#{notas.selectedString}" id="rb">
    <f:selectItem itemValue="#{notas.valuesList}"/>
    </h:selectOneRadio>
    Search the web for examples like yours.

  • How to get string value from xml in JSF??

    In JSF How to get string value from xml, .ini and properties file. I want to get string value from xml or text to JSF

    Just use the appropriate API's for that. There are enough API's out which can read/parse/write XML, ini and properties files. E.g. JAXP or DOM4J for xml files, INI4J for ini files and Sun's own java.util.Properties for propertiesfiles.
    JSF supports properties files as message bundle and resource bundle so that you can use them for error messages and/or localization.

  • How to get a value from the previous element (XSLT/XPATH gurus ahoy!)

    Hi All,
    I am building an RTF template for a "letter of reference"-report. Sometimes there are several rows in the data, that need to be printed as one. This is due to consecutive temporary contracts, which will be printed out as one period of service.
    Here's a simplified data example to illustrate the problem.
    <ROW>
    <START_DATE>01-01-1980</START_DATE>
    <END_DATE>01-01-1988</END_DATE>
    </ROW>
    <ROW>
    <START_DATE>01-01-1988</START_DATE>
    <END_DATE>01-01-1990</END_DATE>
    </ROW>
    <ROW>
    <START_DATE>01-01-2000</START_DATE>
    <END_DATE>01-01-2005</END_DATE>
    </ROW>
    With the data above, I should print two lines:
    01-01-1980 - 01-01-1990
    01-01-2000 - 01-01-2005
    I need to compare START_DATE of an element (except for the first one) with the END_DATE of the previous element, to find out whether to print the END_DATE for that element or not. How can I get that value from the previous element?
    Thanks & Regards, Matilda

    use this to get the following End_date
    <?following-sibling::../END_DATE?>
    Try this
    <?for-each:/ROOT/ROW?>
    ==================
    Current StartDate <?START_DATE?>
    Current End Date <?END_DATE?>
    Next Start Date <?following-sibling::ROW/END_DATE?>
    Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
    ================
    <?end for-each?>
    o/p
    ==================
    Current StartDate 01-01-1980
    Current End Date 01-01-1988
    Next Start Date 01-01-1990
    Previous End Date
    ================
    ==================
    Current StartDate 01-01-1988
    Current End Date 01-01-1990
    Next Start Date 01-01-2005
    Previous End Date 01-01-1988
    ================
    ==================
    Current StartDate 01-01-2000
    Current End Date 01-01-2005
    Next Start Date
    Previous End Date 01

  • How to get submitted Value from SelectOneMenu?

    Hi.
    At the beginning, i would like to say, that i am at the beginning to learn JSP and JSF. I am from germany, so please excuse my english.
    For work i have to develop a form, where the user can select a manufacturer, insert a unique key and get a list of devices after he submits this two attributes.
    At the moment i can not get the value of the selected Item in the selectonemenu.
    I deleted all my trys to get this value, to show you the working parts.
    We work with faces-config.xml, tiles.xml and hybris as platform.
    My code:
    deviceFamilyMain.jsp:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <h:form id="frmDeviceFamilySelect">
      <h:selectOneMenu binding="#{DeviceFamilyBean.selectOneMenuDeviceFamilies}" id="selectOneMenuDeviceFamilies">
         <f:selectItems binding="#{DeviceFamilyBean.dropdownDeviceFamilySelectItems}" id="dropdownDeviceFamilySelectItems" />
      </h:selectOneMenu>
      <h:commandButton action="#{DeviceFamilyBean.detailsAction}" value="Main"/>
    </h:form>
    DeviceFamilyBean:
    public class DeviceFamilyBean extends TC_JSFBean
         //selectOneMenuDeviceFamilies
         HtmlSelectOneMenu selectOneMenuDeviceFamilies = new HtmlSelectOneMenu();
         public HtmlSelectOneMenu getSelectOneMenuDeviceFamilies() {
              return selectOneMenuDeviceFamilies;
         public void setSelectOneMenuDeviceFamilies(HtmlSelectOneMenu selectOneMenuDeviceFamilies) {
              this.selectOneMenuDeviceFamilies = selectOneMenuDeviceFamilies;
         //dropdownDeviceFamilySelectItems
         private UISelectItems dropdownDeviceFamilySelectItems = new UISelectItems();
         public UISelectItems getDropdownDeviceFamilySelectItems() {
                  Object objFacesSession = FacesContext.getCurrentInstance().getApplication()
               .getVariableResolver().resolveVariable(getFacesContext(), "SessionBean");
                  SessionBean sessionBean = (SessionBean) objFacesSession;
              dropdownDeviceFamilySelectItems.setValue(getDropdownDeviceFamilyDefaultItems());
              return dropdownDeviceFamilySelectItems;
         public void setDropdownDeviceFamilySelectItems(UISelectItems dropdownDeviceFamiliesSelectItems) {
                  this.dropdownDeviceFamilySelectItems = dropdownDeviceFamiliesSelectItems;
         //dropdownDeviceFamilyDefaultItems
         private ArrayList dropdownDeviceFamilyDefaultItems = new ArrayList();
         public ArrayList getDropdownDeviceFamilyDefaultItems() {
              Object objFacesSession = FacesContext.getCurrentInstance().getApplication()
              .getVariableResolver().resolveVariable(getFacesContext(), "SessionBean");
              SessionBean sessionBean = (SessionBean) objFacesSession;
            TC_Manager tcDeviceFamilyManager = TC_Manager.getInstance();
            dropdownDeviceFamilyDefaultItems.clear();             
              Collection col = this.getAllDeviceFamilies();
              Iterator itDev = col.iterator();
              while (itDev.hasNext())
                   DeviceFamily deviceFamily = (DeviceFamily) itDev.next();
                   dropdownDeviceFamilyDefaultItems.add(new SelectItem(deviceFamily.getCode()));
              return dropdownDeviceFamilyDefaultItems;
         public void setDropdownDeviceFamilyDefaultItems(ArrayList dropdownDeviceFamilieDefaultItems) {
              this.dropdownDeviceFamilyDefaultItems = dropdownDeviceFamilieDefaultItems;
         //OutputText DeviceFamily Name
         private HtmlOutputText outputTextDevFamName = new HtmlOutputText();
         public HtmlOutputText getOutputTextDevFamName()
             Object obj = FacesContext.getCurrentInstance().getApplication()
            .getVariableResolver().resolveVariable(getFacesContext(), "SessionBean");
             SessionBean sessionBean = (SessionBean) obj;
             if (sessionBean.getCurrentDeviceFamily() != null)
                  outputTextDevFamName.setValue(sessionBean.getCurrentDeviceFamily().getCode());
             } else {
                  outputTextDevFamName.setValue("CurDevFam = null");
              return outputTextDevFamName;
         public void setOutputTextDevFamName(HtmlOutputText outputTextDevFamName) {
              this.outputTextDevFamName = outputTextDevFamName;
         //detailsAction
         public String detailsAction()
                  Object objFacesSession = FacesContext.getCurrentInstance().getApplication()
              .getVariableResolver().resolveVariable(getFacesContext(), "SessionBean");
                  SessionBean sessionBean = (SessionBean) objFacesSession;
                  //sessionBean.setCurrentDeviceFamily((DeviceFamily) this.getDropdownDeviceFamilySelectItems().getValue());
                  return "go_devicefamily_details";
    SessionBean:
         private DeviceFamily currentDeviceFamily;
         public DeviceFamily getCurrentDeviceFamily() {
              return currentDeviceFamily;
         public void setCurrentDeviceFamily(DeviceFamily currentDeviceFamily) {
              this.currentDeviceFamily = currentDeviceFamily;
    go_devicefamily_details is referenced to deviceFamilyDetails:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:view>
        <h:form id="frmDevFamDetails">
            <h:outputText value="#{DeviceFamilyBean.outputTextDevFamName}" />
        </h:form>
    </f:view>I hope i did not forget anything needfull.
    Maybe someone could explain how to get the value and complete the code.
    Thanks.

    Thx 4 the tip.
    I found an other way. It was such easy, that i could kick myself. :-)
    Only in the detailsAction() i needed:
    sessionBean.setCurrentDeviceFamilyName((String) this.getSelectOneMenuDeviceFamilies().getValue());
    I allways looked for dropdownDeviceFamilySelectItems and tryed to get the selected Index, but it is the HtmlSelectOneMenu that carries the value. :-(
    The DeviceFamily Class is an HybrisObject and not easy to initialize.
    I just created a new String (currentDeviceFamilyName).
    Now it works.

  • How to get return value from Java runtime.getRuntime.exec?

    I'm running shell commands from an Oracle db (11gr2) on aix.
    But, I would like to get a return value from a shell comand... like you get with "echo $?"
    I use a code like
    CREATE OR REPLACE JAVA SOURCE NAMED common."Host" AS
    import java.io.*;
    public class Host {
      public static int executeCommand(String command) {
        int retval=0;
        try {
            String[] finalCommand;
            finalCommand = new String[3];
            finalCommand[0] = "/bin/sh";
            finalCommand[1] = "-c";
            finalCommand[2] = command;
          final Process pr = Runtime.getRuntime().exec(finalCommand);
          pr.waitFor();
       catch (Exception ex) {
          System.out.println(ex.getLocalizedMessage());
          retval=-1;
        return retval;
    /but I do not get a return value... because I don't know how to get return value..
    Edited by: user9158455 on 22-Sep-2010 07:33

    Hi,
    Have your tried pr.exitValue() ?
    I think you also need a finally block that destroys the subprocess
    Regards
    Peter

  • How to get argument value from portal desktop URL

    hi,guys
    I have a question ,it is how to get argument value.see:
    in one portal desktop,I have a hyperlink like this
    http://localhost:7001/TestPortal/appmanager/testPortal/testDST?eventId=1
    after click,then will be switch another desktop "testDST"
    I tried to get value from request,but failure.
    @RequestMapping
    public String listTestList(RenderRequest request, RenderResponse response,ModelMap model) {
    //HttpServletRequest httpRequest = (HttpServletRequest) ; //request.getAttribute("javax.portlet.portletc.httpServletRequest");
    //log.debug("httprequest eventId>>>" + httpRequest.getParameter("eventId"));
    log.debug("render request eventId>>>" + request.getParameter("eventId"));
    I can't get this value from request,also tried httpServeltRequest,but httpServletRequest can't get,it is null;
    so ,how to get this value,thank you very much.
    regards
    aris

    Hello,
    It is true for JSR168 portlets that you can't just arbitrarily set parameters on a URL and get access to them inside your portlet- you must use the appropriate APIs on the PortletURL class to set parameters that you can retrieve. This is the only portable (standards-compliant) way to implement the functionality you want.
    However, for your particular use-case, you can get the URL parameters from the (non-JSR168) HttpServletRequest object. The only reason you are getting a null object for that is because the attribute name is wrong. This should work:
    HttpServletRequest httpRequest = (HttpServletRequest)(request.getAttribute("javax.servlet.request"));
    String eventId = httpRequest.getParameter("eventId");
    Kevin

  • How to get maximal value from the data/class for show in Map legend

    I make WAD report that using Map Web Item.
    I devide to four (4) classes for legend (Generate_Breaks).
    I want to change default value for the class by javascript and for this,
    I need to get maximal value from the class.
    How to get maximal value from the data/class.
    please give me solution for my problem.
    Many Thx
    Eddy Utomo

    use this to get the following End_date
    <?following-sibling::../END_DATE?>
    Try this
    <?for-each:/ROOT/ROW?>
    ==================
    Current StartDate <?START_DATE?>
    Current End Date <?END_DATE?>
    Next Start Date <?following-sibling::ROW/END_DATE?>
    Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
    ================
    <?end for-each?>
    o/p
    ==================
    Current StartDate 01-01-1980
    Current End Date 01-01-1988
    Next Start Date 01-01-1990
    Previous End Date
    ================
    ==================
    Current StartDate 01-01-1988
    Current End Date 01-01-1990
    Next Start Date 01-01-2005
    Previous End Date 01-01-1988
    ================
    ==================
    Current StartDate 01-01-2000
    Current End Date 01-01-2005
    Next Start Date
    Previous End Date 01

Maybe you are looking for

  • GR/IR clearing account ledger balance discrepancy

    Hello All, When we are checking GR/IR (SR/IR) account ledger balance in FS10N, open items balance and some cleared item balance also coming in the FS10N. but it should only display open item balance and not cleared item balance, cleared item balance

  • Can't access my banking site past the identification page,

    Can't access my banking site past the identification page. I was getting a message in Firefox, that said "your security settings have changed.... (no they have not), and something about "resetting, Yes or No. I pressed yes, but still could not get in

  • Unable to deinstall /reinstall itunes

    I am trying to download latest version10.5 but indicates need to remove older version when going to remove from control panel get message Feature your trying to use is on a network resource that is unavailable.   Click ok to try again or enter alt pa

  • How can you stop a picture from going to Photostream?

    Hi, Please pardon the delicate nature of this question..it is not meant to be salacious. However, I cannot figure out WHY anyone would use photostream. Like any number of normal people, my IOS device might ocassionally take pictures that I do not wan

  • IMovie 11 opens fine, but is invisible...

    Hello fellow Apple people, I have a really strange and irritating problem with iMovie 11.  This might require some screenshots to explain, but basically when I start the app the dock icon bounces away and then becomes the still serene dock icon with