Wrong output for different XMLP reports

Hi all,
I've found an unexpected problem in our XMLP reports.
A user called us telling that launching a report in XMLP he viewed an output concerning a set of data different from the expected.
We investigated looking for bugs in the query or other kind of problems, without any results.
Finally we notice that 2 or more XMLP reports completed in the same moment (I mean that the users can launch the concurrent in different moments but the output files are created in the same moment) conflicts and they produce 2 or more output file with the same data, although the input parameters are totally different (i.e. : the user launched a detailed report about the people working in his office and he unbelievably realized that the report contained the people of another office).
Has anybody faced this kind of issue??
Thx, all and sorry for my bad english :-(
Ciao.

Hi,
I am also facing the same issue. I am also getting "????" instead of Hebrew translation. I am trying to generate PDF file using the XMLP API. It works fine when tried to generate from MS Word using the "Preview Translation" option.
Please let me know is there any configuration parameters that need to be set.

Similar Messages

  • How to set different header for different Standard report page

    How to set different header for different Standard report page

    Hi,
    A easy answer would be use the 'set report header text.vi' but maybe you are talking about something else ?

  • No output for XML Publisher Report using CASE/DECODE in Where Clause

    Hi,
    I've a business requirement to modify an existing report which has two input parameters,
    -> p_statcode (Closed Status) which can have values 'Y' or 'N'
    -> p_overdue (Overdue Flag) which can have values 'Y' or 'N'
    The Overdue Flag is an evaluated column having values of Y/N and it is evaluated as follows,
    ONTF_MOD_VAL(NVL (
                                         (TRUNC (SYSDATE)
                                          - (TO_DATE (oe_order_lines.attribute18,
                                                      'DD-MON-RRRR')
                                             + TO_NUMBER (fnd_lookup_values.meaning))),
                                         0
                            overdue_flagThe user requirement now is they needs to be a third option for parameter p_overdue called ALL,
    passing which the output should include records having
    p_statcode is Y ELSE p_statcode is N AND p_overdue is Y OR p_overdue is N
    In other words records having both Y and N vlaues for Overdue Flag have to be returned irrespective of the value given to Closed Status.
    Original where clause in the Data Definition file is as follows,
    WHERE Closed_Status = nvl(:p_statcode,Closed_Status)
                       AND overdue_flag = nvl(:p_overdue,overdue_flag)My modified code is as follows,
    WHERE   Closed_Status = NVL (:p_statcode, Closed_Status)
             AND overdue_flag = (CASE
             WHEN :p_overdue = 'Y' THEN 'Y'
             WHEN :p_overdue = 'N' THEN 'N'
             ELSE overdue_flag
             END)
    OR
    WHERE   Closed_Status = NVL (:p_statcode, Closed_Status)
             AND overdue_flag = DECODE (:p_overdue, 'Y', 'Y', 'N', 'N',overdue_flag)Both approaches have the same problem.
    The output is in EXCEL format. The modified query works fine for p_overdue as Y or N but when p_overdue is passed as ALL it returns an empty EXCEL sheet with just the report output column headers.
    Any help as to why this is the case ?? What is wrong in my approach ?
    Regards,
    Vishal

    not clear about p_overdue = ALL
    which values needed for p_overdue = ALL ?
    try smth like
    WHERE   Closed_Status = NVL (:p_statcode, Closed_Status)
    AND (
       overdue_flag = DECODE (:p_overdue, 'Y', 'Y', 'N', 'N',overdue_flag) and :p_overdue != 'ALL'
       or
      :p_overdue = 'ALL' and (overdue_flag = 'Y' or overdue_flag = 'N')
    )for overdue_flag which has more then 'Y', 'N' values
    if overdue_flag only in ('Y','N') then
    WHERE   Closed_Status = NVL (:p_statcode, Closed_Status)
    AND (
       overdue_flag = DECODE (:p_overdue, 'Y', 'Y', 'N', 'N',overdue_flag) and :p_overdue != 'ALL'
       or
      :p_overdue = 'ALL'
    )

  • Ditafm-output.ini and PDF output for different situations

    I'm using a DITA 1.2 structured app and templates that I've set up. I'm generally happy with the output that I'm getting now, but I've also come to realize that I have two different situations for PDF output--in situation one, I need to set up for printed books, i.e., facing pages, keeping chapters starting on right-hand pages and so on. Situation two is for electronically-distributed PDFs that are NOT books--files that customers might print themselves, probably not double-sided, so I don't need facing pages with the associated blank pages in the file, and so on.
    I'm using flags in the ditafm-output.ini file to control the pagination for the printed book in my output. Both situations currently use the same output templates, though I may create a single-sided template for situation two. That's easy enough.
    My question, then, is this: It seems to me that I'll need two different ditafm-output.ini files for the two situations. Is there an easy way to switch between them? Output seems separate from the structured application, and I don't need or want two separate apps.
    The best I can think of at the moment is to create a second ditafm-output.ini file with the settings I want for situation two, name it ditafm-output_foo.ini and change it to the "real" name when I need it. This, of course, introduces a potential overwrite disaster. Naturally, I'll keep backups.
    Unless there's a better way??

    That's the only way I can think of using "default" Frame to support multiple output types. To make it less error-prone you might set up batch files that do the copying .. just run the right batch file before you build each type of book.
    OR .. you could use DITA-FMx which lets you define an INI file for each book-build (and provides many more features).
         http://leximation.com/dita-fmx/
    Cheers,
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • Format-number,decimal not giving desired output for PO Print report XSL-FO

    Hi All,
    My requirement was to get the Unit price in european format which is 10.000,00
    Iam getting it as 10000,00 but the client needs the thousand's seperator.
    if have used the decimal seperator but iam getting the Unit Price value as 'NAN' when i submit it for an international language like Italian or Spanish
    This is what i have done
    set the decimal format
    <xsl:decimal-format name="euro" decimal-separator="," grouping-separator="."/>
    <xsl:value-of select="format-number(UNIT_PRICE, '#.###,####', 'euro')"/>
    This gives the desired output when i select the US language.
    While submitting through the conc request
    If i change the Numeric char to '.,' by clickin on Language settings..It works great
    I have tried to use the replace function but the syntax is not correct
    format-number(replace('UNIT_PRICE',',','.'), '#.###.###.###,####', 'euro')
    Any Help would be greatly appreciated.
    Thanks
    Mirza

    Hi Mirza,
    I'm struggling having the same problem. Have you found any solution?
    Best regards
    Kenneth

  • Column wise output for different date range

    I m having a query which gives the output like
    DISTRIBUTOR_CODE APR MAY JUN JUL AUG
    R127 01/04/2005
    R127 02/04/2005
    R127 03/04/2005
    R127 01/05/2005
    R127 02/05/2005
    R127 03/05/2005
    R127                     01/06/2005
    while the output needed by me is
    DISTRIBUTOR_CODE APR MAY JUN JUL AUG
    R127 01/04/2005 01/05/2005 01/06/2005
    R127 02/04/2005 02/05/2005
    R127 03/04/2005 03/05/2005
    R127
    The query is
    The query used by me is as below
    select distributor_code,
    decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),0),'MM'),param_date) apr,
    decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),1),'MM'),param_date) may,
    decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),2),'MM'),param_date) jun,
    decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),3),'MM'),param_date) jul
    ,decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),4),'MM'), param_date) aug
    ,decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),5),'MM'), param_date) sep,
    decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),6),'MM'),param_date) oct,
    decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),7),'MM'),param_date) nov,
    decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),8),'MM'),param_date) dec
    from ppbsnew.dms_audit_trail t,(select distributor_code dcode ,min(param_date) mindt
    from ppbsnew.dms_audit_trail
    where trunc(param_Date) between '01-APR-05' and '31-DEC-05' group by distributor_code) t2
    where t.distributor_code=t2.dcode
    and trunc(param_Date) between '01-APR-05' and '31-DEC-05'
    and t.distributor_name is not null
    group by distributor_code,param_Date

    hi
    SQL>  select job,
      2              decode(to_char(hiredate,'MON'),'JAN',hiredate, NULL ) JAN,
      3              decode(to_char(hiredate,'MON'),'FEB',hiredate, NULL ) FEB,
      4              decode(to_char(hiredate,'MON'),'MAR',hiredate, NULL ) MAR,
      5              decode(to_char(hiredate,'MON'),'APR',hiredate, NULL ) APR,
      6              decode(to_char(hiredate,'MON'),'MAY',hiredate, NULL ) MAY,
      7              decode(to_char(hiredate,'MON'),'JUN',hiredate, NULL ) JUN,
      8              decode(to_char(hiredate,'MON'),'JUL',hiredate, NULL ) JUL,
      9              decode(to_char(hiredate,'MON'),'AUG',hiredate, NULL ) AUG,
    10              decode(to_char(hiredate,'MON'),'SEP',hiredate, NULL ) SEP,
    11              decode(to_char(hiredate,'MON'),'OCT',hiredate, NULL ) OCT,
    12              decode(to_char(hiredate,'MON'),'NOV',hiredate, NULL ) NOV,
    13              decode(to_char(hiredate,'MON'),'DEC',hiredate, NULL ) DEC
    14   from emp where to_date(hiredate,'DD-MON-YY') between '01-JAN-81' and '31-DEC-81';
    JOB       JAN       FEB       MAR       APR       MAY       JUN       JUL       AUG       SEP       OCT       NOV       DEC
    SALESMAN            20-FEB-81
    SALESMAN            22-FEB-81
    MANAGER                                 02-APR-81
    SALESMAN                                                                                  28-SEP-81
    MANAGER                                           01-MAY-81
    MANAGER                                                     09-JUN-81
    PRESIDENT                                                                                                     17-NOV-81
    SALESMAN                                                                                  08-SEP-81
    CLERK                                                                                                                   03-DEC-81
    ANALYST                                                                                                                 03-DEC-81
    10 rows selected.Is that you wana achieve??
    Khurram Siddiqui
    [email protected]

  • ALV output for Purchase reports

    Hi Friends,
    How can I have ALV output for my Purchase reports like ME2L, ME2N, ME2M. My scope of Lists do not have ALV output as yet. How do we configure it..?
    Thanks in advance.
    Sarvesh

    which ECC version are you working on? I think versions below 4.7 didnt have ALV (im not sure though)
    Try this  path :
    SPRO->Materials mgmt->purchasing->Reportng->Maintain Purchasing lists->Scope of lists->Define scope of list.
    check if ALV is maintained here.  if not , create ZALV by Copying from ALLES or make your own new one ZALV  , and inside ZALV  , make sure to Tick the  "Use ALV grid Control"  in the last  tab "settings for ALV  grid control"

  • Chineese Trnsalation entry is missing from some assets xmlp reports

    Hi
    Our client has applied ZHS simplified chineese patch, we can see the entry for translation for some seeded reports, but chineese transalation is missing for some XMLP reports.
    How to get the respective translation file for specific xmlp report for example Create Accounting Program Report - Assets report of Assets.
    Please advise.
    Thanks
    Rajesh.

    Hi,
    We are currently looking into this issue and will give you an update as soon as possible.
    Thanks 
    Dean Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Report is giving wrong output while running in Background ?

    Hi,
    We have a report program which gives the correct output while running it in forground(or manually) but when we run it in backgroud it gives the wrong output. (The printout goes to the wrong printer.)
    I've read in a SAP doc that:
    NEW-PAGE PRINT ON  even gives unpredictable
    results when the print parameters are incomplete; and it suggested to use FM 'GET_PRINT_PARAMETERS to validate the print parameters before NEW-PAGE PRINT ON event . I tried the same but still our report is sending the printout to the wrong printer while running it in background.
    Other events used in the program are AT NEW and AT LAST .
    Can anyone confirm me NEW-PAGE PRINT ON, AT NEW and AT LAST  events work correctly in background mode also.
    Thanks,
    Bhavana

    hi
    good
    NEW-PAGE PRINT ON should be work in the background also,check your syntax with the below syntax,if still it is going to the different printer in the background than check with the configuration setting of printer for the particular report that you r printing,sometime it happens that even in the foreground the correct printer ideanfies but in the background that same printer didnt identify.
    NEW-PAGE PRINT ON
        NEW-SECTION
        PARAMETERS pripar
        ARCHIVE PARAMETERS arcpar
        NO DIALOG.
      DO 440 TIMES.
        WRITE (3) sy-index.
      ENDDO.
      NEW-PAGE PRINT OFF.
    ENDFORM.
    thanks
    mrutyun^

  • How to change default output XMLP report  to rtf/excel !

    I used xmlp 5.6.2
    The default output for report is pdf file.
    Now i want to change default output to rtf or excel file
    Please ! help me !

    Hi Brightsea,
    We customized the code in FNDRSRUN.fmb, But we are not able to get the output in RTF format.
    Our requirement is to display the report output in .rtf or .xls(Not required to defaultly as .rtf or .xls).
    we are getting the following error.
    "The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'http://galaxian.bluestar.cvg0:8000/OA_CGI/FNDWRR.exe?t...
    {\rtf1\ansi\deff0"
    ^
    Regards,
    suresh.

  • How can I run the report for different input values at the same time?

    Reports version: Report Builder 6.0.8.13.1
    Oracle version: Oracle8i Enterprise Edition Release 8.1.7.0.0
    I want to run the same report for different input parameter values and spool each o/p to different file and ftp to a server. For this, as a first step, I am spooling different input values in to a file, reading those values through a loop and calling the report for that input values. Each report run/execution is taking 15 minutes. Total report execution is taking approximately 4 hours (assuming 16 different input values) to complete. So I have to wait 4 hours to see ALL outputs.
    I would like to run the report parallel for ALL the input values and I should be able to see the ALL outputs with in 15 or 16 minutes.
    In my shell script, I added & symbol at the end of the report call to start/run the job in the background. Due to this the control passed to the next step after the report call. At this place I have an ftp command to send the output file to a different server and it is giving error some thing like “o/p file is not available/created yet". This is due to the fact that report writer is NOT yet completely started/initiated or it is NOT completed the spooling.
    How can I run the report at the same time for all the input values and save the time?
    Thanks in advance.
    Kishore.

    Increase the number of server engines running right now it seems there is only one engine running ,increase it to 4 or 6
    and then atleast 4 or 6 reports will run simultaneously.
    For FTPing the output add to your sript to check whether it is locked and if not then only try to ftp .
    Also for more better functionality read the document (chapter 15 ) for 10g reports for its new fuinctionality.
    http://download.oracle.com/docs/cd/B14099_17/bi.1012/b14048/toc.htm
    Thanks
    Subodh

  • XML PO PRINT REPORT for different Operating Units

    Hi all,
    We are stuck at a point, hope someone helps us out.
    Requirement : We need to generate PO print report in pdf format for US and Mexico , both having different layout.
    Things done : We customized standard PO Print report to fetch XML output from it, and attached rtf(developed) to it.
    Things working fine : For US , report is perfectly fine and looks good.
    Issue : We need to generate for Mexico as well with different format.
    We have value in xml tags which can distinguish between US and Mexico OU's and we can simple use if else condition in the template itself .
    Here limitation is we have made MS word header as the PO header so we are not able to create different header for Mexico in the same rtf.
    We dont want to complicate the rtf much with more loops by removing it from Header and then page break and all.
    Can someone suggest something like use one rtf which handles both the format OR two different rtf registered for same concurrent program and which are called on the base OU.
    We are totally fine if we can do something while registering to Apps.
    Please let me know if any one wants more information.
    Hoping for a positive reply.
    Thanks in advance.

    Hi Vishal,
    Assuming you are using R12+, you can have seperate templates used for differrent OUs. In the PO Approval workflow it shall pick the respective template.
    During submission of concurrent program "PO Output for Communication", you can specify the right template in the input parameters.
    Regards,
    G V Ranjith

  • Xmlp reports in different languages using XLIFF translation

    We are doing xmlp reports in different languages using XLIFF translation and it is working fine. But for Arabic and Japanese pdf reports printing “????” instead off Arabic and Japanese. Upgraded Adobe Acrobat Reader to 7.0 and down loaded languages support updates but its still not working.
    Are we missing anything?

    Hi,
    I am also facing the same issue. I am also getting "????" instead of Hebrew translation. I am trying to generate PDF file using the XMLP API. It works fine when tried to generate from MS Word using the "Preview Translation" option.
    Please let me know is there any configuration parameters that need to be set.

  • XMLP REPORT DOESN'T WORK FOR A DECIMAL PARAMETER WHEN  FORMAT IS10.000,00

    IN XMLP report there is a parameter p_min_value which accepts Number(15,2) values.
    The issue faced is that value of p_min_value is not getting passed to the
    data definition XML when the number format is 10.000,00 Please suggest how
    can this issue be resolved.
    Below is a snap of report log file & data xml.
    Customer is using Number format 10.000,00 ( setting it in General
    Preference).
    Report Parameter log:-
    XDO Data Engine Version No: 5.6.3
    Resp: 50669
    Org ID : 101
    Request ID: 2556204
    All Parameters:
    P_VAT_REP_ENTITY_ID=10000
    :P_MIN_VALUE=3005,06
    Data Template Code: JEESAMOR_XMLP
    Data Template Application Short Name: JE
    Debug Flag: N
    {P_DUMMY=1, P_VAT_REP_ENTITY_ID=10000,
    P_MIN_VALUE=3005,06}
    Calling XDO Data Engine...
    Data XML parameter values:
    P_MIN_VALUE IS NULL
    <P_VAT_REP_ENTITY_ID>10000</P_VAT_REP_ENTITY_ID>
    <P_MIN_VALUE></P_MIN_VALUE>
    When Number format 10,000.00 ( setting it in General Preference).
    XDO Data Engine Version No: 5.6.3
    Resp: 50669
    Org ID : 101
    Request ID: 2556211
    All Parameters:
    P_VAT_REP_ENTITY_ID=10000:P_MIN_VALUE=3005.06
    Data Template Code: JEESAMOR_XMLP
    Data Template Application Short Name: JE
    Debug Flag: N
    {P_DUMMY= P_VAT_REP_ENTITY_ID=10000
    P_MIN_VALUE=3005.06}
    Calling XDO Data Engine...
    Data XML parameter values:
    P_MIN_VALUE IS CORRECT
    <P_VAT_REP_ENTITY_ID>10000</P_VAT_REP_ENTITY_ID>
    <P_MIN_VALUE>3005.06</P_MIN_VALUE>

    Hi, Thanks for pointing it out. So I tried to use HTML insintead. So I entered the following custom text instead:
    @[html]"Task Details"
    This is on the Activity ID column.
    WHen I run the report, there are still problem.
    1) Somehow the Activity ID columns shows literally 'Task Detail' in every row (instead of activity ID)
    2) I click the link. This time it goes go to the Task Detail screen, but gives me error like "Record not found".
    Do you know what I did wrong?

  • Add new font to PO Output for Communication Report

    I'm trying to add a new font (Edwardian Script ITC) to the PO Output Communication report. I have added the font file through XML Publisher Administrator, and I have an RTF template report and a test XSL-FO report both correctly displaying the font. The PO Output for Communication report is not displaying the font and I believe it has something to do with the fact that it is a java concurrent program.
    Any ideas on what additional steps need to be done to get this font to show up on the PO Output for Communication? Has anyone been successful in adding a different font to this report?
    Thanks,
    Suzanne

    My RTF template is showing the font, and my test XSL-FO template is showing the font. The PO Output for Communication XSL-FO template is NOT showing the font.
    I even tested by replacing the PO Output for Communication template file with my test template file. When I do that the font not applied in the PO Output for Communication report, even though it was applied using the same template in a test report.

