Report Launcher to run with different Menus

We have a situation where we run reports from two parts of the same application. Each part has a different Menu, therefore we would like qms0012f (report launcher) to have the menu of the calling form/menu.

I am unable to test but you can try something like this,
DECLARE @COUNTRYID INT
SET @COUNTRYID = 1WHILE @COUNTRYID <= (SELECT MAX(COUNTRY_ID) FROM COUNTRY)
BEGIN
DECLARE @COUNTRY_CODE VARCHAR
BEGIN TRY
SELECT @COUNTRY_CODE = COUNTRY_CODE FROM COUNTRY WHERE COUNTRY_ID = @COUNTRYID
EXEC getIPs @COUNTRY_CODE
END TRY
BEGIN CATCH
INSERT INTO [dbo].[ERROR_LOG]
SELECT
GETDATE(),
ERROR_NUMBER() AS ErrorNumber
,ERROR_SEVERITY() AS ErrorSeverity
,ERROR_STATE() AS ErrorState
,ERROR_PROCEDURE() AS ErrorProcedure
,ERROR_LINE() AS ErrorLine
,ERROR_MESSAGE() AS ErrorMessage
END CATCH;
SET @COUNTRYID = @COUNTRYID + 1
END
Regards, RSingh

Similar Messages

  • Can Reports 10g Be Run with EBS 11i?

    Can reports 10g be run with E-Business Suite 11i (11.5.10)?
    Thanks,
    Kurz

    Output from EBS Excel is XHTML, so anything that understands that ... from memory Excel 2003 or higher but check doco.
    Gareth

  • How to pass database logon info to a Crystal Report in a subreport with different server name using VS C #

    Post Author: fabu1971
    CA Forum: .NET
    I could pass the database logon in Reports with subreports but the reports with subreports with different  server name I can not pass the logon information . Do you have any idea how I can do that to pass the database logon with different database or server name ?

    Post Author: quafto
    CA Forum: .NET
    You can use the Subreports collection of the ReportDocument object to access all the subreports in your main report. These are returned as ReportDocument objects. Once you have your subreport as a ReportDocument you can loop through your Tables collection and set the ConnectionProperties to your appropriate Server/Database. For example here is some pseudo code: ConnectionInfo boConnectionInfo = new ConnectionInfo();boConnectionInfo.ServerName = "serverName";boConnectionInfo.DatabaseName = "databaseName";boConnectionInfo.UserID = "username";boConnectionInfo.Password = "yourpassword"; foreach(ReportDocument boSubreport in mainReport.Subreports){    foreach(Table boTable in boSubreport.Database.Tables)    {        TableLogOnInfo boTableLogOnInfo = boTable.LogOnInfo;          boTableLogOnInfo.ConnectionInfo = boConnectionInfo;          boTable.ApplyLogOnInfo(boTableLogOnInfo);          boTable.Location = "newtablelocation";     }}

  • Custom reports do not run with error message: Routine FDPREP cannot read ..

    Hi
    Can anybody help me with this issue pls?
    The dev system is cloned from production a few days ago. After running the post clone procedure, the dev is working fine except when we are trying to run custom reports, it errorred out with error message - Routine FDPREP cannot read the file /fmis/11.5.0/reports/US/POXPRPO1.rep. I have checked the env files, and they seem ok. $CUSTOM_TOP is set to the correct value. Other standard Oracle reports are running properly. The custom report file extension is in low case (.rdf). I've even tried to compile the report manually by using rwcon60.sh, the rep file was created under that folder but concurrent manager is still giving the same error message. So I am suspecting whther it is the path issue, as from the error message we can see up there, it is not showing the absolute path. Can anyone pls shed some lights on this for me?
    Thanks!
    Liang

    Hi hsawwan,
    Echo $FMIS_TOP(Custom Top) returns /global/app/fdev/home/fdevapp/findevappl/fmis/11.5.0, which is the correct path.
    Interesting thing is I checked the custom forms and they are working properly , our current configuration is form server and web server are sitting on one node, and CM, admin and database are sitting on the other node. So it seems it is the CM node settings caused the problem. However, I've just compared the APPSORA.env, customfindev_XXXXXX.env $FMIS_TOP (Custom Top) on the two nodes, and nothing seems out of ordinary.
    Thanks,
    Liang

  • Runas with different user with password also in Batch File

    Hi,
    I need to run one application with different user credentials.
    I am using Runas command in batch.
    When running the task it's prompting for password.
    Here i want to run the application without any promptings.
    Can any body help me is there any batch script for running the program silently without any prompts.
    Thank You,
    Avis 

    Runas is typically not for windows forms but for console operations. 
    Try the forum of your program language.
    However, be aware that probably there will no answer for this given because Runas is mostly meant for malicious programs so code for that is not allowed to distribute using forums.
    Success
    Cor

  • Report for payment runs with multiple bank accounts

    Hi everyone,
    I'm looking for a report that displays the results of a payment run(or payment runs) & throws in some payables and cash information as well.  The report should include the following information:
    Supplier | Source document ID | Invoice ID | External Reference ID | Payment Run ID | Payment ID | 'Supplier Bank Account' that the payment was paid to | Payment Status (or potentially invoice status) | Payment Method
    I've tried combining several data sources but can't seem to find the correct sources to join in order to get all these fields...Any help would be appreciated.
    thanks,
    -Ben

    When you enter bank details in master, update field "Partner bank type" LFBK-BVTYP with free form value, may be currency is good choice.
    During invoice entry, this field is available for update, update which bank to be used for payment of this invoice. You may build logic to populate this field, like substitution to populate currency in this field during invoice posting.
    During payment, system checks value in field Partner bank type in invoice and selects corresponding bank.
    Hope this helps.

  • Reporting Set of Books with different calendar from primary SOB

    Hi All,
    We are in 11i multi Org.
    Our primary SOB is with the calender 'JAN-DEC'.
    We have a requirement to create a secondary set of books with a new calendar "APR-MAR" with the same chart of accounts and same functional currency for reporting purposes to our parent company.
    I saw multiple documentation on MRC SOB, the calendar in MRC Reporting SOB must be same as Primary SOB.
    But, in our case, the currency is same, but the calendar structure has to be different.
    I tried to setup 2 new SOB  in Test 1. with a different calender but same functional currency 2. same calender but different currency.
    When I try to assign them to primary set of books through Assign Reporting Set of Books form, only the 2nd SOB ( same calender but different currency) showed up in the LOV for reporting set of Books.
    Can some one shed some light on me to check if it's possible to do so and if yes, then how to setup a new reporting SOB with a different calendar than Primary SOB?
    Thanks
    Radhika

    As far as i know,
    If you want different calendar then you should use Secondary Ledger [Not sure if it is available in 11i but this concept is there in R12]
    If you only need multiple currencies to support your reporting requirements, use reporting currencies with a primary ledger
    Your testing proves the same as well.
    Regards,
    Srini

  • Schedule a store proc to run with different values

    Hi ALL ,
    I have a store Proc i need to schedule it using the sql agent that i can do but the requirement is to exec the same store proc for different values at same time .
    like for eg i need to run the below same store proc for 3 different values at the same time.
    exec getIPs 'US'
    exec getIPs 'IND'
    exec getIPs 'UK'
    So for instance time is 02:30 am .
    The Same Store Proc should exec for values like US,IND & UK . If the exec for one of the values fail it should still continue .
    Like for eg if by chance due to some reason US fails it should move to next value IND in short continue with the exec.
    These values US,IND,Uk am getting from a table called Countries .
    Kindly help with this requirement.
    Thanks 
    Priya

    I am unable to test but you can try something like this,
    DECLARE @COUNTRYID INT
    SET @COUNTRYID = 1WHILE @COUNTRYID <= (SELECT MAX(COUNTRY_ID) FROM COUNTRY)
    BEGIN
    DECLARE @COUNTRY_CODE VARCHAR
    BEGIN TRY
    SELECT @COUNTRY_CODE = COUNTRY_CODE FROM COUNTRY WHERE COUNTRY_ID = @COUNTRYID
    EXEC getIPs @COUNTRY_CODE
    END TRY
    BEGIN CATCH
    INSERT INTO [dbo].[ERROR_LOG]
    SELECT
    GETDATE(),
    ERROR_NUMBER() AS ErrorNumber
    ,ERROR_SEVERITY() AS ErrorSeverity
    ,ERROR_STATE() AS ErrorState
    ,ERROR_PROCEDURE() AS ErrorProcedure
    ,ERROR_LINE() AS ErrorLine
    ,ERROR_MESSAGE() AS ErrorMessage
    END CATCH;
    SET @COUNTRYID = @COUNTRYID + 1
    END
    Regards, RSingh

  • PPM run with different productivities for annual plan

    Hi Experts
    I want to do the annual planning with monthly bucket, The productivity(same product) from month to month is changing in the ppm across the year.
    For maintaining the different productivity for different months i have to create the different PPM.
    I want to do only one SNP run for one year
    please suggest is there any another method for doing it.

    Hi,
    You need to think in different way :
    as your  prductivity increase that means your rate of production is increase .
    so you need to convert your output component and resource utilisation  in terms of rate .
    than use a quantity/rate definition to define the quantity capacity or
      rate in the time intervals for the capacity variants.
      To do this, you enter time intervals in a capacity variant and assign
      each time interval a quantity/rate definition.
    Hope it will help you .
    Manish

  • Launch a program with different variant in one time

    Hi,
    User have to launch all day x times the same transaction but selecting an other saved variant a each time.
    Is there a program or transaction which can be used to launch a lot of program - variant in one time ?
    Thanks a lot
    Regards

    You can use a ECATT testscript to automatise it.
    It can launch different variants each time and how many times you want.
    Follow the documentation <a href="http://help.sap.com/saphelp_nw70/helpdata/en/d4/80023c59698908e10000000a11402f/frameset.htm">link</a>
    Regards,
    Walter

  • Multiple report servers - with different uifont.ali

    Can we have multiple report servers with different NLS_LANG?
    They all should be started as windows service. Also I would like to have them look at different uifont.ali. The reason is that we want to have the same report run with different fonts in different languages. This way I can map the fonts in uifont.ali as I want.
    Is it possible?

    I don't think this is possible with multiple reports servers with one Oracle 9iAS home. You will have to install multiple 9iAS, in different Oracle homes.
    This also means that you have different URL's (port numbers) for the two environments.
    I have used this configuration before to install a test and production environment on one web server. Changing the conf files, variables etc. in the test environment doesn't influence the production environment that way.

  • Crystal report issue while running through online in Peoplesoft

    Hi,
    Message log shows:
    Process Request shows status of 'INITIATED' or 'PROCESSING' but no longer running
    View log shows:
    Message Set Number: 0
    Message Number: 0
    Message Reason: Invalid User ID and password for signon. (0,0)
    I am getting the above error when am running the crystal report through process scheduler with my user id in peoplesoft..whereas when i run it using admin id i.e.VP1 it goes to success. We tried by deleting the process scheduler cache but no luck.
    Note:All the crystal reports that are running with my id are going to error(shown above).None of the reports are working even the delivered crystal reports.
    Any help is appreciated!
    Sudhir
    Edited by: sudhir7284 on Jul 21, 2011 2:15 PM

    Hi Sudhir,
    Peoplesoft is an OEM Partner of ours and they support their product. We don't have it here so we can't help you.
    Please contact PS for support and mark this post as answered.
    Don

  • Shared Listener with different oracle versions

    Hi,
    I have configured the following shared listener for two databases running with different versions.
    I have started the O02TXN3-9i along with the shared listener and then listener was started with 9i version and then I brought up the O01TXN3 -10g.
    Please let me know whether I can connect to the 10g database O01TXN3 remotely with shared listener.
    Note: Please find listener and oratab files below.
    Your early response is much appreciated.
    Database O01TXN3 with 10g
    Database O02TXN3 with 9i
    ==== Listener.ora File ======
    TNS_DTXN03 =
    (ADDRESS_LIST =
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O01TXN3.world)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O01TXN3)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O02TXN3.world)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O02TXN3)
    (ADDRESS =
    (COMMUNITY = tcpcom)
    (PROTOCOL = TCP)
    (Host = dtxn03)
    (Port = 1525)
    STARTUP_WAIT_TIME_TNS_DTXN03 = 0
    CONNECT_TIMEOUT_TNS_DTXN03 = 10
    LOG_DIRECTORY_TNS_DTXN03 =/dtxn03/txn/oracle/admin
    TRACE_LEVEL_TNS_DTXN03 = OFF
    SID_LIST_TNS_DTXN03 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = O01TXN3)
    (ORACLE_HOME = /dtxn03/txn/oracle/10.2.0-64)
    (SID_DESC =
    (SID_NAME = O02TXN3)
    (ORACLE_HOME = /dtxn03/txn/oracle/9.2.0-64)
    # Added to get rid of the "inbound connection timed out (ORA-3136)"
    INBOUND_CONNECT_TIMEOUT_TNS_DTXN03 = 180
    ==
    Oratab:
    #LISTENER:/dtxn03/txn/oracle/9.2.0-64
    O01TXN3:/dtxn03/txn/oracle/10.2.0-64:Y
    O02TXN3:/dtxn03/txn/oracle/9.2.0-64:Y

    As a general rule, only one listener is required for a machine as long as all database versions are currently supported. (In other words one listener for Oracle7 and Oracle11g will not work.)
    As a general rule, an old listener MAY not be able to handle the features of the newer database (such as transferring blobs was a limitation in Oracle8). Therefore use the newest listener to handle all the databases.
    As a general rule, listeners can be considered independent of databases in a sense similar as ASM. Therefore it's not a bad idea to have a separate ORACLE_HOME specifically to install the listener. This is especially useful if you have multiple databases with differing service level agreements,
    I'd want to see
    1) the output of lsnrctl status
    2) any console session stuff and copy/paste to be surrounded by preview tages as described in the FAQ (http://www.oracle.com/technology/forums/faq.html#q14)

  • Multiple oracle database instances with different characterset on  the same server

    Hello,
    Is it possible to have 2 database instances running with different charactersets,one with AL32UTF8 and the other with WE8MSWIN1252.?
    Are there any setup requirements to be performed prior to setting up the database instances?
    The 3rd party utility that we want to use does not support AL32UTF8 and insists on using a database with character set WE8MSWIN1252.
    Kindly help.
    Thanks,
    Ram.

    Hello Zhe,
    I guess I posted my question in a wrong forum.  I tried my best to find a suitable forum and thought this was the best and closest I found.  Apparently not.  Can you please let me know the right forum for my question?
    The below is the breif of what we are currently facing:
    We are in the process of finalizing plans to install Automic for our Retail applications to schedule jobs.  In the process came to know that Automic does not support AL32UTF8.
    Right now we have RMS and UC4 (now called Automic) run on the database server as UC4 supports AL32UTF8 and schema for UC4 is inside the RMS database.
    Going forward it is recommended to have a separate database instance on the same server as that of RMS database and with a different characterset which is WE8MSWIN1252.
    Please let me know what forum to post in, I will repost the question.
    Thanks,
    Ram.

  • Front-end web servers with different OS

    Hi everybody,
    is it possible to build a SharePoint farm with front-ends with different OS (W2k8R2 & W2012)? 
    Thanks in advance,
    Sergio Calleja

    There should be no issues in having two WFEs running with different operating systems. If MOSS 2007 version can successfully support a mix environment of having two different OS on WFE then why not SharePoint 2013.
    But I recommend to set a test environment first and test your mixed setup environment. This will gain you more confidence and sure possibility to implement it on production. Else I see no compatibility issues even if you directly implement the mixed WFE
    environment on SharePoint 2013 production.
    Please remember to upvote if it helps you or
    click 'Mark as Answer' if the reply answers your query.

Maybe you are looking for

  • Settlement of negative value to an asset in WBS (CJ88)

    Hello, I have a negative value for a cost element in a WBS which I want to settle it to an asset. Settlement rule is maintained. There is no error while executing CJ88. But it does not settle the negative values of that Cost elements. Please suggest

  • How do U to get the names of all files in a directory?

    Is there a simple way to get all names of the files in a directory and put them in an array of Strings? Sounds simple, but I don't have a clue how to do this. Thanks.

  • X-fi Xtreme Audio - Can't access/install mode switcher

    I've been trying to access the touted 'Audio Creation Mode' for its bit-matched playback and sound quality, however I don't have any of the fancy creative driver programs - instead I have a standard Windows 7 menu, with 8 tabs. (I'll try to get scree

  • My ZTE OPEN C reboot randomly

    My phone is OPEN ZTE C (bougth in France) My OS version is 1.3 Sometimes, firefox OS restart when hit was in stand by. I don't know why. No application are opened when the problem came.. I have the model since 1 month and it reboot 5 times.

  • Display resolution on netbook not compatible with BB Desktop manager requirement

    BB Bold 9700 Device updated today 1/31  Should be a warning that this process takes a   l o n g   time BB Desktop Software Rev 5.01 Upgraded from Bold 9000 and backed up device using BB Desktop Software Can't restore photos from old BB to new BB usin