Related to FND tables (Org_ID)

Hi guys,
I created a shell script in which i ran some sql queries which are using FND tables. I registered this shell script as a concurrent program. My doubt is, how can i set to a particular org_id so that it can run for that org_id and display the data accordingly.
Help Appreciated.
Thanks

Hi Yury,
Thanks for responding. Actually, I am trying to take the request ID from the fnd_concurrent_requests table and catch its output file and use it in a shell script to print the output of that request.
There is a concurrent program which is run successfully , but it is not printed on to the printer. So, what we manually do is take that request ID for that date and and print it using linux lp command.
All this process is done manually, so i tried to automate this process.
i wrote a shell script in which i connect to the database and run this query:
select outfile_name from fnd_conc_requests_form_v where program_name = '.........' and request_date=to_date('${5}','DD-MON-YYYY');
using this i get the outfile_name which i use it in lp -d printername outfile_name
now i want to use the same shell script which is registered as a concurrent program which i want to use it both fo US and CANADA. So i want to catch ORG_ID in the query so that particular data for that ORG_ID is bought in to the result.
while writing a shell script and calling sql plsu inside the script, can we use fnd_global.resp_id in the query.
like ..
where
fnd_conc_requests.responsibility_id = fnd_global.resp_id
help appreciated.
Thanks

