Your SlideShare is downloading. ×
Xml reports
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Xml reports

4,063
views

Published on


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
4,063
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. XML Report Publisher program is erroring outPosted: Sep 3, 2012 6:10 AMClick to report abuse... Click to reply to this thread ReplyHi All,Ive customized the AR Customer Statements.Ive created a data definition as "ARXSGP" and uploded the sample_output.xml ofStatement Generation Program to it. Also Ive created a Data template as"ARXSGPO" and attached the data definition "ARXSGP" to it and uploaded thecustomized rtf file "XXHCC_CLE_F_ARCUSBALSL.rtf" and set the default output typeto PDF.As I donot wish to call the XML Report Publisher program manually every timewhen I Print the Statements through Print Documents-->Statements.So Ive done the below customization in ARXSGP.rdf file ie; Print StatementsReport which is an Oracle Report.Ive added the below code in After Report trigger.=======================================FUNCTION AfterReportRETURN BOOLEANISBEGIN--Below code added for Customer Statement Case Study --DECLAREl_req_id NUMBER := 0;L_XML_LAYOUT BOOLEAN := TRUE;BEGINL_XML_LAYOUT := FND_REQUEST.ADD_LAYOUT (TEMPLATE_APPL_NAME => AR,TEMPLATE_CODE => ARXSGP, TEMPLATE_LANGUAGE => en, TEMPLATE_TERRITORY =>US, OUTPUT_FORMAT => PDF);IF L_XML_LAYOUT THENsrw.message(20001, Template is picked );srw.message(20002,Concurrent request Id : ||:p_conc_request_id);l_req_id := FND_REQUEST.SUBMIT_REQUEST(XDO,XDOREPPB,NULL,NULL,FALSE,:p_conc_request_id,222, -- ReceivablesARXSGPO, -- Statement Generateen-US, -- EnglishN,RTF,PDF);IF l_req_id > 0 THENCOMMIT;ELSEsrw.message(20004, Failed to submit request);END IF;ELSE -- Not L_XML_LAYOUTsrw.message(20005, Template is not picked );END IF;END;--------------------Code Ends----------------------------SRW.USER_EXIT(FND SRWEXIT);RETURN (TRUE);END;==============================================After Printing the Statements through Print Documents-->StatementsStatement Generation Program is being called and later XML Report Publisherprogram is also being invoked.But the XML Report Publisher Program is erroring out with below error.
  • 2. ---------------------------------------------------------------------------XML Publisher: Version : 12.0.0Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.XDOREPPB module: XML Report Publisher---------------------------------------------------------------------------Current system time is 03-SEP-2012 17:42:18---------------------------------------------------------------------------Oracle XML Publisher 5.6.3java.lang.NumberFormatException: For input string: "ARXSGPO"at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)at java.lang.Integer.parseInt(Integer.java:447)at java.lang.Integer.parseInt(Integer.java:497)at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:215)at oracle.apps.fnd.cp.request.Run.main(Run.java:157)---------------------------------------------------------------------------Start of log messages from FND_FILE------------------------------------------------------------------------------------------------------------------------------------------------------End of log messages from FND_FILE------------------------------------------------------------------------------------------------------------------------------------------------------Executing request completion options...Output file size:0------------- 1) PUBLISH -------------Disabling requested Output Post Processing. Nothing to process. The output ofthe request is zero byte.--------------------------------------Finished executing request completion options.---------------------------------------------------------------------------Concurrent request completedCurrent system time is 03-SEP-2012 17:42:22---------------------------------------------------------------------------Please help out with a solution.Thanks,Tech DAlexAndPosts: 1,614Registered: 04/15/10Re: XML Report Publisher program is erroring outPosted: Sep 3, 2012 7:05 AM in response to: TechD in response to: TechDClick to report abuse... Click to reply to this thread Replyplz seeXML Publisher Report Errors Out With "NumberFormatException" [ID 465193.1]XDOREPPB When Generating FSG Report Using XML Format Errors Withjava.lang.NumberFormatException: For input string: "RGFSGXPB" [ID 549809.1]TechD
  • 3. Posts: 24Registered: 06/29/11Re: XML Report Publisher program is erroring outPosted: Sep 4, 2012 4:17 AM in response to: AlexAnd in response to: AlexAndClick to report abuse... Click to reply to this thread ReplyThe log says that Oracle XML Publisher version is already 5.6.3Please check the below log message.---------------------------------------------------------------------------XML Publisher: Version : 12.0.0Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.XDOREPPB module: XML Report Publisher---------------------------------------------------------------------------Current system time is 03-SEP-2012 17:42:18---------------------------------------------------------------------------Oracle XML Publisher 5.6.3java.lang.NumberFormatException: For input string: "ARXSGPO"at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)at java.lang.Integer.parseInt(Integer.java:447)at java.lang.Integer.parseInt(Integer.java:497)at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:215)at oracle.apps.fnd.cp.request.Run.main(Run.java:157)---------------------------------------------------------------------------Start of log messages from FND_FILE------------------------------------------------------------------------------------------------------------------------------------------------------End of log messages from FND_FILE------------------------------------------------------------------------------------------------------------------------------------------------------Executing request completion options...Output file size:0------------- 1) PUBLISH -------------Disabling requested Output Post Processing. Nothing to process. The output ofthe request is zero byte.--------------------------------------Finished executing request completion options.---------------------------------------------------------------------------Concurrent request completedCurrent system time is 03-SEP-2012 17:42:22---------------------------------------------------------------------------Kindly suggest the solution.Regards,Tech DEdited by: TechD on Sep 4, 2012 4:17 AMAlexAnd
  • 4. Posts: 1,614Registered: 04/15/10Re: XML Report Publisher program is erroring outPosted: Sep 4, 2012 5:39 AM in response to: TechD in response to: TechDClick to report abuse... Click to reply to this thread Replyfor r12 add one row for parameter "Dummy for Data Security" from desc ofXDOREPPBfollow works for meSQL> set serveroutput onSQL>SQL> declare2 v_request_id number;3 begin45 begin fnd_global.apps_initialize(0, 20419, 0); end;6 v_request_id := FND_REQUEST.SUBMIT_REQUEST(XDO,7 XDOREPPB,8 NULL,9 NULL,10 FALSE,11 N, -- Dummy for Data Security12 9888637, -- Request13 0, -- Template Application14 XXAND10_1, -- Template15 en-US, -- Template Locale16 N, -- Debug Flag17 RTF, -- Template Type18 RTF -- Output Format19 );2021 dbms_output.put_line(v_request_id);22 if v_request_id > 0 then23 dbms_output.put_line(successfully submitted.);24 commit;25 else26 dbms_output.put_line(not submitted.);27 rollback;28 end if;2930 end;31 /9888651successfully submitted.PL/SQL procedure successfully completedSQL>Y for "Dummy for Data Security" also works for meSQL> declare2 v_request_id number;3 begin45 begin fnd_global.apps_initialize(0, 20419, 0); end;6 v_request_id := FND_REQUEST.SUBMIT_REQUEST(XDO,7 XDOREPPB,
  • 5. 8 NULL,9 NULL,10 FALSE,11 Y, -- Dummy for Data Security12 9888637, -- Request13 0, -- Template Application14 XXAND10_1, -- Template15 en-US, -- Template Locale16 N, -- Debug Flag17 RTF, -- Template Type18 RTF -- Output Format19 );2021 dbms_output.put_line(v_request_id);22 if v_request_id > 0 then23 dbms_output.put_line(successfully submitted.);24 commit;25 else26 dbms_output.put_line(not submitted.);27 rollback;28 end if;2930 end;31 /9888652successfully submitted.PL/SQL procedure successfully completedSQL>user1045823Posts: 1Registered: 09/04/12Re: XML Report Publisher program is erroring outPosted: Sep 4, 2012 12:30 PM in response to: AlexAnd in response to: AlexAndClick to report abuse... Click to reply to this thread ReplyThanks.. your reply is very useful for me...
  • 6. Forums.Oracle.comOracle Discussion Forums » E-Business Suite » FinancialsThread: Customize AR Customer Balance Statement Letter using ARXSGPOWelcome, GuestSign In / RegisterGuest SettingsSearchFAQThis question is not answered. Helpful answers available: 5. Correctanswers available: 1.Reply to this Thread Reply to this Thread Search Forum Search ForumBack to Thread List Back to Thread ListPermlink Replies: 7 - Pages: 1 - Last Post: Feb 22, 2011 3:09 AM Last PostBy: user11997808Sanjay SwamyPosts: 8Registered: 12/20/10Customize AR Customer Balance Statement Letter using ARXSGPOPosted: Dec 20, 2010 2:40 AMClick to report abuse... Click to reply to this thread ReplyHi All,I need to customize the data template of AR Customer Balance Statement Letterto meet some of our requirement. The data template file name is ARXSGPO.xml.But the Update button in the data definition of AR Customer Balance StatementLetter is disabled.Please let me know how can I update the data template for this definition withmodified XML file.Regards,SanjaySanjay SwamyPosts: 8Registered: 12/20/10Re: Customize AR Customer Balance Statement Letter using ARXSGPOPosted: Dec 24, 2010 3:13 AM in response to: Sanjay Swamy in response to:Sanjay SwamyClick to report abuse... Click to reply to this thread ReplyAnyone pls provide the solution on to update data template for ARXSGPO.xml.Srini ChavaliPosts: 21,073Registered: 04/18/08Re: Customize AR Customer Balance Statement Letter using ARXSGPO
  • 7. Posted: Dec 24, 2010 5:43 AM in response to: Sanjay Swamy in response to:Sanjay SwamyClick to report abuse... Click to reply to this thread ReplyPl post details of OS, database and EBS versions. Are you using XML PublisherAdministrator responsibility ?Pl see if MOS Doc 603338.1 (How To Get a PDF Output From Statements in Release12? Is There A Sample Template For AR Statements?) can help. Have you checkedthe AR guides for your specific version of EBS athttp://www.oracle.com/technetwork/documentation/applications-167706.html ?HTHSrini792923Posts: 4Registered: 09/05/10Re: Customize AR Customer Balance Statement Letter using ARXSGPOPosted: Dec 25, 2010 3:12 AM in response to: Srini Chavali in response to:Srini ChavaliClick to report abuse... Click to reply to this thread ReplyHi ,We are using R12.1.2.Once I submit the AR statements from Print Statements form a StatementGeneration spawn program is being called. This internally is calling the ARCustomer Open Balance Letter program for EMEA countries.The AR Customer Open Balance Letter is XML concurrent program which uses thedata template ARXSGPO.xml and RTF for generating the PDF output. But myrequirement is to customize the data template ARXSGPO.xml. Im not able tocustomize it since the update button in the data definition AR Customer OpenBalance Letter is disabled.Please provide assistance in enabling the Update button in the data definitionso that I can load the new data template in place of ARXSGPO.xml.Also Ive tried to customize the Print Statement report (ARXSGPO.rdf). We havedone the setup by disabling the lookup code for EMEA countries(GB lookup code)in the lookup type AR_EMEA_COUNTRIES (Navigation: Setup -> system ->Quickcodes -> Receivables).But Print Statement program is not getting spawnedby the Statement Generation program.If the above mentioned approach is not possible to implement then provide a bestpossible solution to customize the AR statement report.Regards,SanjaySrini ChavaliPosts: 21,073Registered: 04/18/08Re: Customize AR Customer Balance Statement Letter using ARXSGPOPosted: Dec 25, 2010 4:42 AM in response to: 792923 in response to: 792923Click to report abuse... Click to reply to this thread ReplyHave you reviewed the MOS Doc mentioned above ? If the update button isdisabled, that would mean that the rtf template for this concurrent does notexist in the database (assuming you are using the XML Publisher Administratorresponsibility, which you have not confirmed as requested above :-) ). If thatis the case, pl open an SR with Support to have them ship you the rtf file via apatch (possibly 8691637 ?)Pl also see these MOS Docs
  • 8. AR Customer Balance Statement Letter /Statements Output is in XMLand not in PDF(Doc ID 975501.1)Steps to generate Debug for Statement Generation Program ARXSGP (Doc ID436733.1)HTHSriniSanjay SwamyPosts: 8Registered: 12/20/10Re: Customize AR Customer Balance Statement Letter using ARXSGPOPosted: Dec 25, 2010 6:59 AM in response to: Srini Chavali in response to:Srini ChavaliClick to report abuse... Click to reply to this thread ReplyHi Srini,Thank You for your response to my query.Im using XML Publisher Administrator responsibility. Also created the templatefor AR Customer Balance Statement Letter data definition as per Doc ID975501.1. The AR Customer Balance Statement Letter concurrent program hascompleted normally.But still Im not able to update the data template ARXSGPO.xml since thebutton is disabled even after creating the template definition.Ive to modify the ARXSGPO.xml to meet clients requirement but not able toupdate the standard data template.Request you to provide solution to enable the data template for AR CustomerBalance Statement Letter data definition. This is very urgent for us.Appreciate your help.Regards,SanjaySrini ChavaliPosts: 21,073Registered: 04/18/08Re: Customize AR Customer Balance Statement Letter using ARXSGPOPosted: Dec 25, 2010 7:23 AM in response to: Sanjay Swamy in response to:Sanjay SwamyClick to report abuse... Click to reply to this thread ReplyIf the documents did not help, pl open an SR with SupportHTHSriniuser11997808Posts: 4Registered: 04/01/10Re: Customize AR Customer Balance Statement Letter using ARXSGPOPosted: Feb 22, 2011 3:08 AM in response to: Srini Chavali in response to:Srini ChavaliClick to report abuse... Click to reply to this thread ReplyHi,Have you got any solution for this issue? have you modified original program? ifyes could you please share the solution.Thanks,
  • 9. AvinashEdited by: user11997808 on Feb 22, 2011 3:08 AMPages: 1Back to Thread List Back to Thread ListLegendGuru Guru : 2500 - 1000000 ptsExpert Expert : 1000 - 2499 ptsPro Pro : 500 - 999 ptsJourneyer Journeyer : 200 - 499 ptsExplorer Explorer : 50 - 199 ptsNewbie Newbie : 0 - 49 ptsOracle ACE DirectorOracle ACE MemberOracle Employee ACEAce ModeratorForum ModeratorJava ChampionAce Director ModeratorHelpful Answer (5 pts)Correct Answer (10 pts)Point your RSS reader here for a feed of the latest messages in all forumsHardware and Software Engineered to Work TogetherAbout Oracle | Oracle and Sun | Oracle RSS Feeds | Subscribe | Careers | ContactUs | Site Maps | Legal Notices | Terms of Use | Your Privacy Rights | CookiePreferences
  • 10. If you have the concurrent manager single step submission integration - note295409.1

×