Is XML Publisher causing shared memory problem..?

Hi Experts,
Since this week, many of the Requisition/PO are erroring out with the below errors or similar to these errors:
- ORA-04031: unable to allocate 15504 bytes of shared memorny ("sharedpool","PO_REQAPPROVAL_INIT1APPS","PL/SQL MPCODE","BAMIMA: Bam Buffer")
ORA-06508: PL/SQL: could not find program unit being called.
-Error Name WFENG_COMMIT_INSIDE
3146: Commit happened in activity/function
'CREATE_AND_APPROVE_DOC:LAUNCH_PO_APPROVAL/PO_AUTOCREATE_DOC.LAUNCH_PO_APPROVAL'
Process Error: ORA-06508: PL/SQL: could not find program unit being called
Few days back we were getting heap memory error for one of the XML Publisher report.
I heard that XML Publisher requires lot of memory for sources/features,So I want to know whether XML Publisher can be one of the cause for memory problem to occur or this shared memory is not related with XML Publisher sources at all.
Please advice.
Many thanks..
Suman
Edited by: suman.g on 25-Nov-2009 04:03

Hi Robert,
Thanks for your quick reply...
Apps version: 11.5.10.2
database version: 9.2.0.8.0
As I am a beginner in this so dont know much about this.. Can you please guide me on this.
DBAs has increased the shared memory and problem has resolved but here I am more concrened whether the XML Publisher was or can be one od the cause for shared memory problem. Is there any way to check that or this occurs randomly and we can not check this.
Please advice something.