Maybe you are looking for

  • Multiple Image Upload Wizard Not Creating A Form

    I'm working on a new site and I keep running the multiple image upload wizard. It connects to the database fine, gets the primary key and all that. It sees the two columns that should be included in the form field in addition to the image_url field.

  • How to connect to a network dell laser printer 3010cn?

    I have the drivers on the original CD but the Mac does not launch it and just give the option in the submenu to eject or get info...not usefull really! If anyone have a solution they are more than welcome to provide them. For info , the printer is sh

  • Can information in cache accessed outside of Oracle DB after shutdown?

    Hi All, I read that the information in caches can be accessed outside of Oracle DB and the buffered Cache must be emptied at shut down of Oracle DB. Questions: 1. Is it possible to access cache outside of Oracle DB? If yes, how can one read it? 2. Is

  • How to set line break points in JSF Facelets files on NetBeans?

    I am running debugger on NetBeans. I can set line break points for jsp files but cannot for Facelets files with extension 'xhtml'. Dose anybody know how to set break points for Facelets xhtml files? Or is it possible to set break points for xhtml fil

  • How to import my html code in to portal?

    hi all, I have got designed all my htmls pages from a web designer now how can i put all this html code in to portal package without a long by line cut and paste from html in to pl/sql??please suggest as i have around 60 odd htmls pages and badly nee