Similar Messages

  • What is the Relation between System Tables and FND Table?

    Hi,
    I have two LOV's. First one is Module Name. Here I will select Module Name as GL, AP, AR.... In the second LOV it should populate all the API's available in the module. I tried with the following tablesFND_APPLICATION AND ALL_SOURCES. But there is no relation between these tables.
    Can anyone suggest me..
    Please help me out.
    Thanks in Advance,
    Sateesh

    Hi,
    I have two LOV's. First one is Module Name. Here I will select Module Name as GL, AP, AR.... In the second LOV it should populate all the API's available in the module. I tried with the following tablesFND_APPLICATION AND ALL_SOURCES. But there is no relation between these tables.
    Can anyone suggest me..
    Please help me out.
    Thanks in Advance,
    Sateesh

  • Required Oracle FND tables for Discoverer Install (Oracle App user)

    Hi does anyone know of set documentation or, via SQL Trace, which existing tables Discoverer looks for when setting up an EUL? For instance, our install requires you select the Oracle Apps User Schema and put in the password for that schema where your FND tables reside.
    Assuming some are missing in our current setup, what would be required in order for Discoverer to work in conjunction with the Oracle applications roles and responsibilities, etc.
    I found this list in Discoverer documentation and confirmed I know have that setup correctly with proper grants, etc.. The EUL is created but does return an error of "Table or View does not Exist" which can be passed over and you can proceed into the EUL - but there is an error upon logging into EUL.
    grant select on FND_USER to &EULOWNER
    grant select on FND_APPLICATION to &EULOWNER
    grant select on FND_USER_RESPONSIBILITY to &EULOWNER
    grant select on FND_RESPONSIBILITY_VL to &EULOWNER
    grant select on FND_ORACLE_USERID to &EULOWNER
    grant select on FND_DATA_GROUP_UNITS to &EULOWNER
    This is Discoverer 10g and Oracle 10g database.
    Thanks,
    Mike

    Rod,
    I have confirmed that the Discoverer Administrator Responsibility has Administration, Desktop & Plus privelages.
    Furthermore, the account I am trying to login as - DSCADMIN has those permissions and is assigned that responsibility as well.
    It should be noted that when logging into the EUL as the DSCADMIN account, it prompts me to create a new EUL as one does not exist....however under the EUL ADMIN account (where the EUL was created), it recognizes the EUL since it is the owner.
    Am I missing something further - I've been through the documentation several times and can't figure this out - I have continually made progress but then hit a speed bump each time.
    It should also be noted that DSCADMIN is a database user schema account and also an Apps user as well - but this is how it was setup in our old enviornment so I wouldn't think this would make a difference.

  • Query related to Internal Table

    Hi ,
          I have a small query related to internal table , can we dump millions of records to an internal .
    The actual requirment is like i need to develop a report in BI side where i have to dump records into an internal table  from PSA tables without filtering .
    Can we do so ....
    or do we have any other option to dump the data to an internal tables .
    need some tips on the same .
    Thanks ,
    VInay.

    Hello Vinay,
    I believe the following extract will give you a brief idea on the size limitations for an internal table.......
    Internal tables are dynamic data objects, since they can contain any number of lines of a particular type. The only restriction on the number of lines an internal table may contain are the limits of your system installation. <u><i>The maximum memory that can be occupied by an internal table (including its internal administration) is 2 gigabytes. A more realistic figure is up to 500 megabytes. An additional restriction for hashed tables is that they may not contain more than 2 million entries.</i></u>
    Hope it proved useful
    Reward if helpful
    Regards
    Byju

  • Relation between MSEG table and movement types in 2lis_03_bf

    Hi all,
    May i know the relation between MSEG table and 2lis_03 _bf xtractor stock type/stockcategory where we see the informarion in r/3 side for this, you answers gets rewarded.
    regards,
    Dan.

    Hi,
    Most of the data for IM comes from the tables MSEG andd MKPF. You can go to MSEG contents and see the data there. You will find all the movement types, stock types and stock categories there. You can also use the transactions MB5B, MB51 etc.. to see the related info in R/3. As I said most of the data comes from these tables but not all the data. It uses some internal programming to get the data.
    Hope it helps...

  • Manually adding an attachment to FND tables

    I know that there have been a few posts that outline how to handle adding an attachment to FND tables but I have an additional question.
    I have an trigger on each of the following four tables that captures all data when uploading an attachment when creating/viewing a service request (short & long text as well):
    FND_LOBS
    FND_DOCUMENTS
    FND_DOCUMENTS_TL
    FND_ATTACHED_DOCUMENTS
    I need to move the captured data into a different database and I'm wondering if it's possible to not use any Oracle APIs when inserting and updating data to the other database.
    Thanks

    Its possible with the exception that it will be unsupported (your triggers are unsupported anyway).
    Gareth

  • Tables related to cluster tables..

    Dear all,
    i know the concept of cluster tables, how data is stored in cluster tables and related to small tables.
    i want to know what are all the tables to related to a cluster table.
    Say for BSEG is a cluster table, and BSIK, BSAK and other tables are related to BSEG.
    how can we know what other tables are related to BSEG?
    Thanks in advance.

    BSIK and BSAK are index tables for BSEG, but are transparent tables and not part of the cluster.
    To see what other tables are part of the cluster:
    Go to SE11 and press the "delivery and maintenance" tab. You will see that cluster is RFBLG. double click on it. It will display RFBLG.
    Take the menu path
    Utilities -> where used list
    then select tables.
    You'll see the tables in the cluster.
    Rob

  • Relations Between MLCD table and material movements type

    Dear all,
    I Have a question about relations between MLCD table and Material movements.  For Example We have a movement type Z71 when we did a movevent with tis movement type from MB1C Transaction. System creates a record in Mlcd Table. in this table Category field is VN and  PCat field is V. How system decides about VN and V
    is there any table which contains these conversions or is there any custimization in MM or CO modules ?
    Could you please help me if you have any information about subject.
    Best Regards

    Hi Anupam
    Thanks for your speedy reply.sorry i forget to mention i need FG materials details for given plant,production version,metrial type.In
    MKAL i am not able to give material type as input parameter
    Regards
    Bala

  • Design an uix page which is not related an database table

    Hi;
    I want to design a uix page, but this page elements is not related an database table, only pass through the parameter to run a report, how can i do this easly
    Thanks

    Such functionality is not generated/supported by JHeadstart. But you can build this page manually using JDeveloper. Please use the JDeveloper online help and/or the JDeveloper forum for help if you get stuck.
    In monitoring this forum we have to set priorities, and we simply lack the resources to help you with questions not related to JHeadstart. I hope you understand this.
    Steven Davelaar,
    JHeadstart Team.

  • Errror related to sql table

    hi  guys this is anuj kumar sharma just wanted to know that one thing  related to sql table actually when i  installed sap 4.7ee every thing is ok after installation  server start prpperly
    all wp are in wait condition and  status is yes but when go to logon through sap front end it shows an error
    that is abap run time error:-
    error:- DBIF_RSQL_TABLE_UNKNOWN occured p1[psql/ft
    what should i do to remove that and face that plz help me  out.

    thanks for reply but me want to know that:-
    actually  when i installed sap 4.7ee every thing is ok after installation server start prpperly. means that every steps is ok process list msz server wp table all are at correct position but problem is that  when i go to log on through front end it shown abap run time error
    error:- DBIF_RSQL_TABLE_UNKNOWN occured p1[psql/ft
    all wp are in wait condition and status is yes
    what do want to know .......tell me
    i think it is a lience error it may or may noy can you suggest me......?????????
    what should i do to remove that and face that plz help me out.

  • Delete rows from fnd tables

    hai folks,
    right know in my fnd_concurrent_request table nealry 2 lakhs rows are there(clon instance)
    can i delete these rows manually.is it recommended?
    tell me how can i clen up fnd tables.
    regards
    dba

    To run the Purge Concurrent Request and/or Manager Data program:
    1. Log in to Application as System Administrator responsibility.
    2. Navigate to Request> Run> Single Request
    3. Query up Purge Concurrent Requests.
    4. Enter 3 for age parameter so that it keeps only 3 days data in the tables and 3 days output/log files in the file system.
    The following tables will be purged:
    FND_CONCURRENT_REQUESTS
    This table contains a complete history of all concurrent requests.
    FND_RUN_REQUESTS
    When a user submits a report set, this table stores information about the
    reports in the report set and the parameter values for each report.
    FND_CONC_REQUEST_ARGUMENTS
    This table records arguments passed by the concurrent manager to each program
    it starts running.
    FND_DUAL
    This table records when requests do not update database tables.
    FND_CONCURRENT_PROCESSES
    This table records information about Oracle Applications and operating system
    processes.
    FND_CONC_STAT_LIST
    This table collects runtime performance statistics for concurrent requests.
    FND_CONC_STAT_SUMMARY
    This table contains the concurrent program performance statistics generated by
    the Purge Concurrent Request and/or Manager Data program. The Purge Concurrent
    Request and/or Manager Data program uses the data in FND_CONC_STAT_LIST to
    compute these statistics.
    FND_CONC_PP_ACTIONS
    Stores the post request processing actions(e.g., print, notify) for each
    submitted request. There's a concurrent_request_id here for each request_id
    in the FND_CONCURRENT_REQUESTS.
    FND_RUN_REQ_PP_ACTIONS
    Stores the post request processing actions(e.g., print, notify) for
    submitted request set programs that are stored in FND_RUN_REQUESTS

  • How to check relation between two tables in same database

    How to check relation between two tables in same database using Oracle SQL developer. Version 2.1.1.64

    Hi,
    Try this,
    SELECT   cons.owner AS child_owner, cons.table_name AS child_table,
             cons.constraint_name constaint_name,
             cons.constraint_type constraint_type, col.owner parent_owner,
             col.table_name parent_table, col.column_name column_name
        FROM dba_cons_columns col, dba_constraints cons
       WHERE cons.r_owner = col.owner
         AND cons.r_constraint_name = col.constraint_name
         AND col.owner = 'MY_USER'
    ORDER BY child_table;Thanks,
    Shankar

  • Positioning a layer relative to a table

    Hi,
    I've created a site based on a table that is centered in the
    browser window.
    I want to add a small layer to accommodate a dropdown menu -
    which should be positioned just under one of the navbar buttons.
    I know I need to somehow position the layer relative to the
    table - but I'm really bad at code. Can anyone help?
    (The navbar is actually a seperate file called 1nav.php that
    is 'included' in the main file called 'template.php'. - in case
    that makes a difference.)
    You can see the site so far at:
    www.mywebspinners.com/SR/template.php
    Or just the navbar file at:
    www.mywebspinners.com/SR/1nav.php
    Thanks,
    - Greg

    This illustrates nicely some of the 'one-way' problems that
    one can get into
    by using only Design view (i.e., things that can happen that
    you CANNOT get
    yourself out of), and why it's always important to acquire
    some familiarity
    with HTML and CSS to work at all productively with
    Dreamweaver (or any HTML
    authoring system, for that matter).
    Osgood beat me to the punch on his recommedation, and I think
    it may be the
    cause - but I'm waiting to see the results before posting
    further.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Osgood" <[email protected]> wrote in
    message
    news:[email protected]...
    > GregInFrance wrote:
    >> Hi - sorry - I have no idea where all these things
    ought to go. I just
    >> use the 'Design' view in Dreamweaver -i never
    actually write code. Is
    >> the code you included in your last post how mine
    should look - as I can't
    >> see a difference. Sorry to be such a pain.
    >
    >
    > You need to go into code view. Find all of the code
    below, select it, cut
    > it then paste it directly before the closing
    </head> tag. If your relying
    > on design view then give up now because its not going to
    happen.
    >
    > <style type="text/css">
    > <!--
    > #Dropdown {
    > position:absolute;
    > left:306px;
    > top:115px;
    > width:231px;
    > height:91px;
    > z-index:1;
    > visibility: hidden;
    > }
    > -->
    > </style>
    >
    > <script type="text/javascript">
    > <!--
    > function MM_reloadPage(init) { //reloads the window if
    Nav4 resized
    > if (init==true) with (navigator) {if
    >
    ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    > document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
    > onresize=MM_reloadPage; }}
    > else if (innerWidth!=document.MM_pgW ||
    innerHeight!=document.MM_pgH)
    > location.reload();
    > }
    > MM_reloadPage(true);
    >
    > function MM_findObj(n, d) { //v4.01
    > var p,i,x; if(!d) d=document;
    >
    if((p=n.indexOf("?"))>0&&parent.frames.length) {
    > d=parent.frames[n.substring(p+1)].document;
    n=n.substring(0,p);}
    > if(!(x=d[n])&&d.all) x=d.all[n]; for
    (i=0;!x&&i<d.forms.length;i++)
    > x=d.forms
    [n];
    >
    for(i=0;!x&&d.layers&&i<d.layers.length;i++)
    > x=MM_findObj(n,d.layers.document);
    > if(!x && d.getElementById)
    x=d.getElementById(n); return x;
    > }
    >
    > function MM_showHideLayers() { //v6.0
    > var i,p,v,obj,args=MM_showHideLayers.arguments;
    > for (i=0; i<(args.length-2); i+=3) if
    ((obj=MM_findObj(args
    ))!=null)
    > { v=args[i+2];
    > if (obj.style) { obj=obj.style;
    > v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    > obj.visibility=v; }
    > }
    > //-->
    > </script>
    > <link href="rs-styles.css" rel="stylesheet"
    type="text/css" />
    >

  • Make relation between 2 table programilly

    how can I make a relation between 2 tables ( one to many) through code
    and also broke this relation through code

    You just need these commands:
    https://msdn.microsoft.com/en-US/library/zkyz3407%28v=vs.80%29.aspx
    https://msdn.microsoft.com/en-US/library/sdwsys0z(v=vs.80).aspx
    Bye, Olaf.
    Olaf Doschke - TMN Systemberatung GmbH http://www.tmn-systemberatung.de

  • Updating FND table owner password after database import/export?

    We created a reporting instance from our production environment, and moved the EUL to a new schema through a database export/import process - not the Discoverer Administrator export/import process. The password associated with the owner of the FND tables is embedded within the EUL in production. When this was moved to a new schema in our reporting instance, this password "came with" the EUL. However, the password for the FND table owner is different in the reporting instance than it is in production. Is there any way to update this after the fact for the owner of the EUL?
    Here's what happened: EUL_OWNER1 is the owner of the Applications mode EUL in production. The copy was taken of production to create the reporting instance. At that time, EUL_OWNER2 was created in the reporting instance, and the tables and data owned by EUL_OWNER1 was exported and imported into EUL_OWNER2. The reason that we did this was to lock down security and keep people from running reports against production, hindering the performance of the overall system. The APPS password (which owns the FND tables), which was required when creating the EUL_OWNER1 EUL in production, is different in the reporting instance. When you log into Discoverer Administrator as EUL_OWNER2 and try to validate folders, you get "ORA-00942: table or view does not exist" errors for all of your tables. Basically, that user cannot view those tables because it does not have the appropriate APPS password.
    Can this be updated somehow? Or do I have to re-create the EUL for EUL_OWNER2 by using the Discoverer export/import functions? Thanks.
    Meredith

    Hi,
    I don't think the FND password is embedded in the EUL tables. What you will have lost by moving the EUL through a database export/import is all the grants that gave the EUL owner access to the FND tables and other Apps objects. These can be reapplied at the database level. However, the EUL owner does not actually need access to the tables that are mapped into the EUL as you can refresh these when you connect as an Applications user.
    Hope that helps,
    Rod West

Maybe you are looking for

  • I want to backup my photos to a WD My Passport, and also have a PC in the house. Is it okay to format the external hard drive to FAT 32?

    Want to back up/save my photos to an external hard drive both for safety and for portability. I use an iMac, but everyone else in the family uses PC, so ideally I'd like to be able to use the drive on both systems. I have been looking online and it l

  • How can I fix my Ipod nano 5 gen

    I got a refurbished Ipod nano 5 gen at a Gamestop and I have been having fits with it since. I tried using it on my laptop and it wont show and I used it on the family computer and formatted it and all it shows me is that it is a removeable disk and

  • Installing mac os on Mac book with windows xp

    Hi I have a mac book a1278 with windows xp on it, i want to install os x 10.4 that came on 2 cds, but when I put CD and choose to boot from it, the mac book just keeps restarting itself, I have also tried this with external drive and the results are

  • Windows 7 can use Graphic Equalizer? (Audigy Value)

    Hi, i'm new user? now i use sound blaster audigy value but driver in cd driver not support windows 7 (Bluescreen) and i want to use graphic equalizer, please help me? Message Edited by materialise on 03-28-2009 05:03 [email protected]

  • TX Crashes After Hotsync

    I was getting a lot of use out of my TX until one day, just as HotSync was completing, it crashed and just continued to reset and reset repeatedly.  Whether it repeats a hard or soft reset I do not know, but I think it's a hard reset.  I've since per