Disabling tokens in conc.pgm parameters

Hi all,
Kindly tell me how to disable a token in a concurrent program parameter. It says token is mandatory for oracle report parameters.
Regards,
SSK

Query the concurrent Program in sysadmin Resp. and click on parameters.
Then go to the particular parameter and disable the Mandatory check box and save.
Try to run the program again.

Similar Messages

  • Conc Pgm Track...

    Hi,
    We want to track a user who cancelled a particular concurrent request.When we queried the fnd_concurrent_requests table ,its showing no rows selected for the conc pgm id we are giving....Its not showing even whether the request is completed or not...The Last_updated_by column we are getting a junk value..
    Anyone have any idea how to get the user who submitted the particular conc pgm and the one who cancelled it...
    Thanks,
    Praveen

    Run ANALYZEREQ.SQL script, it should tell you who submitted/cancelled the request.
    Note: 134035.1 - ANALYZEREQ.SQL - Detailed Analysis of One Concurrent Request (Release 11 and up)
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=134035.1

  • How to give a value in Token when Conc prog method registered as pl/sql typ

    Hi
    We have a report which will generate invoices for a given Operating Unit at one time.i.e Conc Prog1
    We have a customised pl/sql package which submits the above report conc prog for all Operating Units with the required parameters for the report.i.e Conc Prog2
    When i saw the conc prog2 somehow values has been entered TOKEN field eventhough the conc prog method is pl/sql.this was done earlier than me who developed this intially.
    Now i need to include one parameter to this concprog2.when i try to include a parameter to it the TOKEN filed is grayed out(not updatable/eneterable a value).
    So could anyone please tell me how i can add a parameter with token value for pl/sql type method conc progs.
    Thanks,
    Malla

    Hi parag,
    You mean to say i have to write like this :--
    if (pageContext.getParameter("apply")!=null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject accountsViewObject =
    (OAViewObject)am.findViewObject("ArBusPurAllVO");
    if (accountsViewObject!=null)
    OARow row = (OARow) accountsViewObject.getCurrentRow();
    if (row.getAttribute("GlIdRev") == null || row.getAttribute("GlIdRev").equals(""))
    //call your function here and say row.setaatribbute= revenue_acct_id from your function.
    if(s8.equalsIgnoreCase("BILL_TO")) {
    try {
    Connection conn = pageContext.getApplicationModule(webBean).getOADBTransaction().getJdbcConnection();
    String Query = "select SDS_CUST_BILL_INFO(:1,2) from dual";
    PreparedStatement stmt = conn.prepareStatement(Query);
    stmt.setInt(1, orgid);
    ResultSet resultset = stmt.executeQuery();
    if(resultset.next()) {
    String revenuenum = resultset.getString(1);
    row.setaatribbute(revenuenum) ;
    } catch(SQLException se) {
    se.printStackTrace();
    throw new OAException("Error in Staffing Query"+se, OAException.ERROR);
    if (row.getAttribute("GlIdRec") == null || row.getAttribute("GlIdRec").equals(""))
    //call your function here and say row.setaatribbute=rec_acct_id from your function.
    if(s8.equalsIgnoreCase("BILL_TO")) {
    try {
    Connection conn = pageContext.getApplicationModule(webBean).getOADBTransaction().getJdbcConnection();
    String Query = "select SDS_CUST_BILL_INFO(:1,2) from dual";
    PreparedStatement stmt = conn.prepareStatement(Query);
    stmt.setInt(1, orgid);
    ResultSet resultset = stmt.executeQuery();
    if(resultset.next()) {
    String receivablenum = resultset.getString(1);
    row.setaatribbute(receivablenum) ;
    } catch(SQLException se) {
    se.printStackTrace();
    throw new OAException("Error in Staffing Query"+se, OAException.ERROR);
    super.processFormRequest(pageContext, webBean);
    Am I, correct parag please tell me, if this works i will send u mail again that it is working fine .
    my mail id is [email protected]

  • Host Conc Pgm Parameter Mystery w/fndcpesr

    Stumbled across a strange issue with the parameter list passed to HOST concurrent programs dependent on how the symbholic link is established.
    When the link is made to fndcpesr there fewer arguments and they are Not associated with key words.
    Example:
    ArtCostInfoUpld -> /u01/envs/PROD/app/appl/fnd/11.5.0/bin/fndcpesr
    Arg list
    APPS/APPS 1885 KENF 7114040
    A co-worker mistakenly created a symbolic link to the .prog file (as opposed to fndcpesr). Surprisingly, not only does it run; but the argument list passed to the program is longer and is keyword oriented.
    Example:
    ArtCostInfoUpld -> ArtCostInfoUpld.prog
    Arg list
    ArtCostInfoUpld FCP_REQID=7115252 FCP_LOGIN="APPS/APPS"
    FCP_USERID=1885 FCP_USERNAME="KENF" FCP_PRINTER="noprint" FCP_SAVE_OUT=Y FCP_NUM_COPIES=0
    This isn't a big deal for us (now that we figured it out).
    Obviously fndcpesr is filtering the parameter list in some fashion.
    But we are curious as to 1) how the non-standard link still works 2) if anyone can point to more detailed info on what fndcpesr does (metalink appears lite on the details).
    We're running 11.5.9 on Solaris 2.6.
    Ken

    This page mentions that the permissions of /dev/vboxdrvu should be 0666, but that they may erroneously be set to 0600:
    Linux installers: Move the udev rule execution order from 10 to 60. The reason for having it at 10 was to allow other rules to overwrite these rules, mainly permissions of the USB devices. This is not longer necessary (we are using /dev/vboxusb for a long time now) and we need to take care that certain systems like EL6 don't reset the permissions of /dev/vboxdrvu -- the unrestricted device -- back to 0600 (we want 0666 here).
    And sure enough:
    matt@localhost ~ $ ls -Al /dev | grep vbox
    crw------- 1 root root 10, 59 Nov 8 11:46 vboxdrv
    crw------- 1 root root 10, 58 Nov 8 11:46 vboxdrvu
    drwxr-x--- 3 root vboxusers 60 Nov 8 11:46 vboxusb/
    I've changed the permissions on /dev/vboxdrvu to 0666, and the VirtuaBox log is not longer getting filled with the
    Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
    error message.  I'll check back in here once I've had enough time to assess my Windows 7 guest's stability.

  • Mail the BI Publisher genereted Conc Pgm out put as attachment.

    Hi All,
    I have a requirement...
    I need to send the output of a concurrent program to particular mail id. The Concurrent program output is in pdf format which is generated from BI Publisher.
    I have written a procedure to execute the desired concurrent program. But I don know how to capture the out put and send as attachment.How can I send the pdf out put as attachment.
    Waiting for the better solution in PL/SQL
    Regards,
    Tarun

    I don't know how BI publisher creates the PDF, whether it's created as a file on the server or whatever...
    but if you search google or these forums for "oracle pl sql send email attachment" you should get plenty of ideas how to do this using packages such as UTL_MAIL...
    http://www.google.co.uk/#hl=en&output=search&sclient=psy-ab&q=oracle+pl+sql+send+email+attachment

  • Defaulting Date Parameters

    Post Author: tegage
    CA Forum: Formula
    I have many reports that allow the user to specifiy a starting and ending date range.  I would like the reports to default to all dates.  I can do this by defaulting the start date to "01-01-2000" and the end date to "12-31-2099", but then the calendar tool is useless since there is no TODAY button on the calendar tool and it picks up the default date, i.e., the users will have to do a lot of scrolling through the calendar tool.
    The other way is to make the starting and ending date parameters strings and use values like Today, This Week, This Month,....  and reolve them in the record selection formula.   This would be nice, but then if the user wants a specific date range, they don't have the calendar tool to use.
    Is there a way to take advange of the user-friendliness of string values and still have the calendar tool to use?

    Post Author: tegage
    CA Forum: Formula
    Thanks much for the response. 
    I had done exactly what you described - I had a string parameter for Today, This Week, etc and a set of date parameters - Starting and Ending Date.  But, in order to use the Starting and Ending dates in a formula, I had to provide them a default value - leaving them blank causes the record selection formula to explode.  The issue here is that the calendar tool picks up the default value instead of showing today's date. 
    I did more web surfing and found the answer on the Business Objects web site.  The solution let me do what you suggested AND keep the Starting and Ending date parameters as Date types and defaulted to blank by making them optional parameters.
    From the Business Objects web site (why isn't this stuff in the user's guide?):
    2.  Control over default values.
    3.  Request for an 'ALL' value.
    Both of requirements 2 and 3 are met with the new optional parameter feature of CR 2008.  When a parameter is flagged as 'optional', the report can execute without that value being set.  The trick here is that any formula that attempts to reference an optional parameters that doesn't have a value set will return an error.  So we've introduced the new HasValue() function which allows you to check and see if the parameter has a value. 
    This is really powerful, because now you can reference your parameters indirectly through another formula (or custom function) that checks if the parameter has a value or not.  If it does, then the formula returns the parameter value.  If it doesn't, then it can return whatever default value you wish.  So if you want the default to be the day before, or last Friday, then you can code that logic into your formula that uses HasValue to check if the parameter has a value set or not.
    Optional parameters were also intended to solve the 'All' problem.  Basically, you want a parameter to participate in a record selection formula only if it has a value.  If it doesn't, then you want that filter to be disabled.  By using optional parameters and HasValue() in your record selection (and new saved data section) formulas, you can include conditions in your filter only if the parameters in those conditions have a value.

  • Call library function inside a conditiona​l disable bug

    i'm trying to call a function in a dll using the call library function inside a conditional disable structure.
    one of the parameters is a pointer to a C structure.
    here is the prototype:
    short in myfunction(short in DevNum, void *pMetrics);
    outside of the conditional disable, LabVIEW allows me to wire the pMetrics parameter to a cluster.
    if i put the function inside the conditional disable, LabVIEW doesn't allow me to wire it.
    as a workaround, i put the cluster inside the conditional disable as well.
    any ideas?

    Simply create a constant of the cluster and and put it outside the disable structure. Wire this constant to all inputs (left side terminal) of the Call Library Node. A Call Library Node (CLN) set to Adapt to Type does need a valid datatype to adapt too. This works from the outside side (right side terminal) of the CLN only if the according indicator is inside the same data structure. In older LabVIEW versions you actually had to always define the left side by wiring a constant or a dummy control to it.
    This has to do with the algorithme that evaluates datatypes along wires. Making that algorithme go backwards (against the natural dataflow) inside one subdiagram without causing circular references or similar is already a challange. Doing that across diagram boundaries (case, disable, loop, etc. structures) is basically impossible without causing the entire edit operation to get very slow.
    Message Edited by rolfk on 10-20-2009 08:28 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Disable Technical Information for UI Element in WEB DYNPRO ABAP

    Hi expert,
    I want to disable  Technical Information for UI Element in  my web-dynpro application i am alredy disable  in user setting by parameters WDDISABLEUSERPERSONALIZATION by i want to disbale other two options 1 Display quick help.
                2 More field help.
    KINDLY GIVE ME SUTIABLE SOULATION.
    REGARD'S
    Vikash

    Hi Vikash,
    Check this thread, may be you'll get some clues from here.
    [How to restrict right click to show user setting in WebDynpro ALV?;.
    Regards
    Manas Dua

  • Beginner's Zenworks - disable status

    here's a very rudimentary question for someone just starting out with
    Zenworks.
    What does the "disable" status do for policy parameters?
    I understand the concept of "ignore." I am not sure how "disable" differs
    from "ignore."
    thanks in advance

    Thanks, very clear.
    Just one more question though - does this mean that "disable" status rolls
    back the setting in the registry to some local setting prior to the ZEN
    policy taking effect?
    >> Enabled
    > The attribute is enabled in the client.
    > Any values you enter for it are applied.
    >
    > Disabled
    > The attribute is disabled in the client.
    >
    > Ignored
    > The attribute is ignored (not changed in the client).
    > If the attribute is already enabled in the client, it remains enabled.
    > If it is already disabled in the client, it remains disabled.
    >
    >
    >

  • Not Waiting after invoking Oracle Conc Program

    Hi,
    My Scenario is for PO Interface iinto oracle is,
    Inside BPEL Process,
    Activity 1 is Invoking DB Adapter to Insert the records into Temporary Table.
    Activity 2 is invoking DB Adapter to call an Custom API to which picks the records from Temp table, validate and Insert the records into Interface Tables.
    Activity 3 is Invoking DB Adapter to Submit concurrent program , but that concurrent program is taking 1 minute.
    BPEL is not waiting for 1 minute for the program to complete.
    So I am putting WAIT activity so that Conc program finishes completely and creates the PO numbers in Oracle base tables.
    Activity 4 is Invoking DB Adapter Package.Procedure, which picks the PO number from oracle base tables and update them in Temporary tables send the PO creation/failure status , and email id of buyer through out variables.
    Activity 5 sends the email to the respective buyer with PO Status.
    We are seeing that Wait activity is not waiting for the conc program to finish completely and BPEL is executing till ACTIVITY 3 above, after wait activity its coming out.
    When I remove wait it executes all the steps in sequence without waiting for ACTIVITY 3 to complete successfully.
    Can some body validate my sceanrio and suggest the desired solution.
    Regards
    Manish

    Manish,
    I'm also currently in a similar project. To invoke a conc.prgm I did the following
    - wrote a pl/sql api where in I call the conc.pgm using fnd_request.submit_request and then I used FND_CONCURRENT.WAIT_FOR_REQUEST to wait for until the conc.pgm finishes.
    To get the status's back also, I did this part inside the same api. This way I achieved the desired result.
    Let me know if you need additional info.
    Thanks,
    Sen

  • Disable mouse scroll in plugins?

    I use the Apple Magic Mouse, and while it is a great mouse, I've found AU plugin windows are very sensitive to scrolling commands. My hand will be resting on the mouse and whichever control in a plugin GUI I happen to be hovering over will jump.
    Is it possible to disable mouse scrolling to control parameters? I'd turn the scrolling off altogether but using it for zooming and navigating in the arrange and other windows is essential.

    Thanks Niall,
    That's a work around I've been trying to do this morning as seems to be easiest solution, but when I change next page to visible in my button, then  add next action on button to either "next page" or the next page number, livecycle goes to the page after the one I have just made visible.

  • How can I insert a parameter to the layout template?

    How can I insert a parameter defined in report to the layout template? just like insert a field. I wanna display the parameter in the output.

    If its Ebiz, concurrent program.
    Put this in your template in the starting,
    where the P_BUSINESS_GROUP_ID is one of the concurrent program parameters,
    <?param@begin:P_BUSINESS_GROUP_ID?>
    and then you can access the parameter in your rtf like <?$P_BUSINESS_GROUP_ID?>
    Upload the rtf template back into apps.
    and then rerun the conc pgm :)

  • Facing NULL Pointer Exception in XMLP report

    Hi ,
    We are develping a new report in XMLP. When we run the report , the request ends up in warning.
    Below is the log content of the request.
    I checked the conc pgm short code , template source code and the data definition code . All are in sync. But still the issue is not solved.
    log file :
    XDO Data Engine Version No: 5.6.3
    Resp: 51322
    Org ID : 22
    Request ID: 189773324
    All Parameters: P_BOOK=CORPORATE:P_DIVISION=TTT:P_PERIOD1=JAN-11:P_PERIOD2=JAN-11
    Data Template Code: FA0CPAD_BIP
    Data Template Application Short Name: SEAFA
    Debug Flag: N
    {P_PERIOD2=JAN-11, P_PERIOD1=JAN-11, P_DIVISION=TTT, P_BOOK=CORPORATE}
    Calling XDO Data Engine...
    [101812_082245358][][EXCEPTION] java.lang.NullPointerException
         at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:345)
         at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:277)
         at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:599)
         at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:136)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:282)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
         at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
         at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1737)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:320)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:279)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:266)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:205)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:237)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:364)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:236)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    If anyone are aware of this error kindly help me.
    Thanks
    Antony.

    Hi Jason,
    Call any one of the methods
    viewer.dispose(); or clientDoc.close();
    Do not use both in BI 4.x version.
    Test the same and let me know if it works.
    Thanks,
    Prithvi

  • Trying to use lexical parameter in ORDER BY

    I'm using BIP in EBS and I have a report that needs to be sorted based on parameters selected in conc. pgm. I'm trying to use lexical parameters to accomplish this, however, it's not working. I have defined my lexical parameter in Package Spec and I'm setting it accordingly in Package Body(BeforeReport trigger). In my data template (dataQuery section) I have the following SQL
    SELECT 'AP_BANK_ACCOUNTS_ALL' as "table_audit2",
    a.bank_account_id,
    to_char(a.audit_timestamp,'DD-MON-YYYY HH:MI P.M.'),
    a.audit_transaction_type ,
    a.audit_user_name,
    a.bank_account_name,
    a.bank_account_num,
    a.account_type,
    a.org_id,
    a.bank_branch_id,
    a.xxap_field_changed,
    a.xxap_new_value,
    a.xxap_old_value,
    b.bank_name,
    d.short_name
    FROM xxap_bank_accounts_all_gtmp a,
    ap_bank_branches b,
    hr_organization_information c,
    gl_sets_of_books d
    WHERE a.bank_branch_id = b.bank_branch_id
    AND a.org_id = c.organization_id
    AND c.org_information_context = 'Operating Unit Information'
    AND c.org_information3 = d.set_of_books_id
    ORDER BY &lv_order_by
    The IF statments below are being used in package to set lexical parameter
    note: p_order_by_1 & 2 are from conc.pgm
    IF p_order_by_1 IS NOT NULL
    THEN
    lv_order_by := to_char(p_order_by_1);
    lv_order_1 := 'Y';
    END IF;
    IF p_order_by_2 IS NOT NULL
    THEN
    IF lv_order_1 = 'Y'
    THEN
    lv_order_by :=lv_order_by||','||to_char (p_order_by_2);
    lv_order_2 := 'Y';
    ELSE
    lv_order_by := to_char(p_order_by_2);
    lv_order_2 := 'Y';
    END IF;
    END IF;
    Any help will be greatly appreciated!!!! I'm a newbie to EBS and BIP so you can probably imagine how frustrated I am.
    Message was edited by:
    user631051

    The conc. pgm completes successfully but my report is not sorted. Data Template below:
    <properties>
    <property name="include_parameters" value="true" />
    <property name="include_null_Element" value="true" />
    <property name="xml_tag_case" value="upper" />
    <property name="db_fetch_size" value="500" />
    <property name="scalable_mode" value="off" />
    <property name="include_rowsettag" value="false" />
    <property name="debug_mode" value="off" />
    </properties>
    <parameters>
         <parameter name="p_start_date" dataType="date"/>
         <parameter name="p_end_date" dataType="date"/>
         <parameter name="p_org_id" dataType="number"/>
         <parameter name="p_data_priority" dataType="character"/>
         <parameter name="p_include" dataType="character"/>
         <parameter name="p_account_type" dataType="character"/>
         <parameter name="p_order_by_1" dataType="character"/>
         <parameter name="p_order_by_2" dataType="character"/>
         <parameter name="p_order_by_3" dataType="character"/>
         </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[SELECT 'AP_BANK_BRANCHES' as "table_audit1", a.bank_branch_id as "bank_branch_id",
                     to_char(a.audit_timestamp,'DD-MON-YYYY HH:MI P.M.') as "audit_timestamp",
                     a.audit_transaction_type as "audit_transaction_type", a.audit_user_name as "audit_user_name",
                     b.bank_name as "bank_name", b.bank_branch_name as "bank_branch_name",
                     to_char(b.bank_number) as "bank_number", a.active_date as "active_date", a.xxap_field_changed,
                     a.xxap_new_value, a.xxap_old_value
                    FROM xxap_bank_branch_gtmp a,
                         ap_bank_branches b
                    WHERE a.bank_branch_id = b.bank_branch_id
          ]]>
    </sqlStatement
    <sqlStatement name="Q2">
    <![CDATA[SELECT 'AP_BANK_ACCOUNTS_ALL' as "table_audit2",
                     a.bank_account_id as "bank_account_id",
                     to_char(a.audit_timestamp,'DD-MON-YYYY HH:MI P.M.') as "audit_timestamp",
                     a.audit_transaction_type as "audit_transaction_type",
                     a.audit_user_name as "audit_user_name",
                     b.bank_name as "bank_name",
                     a.bank_account_name,
                     a.bank_account_num as "bank_account_num",
                     a.account_type as "account_type",
                     to_char(a.org_id) as "org_id",
                     a.bank_branch_id as "bank_branch_id",
                     a.xxap_field_changed,
                     a.xxap_new_value,
                     a.xxap_old_value,
                     d.short_name as "short_name"
                    FROM xxap_bank_accounts_all_gtmp a,
                         ap_bank_branches b,
                         hr_organization_information c,
                         gl_sets_of_books d
                    WHERE a.bank_branch_id = b.bank_branch_id
                    AND   a.org_id = c.organization_id
                    AND   c.org_information_context = 'Operating Unit Information'
                    AND   c.org_information3 = d.set_of_books_id
                    ORDER BY &lv_order_by
          ]]>
    </sqlStatement>
    </dataQuery>
    <dataTrigger name="beforeReportTrigger" source="XXAP_RPT_BANK_AUDIT_EXT_PKG.BeforeReport"/>
    <dataStructure>
    <group name="G_Bank_Branches" source="Q1">
    <element name="table_audit1" value="table_audit1"/>
              <element name="bank_branch_id" value="bank_branch_id"/>
              <element name="audit_timestamp" value="audit_timestamp"/>
              <element name="audit_transaction_type" value="audit_transaction_type"/>
              <element name="audit_user_name" value="audit_user_name"/>
              <element name="bank_name" value="bank_name"/>
              <element name="bank_branch_name" value="bank_branch_name"/>
              <element name="bank_number" value="bank_number"/>
              <element name="active_date" value="active_date"/>
              <element name="xxap_field_changed" value="xxap_field_changed"/>
              <element name="xxap_new_value" value="xxap_new_value"/>
              <element name="xxap_old_value" value="xxap_old_value"/>
    </group>
    <group name="G_Bank_Accounts_All" source="Q2">
         <element name="table_audit2" value="table_audit2"/>
         <element name="account_type" value="account_type"/>
    <element name="bank_account_id" value="bank_account_id"/>
              <element name="audit_timestamp" value="audit_timestamp"/>
              <element name="audit_transaction_type" value="audit_transaction_type"/>
              <element name="audit_user_name" value="audit_user_name"/>
              <element name="bank_name" value="bank_name"/>
              <element name="bank_account_name" value="bank_account_name"/>
              <element name="bank_account_num" value="bank_account_num"/>
              <element name="org_id" value="org_id"/>
              <element name="xxap_field_changed" value="xxap_field_changed"/>
              <element name="xxap_new_value" value="xxap_new_value"/>
              <element name="xxap_old_value" value="xxap_old_value"/>
              <element name="short_name" value="short_name"/>
    </group>
    </dataStructure>
    </dataTemplate>

  • XML Parsing Error: not well-formed Help!

    Hello Everyone,
    I followed this link "http://quest4apps.wordpress.com/2010/07/31/xmlp_report/" to create data template and RTF to generate a report. I have done exactly the same. But when i run the concurrent program i get "Completed" with "Warning" and on View Log i see ".....One or more post-processing actions failed...". And when i view XML i get
    XML Parsing Error: not well-formed
    Location: ********
    Line Number 3, Column 2:
    &lt;&gt;
    -^This is my data template:
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
        <dataTemplate description="Invoice Data" Version="1.0">
            <parameters>
                <parameter name="p_OrgId" dataType="number" />
                <parameter name="p_VendorId" dataType="number" />
            </parameters>
            <dataQuery>
                <sqlStatement name="Q1">
                    <![CDATA[
                        SELECT invoice_num,invoice_currency_code,invoice_amount
                        FROM ap_invoices_all
                        WHERE org_id = :p_OrgId
                        AND vendor_id = :p_VendorId
                    ]]>
                </sqlStatement>
            </dataQuery>
            <dataStructure>
                <group name="G_INV" source="Q1">
                    <element name="INV_NUMBER" value="invoice_num" />
                    <element name="INV_CUR_CODE" value="invoice_currency_code" />
                    <element name="AMOUNT" value="invoice_amount"/>
                </group>
            </dataStructure>
        </dataTemplate>And also when i run run other RDF reports it works fine. Please help me on this..
    Thanks & Regards
    John.

    Are you sure the parameters are passed correctly to data template?
    Can you try hardcoding the org and vendor details in query and try running the conc pgm again?
    Also validate if that query return records...

Maybe you are looking for