How to pass the values dynamically in record group?

oracle forms 6i
Hi to all,
i am developed a master detail form.in the master level one column is EMP_GRADE.these values like(A1,B1,C1,D1).
In the detail form one more column is DETAIL.in this DETAIL coloumn i am adding LOV.In the LOV my query Like this
SELECT DESCRIPTION FROM FND_LOOKUP_VALUES WHERE LOOKUP_TYPE=EMP_GRADE.
Here IF emp_grade =A1 then LOV shows 10 values
next IF emp_grade =B1 then LOV shows 10 values,but MY requirmrnt is IF EMP_GRADE is B1 then LOV show the B1 values and A1 Values.total 20 values.
it is possible or not?
any one help me..please.
Reagrds,
Stevie.
Edited by: 994418 on 30 May, 2013 4:34 AM

In 10G and above you could use the CASE-statement.
In Forms 6i you could use a UNION ALL, maybe like this.
SELECT DESCRIPTION FROM FND_LOKUP WHERE LOOKUP_TYPE='A1' and :EMPGRADE='A1'
UNION ALL
SELECT DESCRIPTION FROM FND_LOKUP WHERE LOOKUP_TYPE IN ('A1' , 'B1') AND :EMPGRADE='B1'

Similar Messages

  • How to pass the value dynamically in exp/imp utilities of oracle

    I want to pass the value of org_grp_i dynamically,instead of passing the value
    19.Can you please tell how to write the script to this
    exp fas/xxxxxx@fasbd001 file=audit_grn_28aug.dmp tables=audit_grn query=\"where org_grp_i=19 \"
    where xxxxxx is the password
    Thanks

    You need to make use of command line arguments. You can go through this link for example.
    http://www.freeos.com/guides/lsst/ch02sec14.html
    In your shell script(say test.sh) you can have
    exp fas/xxxxxx@fasbd001 file=audit_grn_28aug.dmp tables=audit_grn query=\"where org_grp_i=$1 \"$1 indicates it accepts the first argument from command line. if you want to pass 19, add that next to the script you're executing.
    From command line you can call this shell script say test.sh 19

  • How to pass the value to "Assignment" when submit the program RFITEMGL?

    Hello friends,
    I want to submit program RFITEMGL  (t-code FBL3N) with some screen fields, some fields are OK to fill such as u201COpen at key dateu201D, u201CG/L accountu201D and u201CCompany codeu201D。 But for the field "Assignment" (It will appear after cilck Dynamic Selection), I don't know how to pass value to it.
    Could you help me about how to pass the value to "Assignment" when submit the program RFITEMGL  (t-code FBL3N) ?
    Thanks a lot!

    Hi,
    Well you can create a small BDC.
    Regards,
    Harsh Bansal

  • In BADi , How to pass the values between two Method

    Hi Experts,
    We have two methods in BADis. How to pass the value  between two Methods. Can you guys explain me out with one example...
    Thanks & Regards,
    Sivakumar S

    Hi Sivakumar!
    Create a function group.
    Define global data (there is a similiar menu point to jump to the top include).
    Create one or two function modules, with which you can read and write the global data.
    In your BADI methods you can access the global data with help of your function modules. It will stay in memory through the whole transaction.
    Regards,
    Christian

  • How to pass the arguments dynamically to a Oracle procedure.

    Hi all..
    How to pass the arguments dynamically to a procedure.
    Thanks in Advance.

    I have a concurremt program which has 5 parameters right now. The user can add more parameters from front end as per their requirement.
    So that time.. the 6th parameter has to add to my procedure dynamically.
    Thanks.

  • How to pass the value from Sub report to main report

    I have un report(mainreport) within a subreport(subreport).
    With reporting services, how to pass the value from Sub report to main report?
    thanks

    Hi Alebet,
    With reporting services to pass values from sub report in to main report is not supported directly.
    But there are some workarounds through which you can get this .
    There are two ways to get this.
    1- Put your sub report query into some table. i mean to say through the subreport query get some temporary table.
    2- Using this temporary tables data write some Scala function in the data base.
    3- Now in your main report query return this scala function as a column.
    4- Extract the column value where ever you want in your main report which is getting calculated from the subreport query. so you will be getting the values returned from the subreport in the main report.
    This will definitely work fine as i have done some report in this way.
    Another way of doing is that
    1- prepare another data set with the same query as in sub report in the data tab.
    2- then refer this 2nd dataset in your main report .
    But better way will be the top one.
    Anyway please let me know if you get the solution.
    Thanks
    Mahasweta

  • How to pass the values from the Wb Dynpro Application to the SAP Backend ?

    Hi All,
    Good morning..,
    I have scenario like:
    I want to pass the values from the web dynpro appication to the SAP Back end R/3 Table. IN backend the RFC is writtn to accept the structure input from the Webdynpro.
    Upto know I imported the corresponding RFC and maaped to the View.
    How to proceed with the coding to save the data...
    PLease suggest...
    Regards and Thanks in Advance,
    CSP

    Hi  Pradeep
    Steps:
    1. First create an instance for bapi and bind the instance to the bapi node.
      Z<bapi name> zb=new Z<bapi name>();
      wdContext.nodeZ<bapi name>. bind(zb);
    2. Then if u have the import parameter u have to set them by using
        The instance of the above bapi.
        Zb.set<import parameters>;
    3. If the bapi has a table parameters then the structure for the table parameters will also be imported
       In the model class.
    4. Set the table parameters by creating the instance for that structure and using this instance set it.
       Z<Struct>itm tab=new Z<Struct>();
       Tab.set<table parameters>
    5. Then add the structure instance to the bapi instance.
        Zb.add(Tab);
    6. Then Execute the bapi after setting the import parameters.
    7.  If there is any export parameters, then get the values after execution.
    Look at this thread for codes
    Re: RFC call on click of button
    Regards,
    Arun

  • How To pass the value within the page using jsp?

    How to passing the textbox value within the jsp page without using javascript or reload the page.
    I have a scenario like this:
    I have a textbox named as "accno" which allow user to key in the accno. After key in the accno, this accno value will used to do a query from database using jstl.
    here is part of my code
    <input name="accno" type="text" onChange="checkLC()"/>
    <sql:query var="results" dataSource="${db}">
    select accno,name from account where accno = '<%=value get from accno textbox%>'          
    </sql:query>
    <c:out value="${result.rows[0].name}"/>
    note that onChange() is the javascript when user key in accno then automatically go to check database then only show out the name. So how can i get the '<%=value get from accno textbox%>' from accno textbox.

    How to passing the textbox value within the jsp page
    without using javascript or reload the page.No, jsp executes on the remoter server, the text box is on a client machine, you need to send information to the server over the network, http does this with a request, which will reload the page.....................

  • How to pass the value of the return type parameters in teststand sequence file programatically through c#

    I have used the method LoadProtoTypeFromMeteDataToken(tokenvalue,options).with this i cant set the value in the return parameters. How can I pass the value.with the above method it displays parameter Name,Type,In/Out. how can i set the value in the return parameters.

    Or here
    http://forums.ni.com/ni/board/message?board.id=330&thread.id=26979
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

  • How to pass the value from JSP or HTML  to Applet

    Plz reply ....How can we pass the value from the JSP Page or from HTML page to Applet embedded in same page....

    Hi,
    <applet codebase = "."
    archive = foo.jar"
    code = "com.bar"
    name = "bar"
    id = "bar"
    width = "<%=Request["width"] %>"
    HEIGHT = "<%=Request["appHeight"] %>"
    hspace = "0"
    vspace = "0"
    align = "middle"
    alt     = "Applet is Loading..."
    >
         <param name="LANGUAGE"                value="<%=Request["lan"] %>">          
         <param name="LOGOUT_USER_URL"           value="EndSession.asp">
         <param name="DATA_READ_INTERVAL"      value="10000">
         <param name="REFRESH_INTERVAL"           value="5000">     
         <param name="DEFAULT_FONT"           value="Arial">
    </applet>
    pass values @ ur html or jsp page to Applet as parameters.
    Refer above code. By using getParameter() method of Applet, u can take values inside applet.

  • How To Pass the value from JSP to Applet

    plz reply how can we pass the value from the JSP to Applet ...the applet is embedded in JSP page....

    Hi,
    <applet codebase = "."
    archive = foo.jar"
    code = "com.bar"
    name = "bar"
    id = "bar"
    width = "<%=Request["width"] %>"
    HEIGHT = "<%=Request["appHeight"] %>"
    hspace = "0"
    vspace = "0"
    align = "middle"
    alt     = "Applet is Loading..."
    >
         <param name="LANGUAGE"                value="<%=Request["lan"] %>">          
         <param name="LOGOUT_USER_URL"           value="EndSession.asp">
         <param name="DATA_READ_INTERVAL"      value="10000">
         <param name="REFRESH_INTERVAL"           value="5000">     
         <param name="DEFAULT_FONT"           value="Arial">
    </applet>
    pass values @ ur html or jsp page to Applet as parameters.
    Refer above code. By using getParameter() method of Applet, u can take values inside applet.

  • How to pass the value from sub report to sub report

    how i want get one value from sub report to sub report..
    can i do this one...
    how can get the value.
    i know main report to sub report
    i tried that way but
    value is  0.00 is comming
    Any reasons.

    Hi Try this.
    Create a formula like this in subreport1 (from the report where you want to pass your value)
    Whileprintingrecrods;
    Shared Numbervar x :={subreport1Value};
    Then go to 2nd sub report and Create a formula like this
    Whileprintingrecrods;
    Shared Numbervar x ;
    Note :Your sub report1 should execute before sub report2 .That means sub report1 should be in the above section of sub report2

  • How to pass the values to stored proc using presentation variable in OBIEE

    Need your help regarding in resolving an issue in OBIEE 10.1.3.4.1
    There are 6 reports say ‘A’,’B’,’C’,’D’,’E’,’F’ in the same subject area.
    The reports are being configured with prompts using either the repository/presentation variables.
    One of the reports say ‘A’ has been configured to pass the values using presentation variables from the prompt in Advanced Tab of the report request to the stored procedure defined in the Execute Before Query section of the connection pool.
    After running another report ‘B’ in the same subject area, upon visiting the report ‘A’ view display error is being seen ( Please have a look below screen shot for your reference) .
    Speculate the issue is around presentation variables of report ‘A’ getting initialized even before running the report.
    Appreciate your earliest advise as this is a prod issue.

    Hi Prasad,
    I got your note, you should not use Session variable syntax to call presentation variable.
    you should use like @{AIC_PROJ_PLAT_SEQ_NO}
    One more thing: first test the variable AIC_PROJ_PLAT_SEQ_NO value then try to pass to SP.
    Hope this helps

  • How to Pass the Value of a Textfield as c:param to a Link using c:url?

    I must have done someting wrong.
    I tried to pass the value entered in a textfield:
    <html-el:text property="searchFirstName" />to a link this way:
    <c:url value="/admin/sortUsers.do" var="ascFirstName">
        <c:param name="searchFirstName" value="${searchFirstName}" />
    </c:url>and in my action class, I have
    String firstName = request.getParameter( "searchFirstName" );I tried to print out the firstName, I got a blank!
    Please advise what went wrong.

    Further to what I have posted, I did pass some fixed values in my link. They are picked up. Let me explain:
    <c:url value="/admin/sortUsers.do" var="ascFirstName">
        <c:param name="sortKey" value="firstName" />
        <c:param name="orderKey" value="ASC" />
        <c:param name="searchFirstName" value="${searchFirstName}" />
    </c:url>
    <A href=' <c:out value="${ascFirstName}" /> '></A>The fixed values "firstName" and "ASC" are picked up without problem. But the "${searchFirstName}" where searchFirstName is the property of a text field is not picked up. I got a blank when I write it out using System.out.println in my action class.

  • How to pass the value of an Excel cell to XL Reporter

    Hi guys,
    I'm posting this here because no one could help at yahoo's XLR group.
    My problem is I need to passa the value of an Excel cell to ixGetData.
    Searching I found there where 3 possible ways,
    1)      =ixGetData("manager"; "RLH6J"; "[Pelissari].[dbo].[RelContas_a_Receber]"; " CardCode, CardName"; " CardCode ="&B6)
    2)      =ixGetData("manager"; "RLH6J"; "[Pelissari].[dbo].[RelContas_a_Receber]"; " CardCode, CardName "; " CardCode =Cell("Contents", B6)”)
    3)      =ixGetData("manager"; "RLH6J"; "[Pelissari].[dbo].[RelContas_a_Receber]"; " CardCode, CardName "; " CardCode = Cell(B6))
    The problem is none of them are working!
    Can anyone help me, please?
    Thanks!
    Edited by: Darius Heydarian on Mar 27, 2008 11:44 AM

    I'm sorry, I dont have the perfect solution.
    I ceated a UDT [@Params] or UDF where the user has to insert the values for XL Reports (for exampel CardCode). After the User inserted the value he can start the XL-Report which are reading from this UDT or UDF the value into the GetData function. You must only insert a query into the condition of GetData :
    =ixGetData("manager"; "RLH6J"; "Pelissari.dbo.RelContas_a_Receber"; " CardCode, CardName"; " CardCode = (SELECT Name FROM [@Params] WHERE ID='XL-CardCode')")
    If you will find some other possibilty please let me know.
    Hannes

Maybe you are looking for

  • Syncing files constantly issue & page not found when trying to access a file on web

    Can anyone assist with syncing issue. Syncing runs all day and new files are not syncing. I can see the files in web browser (not in desktop APP) however when I try to access the files I get page not found. I went into archive (after reading all the

  • How to sync two iPhones on to the same MacBook Pro?

    I have an iPhone 4 and previously I would sync my phone to my MacBook, but my husband bought me a PC.  So now instead of figuring out how to sync to my PC I would really just like to sync to his Macbook Pro, as I am using that more due to a new job. 

  • Image covert to PDF then file size become much bigger. [iOS]

    When I use picture covert to PDF then converted PDF file size become much bigger. Original picture file size is 2MB but PDF file size become 5.2MB. I'm using iPhone6. however when I using desktop acrobat to covert the same image then PDF file sizw al

  • Homogeneous Database Copy

    Hi, I am currently doing the process above using a tool supplied by SAP. For example: Source SID = DEV Source DB  = MSSQL 2000 Source OS  = Windows 2000 Advan Server R/3        = 4.7, 640 Target System is as above but lets put the SID as QAS. By usin

  • 2 combo box on a single jtable cell

    I need to add two combo box to a single jtable cell..One for selecting the number and the other for specifying whether the number specifies daily, weekly or yearly data .Please help