Similar Messages

  • Xml publisher reprot - special character problem

    I invoice report through xml publisher. I have '&' special character in vendor list. I am getting below error
    A semi colon character was expected. Error processing resource.
    Below is the code
    CREATE OR REPLACE PACKAGE BODY XML_RPT AS
        FUNCTION XML_TAG (p_tag IN VARCHAR2, p_data IN VARCHAR2) RETURN VARCHAR2 IS
        l_ret_str VARCHAR2(5000);
        BEGIN
            l_ret_str := '<'||p_tag||'>'||p_data||'</'||p_tag||'>';
            RETURN l_ret_str;
        END XML_TAG;
         PROCEDURE VENDOR(errbuf          OUT  VARCHAR2,
                         retcode         OUT  NUMBER) IS
        CURSOR inv_Cur  IS
            select pv.vendor_name          
            from po_vendors pv;        
         xmldata            varchar2(1000);
         l_sqlstr           varchar2(1000);
         l_seqnum           varchar2(3);
         l_vendor_name      varchar2(100);
        BEGIN
          xmldata := '<?xml version="1.0" encoding="UTF-8"?>';     
          xmldata :=xmldata|| '<VENDOR>';
          xmldata := xmldata||' <LIST_VENDOR>';
          fnd_file.put_line(fnd_file.output,xmldata);    
          FOR rpt_rec IN inv_Cur LOOP
              xmldata := '<VENDOR_REC>';
              l_vendor_name := replace(rpt_rec.VENDOR_NAME,'&','&amp');         
              xmldata := xmldata || XXMCG_XML_TAG('VENDOR_NAME',L_VENDOR_NAME);
              xmldata :=xmldata|| '</VENDOR_REC>';
              fnd_file.put_line(fnd_file.output,xmldata);
          END LOOP;
          xmldata := '</LIST_VENDOR>';
          xmldata := xmldata||'</VENDOR>';
         fnd_file.put_line(fnd_file.output,xmldata);
        EXCEPTION
        WHEN OTHERS THEN
             fnd_file.put_line(fnd_file.log,substr(SQLERRM,1,500));
        END VENDOR;
    END XML_RPT;can any one advice.

    Duplicate post ? xml publisher report problem
    Srini

  • SAP HA ASCS Instance service Shared Memory Problem

    Hi Gurus,
    I have completed the setup of ASCS and ERS instance for SAP HA.  The system was working fine, but yesterday when I was trying to start the ASCS instance, it shows following error in the dev_enqsrv log file.
    ShadowTable:attach: ShmCreate - pool doesn't exist
    Enqueue: EnqMemStartupAction Utc=1267507616
    Enqueue Info: replication enabled
    Enqueue Info: enque/replication_dll not set
    ShadowTable:attach: ShmCreate - pool doesn't exist
    ERROR => EnqRepAttachOldTable: failed to get information on old replication table: rc=-1 [enxxmrdt.h   393]
    EnqRepRestoreFromReplica: failed to attach to old replication table: rc=-1
    enque/backup_file disabled in enserver environment
    ***LOG GEZ=> Server start [encllog.cpp  493]
    For resolving this error, I have performed following steps:
    1. cleanipc 04 remove ( where 04 is the instance no for ASCS instance)
    2. saposcol -k to stop the saposcollector and release the shared memory.
    3. Also performed some steps like saposcol -d, kill , leave, quit.
    After doing this steps, the same error is been generated in the dev_enqsrv log file. The only problem with this is the ASCS instance is starting , but while checking the log file available.log, it is changing the staus from available to unavailable every 30 secs.
    Appreciate any response.
    Regards,
    Raj.

    Hi,
    important to know is your NW kernel version and the setup of your file systems.
    The error message could be no real error. It could be just the indication that there is no replicated enqueue table available and therefore the enqueue server of the starting ASCS instance is not able to attach to any existing table. It would create a new one. But: If you start your ASCS on the node where the ERS was running and you see that error message, that indicates that the replicated enqueue table couldn't be attached on your starting enqueue server, which is a critical error in a failover scenario.
    Check following help.sap.com site for details how enqueue table replication works:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/e023f3bf423c83e10000000a42189c/frameset.htm
    The available.log has this confusing entries if you have your /usr/sap/<SID>/<Instance>/work directory on a clustered file system which is present on both nodes. In that case, the sapstartsrv of the ASCS on the active node will write to the log file that the instance is available, whereas the sapstartsrv of the ASCS on the passive node will write to the log file that the instance is not available. It's a bug, but there are several possibilities to workaround.
    If you need documentation of SAP HA on SLES or RHEL, I can post the links of the whitepapers here.
    Best regards,
    Matthias

  • Shared memory Problem

    Operating system Windows 2003 Server
    When i am trying to connect to the oracle 10g database we are facing the following error..
    ORA-04031: unable to allocate 4096 bytes of shared memory ("shared pool",select /*+ rule */ bucket_cn...","Typecheck heap","kgghteInit")
    But if i restart the Server ther the error disappears..
    Please help me regarding this problem....

    can you give me any idea how much memory i have to set for Shared Pool It's all depends on the number of users , the amount of transcation , the nature of your database, application nature and whole lots of things,for temporary solution, you must increase the size of shared pool in oreder to get your db up and running atleast for some time.
    hare krishna
    Alok

  • Ora-4031&ora-1280 error-Shared Memory Problem

    Sir ,
    I am using oracle Streams for Data Replication
    I am facing the problem while confifurung cApture Process..It is giving error-ora-4031
    description
    Ora-4031-Unable to allocate <n> bytes of shared memory ( "Shared Pool","Unknown Object ","Streams Pool","Internal low LCR")
    Ora-1280 : Ligminer Fatal error
    I followed the steps given below
         # Instance Setup
              setup is like
                   Database Mode = archive
                   Share_pool_size=52m &
                   share_pool_reseved_size= 5m (10% of share pool Area)
                   processes=500
                   parallel_max_servers=35
                   parallel_min_servers=1
                   job_que_processes=1
                   aq_tm_processe=1
                   global_name=true
                   Archive log mode =true
                   log_archive_dest_1 :='location =E:\oracle\archive1 reopen=30"
                   log_archive_dest_2 :='location =E:\oracle\archive2 reopen=30"
         # Stream Administrator Setup
         # LogMinor Tablespace Setup
         # Supplemental Logging
         # Configure Propagation Process
         # Configure Capture Process
         # Configure Instantiation SCN
         # Configure Apply Process
         # Start Apply Process
         # Start Capture Process
    Please give me as solution to overcome this problem

    I suspect you are running 10.1 or earlier version of the data base? If that is the case, logminer has a memory leak that runs the SGA out of memory over time.
    Look in metalink for logminer memory leak bugs. This forum has the exact bug if you search for it. It is patched in release 10.2.0.2.0. I just loaded that release and have other issues to fix before the bug appears again or not.
    Hope this helps,
    J.

  • Shared memory problem : MaxDB

    Hi
    I am using SAP ABAP trial version. It was working well but now when i start server. it gives the error:
    ===================================================
    ============== Starting System NSP ================
    ===================================================
    =============== Starting database instance ...
    The requested service has already been started.
    More help is available by typing NET HELPMSG 2182.
    The MaxDB Database Starter, Version 7.6.02.14
    Copyright 2000-2007 by SAP AG
    Error! Connection failed to node (local) for database NSP:
    -24700,ERR_DBMSRV_NOSTART: Could not start DBM server.
    -24832,ERR_SHMNOTAVAILABLE: Shared memory not available
    -24686,ERR_SHMNOCLEANUP: Could not cleanup the DBM server Shared Memory
    -24827,ERR_SHMALLOCFAILED: ID E:\sapdb\data\wrk\NSP.dbm.shm, requested size 4287
    037658
    Error: Error while calling dbmcli
    "E:\sapdb\programs\pgm\dbmcli"  -d NSP -u , db_online
    ============== Start database failed !
    Press any key to continue . . .
    can someone tell me the exact steps with command to handle this issue. I am dummie in database administration
    Thanks
    Vishal Kapoor

    Thanks Mark for the advise.
    after the file deletion and system restart as recomended, the new error is coming:
    I stopped every MAXDB running service, deleted 2 given files and rebooted system.
    =============== Starting database instance ...
    The SAP DB WWW service is starting.
    The SAP DB WWW service was started successfully.
    The MaxDB Database Starter, Version 7.6.02.14
    Copyright 2000-2007 by SAP AG
    ERR
    -24988,ERR_SQL: SQL error
    -9022,System error: BD Corrupted datapage
    3,Database state: OFFLINE
    6,Internal errorcode, Errorcode 9163 "corrupted_datapage"
    20026,PAM::GetPage: Data page is not assigned.
    6,bd13GetNode, Errorcode 9163 "corrupted_datapage"
    20066,HistDir: registered files 50, max used are 50
    20017,RestartFilesystem failed with 'System error: BD Corrupted datapage'
    Error: Error while calling dbmcli
    "E:\sapdb\programs\pgm\dbmcli"  -d NSP -u , db_online
    ============== Start database failed !
    Press any key to continue . . .
    Thanks
    Vishal Kapoor

  • Shared memory problem - memory leak?

    I've got the following error after calling a stored procedure about 26000 times. Does this mean Oracle 8.1.6 Thin Driver has memory leak in CallableStatement? Thanks.
    ORA-04031: unable to allocate 4096 bytes of shared memory ("shared pool","BEGIN checktstn(:1, :2); END;","PL/SQL MPCODE","BAMIMA: Bam Buffer")

    Me Too!
    java.sql.SQLException: ORA-04031: unable to allocate 744 bytes of shared memory ("unknown object","sga heap","library cache")
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:542)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1311)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:595)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1600)
    at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java:1758)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1805)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:410)
    Does this error pertain to memory leaks?

  • Lifeblog causing random memory problems

    I have the N73 Music Edition phone and sometimes I would get the "Memory Full! Please delete some data! error and I have put nothing in my phone memory, only in my memory card and it's 200 MB free.
    I checked the phone memory's memory details and it says something is mysteriously occupying 39MB of memory. So I went to Lonely Cat Games' Xplore and unhid all hidden and system files and there it was in the Lifeblog folder, the file "lifeblog.db" taking up 39MB!
    I observed this and sometimes it would turn back to KB size but when the memory full error appears, it's a very big size again!
    What is this file and why is it doing this? I've updated my firmware and still this problem persists! Can anyone please help me get rid of this annoying problem please?Message Edited by chrysley on 18-Jul-200708:16 PM

    I've responded to this in your other post :
    /discussions/board/message?board.id=hardware&message.id=4620#M4620
    Regards,
    Edward

  • Security - Query - XML Publisher

    Hello,
    I need some help concerning the security for queries and XML Publisher.
    I am on an HR peoplesoft, tools8.49.
    When I am with user PS I see my query in query manager and my XML Publisher report.
    My query is Public and my report definition for XML Publisher too.
    My problem is that I am not able to publish my query to see it in query viewer and I suppose (perhaps I'm wrong) that's why when I'm connecting with another user which have access to the security query tree to see this query, I am not able to see my XML Publisher report definition.
    Could you tell me where I should search to publish this query in query viewer ? Or is it something special to do to see my XML Publisher report definition ?
    Any ideas are welcome.
    Thanks in advance for your help.

    Problem solved : I have forgotten to add my role in Reporting Tools > XML Publisher > Setup > Report Category.

  • How to see Greek characters inside a PDF report (made with XML Publisher)

    Hi,
    I just patched my e Business Suite (ver. 11.5.9) in order to use XML Publisher 5.6.3.
    It works fine, but I have a big problem when I want to see Greek characters inside my report; instead to see the Greek characters I see only '?????'
    I tried to add some font under the XML Publisher Administrator responsibility following the Doc ID: 373377.1 "How To Install a Font Using XML Publisher Administrator", but my problem remains: I don't see my Greek characters
    Do I need to add any other fonts on the file system ? and where ? (under which path), or I set something at the XML Publisher Administrator responsibility level (under the Administration link) ?
    Any help will be appreciated, because it's very urgent to know how to fix this problem.
    Thanks in advance
    Alex

    Alex,
    Please verify the value of $AF_CLASSPATH variable and make sure that JRE_TOP/lib/fonts is part of this env variable (in addition to $CLASSPATH).
    Note: 353164.1 - Chinese Characters Appear as Question Marks(?) When Using a Data Template
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=353164.1
    Note: 399518.1 - Arabic Characters Appear As Question Marks
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=399518.1

  • R9.2.0 on RH 7.3: Memory problem: Linux or the Installer?.

    Having the following problem. Perhaps someone had the same. In that case, please help.
    I have P4 with 1GB of RAM and 2GB of SWAP. No disk space problem. No shared memory problem. I installed the Client of Oracle9i (9.2R2) on redhat 7.3 (standard installation as Server). I have already noted here that with the Oracle installer running, the system uses almost all the RAM available (99.5% of the total), but at least it can conclude the installation. However it never uses the SWAP (100% free).
    When tried to install the Database (enterprise or standard), the installation continues as long as there is RAM available. When reached 99.6% of the total used, it does not give any response (it hangs at 41% of the installation). Even here no SWAP portion is used.
    Is there a problem of the kernel dispached with Rh7.3 in using the swap? does Oracle Installer really needs so much RAM? or am I missing something in the installation process of the Database? I am using jdk-1.3.1_04 downloaded from the sun website.
    I would appreciate if you cc your response also to [email protected] I may have problem to access the Forum in the coming two days.
    Thank you in advance.
    Jama Musse Jama.

    Check the Support Matrix (if you can find it) and it will tell you that Redhat and most Linux are not supported. I bought Redhat 7.3 Professional , a WinBook with lots of disk and speed and tried to get 9.2 to run on it. no way. It's not certified so it's not supported. Even though I explained that what I was trying to do was get rid of Windows XP and move to RedHat 7.3 and would they send me Oracle 9.2 when it was available. I got the CDs 3 days later. but it won't work. Now I am left with the choise of buying the 9AS package or going backt to XP.
    I do not thing that Oracle is living up to the spirit of LINUX. They say Linux but they mean a very specific subset. Who do they think they are, Bill Gates?

  • NOT ENOUGH SHARED MEMORY

    Hi,
    I am facing "NOT ENOUGH SHARED MEMORY " problem even with 1-2 users in portal 3.0.6.x.
    The init.ora settings are:
    shared_pool_size=104857600 large_pool_size=614400
    java_pool_size=20971520
    Is it due to hanging sessions?
    How to see the hanging sessions inside database?
    Can you tell me what is going wrong?
    Thanks
    Vikas
    null

    Think I got it figured out. Oracle 10g XE doesn't
    have a DB_HANDLE initialization parameter. The
    problem is that the initialization parameters are
    located in $ORACLE_HOME/dbs/spfileXE.ora, but sqlplus
    is looking for initORCL.ora.You mean instance is looking for initORCL.ora and not for SPFILE, or ;-)
    So does anyone besides Faust knowSorry, again me ;-)
    how to configure
    sqlplus to look for spfileXE.ora instead of
    initORCL.ora? I can't find an SQL*Plus setting that
    will do this.How to set SPFILE and arond it you can find here:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#i1013934
    Cheers!

  • XML Publisher Render Problem

    The problem started since the first time I tryed to render one of the examples
    in the XML Publisher...example: Executive - Sales Dashboard. Since the first time, when I try to view the result, the screen shows me this problem:
    Error
    The report cannot be rendered because of an error, please contact the administrator.
    If I try to do the same view but in XML format, I see these problem:
    Error de parseo XML: no se encontraron elementos
    Lugar: http://suse9.es.oracle.com:7780/xmlpserver/servlet/xdo?_xpf=&_xpt=0&_xdo=%2FExecutive%2FSales%20Dashboard%2FSales%20Dashboard.xdo&_xt=Advanced%20Sales%20Dashboard&_xf=xml
    Línea 3, Columna 1:
    The same hapends with the rest of the examples. I try to make a new template, but the same problem hapends.
    The conection JDBC with my Oracle DB 10.2.0.1 is OK.
    I put the "debug" mode in my configuration files, so I can view the java error stak. It shows me:
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:479)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:192)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:161)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1015)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
         at oracle.apps.xdo.servlet.XDOProcessor.process(XDOProcessor.java:192)
         at oracle.apps.xdo.servlet.XDOProcessor.process(XDOProcessor.java:273)
         at oracle.apps.xdo.servlet.ReportImpl.renderBody(ReportImpl.java:227)
         at oracle.apps.xdo.servlet.ReportImpl.renderReportBody(ReportImpl.java:46)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:319)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:223)
         at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:159)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:52)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Start of root element expected.
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:324)
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:319)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
         ... 35 more
    I log in with my admin/admin user.
    ¿Could anybody help me?

    I resolved the problem. I have to put ; in the special character.

  • Font problems in resulting XML Publisher document (from PeopleSoft)

    Hi all,
    we're creating documents using XML Publisher under PeopleSoft, designing the template in Word 2007.
    We see strange things hapening to the resulting documents: even though the majority of the template is created in a Times New Roman 11pt font, we find that in the resulting document, empty paragraphs and empty table cells are formatted as Arial 12 pt. So where we put an empty line between paragraphs in the text in the template, and set all the text to Times New Roman, the empty lines are Arial. Same thing with the tables. There's a table with a for-each loop in the rows. The XML with the data always contains 10 entries, but possibly with empty values, so that the table in the resulting document always has 10 rows (plus a header row). However, the empty rows are Arial 12, and the filled-in rows are TNR 11. This results in a different heigth for the table depending on how many rows are filled in, causing the positioning of the rest of the document to be off.
    The template contains NO Arial 12 at all...
    I hope my problem is clear. Any ideas or pointers where to look are really appreciated...
    Spiffo

    Hello Deepz,
    Thank you for your answer. I am not sure I understand your answer: I stated, this is occurring in XML Publisher from PeopleSoft, so not in BI Publisher. Furthermore, there is one section in the document where I do need Arial, but at pt 11, not 12.
    I hope you or other forum members can help me further.
    Regards,
    Spiffo

  • Xml publisher report problem

    I have a xml publisher report which list job names. After submitting concurrent program, I am getting below error
    A semi colon character was expected. Error processing resource
    some of the Jobs have special character '&'. below is code
    CREATE OR REPLACE PACKAGE BODY XML_RPT AS
        FUNCTION XML_TAG (p_tag IN VARCHAR2, p_data IN VARCHAR2) RETURN VARCHAR2 IS
        l_ret_str VARCHAR2(5000);
        BEGIN
            l_ret_str := '<'||p_tag||'>'||p_data||'</'||p_tag||'>';
            RETURN l_ret_str;
        END XML_TAG;
         PROCEDURE JOBS(errbuf          OUT  VARCHAR2,
                         retcode         OUT  NUMBER) IS
        CURSOR inv_Cur  IS
            select name          
            from per_jobs pv;        
         xmldata            varchar2(1000);
         l_sqlstr           varchar2(1000);
         l_seqnum           varchar2(3);
         l_job_name      varchar2(100);
        BEGIN
          xmldata := '<?xml version="1.0" encoding="UTF-8"?>';     
          xmldata :=xmldata|| '<JOB>';
          xmldata := xmldata||' <LIST_JOB>';
          fnd_file.put_line(fnd_file.output,xmldata);    
          FOR rpt_rec IN inv_Cur LOOP
              xmldata := '<JOB_REC>';
              l_job_name := replace(rpt_rec.JOB_NAME,'&','&amp');         
              xmldata := xmldata || XXMCG_XML_TAG('JOB_NAME',L_JOB_NAME);
              xmldata :=xmldata|| '</JOB_REC>';
              fnd_file.put_line(fnd_file.output,xmldata);
          END LOOP;
          xmldata := '</LIST_JOB>';
          xmldata := xmldata||'</JOB>';
         fnd_file.put_line(fnd_file.output,xmldata);
        EXCEPTION
        WHEN OTHERS THEN
             fnd_file.put_line(fnd_file.log,substr(SQLERRM,1,500));
        END JOBS;
    END XML_RPT;

    I resolved the problem. I have to put ; in the special character.

