How to generate the output xls by a button in oracle apps

Hello world

I have a report that gives me xls output when I run the program at the same time.

I have a custom form that has a button to call the program contributing to print the report.

I realized this from here

But this code works just fine if the report output format is pdf.
If the report output format xls this code generates pdf output

but my requirement is to generate the output as xls.
Please any one help how to achieve this.

I use EBS - 12.1.3
Oracle made and reports 10g

Concerning
Paul

>
If the report output format xls this code generates pdf output
>
Looks like that pdf is out by default in the template definition in the xml editor RESP

so for r12 use FND_REQUEST. ADD_LAYOUT as example

...
v_request_id   number;
xml_layout boolean;
...
xml_layout := FND_REQUEST.ADD_LAYOUT('XXCUSTOM','XXCONCNAME','en','00','EXCEL');
v_request_id := fnd_request.submit_request(application => 'XXCUSTOM',
                                           program     => 'XXCONCNAME',
                                           description => NULL,
                                           start_time  => NULL,
                                           sub_request => FALSE,
                                           argument1   => p_date
                                           );

See also http://andyblg.wordpress.com/2012/08/23/run-concurrent-program-twice-with-different-layout-r12/

Tags: Oracle Applications

Similar Questions

  • How to design the multi-onglet in rtf report in oracle apps r12

    Hello


    How to design the multi-onglet in rtf report in oracle apps r12

    a consultant who works on multiple projects in this report... . How to design rich text using the multi tab.


    Thank you

    Praveen,

    Already sent an invitation to chat. It's [email protected]

    Kind regards
    Vinod

  • How to find the ID of a submit button in oracle seeded pages

    Hello

    I tried downloading the page locally and I try to open using jdev, but "oa:popup" is not valid message is coming.

    So I can not open this page so not able to see the ID of the button.

    Can you tell me how to find the ID in another way.

    Hello

    If your cannot open page in jdev, then copy the page (xml file) from the server and save to anywhere on your local computer, which opened in Notepad, here you can find the ID of your button required. However, the norm is to open the page in jdev
    Haroon.

  • How to make the output project of "Continue" button on the attempt of quiz results page

    When the quiz on the project is completed, on the results of the quiz slide it has a button to continue to press, but seems no value since it becomes just a black screen when you are finished instead of close the project as you think it should. Any suggestions on how to do that affects the project?

    Closing projects only works reliably when the publication in EXE format.  Often Web browser security prevents content windows SWF/HTM being closed in the same way.

    Try placing a slide AFTER your quiz slides so that the button continue has a place to go.  Then change your preferences > project > start and end > project end Options > Action close project.  In this way, the project tries to close naturally, only not in a row by clicking a button.  You can do this last slide as short as you want, but a second or more is generally good, just in case you have preferences set to Fade Out on last slide.

  • How to pass the user name dynamically in file .jca Oracle Apps adapter

    My BPEL process using Oracle Applications adapter. Here is the file .jca for the adapter.  The user name is statically initialized to "sysadmin" when I created the adapter. How can I change this to move dynamically during execution? Can I use an EL Expression or a variable of XPath. If yes how and what is the correct syntax?

    Is it possible to pass the user name of the security policy of OWSM for the value of username below? If yes how? I appreciate your response.

    " < name of the adapter-config = adapter 'EBSAdapter' = 'Apps' wsdlLocation =".. / WSDLs/EBSAdapter.wsdl "xmlns =" http://platform.integration.Oracle/blocks/adapter/FW/metadata « >

    < UIConnectionName factory connections = "EBS1" location = ' ist/Apps/EBS1"UIConcurrentPgmName =" "UIOracleAppType = 'DBOBJECT' / >"

    < endpoint-interaction portType = operation "EBSAdapter_ptt" = "EBSAdapter" >

    < className = "oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec interaction-spec" >

    < property name = "SchemaName" value = "APPS" / >

    < property name = "PackageName" value = "JAN" / >

    < property name = "Procedurename" value = "GET_USER_PROFILE1" / >

    < property name = "IRepInternalName" value = "PLSQL:INTG:WEBCENTER_GET_USER_PROFILE1" / >

    < property name = value "Username" = "sysadmin" / >

    < property name = value of 'Responsibility' = "system administrator" / >

    < / interaction-spec >

    < / interaction of endpoint >

    < / adapter-config >

    1. go on the Invoke activity

    2. click on the Properties tab.

    3. click on add

    4 Add this 'jca.apps.Username' property and map with variable or expression.

    5. fill the variable defined in the previous step with valid username values during execution.

    I hope this helps.

    Kind regards

    Karan

    Oracle Fusion Middleware Blog

  • How to generate the array Diagnostic Utility ADU for Esxi server

    How to run Diagnostic Utility ADU or HP Insight Diagnostics HP Insight Diagnostics table to collect the status tables and logs data FRO an Esxi Server

    How to generate the array Diagnostic Utility ADU for Esxi server

    Example:

    Download the package .vib here: http://vibsdepot.hp.com/hpq/feb2013/esxi-5x-vibs/hpacucli/hpacucli-9.40-12.0.vib

    and place it on a store of data seen by the host...

    Install it using the CLI:

    software esxcli vib install d vmfs/volumes //hpacucli-9.40-12.0.vib

    Now run it:

    ~ # cd/opt/hp/hpacucli/bin

    / opt/HP/hpacucli/bin # . / hpacucli

    HP Array Configuration Utility CLI 9.40.12.0

    Detection of controllers... Fact.

    Type 'help' for a list of supported commands.

    Type "exit" to close the console.

    => ctrl all diag file=/tmp/my_ADUreport.zip ris = on = on zip xml = on

    Generation of diagnostic report... done

    -Online output

    / opt/HP/hpacucli/bin #.

    my_ADUreport.zip in / tmp can now be downloaded from the host...

    It could be that useful...

    / Rubeck

  • How to generate the report on rules

    How to generate the report on rules with id recipient and with a few keyoword in a rule.

    The rule management dashboard has an integrated 'report rules', you can configure properties and input parameters.

    For rule management dashboard, click homes > Administration > rules. In the upper right, next to the date and time, click reports.

    You can also find these helpful videos: http://edocs.quest.com/foglight/5610/Foglight_Reports_videos.php

    Hope this helps,

    Shay

  • How to generate the alert when pageitem move on the page? and what class boss be use to move pageitem

    How to generate the alert when pageitem move on the page? and what class boss be use to move pageitem

    Hi Philippe,.

    You can see the kDocBoss for the ClassID with the PMIID IID_ITRANSFORM_DOCUMENT kLocationChangedMessage.

    Markus

  • How to install the output in bridge CC module using an apple OSX 10.9.5 and a miss apple OSX 10.11 this point completely in CC bridge!

    How to install the output in bridge CC module using an apple OSX 10.9.5 and a miss apple OSX 10.11 this point completely in CC bridge!

    Hi abev41080082

    Greetings.

    Concerning

    Rohit

  • How to make the output of the task are an entry in another task

    How to connect the output of a task for I can use it as input for another task?  See this screen below: the task "Invoke the Script" run a PowerShell Script.  The task 'Send E-mail' send an email.  The two tasks work separately.  How can I get the results of my powerShell script that I can use them as content of the task 'Send Email'?

    workflow.jpg

    On the script invoke task you set the attributes of output containing the results of powershell.

    to do this, select the output tab and use an object name that was put in place in powershell results as in the data

    You may need to format, this results in a recognized VMware object I guess in your case it is a string type.

    and then select the e-mail task, select the task from email, click on the small eye looking for icon "view details".

    Select the Visual link

    Select the attributes you setup from the output of the previous task and hang it in the input parameters of the task to email.

    fact

  • How to generate the sequence Island-1, -1, 1, 1...

    How to generate the sequence Island-1, -1, 1, 1...

    This seems to work:

    create sequence sss start with -1 increment by 2 minvalue -1 maxvalue 1 cycle nocache;
    
  • How to generate the ddl for unlimited quota

    Hi all

    DB: Oracle 9.2.0.4
    OS: Solaris 8

    I have a 12 tablespaces and 18 users of the application.
    I would like to grant an unlimited quota for all users on all areas of storage, to find out how to generate the ddl script.

    ex: change the dataagent user quota unlimited on DSOM.

    can anyone help us.
    Thank you
    KK.

    All users in all areas of storage?

    Select "edit user" | user name | "quota unlimited on | nom_tablespace | ';'
    from dba_users cross join dba_tablespaces
    When not in dba_tablespaces.tablespace_name ('SYSTEM', "SYSAUX");

    Please, be careful with this

    HTH
    Antonio NAVARRO

  • How to generate the script to insert data tables present in a

    How to generate the script to insert data from one table in an entire schema under environment sqlplus




    with toads it please help me please!

    905310 wrote:
    How to generate the script to insert data from one table in an entire schema under environment sqlplus
    with toads it please help me please!

    The correct method by using the pump of the database or import/export or unload the data in CSV format for loading using SQL * Loader.

    Generate instructions insert with literals is very bad choices - the bind variable is missing. It will be quite slow because many other CPU cycles are spend on hard analysis. The shared pool will become fragmented. This can cause errors of memory for other applications when they attempt to analyze SQLs for cursors.

  • How to generate the random password policy password knowing resources

    Hello

    Any body tell me how to generate the random password policy password knowing the purpose of resource in OIM11g

    Kind regards
    Mireille Nayan

    Hi Pascal,.

    You can try the below code snippet:

    UserRepository your = new DBUserRepository();
    UserInfo user = your.getUserInfo (take);
                   
    ResourceRepository rrepo = new ResourceDBRepository();
    Resource = rrepo.findResource (resourceName);
              
    By PasswordPolicyAssignmentsRepository = new PasswordPolicyAssignmentsDBRepository();
    PasswordPolicyRepository ppr = new DBPasswordPolicyRepository();
    The list of passwordPolicyAssignments = par.getPasswordPolicyAssigments (resource);
    PasswordPolicy passwordPolicy;
                   
    PasswordPolicyAssignment passwordPolicyAssignment = passwordPolicyAssignments.get (0) (PasswordPolicyAssignment);
    If (isApplicable (passwordPolicyAssignment, {getMappedAttributes (userInfo.getAttributes ())})})
    passwordPolicy = ppr.find (passwordPolicyAssignment.getPasswordPolicyID ());
    }
    RPG RandomPasswordGeneratorImpl = new RandomPasswordGeneratorImpl();
    password = rpg.generatePassword (userInfo, passwordPolicy);

    Kind regards
    GYAN

  • No contents do not on mobile devices after generating the output Multiscreen HTML5?

    I use a trial version of RoboHelp 10. "I created a new project and used the screen profile: Android_Galaxy_Tab and the screen layout" Android_Tablet_Layout and HTML5 generated the output. I navigate to the folder on my computer and click index.htm and it appears in the fine Chrome browser, but I download the correct files to my web server (via FTP) and search for web files and do not appear in the TOC. As well as on mobile devices. The web files are here www.superdesigngirl.com/android_galaxy_tab/index.htm. I have to publish files on the web through RoboHelp? Is this a known issue? I put something wrong? Help, please. Katherine.

    The only reason that I can think of for what you downloaded not to work as it does on the spot, it's that you have not actually downloaded everything. First thing so we must compare local production and what is on the server, as Jeff has suggested.

    Same search is a failure so I suspect that not all subfolders in the output of Android has not been downloaded.

    It might be useful to create a webhelp layout and download to see if it works.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

Maybe you are looking for