Passing Reuest ID in a Request Set.

Hi Guys,
I've created a request set to run a Financial statement at stage 10 and then defined XML Report Publisher to run at stage 20.
Problem is that XML Report Publisher requires the request id from stage 10. I've tried creating an SQL statement to get that value but seeing that the request set has no run yet.. I'm getting a request ID from the previous run.
Is there a way to get the request Id of the previous stage?

Thanks for the reply Sujoy.
I have a Conc. Request Set with 2 concurrent programs which run one after the other.
I need to get the conc. request Id of program1 which has completed successfully in program2 of the concurrent request set.
Thanks,
Satya
Message was edited by:
stammine

Similar Messages

  • Pass ORG_ID as sql statement for parameter in request set

    We are in a multi-org environment. We are running the request PRC: Generate Draft Revenue for a Single Project as part of the request set. We want the request to automatically fill in the open pa period as the accrue through date. We have been using the SQL Statement below as the value for the accrue through date parameter.
    select end_date
    from pa_periods_all
    where status = 'O'
    and current_pa_period_flag = 'Y'
    Unfortunately that does not limit to a specific company. We a company that still have DEC-05 while another has an open period of JAN-06. This is causing the program fits. How do I pass the org_id to the request? [in beginners terms please]
    Thanks.
    Anne

    No idea what might be wroong without more info...
    Do some output. Test the ${params.id} variable passed to the second jsp. If that is correct, then error is in the select statement or display of jsp2. If it is correct the error comes from jsp1.
    If I have to guess, then I would say the error comes from JSP1, and the ${row.vac_id} should only be called once. In which case I would do something like this:
    //in jsp 1
                <c:forEach var="row" items="${results.rows}"  varStatus="counter"  >
                    <c:set var="vac_id" value="${row.vac_id}" scope="page"/>
                    <tr>
                        <td>${vac_id}</td>
                        <td><a href="vacancydetails.jsp?id=${vac_id}">More</a></td>But that is a guess only...
    Errr... Hold on to that as reference, but the it is entirely likely that I misspelled ${params.id} It may be ${param.id} I forget and away from my machine right now...

  • Request set - pass parameter

    Hi all,
    I'm using EBS 12.1.3. In Receivables I've created a Request Set with 4 concurrent programs. I want the last one of the chain to accept as a parameter the request id from the previous concurrent program. Any ideas how to achieve this?
    Thanks in advance,
    Bahchevanov.

    Hi,Hussein,
    Thanks for reply. The docs you provided for me are helpful. In my case I don't want to pass a parameter which occurs in other concurrent programs in the request set but to pass the REQUEST_ID from the previous concurrent program. Request set for examle:
    1). Autoinvoice Master Program with request_id = '111'
    2). My Concurrent Program with parameter P_REQ_ID must accept the request_id from 1) = '111'.
    Thanks,
    Bahchevanov.

  • Request Set - Passing Request Id as Parameter

    Hi Guys,
    I have following request set
    STAGE1: Receiving Transaction Processor
    STAGE2: Receiving Interface Error Report
    STAGE3: Send Email (This custom program)
    Send Email Program looks for Request ID of Receiving Interface Error Report and sends out and email with attachement. The attachement is output of Receiving Interface Error Report.
    So my question is...how can i pass request id of STAGE2 request.
    thanks in advance
    Prashant Pathak

    Prashant,
    This might help you.
    select request_id from fnd_concurrent_requests a
    where description='2'
    and exists (
    select 1 from fnd_concurrent_requests b
    where b.request_id=<your_request_id>
    and a.parent_request_id=b.parent_request_id);
    Thanks
    Nagamohan

  • How to pass 1st program request id to 2nd program in request set

    Hi,
    I have following requirement, kindly help.
    I registered report as concurrent program1. After running the report, i have to email the output. For that i prepared a shell script and registered that as concurrent program 2.
    I put concurrent program1 and 2 in request set, i want to pass the request id of concurrent prog1 to concurrent prog2.
    Is there anyway i can achieve this.
    If not possible, suggest me alternative way.
    Thanks.

    Here is a not so sophisticated approach.
    First find the concurrent_program_id for your Outbound Interface from fnd_concurrent_programs_tl.
    Say it is 12345
    Then, in your 2nd program, find the id as follows
    select fcr.request_id outbound_request_id
    /*, fcr2.request_id,fcr3.request_id,fcr4.request_id,fcr5.request_id*/
    from fnd_concurrent_requests fcr --2nd request
    ,fnd_concurrent_requests fcr2 -- 2nd request phase
    --,fnd_concurrent_requests fcr3 -- request set
    ,fnd_concurrent_requests fcr4 -- request phase for outbound api
    ,fnd_concurrent_requests fcr5 -- outboudn api request
    where fcr.request_id = fnd_global.conc_request_id
    and fcr.parent_request_id = fcr2.request_id
    --and fcr2.parent_request_id = fcr3.request_id
    --and fcr4.parent_request_id = fcr3.request_id
    and fcr2.parent_request_id = fcr4.parent_request_id
    and fcr4.request_id = fcr5.parent_request_id
    and fcr5.request_id != fcr.request_id
    and fcr.concurrent_program_id = 12345Hope this helps,
    Sandeep Gandhi

  • HT1620 Why is it asking me for a pass code and I didn't set one?

    Why is it asking me for a pass code and I didn't set one up. This never happen before when I updated to the most recent IOS on my Ipad2?

    It is most likely asking for your Apple ID password, but that is just a guess.
    Then again as KarenSelena says if someone set a passcode without actually telling you (maybe a Settings -> General -> Restrictions passcode), that might be why you are getting a passcode request.

  • Using Shared Parameters in Request Sets

    Hi.
    I have a Request Set created but I want to pass one of the parameters entered in the 1st stage STAGE10, but also for this to be picked up by the 2nd stage STAGE20.
    I have heard that this is possible but have not been able to find any evidence from Metalink or Oracle Documentation, unless I just have not found the right document(s).
    This would require our users to not to have to enter the FileName parameter at each stage of the Request Set.
    I do not want to have each of the stages coded together as I want them to be standalone also (if required).
    Many thanks fro any help forthcoming.
    Regards
    Michael Brown
    Edited by: user621432 on 29-Oct-2008 02:10

    On the request set, review the program where You first specify the parameter to inherit and click on the parameters button. There You can specify an alias for the parameter that can be referren in the other programs in the set to inherit the value specified.

  • Add Journal Entries Report - Output to Request Set

    Hi All,
    I'm trying to create a Request Set for the receivable application
    The request set should contains two Programs
    1- AR: Journal Entries Report
    2- Journal Entries Report - Output
    I defined the request set and when i start adding the programs , i selected the first program AR: Journal Entries Report from the list and gave it sequence 10
    when i tried to add the other Report "Journal Entries Report - output" i didn't find it in the list and i'm not able to add it
    1-Do any one know why this program doesn't appeat in the list ?
    2- If i created a copy of this program and gave it other name , this program in the definition doesn't have any parameters although a parameters must be passed to it from the first request AR : Journal Entries report. how to pass parameters from the first program to it
    Best Regards

    nuppara,
    I need to add this report to the request set as it's a workaround to get the output of the AR: Journal Entries Report as Excel - I created a post asking this question also , u already replied to it.
    My workaround is like this , the AR: journal Entries Report automatically sumbit the program "Journal Entries Report - Output" based on the parameters that the user select
    Print Detail By Account , Print Detail By Category , Print Summary By Account , Print Summary By Category
    if i want to to make this report to be an Excel output so i'll have to create 4 templates but won't be able to assign the correct template to it , as the main request AR: journal Entries report calls it automaticcaly, and may run it 4 times
    so my workaround was like this
    i'll create 4 request sets ,
    the first RS will be for example AR: journal Entries Detail By Account, i'll add to it 2 programs the AR: journal Entries Report , and the Journal Entry Report - output -OR a program copied from it with the same design and i'll add parameters to it-
    i'll force the parameters of the AR: Journal Entries in this request set to be Print Detail By Account = 'Y' and the other options = 'N' so the report will call Journal Entry Report - output with the parmeter layout= 'Print Detail By Account ' will be displayed as text ... when it finish the request set will run the Journal Entry Report - output -OR the copied program - that i'll assign the correct template and data definition for it, so it'll run and display the output as Excel .
    I need to try this solution, but i was not able to add the journal Entries Report - Output to the request set :( and i'm not sure if i'll create a copy from it will be added or not,
    and also i'm not sure if this workaround may work , as i know when the AR: Journal Entires report complete it delete the data from the temp table so the 2nd request may work on an empty table , or it'll have a request_id different from the request_id of the temp table so it won't select any row
    all of this is just a brain storming to find the solution. :( i'm thinking by a loud voice here :-D
    i know it may not work but at least to try it i need to add this report to the request set.

  • Unhandled Exception: System.TimeoutException: The request channel timed out while waiting for a reply after 00:01:59.9139778.Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding.

    Hi, 
    I created a simple plugin and since i wanted to use Early Binding i added Xrm.cs file to my solution.After i tried registering the plugin (using the Plugin Registration Tool) the plugin does not gets registered and i get the below mentioned Exception.
    Unhandled Exception: System.TimeoutException: The request channel timed out while waiting for a reply after 00:01:59.9139778. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this
    operation may have been a portion of a longer timeout.
    Server stack trace: 
       at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Xrm.Sdk.IOrganizationService.Update(Entity entity)
       at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.UpdateCore(Entity entity)
       at Microsoft.Crm.Tools.PluginRegistration.RegistrationHelper.UpdateAssembly(CrmOrganization org, String pathToAssembly, CrmPluginAssembly assembly, PluginType[] type)
       at Microsoft.Crm.Tools.PluginRegistration.PluginRegistrationForm.btnRegister_Click(Object sender, EventArgs e)
    Inner Exception: System.TimeoutException: The HTTP request to 'https://demoorg172.api.crm.dynamics.com/XRMServices/2011/Organization.svc' has exceeded the allotted timeout of 00:01:59.9430000. The time allotted to this operation may have been a portion of a
    longer timeout.
       at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
    Inner Exception: System.Net.WebException: The operation has timed out
       at System.Net.HttpWebRequest.GetResponse()
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
    And to my Surprise after i remove the Xrm.cs file from my solution the Plugin got registered!
    Not understanding what exactly is the issue.
    Any Suggestions are highly appreciated.
    Thanks,
    Shradha
      

    Hello Shardha,
                            I really appreciate that you have faced this issue.This is really very strange issue and basically it occurs because of big size of your early bound class and slow internet
    connection.
                            I would strictly recommend you to reduce the file size of your early bound class and then register.By default early bound class is created for all the entities which are
    present in CRM(System entities as well custom entities).Such kind of early bound classes takes lots of time to register on server and hence timeout exception comes.
                            There is some standard define to reduce the size of early bound class.Please follow the link to get rid from big size of early bound class.
    Create a new C# class library project in Visual Studio called SvcUtilFilter.
    In the project, add references to the following:
    CrmSvcUtil.exe(from sdk)   This exe has the interface we will implement.
    Microsoft.Xrm.Sdk.dll  (found in the CRM SDK).
    System.Runtime.Serialization.
      Add the following class to the project:
    using System;
    using System.Collections.Generic;
    using System.Xml.Linq;
    using Microsoft.Crm.Services.Utility;
    using Microsoft.Xrm.Sdk.Metadata;
    namespace SvcUtilFilter
        /// <summary>
        /// CodeWriterFilter for CrmSvcUtil that reads list of entities from an xml file to
        /// determine whether or not the entity class should be generated.
        /// </summary>
        public class CodeWriterFilter : ICodeWriterFilterService
            //list of entity names to generate classes for.
            private HashSet<string> _validEntities = new HashSet<string>();
            //reference to the default service.
            private ICodeWriterFilterService _defaultService = null;
            /// <summary>
            /// constructor
            /// </summary>
            /// <param name="defaultService">default
    implementation</param>
            public CodeWriterFilter( ICodeWriterFilterService defaultService )
                this._defaultService = defaultService;
                LoadFilterData();
            /// <summary>
            /// loads the entity filter data from the filter.xml file
            /// </summary>
            private void LoadFilterData()
                XElement xml = XElement.Load("filter.xml");
                XElement entitiesElement = xml.Element("entities");
                foreach (XElement entityElement in entitiesElement.Elements("entity"))
                    _validEntities.Add(entityElement.Value.ToLowerInvariant());
            /// <summary>
            /// /Use filter entity list to determine if the entity class should be generated.
            /// </summary>
            public bool GenerateEntity(EntityMetadata entityMetadata, IServiceProvider services)
                return (_validEntities.Contains(entityMetadata.LogicalName.ToLowerInvariant()));
            //All other methods just use default implementation:
            public bool GenerateAttribute(AttributeMetadata attributeMetadata, IServiceProvider services)
                return _defaultService.GenerateAttribute(attributeMetadata, services);
            public bool GenerateOption(OptionMetadata optionMetadata, IServiceProvider services)
                return _defaultService.GenerateOption(optionMetadata, services);
            public bool GenerateOptionSet(OptionSetMetadataBase optionSetMetadata, IServiceProvider services)
                return _defaultService.GenerateOptionSet(optionSetMetadata, services);
            public bool GenerateRelationship(RelationshipMetadataBase relationshipMetadata, EntityMetadata otherEntityMetadata, IServiceProviderservices)
                return _defaultService.GenerateRelationship(relationshipMetadata, otherEntityMetadata, services);
            public bool GenerateServiceContext(IServiceProvider services)
                return _defaultService.GenerateServiceContext(services);
    This class implements the ICodeWriterFilterService interface.  This interface is used by the class generation
    utility to determine which entities, attrributes, etc. should actually be generated.  The interface is very simple and just has seven methods that are passed metadata info and return a boolean indicating whether or not the metadata should be included
    in the generated code file.   
    For now I just want to be able to determine which entities are generated, so in the constructor I read from an XML
    file (filter.xml) that holds the list of entities to generate and put the list in a Hashset.  The format of the xml is this:
    <filter>
      <entities>
        <entity>systemuser</entity>
        <entity>team</entity>
        <entity>role</entity>
        <entity>businessunit</entity>
      </entities>
    </filter>
    Take a look at the methods in the class. In the GenerateEntity method, we can simply check the EntityMetadata parameter
    against our list of valid entities and return true if it's an entity that we want to generate.
    For all of the other methods we want to just do whatever the default implementation of the utility is.  Notice
    how the constructor of the class accepts a defaultService parameter.  We can just save a reference to this default service and use it whenever we want to stick with the default behavior.  All of the other methods in the class just call the default
    service.
    To use our extension when running the utility, we just have to make sure the compiled DLL and the filter.xml file
    are in the same folder as CrmSvcUtil.exe, and set the /codewriterfilter command-line argument when running the utility (as described in the SDK):
    crmsvcutil.exe /url:http://<server>/<org>/XrmServices/2011/Organization.svc /out:sdk.cs  /namespace:<namespace> /codewriterfilter:SvcUtilFilter.CodeWriterFilter,SvcUtilFilter
    /username:[email protected] /password:xxxx
    That's it! You now have a generated sdk.cs file that is only a few hundred kilobytes instead of 5MB. 
    One final note:  There is actually a lot more you can do with extensions to the code generation utility. 
    For example: if you return true in the GenerateOptionSet method, it will actually generated Enums for each CRM picklist (which it doesn't normally do by default).
    Also, the source code for this SvcUtilFilter example can be found here. 
    Use at your own risk, no warranties, etc. etc. 
    Please mark as a answer if this post is useful to you.

  • Manually running request set before dashboard is displayed

    Hi!
    I'm planning to create custom dashboards, reports, etc. and let us say that the request set runs every 1 hour. What I need is that whenever the custom dashboard is run and already more than 30 minutes have passed during the last request set run, it shall run the request set manually before the custom dashboard is displayed. Is this possible? Can a workflow be used in this situation?
    Thanks.

    I think your DBA is correct in saying that oracle do take care of data corruption in case of any system failure.
    In case of concurrent progmram their is a filed you need to tick, something "Restart in case of system failure" so that oracle take care of any such issue., you can check the parameter.
    In case of request set i think if sequencing and all is taken care in good way then i think you should not fall in this situation. Request wizard is good tool to define request sets.
    Thanks,
    JD

  • Calling a request set from a concurrent program

    Hi,
    I am trying to call a request set( say RS1) from a concurrent program ( say CP1). I have used fnd_submit.set_request_set and related APIs, and I am able to submit the request set. But the problem is that I have to either hard code the request set parameters in the concurrent program CP1( which I am currently doing), or define the parameters in the concurrent program CP1 and pass the parameters while calling the request set requests. The second method does not work because the request set has around 30 requests, and it is not possible to accept the parameters for all those requests from CP1.
    What I would like to do is to define a parameter in CP1 which accepts the request set name( or short name), and then pop-up a window which shows the sub-requests in the request set so that I can enter the parameters of each request within the request set. ( something similar to $FLEX$)
    Have anyone done such a thing? Does anyone know if it is possible?
    Any suggestions are welcome!

    Hi,
    Sharing parameters will not work because my request set has many requests and none of them have any common parameters. I am looking for a solution which will show me all the programs in the request set with the default values so that I can change the parameter values if required.
    Thanks,
    Sridhar

  • Supplier Open Interface Request Set

    Hi,
    We are in the process of implementing EBS R12.1.3 in one of our clients site. For supplier,contacts and site detail creation we populate the AP_SUPPLIERS_INT, AP_SUPPLIER_SITES_INT and AP_SUP_SITE_CONTACT_INT tables and run theSupplier Open Interface Request Set. It completes without any warring and but stating as 0 suppliers import in the out put file.
    When I check the status of above tables, in AP_SUPPLIERS_INT as "New"and AP_SUPPLIER_SITES_INT,AP_SUP_SITE_CONTACT_INT as "Rejected".
    But it also can't find the rejected reason in AP_SUPPLIER_INT_REJECTIONS table as well.
    Attached here with the sample record we uploaded.
    As we are in middle of a implantation, awaiting for your earliest response.
    Thanks / Lathika

    Hi Lathika,
    Pl. refer following link
    Suppliers interface in R12
    If possible, post the sample code.
    HTH
    Sanjay

  • How to Submit a Concurrent Request Set Using a Self-Service Page

    Hi all,
    I would like to know how to Run/Submit a Concurrent Request Set Using a Self-Service Page
    Thanks.
    Bench

    Hi all,
    I would like to know how to Run/Submit a Concurrent Request Set Using a Self-Service Page
    Thanks.
    Bench

  • How to submit a Concurrent Request Set from OAF

    All,
    I understand we can submit a concurrent program from OAF using
    oracle.apps.fnd.cp.request.ConcurrentRequest.submitRequest( String pApplication,
                        String pProgram,
                        String pDescription,
                        String pStartTime,
                        boolean pSubRequest,
                        Vector pArgArray) method,
    But the class ConcurrentRequest don't have any method to submit a concurrent request set. The workaround is directly call the pl/sql package FND_SUBMIT.submit_program.
    Is there any other oracle.apps.fnd.cp.request.* class have method to call a concurrent request set?
    Thanks.
    With Regards,
    Kali.
    OSSI.

    Sorry for my typo.....! I meant use the pl/sql way, there is no standard solution for this in OAF.
    didn't get what you mean by,
    You mean i need to use FND_SUBMIT.submit_program? or you want me to check in OAF itself?
    >>Kali, You can use [b]fnd_submit.submit_set , this is explained "Application Developer User Guide"!
    Even i tried to use that PL/SQL FND_SUBMIT.submit_program, that is returning BOOLEAN so i am facing the problem which you have discussed in the forum
    >>Use the work around i suggested in the thread u mentioned in ur reply.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Job terminated in source system -- Request set to red,SAPSQL_SQLS_INVALID_

    Hi All,
    can any one help on this issue.
    I run the BI statistics in production and found out the error while triggering the delta's
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
    Error msg :  Job terminated in source system --> Request set to red
    Message no. RSM078
    Job started
    Step 001 started (program SBIE0001, variant &0000000000756, user ID
    Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
    DATASOURCE = 0TCT_DSA1
    RLOGSYS = BCLNT300
    REQUNR = REQU_D4GZHNLA3PSQ7XRNGL0EMV6AP
    UPDMODE = D
    LANGUAGES = *
    Current Values for Selected Profile Parameters *
    abap/heap_area_nondia......... 0 *
    abap/heap_area_total.......... 2147483648 *
    abap/heaplimit................ 40894464 *
    zcsa/installed_languages...... ED *
    zcsa/system_language.......... E *
    ztta/max_memreq_MB............ 2047 *
    ztta/roll_area................ 3000320 *
    ztta/roll_extension........... 2000683008 *
    ABAP/4 processor: SAPSQL_SQLS_INVALID_CURSOR
    Job cancelled
    But delta laoding for same is working in DEV...but not in prod...
    Please suggest
    Regards
    Shweta

    Swetha
    finally found out the notes.
    Please look into them and ask you basis to implemnt,
    1161940
    1106569
    1145041
    1146851
    Please have a look and ask for implemtation in your system which are suitable for you
    We also faced the same issue job termination in source system for BI Statistics
    Regards#
    Srini

Maybe you are looking for

  • Need help with a project

    Hi, I'm a final year engineering student doing my project on cloud computing. Our project is a web application developed which concerns the issue of cloud security.Our lecturers asked us to put it on the cloud instead of showing it as a web applicati

  • EAP-TLS authentication failed

    I have recently purchased the E71 and am trying to connect to my WLan at work. It uses 802.1x authentication and I have now installed the correct security certificate. It seems that no matter what EAP plugin I use, TLS TTLS PEAP FAST etc I get an aut

  • A good ToDo list?

    Really, the only app I want is a good ToDo list that synchronizes with iCal. What are the possibilities?

  • Selection properties panel -  edit font type and font size

    "selection properties" bottom panel -  edit font type and font size In design view i can no longer find this option in CS5, how can i change font type and font size of highlighted/selected block of text? like previous DW versions ? by switching to CS

  • QuickCam Ultra Vision (Righlight 2) vs 10.5

    Maybe I can get a suggestion here: I bought a new (now 6 months) old Logitech QuickCam Ultra Vision with Righlight 2. With Tiger 10.4, it worked like a charm out of the box, and, on iChat and Skype it was recognized as a Logitech Camera with no probl