Maybe you are looking for

  • Add additional items to line item display? (FBL1N, FBL5N)

    Hello everyone, I'm trying to add some "custom fields" to Customer/Vendor line item display which is only available in BSEG table. (new GL function) I could not find any BAdI or something.. Is there any way to do this? thank you in advance for any co

  • Wired interface non-functional

    So I have a most unusual problem with a mac mini server that is driving me banana's that I hope someone in the Apple community has run into, and found a decent solution.. The mac mini (2.3GHz quad core i7, late 2012) is running 10.9 and server 3.0.1.

  • Can't log in IR and ID; ABAP-Stack works

    Hi everybody, I try to log into IR or ID. I get a message "autorisation error. Unkonw USer or Password". If I try to log in via SAPGUI into ABAP Stack, it work OK. Any ideas? regards Mario

  • "Edit with" Function is not lighting up

    My "Edit with" Function is not lighting up when I right click the image I placed on indesign. I want to edit the photo in Photoshop but I am not given the edit with preference from which I can choose to edit the photo on InDesign through photoshop. C

  • Video audio problems

    The problem I am having is that i capture my video/audio by fire wire using a PV-GS250 panasonic camcorder and a firepod that I record audio with. The problem comes in that it seems over time the two aren't sinced. I line up the to and match up the s