Can i change table in query as per user given data

hi master
sir,
can i change table in query as per user given data
see
select * from @variable
i need use in lov
please give me idea
thankingyou
Aamir

You cant directly use in sql instead you can write an anonymous block and frame the query as per the input table name and then use execute immediate to execute the query.
Something like this
declare
qry_table varchar2(30);
qry_stmt varchar2(1000);
type typ_sample is table of VARCHAR2(100) index by binary_integer;
tab_sample typ_sample ;
begin
qry_table := &Table_name
qry_stmt := 'select a from '||qry_table;
execute immediate qry_stmt bulk collect into tab_sample ;
end;
Message was edited by:
Shasi

Similar Messages

  • Can we change [maximum number of records per page] property at run time

    can we change [maximum number of records per page] property at run time in report 6i

    Ravi,
    I hope you are already done with this. In the invoice there is a nice example you can use on the xml blogs.
    You limit the number of lines per page when you use the xsl commands like this in your template:
    <xsl:variable name="lpp" select="number(13)"/>
    <?for-each@section:LIST_G_INVOICE?>
    <xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES[LINE_TYPE='LINE']"/>
    <?for-each:$invLines?> <?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    and then you have the table where you have the data
    <?for-each:$invLines?><?if:position()>=$start and position()<$start+$lpp?>
    and all your lines
    and then
    <?end if?><?end for-each?>

  • Can we change the employee number on the employee master data form ?

    Hi,
    Simple question but can we change the employee number on the employee master data form ? We need to use the same employee numkbers from another system but just cannot interact with the employee no. in SAP 2007 ?
    Thank you,
    MB

    You canu2019t modify the employee number. It is assigned by the system sequentially.
    But you can define a user defined field to store the other systemu2019s identifier or use (and even rename) some other field to store this information.

  • Can I change partition size of external HD without losing Data

    I have an external HD that I use one partition for backup and use another partition for Time Machine. I need to change the sizes, need more on my backup. Can I change partition size of external HD without losing Data? I just changed from a Powermac G4 using Leopard to a Macbook Pro with Lion, so I am also thinkin in getting everything set up, format the Time Machine with the old stuff and make a new Time Machine.

    The Disk Utility can't change the starting point of a partition without erasing it and the data on it.
    (72024)

  • Can we change table into XML through OWB

    Hi everyone,
    Is it possible to change table into XML through OWB?
    Can anybody help me.
    just send me the steps to do
    Thanks in advance
    Rachit

    Hello, Rachit
    As far as I understand our question – you need to export data from the table into XML file.
    I don’t think you have direct operator within OWB (at least for ver. 9.2.0.4). But anyway, you could write PLSQL procedure using DBMS_XMLQUERY to perform XML generation and transform it with your stylesheet.
    Unfortunately, this package uses DOM to work with XML, so could have a serious memory consumption while trying to export large tables this way.

  • Can we change the ABAP QUERY exists in Global area

    Hi All,
    I have a requirement to  add new column in the ABAP query in layout for that I am changing a ABAP query ME80FN which is calling  infoset  /SAPQUERY/ME80FN  defined in the global area ( Environment->query areas->global area).
    1) Can I change this infoset and query
    or
    2) Do I need to follow any other steps.
    If I change the existing query in DEV can I transport this to production.
    Please clarify.
    Thanks,
    Jwala

    Yes. We can change the background of an input field. The way you do this is by editing the theme that webdynpro application uses. To edit the theme, you will need to install NWDS PLUS the theme edit plugin (Available for download from SAP).
    Once you have edited the theme, you will need to upload your theme back to application server. You can use the program : BSP_UPDATE_MIMEREPOS to do this.
    Bydefault, the theme used by webdynpro applications is :
    /SAP/PUBLIC/BC/UR/nw5/themes/sap_tradeshow
    You can apply another theme by calling the webdynpro application with a theme parameter. For example, if my webdynpro application name is "zgopaltest", then
    <i><b>http://<server>:port/sap/bc/webdynpro/sap/zgopaltest?SAP-EP-THEMEROOT=/SAP/PUBLIC/BC/UR/nw5/themes/sap_tradeshow</b></i>
    will apply the sap_tradeshow theme.
    Likewise, you can apply diffrent theme. There is another theme that SAP provides. Its called : sap_hcb. Hence, you can apply the theme to the above application by:
    <i><b>http://<server>:port/sap/bc/webdynpro/sap/zgopaltest?SAP-EP-THEMEROOT=/SAP/PUBLIC/BC/UR/nw5/themes/sap_hcb</b></i>

  • How can I change my iCloud email without losing pictures and data

    HOw can I change me iCloud email without losing pictures and data

    If you sign out it will be removed from the phone (but not from the icloud account)
    What are you trying to achieve here, why change your email address?
    I just realised that I answered the wrong person.
    Jill, you should start your own thread.

  • "Save as..." Dialog: Can't change filename after picking one per mouse

    I am using Adobe Acrobat 8 Standard on Windows Vista.
    As it says in the Subject... Any ideas?
    Well in fact I can change the filename, but it will still save it to the filename picked by the mouse.

    To me that sounds like a Windows malfunction.  If you think it is an Acrobat problem, ask in the Acrobat forum.

  • How can I change the report query source on the fly

    I am new to Bi Publisher,
    I have a user that wants to select certain columns in the table then have bi publisher make a pdf on just those columns
    without making different reports for each of there choices, how can i make the report variable?
    Thanks,
    Doug

    Hi Doug,
    You can also use lexical parameters to determine the columns in a Data Template (or Oracle Report)... taking it to the extreme the major components of a BI Publisher data template could be dynamic.... something like:
    select &select_clause
    from &from_clause
    where &where_clause
    Regards,
    Gareth
    http://garethroberts.blogspot.com
    http://www.virtuate.com

  • Can i change the storage device for a user on my macbook pro

    That basically says it all

    It means i want to change the storage device on the computer. I have the drive on the macbook, the one built into it, and i have an external drive. I want to know how i can make the external drive my main source for storage. And if its possible i want it to be for a specific user on the computer

  • Can I define tables/views of another oracle database as data sources in DBI?

    Hi!
    Assuming I created a dblink between an Oracle EBS database and another oracle database and I wish to create custom dashboards and reports in Oracle Daily Business Intelligence, will the tables/views from the another oracle database be allowed as the data sources?
    Thanks.

    Pl do not post duplicates - Can I read data from other database and tables in Oracle Daily Business Intelligence?
    Whether the custom tables are in the same database or a separate database is a trivial issue - a database link and local synonyms can easily mask where the tables are located.

  • How Can we change the Lookup in the Create User Form ??? Please Help

    Hi ,
    Can anyone let me know that how can the Value of the Lookup be changed in the Organization ? Like when we click on the Lookup of the Organization we see the names of the companies with Radio Boxes and we select a Company. If I want another value to be added beside the company then How I need to do that ? eg:
    Org1: com1
    Org1: com2
    Org2: com3
    Org3: com4
    This lookup How can I do it ?

    With what you are referring to, there is no lookup required.
    When you log into your administration console, you can create a new organization:
    Organizations --> Create.
    After you create, there will be more than the default organizations.
    However, if you want to create a new organization type (Company, Department, etc) you can do this by:
    Go to your Design Console --> Administration --> Lookup
    Search for: Lookup.Organization.Type
    Add a new value.
    Save your formOnce you are done, go and create a new organization like before, and in the drop-down, that type will appear.

  • Can I change Base DN without affecting Current Users Permissions

    I have deploed Live Cycle ES2 Rights Management about 2 years ago with a very limited user group for my base DN
    Current Base DN
    OU=mysite,OU=mycorp,DC=corp,DC=com
    I want to change it now to
    OU=mycorp,DC=corp,DC=com
    Since i am broadning the scope i just wnat to ensure it will have no effect on my current users permission for secure docs.
    Can anyone confirm this?
    Thanks,
    Version: 9.0.0.0, GM Patch Version: SP1 Service Pack Version: 9.0.0.1.20100511.1.236952
    Chad

    I would have to test the scenario but I think that these users would be considered new users and they'll get disconnected from the policies. I may be totally wrong but this is definitely something I'd do on a test machine.

  • Can't Change Lock Screen Background Image and User Account Picture in Windows 8.1.

    I am running Windows8.1 Single Language with windows activated. Upgraded from Window 8 to Windows 8.1.
    Lenovo Y410p.
    4th generation Intel® Core™ i7-4700MQ (2.40GHz 1600MHz 6MB) with 16GB RAM.
    NVIDIA® GeForce® GT750M 2GB .
    I tried all methods that I found on web included :
    1. http://www.askvg.com/fix-cant-change-lock-screen-background-and-user-account-picture-in-windows-8/
    2. http://answers.microsoft.com/en-us/windows/forum/windows8_1-desktop/lockscreen-issues-on-windows-81/c51f570a-7a69-4e92-8348-3ebbed778592
    3. I deleted the C:\ProgramData\Microsoft\Windows\SystemData file and folder
    4. I restored the Libraries Features.
    5. I run SFC / Scannow 3 times but get no error.
    6.  I created a new local account but the same problem shows up. (I'm using live for main account.)
    Now, Please tell me what should I do, Thanks.

    Hi,
    First of all, please run the command slmgr.vbs /dlv
    After that, check the License status if it is licensed.
    Is there any error message when you couldn't change lock background or this option just grey out?
    Roger Lu
    TechNet Community Support

  • How can I set up Kerberos for PerformancePoint Per User Access?

    Hi,
    This is the setup I have: 3 Tier SharePoint farm with one WFE, one APP and one DB (contians Analysis Services and SQL Server 2012) servers.
    SharePoint 2013 Test\UAT (1 Server for Analysis services and Database Services)
    SharePoint Content   Databases
    UATSQLDBSERVERMachine
    PerformancePoint Unattended Service   Account
    <domain>\unattendedaccount_uat
    Performance Point Application Pool
    <domain>\sp_pps_uat
    COEREPORTS Application Pool
    <domain>\sp_apppoolcoe_uat
    Analysis server
    UATSQLDBSERVERMachine
    Analysis server COE Cubes Instance
    UATSQLDBSERVERMachine\MULTIDIMEN
    COE Databases Instance
    UATSQLDBSERVERMachine
    UATSQLDBSERVERMachine - MS SQL Server Service Account
    <domain>\sp_sql_uat
    UATSQLDBSERVERMachine - MS SQL Analysis Serv Serv   Acc (MULTIDIMEN)
    <domain>\sp_ssas_uat
    Can someone explain what settings I would need in Active Directory or Local Admin/Permissions. I need a decent explanation of how this works. Much of the answers people give for setting up Kerberos are for Single server setup or they have missed
    a heap of settings. To be honest I get the general gist of how it works, but I want to be clear so that I know if SPN settings and Delegates are correct or not.
    Can someone help out here?
    Thanks.
    John. 
     

    Some knowledge:
    - http://sbrickey.com/Tech/Blog/Post/Kerberos_Primer
    - http://sbrickey.com/Tech/Blog/Post/Kerberos_Authentication_for_SharePoint_2010
    - http://sbrickey.com/Tech/Blog/Post/SharePoint_and_the_Kerberos_Negotiate_provider
    Some tools:
    - http://spkerberosbuddy.codeplex.com/
    - http://spk.codeplex.com/
    - http://sdssharepointlibrary.codeplex.com/releases/view/92022
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

Maybe you are looking for

  • Closing the Production Order with status PCNF

    Hi Experts, May I kindly ask if I can close an order with status Partially confirmed? If not, how can I cancel the confirmation if I had already reversed the goods movement in the confirmation thereby flagging an error of a deficit in the material qu

  • Meaning of WARNING

    I sent a complaint to Readers Digest using Safari and got the following: ERROR: register_globals is enabled in your PHP environment! Warning: Cannot modify header information - headers already sent by (output started at /home/kbrown21/public_html/wp-

  • AsynOS 5.7.1 for Web / 6.7.0 for Management are GA

    Hi, On 07/16 we release the combo of AsynOS 5.7.1 for Web / 6.7.0 for Management to all out customers. Those releases will allow you to centrally manage you WSAs using a Security Management Appliance (M-Series). * New Feature: Centralized WSA policy

  • Bypass ACR dialog when importing raw files?

    I am batch importing raw image sequences with a script i wrote, but for each sequence it pops up the ACR dialog to allow for raw adjustments before import. I want to just dismiss that dialog automatically with the script, is that possible? Thanks!

  • Setting text to overflow into another text component in flex

    This was pretty easy when I've done it in html but I can't find any info on how to incorporate this into flex. I want to get this sort of thing into my app where once the text reaches the bottom it wraps underneath the bottom of the left hand image t